/* ===== Reckon Wealth Landing Page ===== */

/* ---- NAV OVERRIDE ---- */
.nav-cta-link {
  color: var(--wealth) !important;
  font-weight: 600 !important;
}

.nav-cta-link:hover {
  color: var(--wealth-on-dark) !important;
}

/* ---- HERO VARIANT ---- */
.wl-hero .hero-badge {
  background: rgba(45, 106, 79, 0.08);
  border-color: rgba(45, 106, 79, 0.18);
  color: var(--wealth);
}

.wl-hero .hero-badge::before {
  background: var(--wealth);
}

.wl-hero h1 em {
  color: var(--wealth);
}

.wl-hero .btn-primary {
  background: var(--wealth);
}

.wl-hero .btn-primary:hover {
  background: var(--wealth-on-dark);
}

/* ---- SHARED SECTION STYLES ---- */
.wl-section {
  padding: 7rem 2rem;
}

.wl-section-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.wl-section-inner h2 {
  font-family: var(--font-family-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.wl-section-sub {
  max-width: 640px;
  margin: 0 auto 4rem;
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--muted-foreground);
  font-weight: 300;
}

.wl-section-inner .section-label {
  margin-bottom: 1rem;
}

/* ---- DEMO SECTION ---- */
.wl-demo-section {
  background: white;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ---- BROWSER FRAME MOCK ---- */
.demo-frame {
  max-width: 860px;
  margin: 0 auto 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(26, 26, 26, 0.1);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.1), 0 4px 16px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  text-align: left;
}

.demo-browser-bar {
  background: #e8e4dc;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.demo-dots {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}

.demo-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.15);
  display: block;
}

.demo-url-bar {
  flex: 1;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 6px;
  padding: 0.25rem 0.75rem;
  font-size: 0.78rem;
  color: var(--muted-foreground);
  font-family: var(--font-family);
  letter-spacing: 0.01em;
  max-width: 340px;
  margin: 0 auto;
}

.demo-content {
  background: var(--background);
  padding: 2rem 2.5rem 2.5rem;
}

/* ---- MOCK HERO STAT ---- */
.mock-hero {
  text-align: center;
  padding: 1.75rem 1rem 2rem;
  margin-bottom: 1.5rem;
  background: white;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.mock-hero-label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.mock-hero-pct {
  font-family: var(--font-family-heading);
  font-size: 4.5rem;
  line-height: 1;
  color: var(--wealth);
  margin-bottom: 0.4rem;
}

.mock-hero-sub {
  font-size: 0.95rem;
  color: var(--muted-foreground);
  font-weight: 300;
  margin-bottom: 1rem;
}

.mock-hero-verdict {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1.1rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
}

.verdict-on {
  background: rgba(45, 106, 79, 0.08);
  color: var(--wealth);
  border: 1px solid rgba(45, 106, 79, 0.15);
}

/* ---- MOCK SCENARIO CARDS ---- */
.mock-scenarios {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.mock-scenario-card {
  padding: 1rem 1.1rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: white;
}

.mock-scenario-card.active {
  border-color: rgba(45, 106, 79, 0.3);
  background: rgba(45, 106, 79, 0.04);
}

.mock-scenario-label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.mock-scenario-pct {
  font-family: var(--font-family-heading);
  font-size: 1.85rem;
  line-height: 1;
  margin-bottom: 0.6rem;
}

.mock-scenario-card.bear .mock-scenario-pct { color: #b45309; }
.mock-scenario-card.base .mock-scenario-pct { color: var(--wealth); }
.mock-scenario-card.bull .mock-scenario-pct { color: var(--wealth-on-dark); }

.mock-scenario-bar-track {
  height: 5px;
  background: var(--muted);
  border-radius: 3px;
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.mock-scenario-bar {
  height: 100%;
  border-radius: 3px;
}

.mock-scenario-card.bear .mock-scenario-bar {
  background: #b45309;
  width: 45%;
}

.mock-scenario-card.base .mock-scenario-bar {
  background: var(--wealth);
  width: 68%;
}

.mock-scenario-card.bull .mock-scenario-bar {
  background: var(--wealth-on-dark);
  width: 87%;
}

.mock-scenario-rates {
  font-size: 0.7rem;
  color: var(--muted-foreground);
  font-weight: 300;
}

/* ---- MOCK CHART ---- */
.mock-chart-area {
  background: white;
  border-radius: 10px;
  border: 1px solid var(--border);
  padding: 1.25rem 1.25rem 0.75rem;
  margin-bottom: 1.5rem;
}

.mock-chart-svg {
  width: 100%;
  height: auto;
  display: block;
}

.mock-chart-caption {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.72rem;
  color: var(--muted-foreground);
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
  margin-top: 0.5rem;
}

.mock-legend-band {
  display: inline-block;
  width: 16px;
  height: 10px;
  background: rgba(45, 106, 79, 0.18);
  border-radius: 2px;
  border: 1px solid rgba(45, 106, 79, 0.3);
  flex-shrink: 0;
}

.mock-legend-line {
  display: inline-block;
  width: 16px;
  height: 2px;
  background: var(--wealth);
  border-radius: 1px;
  flex-shrink: 0;
}

/* ---- MOCK STAT CHIPS ---- */
.mock-stat-chips {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.mock-chip {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.8rem 0.75rem;
  text-align: center;
}

.mock-chip-value {
  font-family: var(--font-family-heading);
  font-size: 1.3rem;
  color: var(--foreground);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.mock-chip-label {
  font-size: 0.68rem;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

.demo-caption {
  font-size: 0.82rem;
  color: var(--muted-foreground);
  font-style: italic;
  text-align: center;
}

/* ---- ADVANTAGES SECTION ---- */
.wl-why-section {
  background: var(--background);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: left;
  margin-top: 0.5rem;
}

.advantage-card {
  padding: 2rem;
  background: white;
  border-radius: 14px;
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.07);
}

.advantage-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  background: rgba(45, 106, 79, 0.08);
  color: var(--wealth);
}

.advantage-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.advantage-card p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--muted-foreground);
  font-weight: 300;
}

/* ---- HOW IT WORKS ---- */
.wl-steps-section {
  background: var(--foreground);
  color: var(--background);
}

.wl-steps-section .section-label {
  color: var(--primary-on-dark);
}

.wl-steps-section h2 {
  color: var(--background);
  margin-bottom: 3.5rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
  text-align: left;
}

.step-card {
  padding: 2rem;
  background: rgba(248, 246, 241, 0.04);
  border-radius: 14px;
  border: 1px solid rgba(248, 246, 241, 0.08);
}

.step-connector {
  display: flex;
  align-items: flex-start;
  padding-top: 3.2rem;
  padding-left: 1rem;
  padding-right: 1rem;
  font-size: 1.25rem;
  color: rgba(248, 246, 241, 0.2);
}

.step-number {
  font-family: var(--font-family-heading);
  font-size: 0.85rem;
  color: var(--primary-on-dark);
  margin-bottom: 0.75rem;
}

.step-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--background);
  margin-bottom: 0.6rem;
  line-height: 1.4;
}

.step-card p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(248, 246, 241, 0.75);
  font-weight: 300;
}

