/* ═══════════════════════════════════════════════════════════
   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; }

/* ─── 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; }


/* ═══════════════════════════════════════
   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; }
  .landing-nav-links { gap: 12px; }
  .landing-nav-links > a:not(.landing-btn-login):not(.landing-btn-signup) { display: none; }

  .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;
}

.calc-debt-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-bottom: 12px;
  padding: 12px;
  background: var(--bg);
  border-radius: 10px;
  border: 1px solid var(--border);
}
.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__hint {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 4px;
}
.calc-debt-row__remove {
  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-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;
}

/* ── 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__remove { align-self: flex-end; }
  .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-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; }
}
