/* ═══════════════════════════════════════════════════════════
   LANDING PAGE STYLES
   Shared styles for both A/B test landing page variants.
   Uses CSS custom properties from zoninga.css design system.
   ═══════════════════════════════════════════════════════════ */

/* ─── LAYOUT OVERRIDE ─── */
/* Landing pages extend base.html which wraps content in .auth-page
   (max-width: 420px, centered). Override that for full-width landing. */
.landing-body .auth-page {
  max-width: 100%;
  padding: 0;
  margin: 0;
}

/* ─── LANDING NAV ─── */
.landing-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 48px;
  background: rgba(255,255,255,0.88); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
[data-theme="dark"] .landing-nav {
  background: rgba(15,23,42,0.88);
}
.landing-nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 20px; color: var(--text); text-decoration: none;
}
.landing-nav-logo-img { width: 32px; height: 32px; border-radius: 8px; }
.landing-nav-links {
  display: flex; align-items: center; gap: 32px;
}
.landing-nav-links > a {
  color: var(--text-secondary); text-decoration: none; font-size: 14px; font-weight: 500;
}
.landing-nav-links > a:hover { color: var(--text); opacity: 1; }
.landing-btn-login {
  padding: 8px 20px; border-radius: 8px; font-weight: 600; font-size: 14px;
  text-decoration: none; color: var(--text); border: 1px solid var(--border-strong);
  background: var(--surface);
}
.landing-btn-signup {
  padding: 8px 20px; border-radius: 10px; font-weight: 600; font-size: 14px;
  text-decoration: none; color: white; background: var(--gradient);
}
.landing-btn-signup:hover { opacity: 0.9; color: white; }

/* ─── MOBILE HAMBURGER (hidden on desktop) ─── */
.landing-mobile-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 8px; margin-left: auto; margin-right: 8px; z-index: 101;
}
.landing-mobile-toggle span {
  display: block; width: 22px; height: 2px; background: var(--text);
  border-radius: 2px; transition: transform 0.25s, opacity 0.25s;
}
.landing-mobile-toggle span + span { margin-top: 5px; }
.landing-nav--open .landing-mobile-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.landing-nav--open .landing-mobile-toggle span:nth-child(2) { opacity: 0; }
.landing-nav--open .landing-mobile-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─── SHARED BUTTONS ─── */
.landing-btn-primary {
  display: inline-block; padding: 14px 32px; border-radius: 12px;
  font-weight: 700; font-size: 16px; text-decoration: none;
  color: white; background: var(--gradient);
  box-shadow: 0 4px 20px var(--accent-glow);
}
.landing-btn-primary:hover { opacity: 0.9; color: white; }
.landing-btn-secondary {
  display: inline-block; padding: 14px 32px; border-radius: 12px;
  font-weight: 700; font-size: 16px; text-decoration: none;
  color: var(--text); background: var(--surface);
  border: 1px solid var(--border-strong);
}
.landing-btn-dark {
  display: inline-block; padding: 14px 32px; border-radius: 14px;
  font-weight: 700; font-size: 16px; text-decoration: none;
  color: white; background: #0F172A;
}
[data-theme="dark"] .landing-btn-dark { background: var(--surface); }
.landing-btn-ghost {
  display: inline-block; padding: 14px 32px; border-radius: 14px;
  font-weight: 700; font-size: 16px; text-decoration: none;
  color: var(--text); border: 1.5px solid var(--border-strong);
}

.gradient-text {
  background: var(--gradient); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}

.hero-buttons { display: flex; gap: 16px; justify-content: center; }
/* MKT-C2 (Phase 140): no-credit-card / trial reassurance under the hero CTA. */
.hero-trust { margin-top: 14px; font-size: 13px; color: var(--text-secondary); position: relative; z-index: 1; }


/* ═══════════════════════════════════════
   DESIGN A — HERO SCROLL
   ═══════════════════════════════════════ */

/* Hero */
.hero-section {
  padding: 160px 48px 100px; text-align: center;
  background: var(--hero-bg); position: relative; overflow: hidden;
}
.hero-glow {
  position: absolute; border-radius: 50%; pointer-events: none;
}
.hero-glow--right {
  top: -200px; right: -200px; width: 600px; height: 600px;
  background: var(--hero-orb);
}
.hero-glow--left {
  bottom: -100px; left: -100px; width: 400px; height: 400px;
  background: rgba(6,182,212,0.05);
}
.hero-badge {
  display: inline-block; padding: 6px 16px; border-radius: 20px;
  background: rgba(14,165,233,0.08); color: var(--tip-text);
  font-size: 13px; font-weight: 600; margin-bottom: 24px;
}
.hero-title {
  font-size: 56px; font-weight: 800; line-height: 1.1;
  margin-bottom: 20px; letter-spacing: -1px;
  position: relative; z-index: 1; color: var(--hero-text);
}
.hero-subtitle {
  font-size: 20px; color: var(--text-secondary);
  max-width: 600px; margin: 0 auto 40px;
  position: relative; z-index: 1;
}