/* ---- COMPARISON TABLE ---- */
.wl-compare-section {
  background: var(--background);
}

.wl-compare-inner {
  max-width: 800px;
}

.compare-table {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  text-align: left;
  margin-top: 0.5rem;
  background: white;
}

.compare-header,
.compare-row {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr;
}

.compare-header {
  background: var(--foreground);
  color: var(--background);
}

.compare-header div {
  padding: 0.85rem 1.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.compare-row {
  border-top: 1px solid var(--border);
}

.compare-row:nth-child(even) {
  background: rgba(248, 246, 241, 0.6);
}

.compare-feature {
  padding: 0.85rem 1.25rem;
  font-size: 0.88rem;
  color: var(--foreground);
  font-weight: 500;
  border-right: 1px solid var(--border);
}

.compare-rw {
  padding: 0.85rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 400;
  border-right: 1px solid var(--border);
}

.compare-others {
  padding: 0.85rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 400;
}

.compare-rw.yes {
  color: var(--wealth);
  font-weight: 500;
}

.compare-rw.yes::before {
  content: '✓  ';
  font-weight: 700;
}

.compare-others.no {
  color: var(--muted-foreground);
}

.compare-others.no::before {
  content: '— ';
  color: rgba(26, 26, 26, 0.25);
}

/* ---- FINAL CTA ---- */
.wl-final-cta {
  background: var(--wealth);
  padding: 7rem 2rem;
  text-align: center;
}

.wl-final-cta-inner {
  max-width: 640px;
  margin: 0 auto;
}

.wl-final-cta .section-label {
  color: rgba(255, 255, 255, 0.9);
}

.wl-final-cta h2 {
  font-family: var(--font-family-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--background);
  margin-bottom: 1rem;
}

.wl-final-cta p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.btn-cta-large {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1.1rem 2.75rem;
  border-radius: 100px;
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  background: var(--background);
  color: var(--wealth);
  transition: all 0.3s ease;
  border: none;
}

.btn-cta-large:hover {
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mock-stat-chips {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .step-connector {
    display: none;
  }
}

@media (max-width: 640px) {
  .demo-content {
    padding: 1.25rem 1rem 1.5rem;
  }

  .mock-scenarios {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .mock-scenario-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.25rem 1rem;
    align-items: center;
  }

  .mock-scenario-bar-track {
    grid-column: 1 / -1;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
  }

  .compare-table {
    font-size: 0.8rem;
  }

  .wl-section {
    padding: 5rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .mock-hero-pct {
    font-size: 3.5rem;
  }

  .mock-stat-chips {
    grid-template-columns: repeat(2, 1fr);
  }
}
