/* ================================================================
   VIVID HORIZON — Lead Flow & Lead Magnet Styles
   ================================================================ */

/* ── Overlay ──────────────────────────────────────────────────── */
.lf-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(4, 6, 12, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
  padding: 24px;
}

.lf-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* ── Modal shell ──────────────────────────────────────────────── */
.lf-modal {
  background: linear-gradient(160deg, #12192b 0%, #0c1220 60%, #080d18 100%);
  border: 1px solid rgba(194,155,107,0.14);
  width: 100%;
  max-width: 760px;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  padding: 52px 64px 56px;
  transform: translateY(20px);
  transition: transform 0.45s cubic-bezier(0.4,0,0.2,1);
}

.lf-overlay.open .lf-modal {
  transform: translateY(0);
}

/* Scrollbar */
.lf-modal::-webkit-scrollbar { width: 4px; }
.lf-modal::-webkit-scrollbar-track { background: transparent; }
.lf-modal::-webkit-scrollbar-thumb { background: rgba(194,155,107,0.22); }

/* ── Close button ─────────────────────────────────────────────── */
.lf-close {
  position: absolute;
  top: 24px; right: 28px;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,0.35);
  transition: color 0.2s;
}
.lf-close:hover { color: #C29B6B; }

/* ── Progress header ──────────────────────────────────────────── */
.lf-progress-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.lf-logo {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}

.lf-step-label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  font-family: 'Roboto Condensed', Arial, sans-serif;
}

.lf-progress-bar-wrap {
  height: 1px;
  background: rgba(255,255,255,0.07);
  margin-bottom: 48px;
  position: relative;
  overflow: visible;
}

.lf-progress-bar-fill {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(194,155,107,0.4) 20%, #C29B6B 50%, rgba(194,155,107,0.4) 80%, transparent 100%);
  transition: width 0.55s cubic-bezier(0.4,0,0.2,1);
  width: 0%;
}

/* ── Step content ─────────────────────────────────────────────── */
.lf-step {
  display: none;
  opacity: 0;
}
.lf-step.active {
  display: block;
  animation: lfFadeIn 0.42s cubic-bezier(0.4,0,0.2,1) forwards;
}
.lf-step.active.lf-from-back {
  animation: lfFadeInBack 0.42s cubic-bezier(0.4,0,0.2,1) forwards;
}
.lf-step.lf-exiting {
  display: block;
  pointer-events: none;
  animation: lfFadeOut 0.22s ease forwards;
}
.lf-step.lf-exiting-back {
  display: block;
  pointer-events: none;
  animation: lfFadeOutBack 0.22s ease forwards;
}

@keyframes lfFadeIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes lfFadeInBack {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes lfFadeOut {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(-20px); }
}
@keyframes lfFadeOutBack {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(20px); }
}

.lf-eyebrow {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: #C29B6B;
  margin-bottom: 18px;
  font-family: 'Roboto Condensed', Arial, sans-serif;
}

.lf-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(24px, 3.2vw, 38px);
  font-weight: 400;
  color: rgba(255,255,255,0.94);
  line-height: 1.22;
  margin-bottom: 10px;
}

.lf-subtitle {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.42);
  line-height: 1.7;
  margin-bottom: 36px;
  font-family: 'Roboto Condensed', Arial, sans-serif;
}

/* ── Country select ───────────────────────────────────────────── */
.lf-select {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(194,155,107,0.2);
  color: rgba(255,255,255,0.8);
  font-size: 15px;
  font-family: 'Roboto Condensed', Arial, sans-serif;
  padding: 16px 20px;
  appearance: none;
  cursor: pointer;
  outline: none;
  transition: border-color 0.25s;
}
.lf-select:focus { border-color: rgba(194,155,107,0.55); }
.lf-select option { background: #0c1220; }

.lf-select-wrap {
  position: relative;
  margin-bottom: 8px;
}
.lf-select-wrap::after {
  content: '';
  position: absolute;
  right: 18px; top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid rgba(194,155,107,0.5);
  pointer-events: none;
}

/* ── Option cards ─────────────────────────────────────────────── */
.lf-cards {
  display: grid;
  gap: 14px;
  margin-bottom: 8px;
}

.lf-cards-2 { grid-template-columns: 1fr 1fr; }
.lf-cards-3 { grid-template-columns: 1fr 1fr 1fr; }
.lf-cards-4 { grid-template-columns: 1fr 1fr; }

.lf-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 20px 22px;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s;
  text-align: left;
}

.lf-card:hover {
  border-color: rgba(194,155,107,0.35);
  background: rgba(194,155,107,0.04);
}

.lf-card.selected {
  border-color: #C29B6B;
  background: rgba(194,155,107,0.08);
}

.lf-card-flag {
  font-size: 22px;
  margin-bottom: 8px;
  display: block;
}

.lf-card-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  font-family: 'Roboto Condensed', Arial, sans-serif;
}