/* Stats bar */
.stats-bar {
  display: flex; justify-content: center; gap: 64px;
  padding: 48px; background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.stat-number {
  font-size: 36px; font-weight: 800;
  background: var(--gradient); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-label { font-size: 14px; color: var(--text-secondary); margin-top: 4px; text-align: center; }

/* Feature rows */
.feature-row {
  display: flex; align-items: center; gap: 80px;
  padding: 100px 80px; max-width: 1200px; margin: 0 auto;
}
.feature-row--animate {
  opacity: 0; transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.feature-row--animate.visible { opacity: 1; transform: translateY(0); }
.feature-row--reverse { flex-direction: row-reverse; }
.feature-text { flex: 1; }
.feature-text h2 { font-size: 36px; font-weight: 800; margin-bottom: 16px; letter-spacing: -0.5px; color: var(--text); }
.feature-text p { font-size: 17px; color: var(--text-secondary); line-height: 1.7; }

.feature-tag {
  display: inline-block; padding: 4px 12px; border-radius: 6px;
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 16px;
}
.feature-tag--blue { background: rgba(14,165,233,0.08); color: #0284C7; }
.feature-tag--green { background: rgba(22,163,74,0.08); color: #16a34a; }
.feature-tag--purple { background: rgba(124,58,237,0.08); color: #7C3AED; }
.feature-tag--amber { background: rgba(217,119,6,0.08); color: #d97706; }

.feature-visual {
  flex: 1; min-height: 360px; border-radius: 20px;
  background: linear-gradient(135deg, var(--fv-from), var(--fv-to));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  position: relative; overflow: hidden;
}

/* Mock elements for feature visuals */
.mock-dashboard {
  width: 85%; height: 80%; background: var(--surface);
  border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 12px;
  box-shadow: var(--card-shadow);
}
.mock-topbar { height: 12px; width: 40%; background: var(--border); border-radius: 6px; }
.mock-cards { display: flex; gap: 10px; }
.mock-card { flex: 1; background: rgba(14,165,233,0.06); border-radius: 10px; padding: 12px; }
.mock-card-title { height: 8px; width: 60%; background: var(--border); border-radius: 4px; margin-bottom: 8px; }
.mock-card-value { height: 20px; width: 40%; background: var(--gradient); border-radius: 4px; }
.mock-chart { flex: 1; background: rgba(14,165,233,0.04); border-radius: 10px; display: flex; align-items: flex-end; padding: 16px; gap: 8px; }
.mock-bar { flex: 1; background: var(--gradient); border-radius: 4px 4px 0 0; opacity: 0.7; }

.mock-budget-list { width: 85%; display: flex; flex-direction: column; gap: 16px; }
.mock-budget-item { background: var(--surface); border-radius: 12px; padding: 16px; box-shadow: var(--card-shadow); }
.mock-budget-header { display: flex; justify-content: space-between; margin-bottom: 8px; }
.mock-budget-name { height: 10px; width: 30%; background: var(--border); border-radius: 4px; }
.mock-budget-pct { height: 10px; width: 15%; background: var(--border); border-radius: 4px; }
.mock-progress { height: 8px; background: var(--progress-track); border-radius: 4px; overflow: hidden; }
.mock-progress-fill { height: 100%; border-radius: 4px; }

.mock-goal { width: 70%; text-align: center; }
.mock-goal-ring {
  width: 180px; height: 180px; border-radius: 50%; margin: 0 auto 16px;
  background: conic-gradient(var(--accent) 0deg, #06B6D4 250deg, rgba(15,23,42,0.06) 250deg);
  display: flex; align-items: center; justify-content: center;
}
.mock-goal-inner {
  width: 140px; height: 140px; border-radius: 50%;
  background: var(--surface); display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 800; color: var(--accent);
}
.mock-goal-label { color: var(--text-secondary); font-weight: 600; font-size: 15px; }

.mock-report { width: 85%; height: 80%; background: var(--surface); border-radius: 12px; padding: 20px; box-shadow: var(--card-shadow); }
.mock-report-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.mock-report-tab {
  padding: 6px 14px; border-radius: 6px; font-size: 11px; font-weight: 600;
  background: var(--surface-alt); color: var(--text-muted);
}
.mock-report-tab--active { background: rgba(14,165,233,0.1); color: var(--accent); }
.mock-line-chart { flex: 1; position: relative; height: 200px; }
.mock-line-area {
  position: absolute; bottom: 0; left: 0; right: 0; height: 100%;
  background: linear-gradient(to top, rgba(14,165,233,0.08), transparent);
  clip-path: polygon(0% 80%, 10% 60%, 20% 65%, 30% 40%, 40% 45%, 50% 20%, 60% 30%, 70% 15%, 80% 25%, 90% 10%, 100% 18%, 100% 100%, 0% 100%);
}

.mock-bank-sync { display: flex; gap: 16px; }
.mock-bank-icon {
  width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800; color: white;
  background: var(--gradient); box-shadow: 0 4px 16px var(--accent-glow);
}
.mock-bank-icon--add { background: var(--surface); color: var(--accent); border: 2px dashed var(--border-strong); box-shadow: none; }


/* ═══════════════════════════════════════
   SHARED — DEBT PAYDOWN SHOWCASE
   ═══════════════════════════════════════ */

/* Hero-page debt showcase (full-width section) */
.debt-showcase {
  padding: 80px 48px 100px;
  background: linear-gradient(180deg, #0F172A 0%, #1E293B 100%);
  color: white;
}
.debt-showcase-inner { max-width: 1100px; margin: 0 auto; }
.debt-showcase-header { text-align: center; margin-bottom: 48px; }
.debt-showcase-title {
  font-size: 40px; font-weight: 800; margin-bottom: 16px;
  letter-spacing: -1px; color: white;
}
.debt-showcase-subtitle {
  font-size: 17px; color: #94A3B8; max-width: 640px; margin: 0 auto; line-height: 1.7;
}

.debt-showcase-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.debt-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px; padding: 28px; position: relative;
}
.debt-card-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  color: #64748B; margin-bottom: 16px;
}

/* Strategy comparison table */
.debt-card--strategies { grid-row: span 2; }
.debt-strategy-table { display: flex; flex-direction: column; gap: 0; }
.debt-strategy-row {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 8px;
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 14px; color: #CBD5E1;
}
.debt-strategy-row--header {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; color: #64748B; padding-bottom: 12px;
}
.debt-strategy-row--best {
  background: rgba(74,222,128,0.06); border-radius: 8px; padding: 10px 8px;
  border-bottom: none; color: #F1F5F9; font-weight: 600;
}
.debt-green { color: #4ADE80; font-weight: 700; }
.debt-red { color: #F87171; }

/* Payoff timeline chart */
.debt-card--timeline { display: flex; flex-direction: column; }
.debt-timeline-chart {
  flex: 1; display: flex; gap: 8px; position: relative; min-height: 180px;
}
.debt-timeline-y {
  display: flex; flex-direction: column; justify-content: space-between;
  font-size: 10px; color: #475569; width: 30px; text-align: right;
  padding: 4px 0;
}
.debt-timeline-area {
  flex: 1; position: relative; overflow: hidden;
  background: rgba(255,255,255,0.02); border-radius: 8px;
}
.debt-line {
  position: absolute; left: 0; right: 0; height: 100%;
}
.debt-line--minimum {
  background: linear-gradient(to bottom right, rgba(248,113,113,0.3), transparent 70%);
  clip-path: polygon(0% 5%, 15% 10%, 30% 18%, 45% 28%, 60% 42%, 75% 58%, 90% 78%, 100% 95%, 100% 100%, 0% 100%);
}
.debt-line--avalanche {
  background: linear-gradient(to bottom right, rgba(74,222,128,0.4), transparent 70%);
  clip-path: polygon(0% 5%, 12% 18%, 24% 35%, 36% 52%, 48% 70%, 55% 82%, 60% 95%, 60% 100%, 0% 100%);
}
.debt-timeline-marker {
  position: absolute; left: 58%; top: 85%;
}
.debt-marker-dot {
  width: 12px; height: 12px; border-radius: 50%; background: #4ADE80;
  box-shadow: 0 0 12px rgba(74,222,128,0.5);
  margin-bottom: 4px;
}
.debt-marker-label {
  font-size: 11px; color: #94A3B8; white-space: nowrap;
}
.debt-marker-label strong { color: #4ADE80; }
.debt-timeline-x {
  display: flex; justify-content: space-between;
  font-size: 10px; color: #475569; padding: 8px 38px 0;
}
.debt-timeline-legend {
  display: flex; gap: 16px; margin-top: 12px; justify-content: center;
}
.debt-legend-item {
  display: flex; align-items: center; gap: 6px; font-size: 12px; color: #94A3B8;
}
.debt-legend-dot { width: 10px; height: 10px; border-radius: 3px; }
.debt-legend-dot--minimum { background: #F87171; }
.debt-legend-dot--avalanche { background: #4ADE80; }

/* Savings / time-saved highlight cards */
.debt-card--savings, .debt-card--time {
  text-align: center; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.debt-savings-icon { font-size: 36px; margin-bottom: 8px; }
.debt-savings-amount {
  font-size: 32px; font-weight: 800; color: white; margin-bottom: 4px;
}
.debt-card--savings .debt-savings-amount { color: #4ADE80; }
.debt-card--time .debt-savings-amount { color: #38BDF8; }
.debt-savings-label { font-size: 13px; color: #94A3B8; }

.debt-showcase-cta { text-align: center; margin-top: 40px; }

/* Bento-page debt card (full-width inside bento grid) */
.bento-full { grid-column: 1 / -1; }
.bento-debt-layout { display: flex; gap: 32px; align-items: center; }
.bento-debt-left { flex: 1; }
.bento-debt-right { flex: 1; }
.bento-debt-badge {
  display: inline-block; padding: 4px 12px; border-radius: 6px;
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; margin-bottom: 12px;
  background: rgba(74,222,128,0.1); color: #4ADE80;
}
.bento-debt-highlights { display: flex; gap: 24px; margin-top: 20px; }
.bento-debt-stat-val { font-size: 22px; font-weight: 800; }
.bento-debt-stat-label { font-size: 11px; color: #64748B; margin-top: 2px; }

.bento-debt-table { display: flex; flex-direction: column; }
.bento-debt-row {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 8px;
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 13px; color: #CBD5E1;
}
.bento-debt-row--header {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; color: #475569; padding-bottom: 10px;
}
.bento-debt-row--best {
  background: rgba(74,222,128,0.08); border-radius: 8px; padding: 10px 8px;
  border-bottom: none; color: #F1F5F9; font-weight: 600;
}


/* ═══════════════════════════════════════
   DESIGN B — BENTO GRID
   ═══════════════════════════════════════ */

.bento-hero {
  padding: 160px 48px 80px; text-align: center;
  max-width: 900px; margin: 0 auto;
}
.bento-hero-title {
  font-size: 68px; font-weight: 800; line-height: 1.05;
  letter-spacing: -3px; margin-bottom: 20px; color: var(--text);
}
.bento-hero-subtitle {
  font-size: 20px; color: var(--text-secondary);
  max-width: 520px; margin: 0 auto 36px;
}

.bento-section { padding: 40px 48px 100px; max-width: 1200px; margin: 0 auto; }
.bento-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.bento-card {
  border-radius: 24px; padding: 32px; position: relative; overflow: hidden;
  border: 1px solid var(--border);
}
.bento-card--animate {
  opacity: 0; transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.bento-card--animate.visible { opacity: 1; transform: translateY(0); }
.bento-card h2 { font-size: 20px; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.bento-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.bento-large { grid-column: span 2; min-height: 340px; }
.bento-tall { grid-row: span 2; }
.bento-card--center { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }

.bento-card--dark {
  background: #0F172A; color: #F1F5F9; border: none;
}
.bento-card--dark h2 { color: #F1F5F9; }
.bento-card--dark p { color: #94A3B8; }

.bento-card--blue {
  background: linear-gradient(135deg, #0EA5E9, #0284C7); color: white; border: none;
}
.bento-card--blue h2 { color: white; }
.bento-card--blue p { color: rgba(255,255,255,0.7); }

.bento-icon-box {
  width: 56px; height: 56px; border-radius: 16px; margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(14,165,233,0.2), rgba(6,182,212,0.2));
  display: flex; align-items: center; justify-content: center; font-size: 24px;
}

/* Bento dashboard visual */
.bento-dashboard-visual { margin-top: 24px; background: var(--surface); border-radius: 16px; padding: 16px; box-shadow: var(--card-shadow); }
.bento-stats-row { display: flex; gap: 12px; margin-bottom: 12px; }
.bento-stat-chip { flex: 1; background: rgba(14,165,233,0.04); border-radius: 10px; padding: 12px; }
.bento-stat-chip-label { font-size: 10px; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.5px; }
.bento-stat-chip-val { font-size: 20px; font-weight: 800; margin-top: 2px; }
.bento-mini-chart { display: flex; align-items: flex-end; gap: 4px; height: 80px; padding-top: 8px; }
.bento-mini-bar { flex: 1; border-radius: 3px 3px 0 0; background: var(--gradient); }

/* Bento budget bars */
.bento-budget-bars { margin-top: 20px; display: flex; flex-direction: column; gap: 16px; }
.bento-bb-top { display: flex; justify-content: space-between; margin-bottom: 6px; }
.bento-bb-cat { font-size: 13px; font-weight: 600; color: var(--text); }
.bento-bb-pct { font-size: 12px; color: var(--text-secondary); }
.bento-bb-track { height: 8px; background: var(--progress-track); border-radius: 4px; overflow: hidden; }
.bento-bb-fill {
  height: 100%; border-radius: 4px; width: 0%;
  transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.bento-card--animate.visible .bento-bb-fill { width: var(--w); }

/* Bento goals */
.bento-goals-rings { display: flex; gap: 16px; margin-top: 20px; justify-content: center; }
.bento-goal-mini { text-align: center; }
.bento-goal-ring {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 8px;
  display: flex; align-items: center; justify-content: center;
}
.bento-goal-ring-inner {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800;
}
.bento-goal-ring-label { font-size: 11px; color: var(--text-secondary); }

/* Bento bank icons */
.bento-bank-icons { display: flex; gap: 8px; margin-top: 16px; }
.bento-bank-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; color: white;
}

/* Bento report chart */
.bento-report-tabs { display: flex; gap: 8px; margin: 16px 0; }
.bento-report-tab {
  padding: 5px 12px; border-radius: 6px; font-size: 12px; font-weight: 600;
  color: var(--text-muted); background: var(--surface-alt);
}
.bento-report-tab--active { background: rgba(14,165,233,0.08); color: var(--accent); }
.bento-report-chart {
  height: 140px; position: relative; overflow: hidden; border-radius: 12px;
  background: rgba(14,165,233,0.02);
}
.bento-report-area {
  position: absolute; bottom: 0; left: 0; right: 0; height: 100%;
  background: linear-gradient(to top, rgba(14,165,233,0.08), transparent);
  clip-path: polygon(0% 85%, 5% 70%, 12% 72%, 20% 55%, 28% 58%, 35% 40%, 42% 45%, 50% 30%, 58% 35%, 65% 20%, 72% 28%, 80% 15%, 88% 22%, 95% 12%, 100% 18%, 100% 100%, 0% 100%);
}

/* Bento avatars */
.bento-avatars { display: flex; margin-top: 16px; }
.bento-avatar {
  width: 36px; height: 36px; border-radius: 50%; border: 2px solid white;
  margin-left: -8px; display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: white;
}
.bento-avatar:first-child { margin-left: 0; }

/* Bento badges */
.bento-badges { display: flex; gap: 8px; margin-top: 16px; }
.bento-badge-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; background: rgba(217,119,6,0.1);
}


/* ═══════════════════════════════════════
   SHARED — PRICING
   ═══════════════════════════════════════ */
.section-heading {
  font-size: 40px; font-weight: 800; text-align: center;
  margin-bottom: 12px; color: var(--text); letter-spacing: -1px;
}
.section-subheading {
  text-align: center; color: var(--text-secondary);
  font-size: 17px; margin-bottom: 48px;
}
.pricing-section { padding: 100px 48px; background: var(--surface); }
.pricing-cards { display: flex; justify-content: center; gap: 32px; max-width: 800px; margin: 0 auto; }
.pricing-card {
  flex: 1; padding: 40px; border-radius: 20px; text-align: left;
  border: 1px solid var(--border); background: var(--bg);
}
.pricing-card--featured {
  background: #0F172A; color: white; border: none;
}
.pricing-card h2 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.pricing-card--featured h2 { color: white; }
.pricing-price { font-size: 42px; font-weight: 800; margin-bottom: 24px; color: var(--text); }
.pricing-price span { font-size: 16px; font-weight: 500; color: var(--text-secondary); }
.pricing-card--featured .pricing-price { color: white; }
.pricing-card--featured .pricing-price span { color: rgba(255,255,255,0.5); }
.pricing-features { list-style: none; margin-bottom: 32px; padding: 0; }
.pricing-features li { padding: 8px 0; font-size: 15px; color: var(--text-secondary); }
.pricing-features li::before { content: '\2713'; margin-right: 10px; color: var(--accent); font-weight: 700; }
.pricing-card--featured .pricing-features li { color: rgba(255,255,255,0.7); }
.pricing-btn {
  display: block; text-align: center; padding: 14px; border-radius: 12px;
  font-weight: 700; font-size: 15px; text-decoration: none;
}
.pricing-btn--outline {
  color: var(--text); border: 1px solid var(--border-strong);
}
.pricing-btn--primary {
  color: white; background: var(--gradient);
}
.pricing-btn--primary:hover { color: white; opacity: 0.9; }
.pricing-annual {
  margin-top: 12px; text-align: center;
  font-size: 13px; color: var(--text-secondary);
}
.pricing-card--featured .pricing-annual { color: rgba(255,255,255,0.5); }


/* ═══════════════════════════════════════
   SHARED — FINAL CTA
   ═══════════════════════════════════════ */
.final-cta {
  padding: 100px 48px; text-align: center;
  background: linear-gradient(135deg, #0F172A, #1E293B); color: white;
}
.final-cta h2 { font-size: 40px; font-weight: 800; margin-bottom: 16px; }
.final-cta p { color: rgba(255,255,255,0.6); font-size: 18px; margin-bottom: 32px; }
.final-cta-btn {
  display: inline-block; padding: 16px 40px; border-radius: 12px;
  font-weight: 700; font-size: 16px; text-decoration: none;
  color: #0F172A; background: white;
}
.final-cta-btn:hover { opacity: 0.9; color: #0F172A; }


/* ═══════════════════════════════════════
   SHARED — FOOTER
   ═══════════════════════════════════════ */
.landing-footer {
  padding: 40px 48px; text-align: center;
  border-top: 1px solid var(--border);
}
.landing-footer a { color: var(--text-secondary); text-decoration: none; font-size: 14px; }
.landing-footer-dot { color: var(--text-muted); margin: 0 12px; }


/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 768px) {
  .landing-nav { padding: 12px 20px; flex-wrap: wrap; }
  .landing-mobile-toggle { display: flex; flex-direction: column; justify-content: center; }
  .landing-nav-links {
    display: none; flex-direction: column; width: 100%; gap: 0;
    padding: 8px 0 4px; order: 3;
  }
  .landing-nav--open .landing-nav-links { display: flex; }
  .landing-nav-links > a {
    padding: 12px 8px; border-top: 1px solid var(--border);
    min-height: 44px; display: flex; align-items: center;
  }
  .landing-nav-links > .landing-btn-login,
  .landing-nav-links > .landing-btn-signup {
    text-align: center; justify-content: center; margin-top: 4px;
  }

  .hero-section { padding: 120px 20px 60px; }
  .hero-title { font-size: 36px; }
  .hero-subtitle { font-size: 16px; }
  .hero-buttons { flex-direction: column; align-items: center; }

  .bento-hero { padding: 120px 20px 60px; }
  .bento-hero-title { font-size: 40px; letter-spacing: -1.5px; }

  .stats-bar { flex-direction: column; gap: 24px; padding: 32px 20px; }
  .stat-number { font-size: 28px; }

  .feature-row { flex-direction: column; padding: 60px 20px; gap: 40px; }
  .feature-row--reverse { flex-direction: column; }
  .feature-visual { min-height: 280px; width: 100%; }
  .feature-text h2 { font-size: 28px; }

  /* Debt showcase (hero scroll page) */
  .debt-showcase { padding: 60px 20px 80px; }
  .debt-showcase-title { font-size: 28px; }
  .debt-showcase-subtitle { font-size: 15px; }
  .debt-showcase-grid { grid-template-columns: 1fr; }
  .debt-card--strategies { grid-row: span 1; }
  .debt-strategy-row { grid-template-columns: 1.4fr 1fr 1fr 1fr; font-size: 12px; }
  .debt-timeline-chart { min-height: 140px; }
  .debt-savings-amount { font-size: 26px; }

  /* Bento debt card (bento grid page) */
  .bento-full { grid-column: span 1; }
  .bento-debt-layout { flex-direction: column; gap: 24px; }
  .bento-debt-highlights { flex-wrap: wrap; gap: 16px; }
  .bento-debt-stat-val { font-size: 18px; }
  .bento-debt-row { font-size: 12px; }

  .bento-section { padding: 20px 20px 60px; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-large { grid-column: span 1; min-height: auto; }
  .bento-tall { grid-row: span 1; }

  .pricing-section { padding: 60px 20px; }
  .pricing-cards { flex-direction: column; }
  .section-heading { font-size: 30px; }

  .final-cta { padding: 60px 20px; }
  .final-cta h2 { font-size: 28px; }

  .landing-footer { padding: 30px 20px; }
}

/* ═══════════════════════════════════════════════════════════
   DEBT CALCULATOR (public lead magnet page)
   ═══════════════════════════════════════════════════════════ */

.calc-hero {
  text-align: center;
  padding: 120px 24px 48px;
  max-width: 720px;
  margin: 0 auto;
}
.calc-hero h1 {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 16px;
}
.calc-hero p {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.calc-section { padding: 0 24px 48px; }
.calc-container { max-width: 960px; margin: 0 auto; }

.calc-errors { margin-bottom: 16px; }
.calc-error {
  background: #FEF2F2;
  color: #991B1B;
  padding: 10px 16px;
  border-radius: 8px;
  margin-bottom: 8px;
  font-size: 14px;
  border: 1px solid #FECACA;
}
[data-theme="dark"] .calc-error {
  background: rgba(239,68,68,0.1);
  color: #FCA5A5;
  border-color: rgba(239,68,68,0.2);
}

.calc-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
}
.calc-form h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--text);
}
.calc-form__hint {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* MKT-H6: anon "save your plan" banner above the calculator form */
.calc-save-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: calc(100% - 40px);
  max-width: 960px;
  margin: 16px auto 20px;
  padding: 12px 16px;
  background: var(--surface-alt, #f1f5f9);
  border: 1px solid var(--border, #e2e8f0);
  border-left: 3px solid var(--accent, #0ea5e9);
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-secondary, #475569);
}
/* MKT-H6 fix (staging QA 1.8): the display:flex above outranks the [hidden]
   attribute's implicit `display:none`, so the JS dismiss — which sets [hidden]
   and writes localStorage — had no visual effect. This higher-specificity rule
   (0,2,0 beats the 0,1,0 base) restores "hidden means hidden"; no !important. */
.calc-save-banner[hidden] {
  display: none;
}
.calc-save-banner a {
  color: var(--accent-text, #0369a1);
  font-weight: 600;
}
.calc-save-banner__dismiss {
  flex-shrink: 0;
  background: none;
  border: none;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  color: var(--text-secondary, #475569);
}
.calc-save-banner__dismiss:hover {
  color: var(--text-primary, #0f172a);
}

.calc-debt-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 8px;
  margin-bottom: 12px;
  padding: 12px;
  background: var(--bg);
  border-radius: 10px;
  border: 1px solid var(--border);
  position: relative;
}
.calc-debt-row__fields {
  display: grid;
  grid-template-columns: 1.5fr 1fr 0.8fr 1fr 0.7fr;
  gap: 10px;
  flex: 1;
}
.calc-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.calc-field input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  background: var(--surface);
  color: var(--text);
  box-sizing: border-box;
}
.calc-field input:focus {
  outline: none;
  border-color: var(--accent, #0EA5E9);
  box-shadow: 0 0 0 3px rgba(14,165,233,0.12);
}
.calc-field--error input,
.calc-field--error select {
  border-color: #EF4444;
}
.calc-field--error input:focus,
.calc-field--error select:focus {
  border-color: #EF4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.12);
}
.calc-field__error {
  font-size: 11px;
  color: #F87171;
  margin-top: 3px;
  line-height: 1.3;
}
.calc-field__hint {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 4px;
}
.calc-debt-row__remove {
  position: absolute;
  top: 8px;
  right: 8px;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 22px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  line-height: 1;
}
.calc-debt-row__remove:hover { color: #EF4444; background: rgba(239,68,68,0.08); }
.calc-debt-row__extra {
  width: 100%;
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}
.calc-extra-label {
  font-size: 12px;
  color: var(--accent-text, #0284C7);
  margin-bottom: 8px;
  font-weight: 500;
}
.calc-debt-row__extra .calc-debt-row__fields {
  grid-template-columns: repeat(4, 1fr);
}
.calc-field select {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  background: var(--surface);
  color: var(--text);
  box-sizing: border-box;
}
.calc-field select:focus {
  outline: none;
  border-color: var(--accent, #0EA5E9);
  box-shadow: 0 0 0 3px rgba(14,165,233,0.12);
}

.calc-add-btn {
  display: inline-block;
  margin-top: 8px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-text, #0284C7);
  background: none;
  border: 1px dashed var(--border-strong);
  border-radius: 8px;
  cursor: pointer;
}
.calc-add-btn:hover { background: rgba(14,165,233,0.06); }

.calc-extra-row {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  max-width: 280px;
}

.calc-submit-btn {
  display: block;
  width: 100%;
  margin-top: 24px;
  padding: 14px;
  font-size: 16px;
  font-weight: 700;
  color: white;
  background: var(--gradient, linear-gradient(135deg, #0EA5E9, #06B6D4));
  border: none;
  border-radius: 10px;
  cursor: pointer;
  letter-spacing: 0.01em;
}
.calc-submit-btn:hover { opacity: 0.92; }

/* ── Results ── */
.calc-results { padding-top: 48px; }

.calc-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.calc-summary__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}
.calc-summary__label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.calc-summary__value {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
}
.calc-summary__value--accent { color: var(--accent-text, #0284C7); }
.calc-summary__value--green { color: var(--green-text, #15803D); }

.calc-section-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 20px;
}

.calc-strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}
.calc-strategy-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  position: relative;
}
.calc-strategy-card--best {
  border-color: var(--accent, #0EA5E9);
  box-shadow: 0 0 0 1px var(--accent, #0EA5E9);
}
.calc-strategy-card--baseline {
  opacity: 0.7;
  border-style: dashed;
}
.calc-strategy-card__badge {
  position: absolute;
  top: -10px;
  right: 16px;
  background: var(--gradient, linear-gradient(135deg, #0EA5E9, #06B6D4));
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.calc-strategy-card__name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.calc-strategy-card__desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.4;
}
.calc-strategy-card__stats {
  display: flex;
  gap: 24px;
  margin-bottom: 12px;
}
.calc-strategy-card__stat-value {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
}
.calc-strategy-card__stat-label {
  font-size: 11px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.calc-strategy-card__savings {
  font-size: 13px;
  font-weight: 600;
  color: var(--green-text, #15803D);
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.calc-strategy-card__savings--muted {
  color: var(--text-secondary);
}

/* ── CTA Banner ── */
.calc-cta {
  text-align: center;
  padding: 48px 32px;
  margin-bottom: 40px;
  background: linear-gradient(135deg, rgba(14,165,233,0.08), rgba(6,182,212,0.08));
  border: 1px solid rgba(14,165,233,0.2);
  border-radius: 16px;
}
.calc-cta h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 8px;
}
.calc-cta p {
  font-size: 16px;
  color: var(--text-secondary);
  margin: 0 0 24px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.calc-cta__btn {
  display: inline-block;
  padding: 14px 36px;
  font-size: 16px;
  font-weight: 700;
  color: white;
  background: var(--gradient, linear-gradient(135deg, #0EA5E9, #06B6D4));
  border-radius: 10px;
  text-decoration: none;
}
.calc-cta__btn:hover { opacity: 0.9; color: white; }
.calc-cta__sub {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 12px;
}
.calc-cta__bullets {
  list-style: none;
  padding: 0;
  margin: 12px auto 20px;
  max-width: 540px;
  text-align: left;
}
.calc-cta__bullets li {
  position: relative;
  padding: 6px 0 6px 26px;
  font-size: 14px;
  color: var(--text-primary);
}
.calc-cta__bullets li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 6px;
  color: #10b981;
  font-weight: 700;
}
.calc-cta__bullets li:last-child::before {
  content: "\26A0";
  color: #f59e0b;
}
.calc-cta__link {
  color: var(--accent-text, #0EA5E9);
  text-decoration: underline;
}

/* ── FAQ / Explanations ── */
.calc-faq {
  margin-bottom: 24px;
}
.calc-faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 8px;
}
.calc-faq summary {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
}
.calc-faq summary::-webkit-details-marker { display: none; }
.calc-faq summary::before {
  content: "+";
  display: inline-block;
  width: 20px;
  font-weight: 700;
  color: var(--text-secondary);
}
.calc-faq details[open] summary::before { content: "\2212"; }
.calc-faq__body {
  padding: 0 20px 16px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.calc-faq__body p { margin: 0 0 8px; }

/* ── Footer CTA ── */
.calc-footer-cta {
  text-align: center;
  padding: 60px 24px 80px;
  background: linear-gradient(180deg, transparent, rgba(14,165,233,0.04));
}
.calc-footer-cta h2 {
  font-size: 30px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 8px;
}
.calc-footer-cta p {
  font-size: 16px;
  color: var(--text-secondary);
  margin: 0 0 24px;
}

/* ── Calculator responsive ── */
@media (max-width: 768px) {
  .calc-hero { padding: 100px 20px 32px; }
  .calc-hero h1 { font-size: 30px; }
  .calc-hero p { font-size: 16px; }
  .calc-section { padding: 0 16px 32px; }
  .calc-form { padding: 20px; }
  .calc-debt-row { flex-direction: column; align-items: stretch; }
  .calc-debt-row__fields { grid-template-columns: 1fr 1fr; }
  .calc-debt-row__extra .calc-debt-row__fields { grid-template-columns: 1fr 1fr; }
  .calc-debt-row__remove { position: absolute; top: 8px; right: 8px; }
  .calc-summary { grid-template-columns: repeat(2, 1fr); }
  .calc-strategy-grid { grid-template-columns: 1fr; }
  .calc-cta { padding: 32px 20px; }
  .calc-footer-cta h2 { font-size: 24px; }
}
@media (max-width: 480px) {
  .calc-hero h1 { font-size: 26px; }
  .calc-hero p { font-size: 15px; }
  .calc-form { padding: 12px; }
  .calc-debt-row { padding: 8px; }
  .calc-debt-row__fields { grid-template-columns: 1fr; }
  .calc-debt-row__extra .calc-debt-row__fields { grid-template-columns: 1fr; }
  .calc-summary { grid-template-columns: 1fr; }
  .calc-summary__value { font-size: 20px; }
  .calc-strategy-card__stat-value { font-size: 18px; }
  .calc-footer-cta h2 { font-size: 22px; }
}

/* ═══════════════════════════════════════════════════════════
   PHASE 163 — LANDING CONVERSION REDESIGN
   New shared sections (how-it-works, trust, FAQ, richer pricing,
   dual final CTA, footer) + realistic product mocks for both
   A/B homepage variants. Self-contained, incl. its own responsive
   block at the bottom.
   ═══════════════════════════════════════════════════════════ */

/* ─── PROOF BAR TWEAK (labels are full sentences now) ─── */
.stat-item { max-width: 250px; }

/* ─── FEATURE TAG: CYAN (AI assistant) ─── */
.feature-tag--cyan { background: rgba(6,182,212,0.08); color: #0E7490; }

/* ─── DEBT SHOWCASE FOOTNOTE ─── */
.debt-showcase-footnote { margin-top: 14px; font-size: 12.5px; color: #94A3B8; }

/* ─── HOW IT WORKS ─── */
.hiw-section { padding: 100px 48px; max-width: 1100px; margin: 0 auto; }
.hiw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.hiw-step {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 28px;
}
.hiw-num {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--gradient); color: white;
  font-size: 18px; font-weight: 800; margin-bottom: 16px;
}
.hiw-step h3 { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.hiw-step p { font-size: 14px; color: var(--text-secondary); line-height: 1.65; }

/* ─── REALISTIC DASHBOARD MOCK ─── */
.mockd {
  width: 88%; background: var(--surface); border-radius: 14px;
  padding: 20px; box-shadow: var(--card-shadow);
  display: flex; flex-direction: column; gap: 12px;
}
.mockd-head { display: flex; align-items: center; justify-content: space-between; }
.mockd-title {
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.5px; color: var(--text-secondary);
}
.mockd-chip {
  font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 12px;
  background: rgba(22,163,74,0.12); color: var(--green-text, #15803D);
}
.mockd-networth { font-size: 32px; font-weight: 800; letter-spacing: -1px; color: var(--text); }
.mockd-tiles { display: flex; gap: 8px; }
.mockd-tile {
  flex: 1; background: rgba(14,165,233,0.06); border-radius: 10px;
  padding: 10px 12px; display: flex; flex-direction: column; gap: 2px;
}
.mockd-tile-label {
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.5px;
  color: var(--text-secondary);
}
.mockd-tile-val { font-size: 14px; font-weight: 800; color: var(--text); }
.mockd-tile-val--red { color: var(--red-text, #B91C1C); }
.mockd-tile-val--green { color: var(--green-text, #15803D); }
.mockd .mock-chart { flex: initial; height: 90px; }

/* ─── WHAT-IF SCENARIO MOCK ─── */
.mock-scenario {
  width: 85%; background: var(--surface); border-radius: 14px;
  padding: 22px; box-shadow: var(--card-shadow);
  display: flex; flex-direction: column; gap: 10px;
}
.mock-scenario-title {
  font-size: 15px; font-weight: 700; color: var(--text);
  padding-bottom: 10px; border-bottom: 1px solid var(--border);
}
.mock-scn-row {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 13.5px; color: var(--text-secondary);
}
.mock-scn-row span + span { font-weight: 600; color: var(--text); }
.mock-scn-row .scn-bad, .scn-bad { color: var(--red-text, #B91C1C); }
.mock-scenario-foot {
  font-size: 12px; color: var(--text-secondary);
  padding-top: 10px; border-top: 1px solid var(--border);
}

/* ─── AI CHAT MOCK ─── */
.mock-chat { width: 85%; display: flex; flex-direction: column; gap: 10px; }
.chat-bubble {
  padding: 12px 16px; border-radius: 16px; font-size: 14px; line-height: 1.5;
  max-width: 88%; box-shadow: var(--card-shadow);
}
.chat-bubble--user {
  align-self: flex-end; background: var(--gradient); color: white;
  border-bottom-right-radius: 4px;
}
.chat-bubble--ai {
  align-self: flex-start; background: var(--surface); color: var(--text);
  border: 1px solid var(--border); border-bottom-left-radius: 4px;
}
.chat-source { align-self: center; font-size: 11.5px; font-weight: 600; color: var(--text-secondary); margin-top: 4px; }

/* ─── REALISTIC BUDGET MOCK ─── */
.mockb-list { width: 85%; display: flex; flex-direction: column; gap: 14px; }
.mockb-item {
  background: var(--surface); border-radius: 12px; padding: 14px 16px;
  box-shadow: var(--card-shadow);
}
.mockb-top { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 13px; }
.mockb-top span:first-child { font-weight: 600; color: var(--text); }
.mockb-top span:last-child { font-size: 12.5px; color: var(--text-secondary); }
.mockb-top span.mockb-over { color: var(--red-text, #B91C1C); font-weight: 600; }
.mock-fill--green { background: var(--green); }
.mock-fill--amber { background: var(--amber); }
.mock-fill--accent { background: var(--accent); }
.mock-fill--red { background: var(--red); }

/* ─── GOAL STREAK CHIP / BANK CAPTION ─── */
.mock-goal-streak {
  margin-top: 10px; display: inline-block; font-size: 13px; font-weight: 600;
  color: var(--amber-text, #B45309); background: rgba(217,119,6,0.1);
  padding: 6px 12px; border-radius: 16px;
}
.mock-bank-wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.mock-bank-caption {
  font-size: 12.5px; font-weight: 600; color: var(--text-secondary);
  background: var(--surface); padding: 6px 14px; border-radius: 16px;
  box-shadow: var(--card-shadow);
}

/* ─── TRUST / SECURITY SECTION ─── */
.trust-section { padding: 100px 48px; max-width: 1180px; margin: 0 auto; }
.trust-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  max-width: 1100px; margin: 0 auto;
}
.trust-tile {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 24px;
}
.trust-icon { font-size: 26px; margin-bottom: 10px; }
.trust-tile h3 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.trust-tile p { font-size: 14px; color: var(--text-secondary); line-height: 1.65; }
.trust-foot { text-align: center; margin-top: 28px; font-size: 14px; color: var(--text-secondary); }

/* ─── LANDING FAQ ─── */
.landing-faq-section { padding: 100px 24px; max-width: 800px; margin: 0 auto; }
.landing-faq { margin-top: 8px; }
.landing-faq details {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; margin-bottom: 8px;
}
.landing-faq summary {
  padding: 16px 20px; font-size: 15px; font-weight: 600;
  color: var(--text); cursor: pointer; list-style: none;
}
.landing-faq summary::-webkit-details-marker { display: none; }
.landing-faq summary::before {
  content: "+"; display: inline-block; width: 20px;
  font-weight: 700; color: var(--text-secondary);
}
.landing-faq details[open] summary::before { content: "\2212"; }
.landing-faq__body {
  padding: 0 20px 16px; font-size: 14px;
  color: var(--text-secondary); line-height: 1.7;
}
.landing-faq__body p { margin: 0 0 8px; }

/* ─── PRICING ADDITIONS ─── */
.pricing-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 4px; color: var(--text); }
.pricing-card--featured h3 { color: white; }
.pricing-tagline { font-size: 13px; color: var(--text-secondary); margin: 0 0 16px; }
.pricing-card--featured .pricing-tagline { color: rgba(255,255,255,0.55); }
.pricing-trial-badge {
  display: inline-block; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px;
  color: #4ADE80; background: rgba(74,222,128,0.12);
  padding: 4px 10px; border-radius: 20px; margin-bottom: 12px;
}
.pricing-note {
  text-align: center; font-size: 13.5px; color: var(--text-secondary);
  margin: 28px auto 0; max-width: 640px;
}

/* ─── FINAL CTA: DUAL BUTTONS ─── */
.final-cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.final-cta-btn--ghost {
  background: transparent; color: white;
  border: 1.5px solid rgba(255,255,255,0.45);
}
.final-cta-btn--ghost:hover { border-color: white; color: white; opacity: 1; }
.final-cta-note { margin-top: 16px; font-size: 13px; color: rgba(255,255,255,0.55); }

/* ─── FOOTER ADDITIONS ─── */
.landing-footer-tagline { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 12px; }
.landing-footer-links { line-height: 2; }
.landing-footer-fineprint { margin-top: 14px; font-size: 12px; color: var(--text-muted); }

/* ─── BENTO: CARD COLOR MODIFIERS (replace inline styles) ─── */
.bento-card--navy { background: linear-gradient(135deg, #0F172A, #1E293B); border: none; }
.bento-card--surface { background: var(--surface); }
.bento-card--mint { background: linear-gradient(135deg, #ECFDF5, #D1FAE5); }
.bento-card--lavender { background: linear-gradient(135deg, #F5F3FF, #EDE9FE); }
.bento-card--cream { background: linear-gradient(135deg, #FFFBEB, #FEF3C7); }
[data-theme="dark"] .bento-card--mint { background: linear-gradient(135deg, rgba(16,185,129,0.14), rgba(16,185,129,0.05)); }
[data-theme="dark"] .bento-card--lavender { background: linear-gradient(135deg, rgba(124,58,237,0.16), rgba(124,58,237,0.06)); }
[data-theme="dark"] .bento-card--cream { background: linear-gradient(135deg, rgba(217,119,6,0.16), rgba(217,119,6,0.06)); }

/* ─── BENTO: DEBT CARD TEXT (was inline) ─── */
.bento-debt-title { color: #F1F5F9; font-size: 24px; margin-bottom: 8px; }
.bento-debt-sub { color: #94A3B8; font-size: 14px; line-height: 1.6; }
.bento-debt-stat-val--green { color: #4ADE80; }
.bento-debt-stat-val--blue { color: #38BDF8; }
.bento-debt-stat-val--amber { color: #FBBF24; }
.bento-debt-link {
  display: inline-block; margin-top: 18px; font-size: 13.5px; font-weight: 700;
  color: #38BDF8; text-decoration: none;
}
.bento-debt-link:hover { text-decoration: underline; color: #7DD3FC; }
.bento-debt-muted { color: #94A3B8; }
.bento-debt-saved { color: #4ADE80; }

/* ─── BENTO: AI CHAT (compact) ─── */
.bento-chat { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.bento-chat .chat-bubble { font-size: 12.5px; padding: 8px 12px; max-width: 100%; }

/* ─── BENTO: SCENARIO ROWS ─── */
.bento-scn {
  margin-top: 16px; background: rgba(255,255,255,0.6);
  border-radius: 12px; padding: 12px 14px;
  display: flex; flex-direction: column; gap: 6px;
}
[data-theme="dark"] .bento-scn { background: rgba(15,23,42,0.35); }
.bento-scn-row { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; color: var(--text-secondary); }
.bento-scn-row:first-child span { font-weight: 700; color: var(--text); }

/* ─── BENTO: GOAL RINGS VIA CUSTOM PROPS (was inline conic-gradient) ─── */
.bento-goal-ring {
  background: conic-gradient(var(--ring-color, var(--accent)) var(--deg, 0deg), rgba(15,23,42,0.06) var(--deg, 0deg));
}
[data-theme="dark"] .bento-goal-ring {
  background: conic-gradient(var(--ring-color, var(--accent)) var(--deg, 0deg), rgba(255,255,255,0.08) var(--deg, 0deg));
}
.bento-goal-ring-inner { background: var(--surface); }
.bento-goal-ring-inner--green { color: var(--green-text, #15803D); }
.bento-goal-ring-inner--accent { color: var(--accent-text, #0369A1); }
.bento-goal-ring-inner--amber { color: var(--amber-text, #B45309); }

/* ─── BENTO: BUDGET FILL COLOR VIA CUSTOM PROP (was inline background) ─── */
.bento-bb-fill { background: var(--bb, var(--accent)); }

/* ─── BENTO: AVATAR COLORS (was inline) ─── */
.bento-avatar--accent { background: var(--accent); }
.bento-avatar--purple { background: #7C3AED; }
.bento-avatar--amber { background: var(--amber); }
.bento-avatar--green { background: var(--green); }

/* ─── BENTO: CALCULATOR CTA CARD ─── */
.bento-card--cta { background: var(--gradient); border: none; }
.bento-card--cta h2 { color: white; }
.bento-card--cta p { color: rgba(255,255,255,0.85); }
.bento-cta-btn {
  display: inline-block; margin-top: 16px; background: white; color: #0F172A;
  font-size: 14px; font-weight: 700; padding: 10px 20px;
  border-radius: 10px; text-decoration: none;
}
.bento-cta-btn:hover { opacity: 0.92; color: #0F172A; }

/* ─── PHASE 164: /ai/ CONNECT-YOUR-AI PAGE ─── */
.ai-chat-demo {
  max-width: 600px; margin: 0 auto; padding: 56px 24px 8px;
  display: flex; flex-direction: column; gap: 12px;
}
.ai-chat-demo .chat-bubble { max-width: 82%; }
.ai-section { padding: 80px 48px 20px; max-width: 1100px; margin: 0 auto; }
.ai-section:last-of-type { padding-bottom: 90px; }
.ai-section .hiw-grid, .ai-section .trust-grid { margin-top: 40px; }
.connect-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
  max-width: 900px; margin: 40px auto 0;
}
.connect-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 28px;
}
.connect-card h3 { font-size: 20px; font-weight: 800; color: var(--text); margin-bottom: 14px; }
.connect-steps {
  margin: 0; padding-left: 20px;
  display: flex; flex-direction: column; gap: 10px;
  font-size: 14px; color: var(--text-secondary); line-height: 1.6;
}
.connect-steps li::marker { color: var(--accent-text, #0369A1); font-weight: 700; }
.connect-steps strong { color: var(--text); }
.connect-url {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 13px; color: var(--accent-text, #0369A1);
  background: rgba(14,165,233,0.08); padding: 2px 7px; border-radius: 6px;
  word-break: break-all;
}
.connect-note {
  margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border);
  font-size: 12.5px; color: var(--text-secondary);
}
.connect-foot {
  text-align: center; margin-top: 24px;
  font-size: 14px; color: var(--text-secondary);
}

/* ─── PHASE 163 RESPONSIVE ─── */
@media (max-width: 768px) {
  .stat-item { max-width: none; }
  .hiw-section { padding: 60px 20px; }
  .hiw-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
  .trust-section { padding: 60px 20px; }
  .trust-grid { grid-template-columns: 1fr; }
  .landing-faq-section { padding: 60px 16px; }
  .final-cta-actions { flex-direction: column; align-items: center; }
  .mockd { width: 92%; }
  .mockd-networth { font-size: 26px; }
  .mock-scenario, .mock-chat, .mockb-list { width: 92%; }
  .debt-showcase-cta .landing-btn-primary { display: block; }

  .ai-section { padding: 56px 20px 12px; }
  .ai-chat-demo { padding: 40px 16px 0; }
  .ai-chat-demo .chat-bubble { max-width: 94%; }
  .connect-grid { grid-template-columns: 1fr; }
}