.lf-card-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.32);
  font-family: 'Roboto Condensed', Arial, sans-serif;
  margin-top: 5px;
  line-height: 1.5;
}

/* Full-width cards (purpose step) */
.lf-cards-purpose .lf-card {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: start;
  gap: 14px;
  padding: 18px 22px;
}
.lf-cards-purpose .lf-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  color: rgba(255,255,255,0.45);
}
/* SVG icon colour in market cards (globe for "Other") */
.lf-card-flag svg {
  display: block;
  color: rgba(255,255,255,0.55);
}
.lf-card.selected .lf-card-flag svg,
.lf-card:hover .lf-card-flag svg { color: #C29B6B; }
.lf-card.selected .lf-cards-purpose .lf-card-icon,
.lf-cards-purpose .lf-card:hover .lf-card-icon { color: rgba(255,255,255,0.75); }

/* Other market free-text input */
.lf-other-country-wrap {
  margin-top: 14px;
  animation: lfFadeIn 0.3s ease forwards;
}

/* ── Navigation ───────────────────────────────────────────────── */
.lf-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.lf-btn-back {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  background: none; border: none; cursor: pointer;
  font-family: 'Roboto Condensed', Arial, sans-serif;
  transition: color 0.2s;
  padding: 0;
}
.lf-btn-back:hover { color: rgba(255,255,255,0.7); }
.lf-btn-back:disabled { opacity: 0; pointer-events: none; }

.lf-btn-next {
  background: none;
  border: 1px solid rgba(194,155,107,0.5);
  color: rgba(255,255,255,0.9);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 14px 36px;
  cursor: pointer;
  font-family: 'Roboto Condensed', Arial, sans-serif;
  transition: border-color 0.25s, background 0.25s, color 0.25s;
}
.lf-btn-next:hover {
  border-color: #C29B6B;
  background: rgba(194,155,107,0.08);
  color: #C29B6B;
}

.lf-error {
  font-size: 11px;
  color: rgba(194,155,107,0.7);
  letter-spacing: 0.08em;
  margin-top: 10px;
  display: none;
}
.lf-error.show { display: block; }

/* ── Routing interstitial ─────────────────────────────────────── */
.lf-routing {
  text-align: center;
  padding: 40px 0;
}

.lf-routing-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 32px;
}

.lf-routing-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(194,155,107,0.25);
  animation: lfDotPulse 1.4s ease infinite;
}
.lf-routing-dot:nth-child(2) { animation-delay: 0.22s; }
.lf-routing-dot:nth-child(3) { animation-delay: 0.44s; }

@keyframes lfDotPulse {
  0%, 100% { background: rgba(194,155,107,0.22); transform: scale(1); }
  50%       { background: rgba(194,155,107,0.85); transform: scale(1.6); }
}

/* ── Lead magnet: Market Report ───────────────────────────────── */
.lf-report-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
  margin-bottom: 32px;
}

.lf-report-stat {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  padding: 20px;
  text-align: center;
}

.lf-report-stat-value {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 26px;
  color: #C29B6B;
  display: block;
  margin-bottom: 6px;
}

.lf-report-stat-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  font-family: 'Roboto Condensed', Arial, sans-serif;
}

.lf-report-points {
  list-style: none;
  padding: 0; margin: 0;
}

.lf-report-points li {
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  font-family: 'Roboto Condensed', Arial, sans-serif;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.lf-report-points li::before {
  content: '—';
  color: #C29B6B;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Lead magnet: Buyer Quiz ──────────────────────────────────── */
.lf-quiz-question {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  font-weight: 400;
  color: rgba(255,255,255,0.9);
  margin-bottom: 24px;
}

.lf-quiz-progress {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(194,155,107,0.5);
  font-family: 'Roboto Condensed', Arial, sans-serif;
  margin-bottom: 12px;
}

/* ── Email gate form ──────────────────────────────────────────── */
.lf-gate {
  background: rgba(194,155,107,0.04);
  border: 1px solid rgba(194,155,107,0.15);
  padding: 32px;
  margin-top: 0;
}

/* Report points section — shown below the gate form */
.lf-report-points-section {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.lf-report-points-label {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  font-family: 'Roboto Condensed', Arial, sans-serif;
  margin-bottom: 16px;
}

.lf-gate-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  color: rgba(255,255,255,0.88);
  margin-bottom: 8px;
}

.lf-gate-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.38);
  margin-bottom: 24px;
  font-family: 'Roboto Condensed', Arial, sans-serif;
  letter-spacing: 0.04em;
}

.lf-field {
  margin-bottom: 14px;
}

.lf-input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.88);
  font-size: 14px;
  font-family: 'Roboto Condensed', Arial, sans-serif;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.25s;
}
.lf-input:focus { border-color: rgba(194,155,107,0.45); }
.lf-input::placeholder { color: rgba(255,255,255,0.22); }

.lf-gate-fields-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.lf-btn-submit {
  width: 100%;
  background: rgba(194,155,107,0.12);
  border: 1px solid rgba(194,155,107,0.45);
  color: rgba(255,255,255,0.9);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 16px;
  cursor: pointer;
  font-family: 'Roboto Condensed', Arial, sans-serif;
  margin-top: 4px;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}
.lf-btn-submit:hover {
  background: rgba(194,155,107,0.2);
  border-color: #C29B6B;
  color: #D4B483;
}

/* ── Success state ────────────────────────────────────────────── */
.lf-success {
  text-align: center;
  padding: 24px 0;
}

.lf-success-check {
  width: 52px; height: 52px;
  margin: 0 auto 28px;
}

.lf-success-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  color: rgba(255,255,255,0.92);
  margin-bottom: 12px;
}

.lf-success-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  font-family: 'Roboto Condensed', Arial, sans-serif;
  line-height: 1.7;
  max-width: 460px;
  margin: 0 auto 32px;
}

.lf-success-gold-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, #C29B6B 50%, transparent);
  max-width: 200px;
  margin: 0 auto 32px;
}

.lf-btn-close-final {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(194,155,107,0.65);
  background: none; border: none; cursor: pointer;
  font-family: 'Roboto Condensed', Arial, sans-serif;
  transition: color 0.2s;
}
.lf-btn-close-final:hover { color: #C29B6B; }

/* ── Discovery trigger section (in home.html) ─────────────────── */
.lf-trigger-section {
  padding: 120px 80px;
  text-align: center;
  background: linear-gradient(to bottom, transparent 0%, rgba(8,13,24,0.6) 50%, transparent 100%);
  position: relative;
}

.lf-trigger-eyebrow {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: #C29B6B;
  font-family: 'Roboto Condensed', Arial, sans-serif;
  margin-bottom: 22px;
}

.lf-trigger-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 400;
  color: rgba(255,255,255,0.92);
  margin-bottom: 18px;
  line-height: 1.2;
}

.lf-trigger-sub {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  font-family: 'Roboto Condensed', Arial, sans-serif;
  max-width: 540px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.lf-trigger-btn {
  display: inline-block;
  background: none;
  border: 1px solid rgba(194,155,107,0.55);
  color: rgba(255,255,255,0.88);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 18px 52px;
  cursor: pointer;
  font-family: 'Roboto Condensed', Arial, sans-serif;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}

.lf-trigger-btn:hover {
  background: rgba(194,155,107,0.08);
  border-color: #C29B6B;
  color: #C29B6B;
}

.lf-trigger-proof {
  margin-top: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.lf-trigger-proof-item {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.22);
  font-family: 'Roboto Condensed', Arial, sans-serif;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lf-trigger-proof-item::before {
  content: '✦';
  color: rgba(194,155,107,0.35);
  font-size: 8px;
}

/* ── ROI redirect card (shown for investor route) ─────────────── */
.lf-roi-redirect {
  text-align: center;
  padding: 20px 0 10px;
}

.lf-roi-market-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(194,155,107,0.07);
  border: 1px solid rgba(194,155,107,0.2);
  padding: 10px 22px;
  margin-bottom: 28px;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: #C29B6B;
  font-family: 'Roboto Condensed', Arial, sans-serif;
  text-transform: uppercase;
}

.lf-roi-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 36px;
}

.lf-roi-highlight {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  padding: 18px 16px;
  text-align: center;
}

.lf-roi-highlight-val {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  color: rgba(255,255,255,0.88);
  display: block;
  margin-bottom: 6px;
}

.lf-roi-highlight-lbl {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  font-family: 'Roboto Condensed', Arial, sans-serif;
}

.lf-btn-calculator {
  display: inline-block;
  background: rgba(194,155,107,0.12);
  border: 1px solid rgba(194,155,107,0.5);
  color: rgba(255,255,255,0.9);
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  padding: 18px 56px;
  cursor: pointer;
  font-family: 'Roboto Condensed', Arial, sans-serif;
  text-decoration: none;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.lf-btn-calculator:hover {
  background: rgba(194,155,107,0.2);
  border-color: #C29B6B;
  color: #C29B6B;
}

/* ── Buyer quiz result ────────────────────────────────────────── */
.lf-quiz-result-items {
  margin-bottom: 28px;
}

.lf-quiz-result-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.lf-quiz-result-indicator {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #C29B6B;
  flex-shrink: 0;
  margin-top: 6px;
}

.lf-quiz-result-indicator.amber { background: rgba(194,155,107,0.5); }
.lf-quiz-result-indicator.grey  { background: rgba(255,255,255,0.2); }

.lf-quiz-result-text {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  font-family: 'Roboto Condensed', Arial, sans-serif;
  line-height: 1.6;
}

.lf-quiz-score {
  background: rgba(194,155,107,0.06);
  border: 1px solid rgba(194,155,107,0.18);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.lf-quiz-score-label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  font-family: 'Roboto Condensed', Arial, sans-serif;
}

.lf-quiz-score-value {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  color: #C29B6B;
}
