/* =====================================================
   BLADE — Rocket Money-inspired stylesheet
   ===================================================== */

:root {
  --brand:     #6366F1;
  --brand-d:   #4F46E5;
  --brand2:    #8B5CF6;
  --red:       #E63946;
  --red-bg:    #FEE2E2;
  --green:     #10B981;
  --green-bg:  #D1FAE5;
  --amber:     #F59E0B;
  --amber-bg:  #FEF3C7;
  --ink:       #0F172A;
  --sub:       #475569;
  --muted:     #94A3B8;
  --line:      #E2E8F0;
  --bg:        #FFFFFF;
  --bg-off:    #F8FAFC;
  --bg-2:      #F1F5F9;
  --dark:      #0F172A;
  --dark2:     #1E293B;
  --radius:    16px;
  --nav-h:     68px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,.10);
  --shadow-lg: 0 24px 60px rgba(0,0,0,.14);
  --shadow-xl: 0 40px 80px rgba(0,0,0,.20);
}

/* ─── Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.15; }
h3 { font-size: 1.2rem; font-weight: 700; line-height: 1.3; }

/* ─── Nav ────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 72px);
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink);
}
.brand-icon { flex-shrink: 0; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: .88rem;
  font-weight: 500;
  color: var(--sub);
  transition: color .15s;
}
.nav-links a:hover { color: var(--ink); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-login {
  font-size: .88rem;
  font-weight: 600;
  color: var(--sub);
  transition: color .15s;
}
.nav-login:hover { color: var(--ink); }

/* ─── Buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 10px;
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all .15s;
  white-space: nowrap;
  line-height: 1;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
}
.btn-primary:hover { background: var(--brand-d); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(99,102,241,.35); }
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--line);
  color: var(--ink);
}
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-sm { padding: 8px 18px; font-size: .82rem; border-radius: 8px; }
.btn-lg { padding: 14px 32px; font-size: 1rem; border-radius: 12px; }
.w100 { width: 100%; }

/* ─── Hero ───────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--nav-h) + 64px) clamp(20px, 5vw, 72px) 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .25;
}
.hero-glow.g1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, #6366F1, transparent 70%);
  top: -200px; left: -200px;
}
.hero-glow.g2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #8B5CF6, transparent 70%);
  bottom: -100px; right: -100px;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99,102,241,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 30%, transparent 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99,102,241,.08);
  color: var(--brand);
  border: 1px solid rgba(99,102,241,.2);
  border-radius: 99px;
  padding: 6px 14px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .3; }
}
.hero-copy h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.05em;
  color: var(--ink);
  margin-bottom: 22px;
}
.gradient-text {
  font-style: normal;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--sub);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 490px;
}
.hero-form {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  max-width: 500px;
}
.form-field {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}
.form-icon {
  position: absolute;
  left: 14px;
  color: var(--muted);
  pointer-events: none;
}
.form-field input[type="email"] {
  width: 100%;
  padding: 14px 16px 14px 42px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-size: .95rem;
  color: var(--ink);
  background: var(--bg);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.form-field input[type="email"]:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(99,102,241,.15);
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.hero-trust span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  color: var(--muted);
  font-weight: 500;
}
.hero-trust span svg { color: var(--green); }

/* Mockup */
.hero-mockup {
  position: relative;
}
.mockup-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-off);
}
.mockup-dots { display: flex; gap: 6px; }
.mockup-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.mockup-dots span:nth-child(1) { background: #FC6057; }
.mockup-dots span:nth-child(2) { background: #FEBC2E; }
.mockup-dots span:nth-child(3) { background: #28C840; }
.mockup-title { font-size: .82rem; font-weight: 600; color: var(--sub); }
.mockup-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .72rem;
  font-weight: 700;
  color: var(--green);
  background: var(--green-bg);
  padding: 3px 10px;
  border-radius: 99px;
}
.pulse-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: blink 1.5s ease-in-out infinite;
}
.mockup-kpis {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}
.mkpi { flex: 1; text-align: center; }
.mkpi-val {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--ink);
  line-height: 1;
}
.mkpi-val small { font-size: .7rem; font-weight: 500; }
.mkpi-val.red { color: var(--red); }
.mkpi-val.green { color: var(--green); }
.mkpi-label { font-size: .72rem; color: var(--muted); font-weight: 500; margin-top: 3px; }
.mkpi-sep { width: 1px; background: var(--line); align-self: stretch; }
.mockup-rows { padding: 12px 16px; }
.mrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 10px;
  margin-bottom: 6px;
}
.mrow-danger { background: #FFF5F5; }
.mrow-warn   { background: #FFFBEB; }
.mrow-neutral { background: var(--bg-off); }
.mrow-left { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.mrow-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: .72rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.mrow-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.mrow-name { font-size: .82rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mrow-tag { font-size: .68rem; font-weight: 500; }
.tag-red    { color: var(--red); }
.tag-amber  { color: var(--amber); }
.tag-purple { color: var(--brand); }
.mrow-right { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex-shrink: 0; }
.mrow-cost { font-size: .82rem; font-weight: 700; color: var(--ink); }
.mrow-save { font-size: .68rem; font-weight: 700; color: var(--green); }
.mrow-more {
  text-align: center;
  font-size: .78rem;
  font-weight: 600;
  color: var(--brand);
  padding: 8px 0 4px;
  cursor: pointer;
}

/* Float chips */
.float-chip {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-md);
}
.float-chip.float-tl { top: -20px; left: -20px; }
.float-chip.float-br { bottom: -20px; right: -20px; }
.chip-icon { font-size: 1.2rem; }
.chip-label { font-size: .68rem; color: var(--muted); font-weight: 500; }
.chip-val { font-size: .95rem; font-weight: 800; color: var(--ink); }

/* ─── Metrics strip ──────────────────────────────────── */
.metrics-strip {
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 48px clamp(20px, 5vw, 72px);
  flex-wrap: wrap;
}
.ms-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 48px;
}
.ms-item strong {
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -.05em;
  color: #fff;
  line-height: 1;
}
.ms-item span { font-size: .85rem; color: #64748B; font-weight: 500; }
.ms-sep { width: 1px; height: 48px; background: rgba(255,255,255,.08); }

/* ─── Shared section shell ───────────────────────────── */
.section {
  padding: 96px clamp(20px, 5vw, 72px);
}
.container {
  max-width: 1100px;
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.eyebrow {
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--brand);
  margin-bottom: 12px;
}
.section-header h2 { margin-bottom: 14px; }
.section-lead {
  font-size: 1.05rem;
  color: var(--sub);
  line-height: 1.75;
  max-width: 580px;
  margin: 0 auto;
}

/* ─── Features bento ─────────────────────────────────── */
.features-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}
.bento-card {
  background: var(--bg-off);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.bento-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.bento-large {
  grid-row: span 2;
}
.bento-glow {
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gc, #6366F1), transparent 70%);
  opacity: .12;
  pointer-events: none;
}
.bento-eyebrow {
  display: inline-flex;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--brand);
  margin-bottom: 12px;
}
.bento-eyebrow-amber { color: var(--amber); }
.bento-eyebrow-green { color: var(--green); }
.bento-eyebrow-red   { color: var(--red); }
.bento-card h3 { margin-bottom: 10px; }
.bento-card > p { font-size: .9rem; color: var(--sub); line-height: 1.65; margin-bottom: 24px; }

/* subscription list inside bento */
.sub-list { display: flex; flex-direction: column; gap: 8px; }
.sub-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
}
.sub-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: .72rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.sub-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.sub-info span { font-size: .85rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sub-info small { font-size: .72rem; color: var(--muted); }
.sub-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.sub-right strong { font-size: .85rem; font-weight: 700; }
.chip-ok     { background: var(--green-bg); color: #059669; padding: 2px 9px; border-radius: 99px; font-size: .7rem; font-weight: 700; }
.chip-warn   { background: var(--amber-bg); color: #B45309; padding: 2px 9px; border-radius: 99px; font-size: .7rem; font-weight: 700; }
.chip-danger { background: var(--red-bg);   color: #DC2626; padding: 2px 9px; border-radius: 99px; font-size: .7rem; font-weight: 700; }
.chip-dupe   { background: #EDE9FE;          color: var(--brand); padding: 2px 9px; border-radius: 99px; font-size: .7rem; font-weight: 700; }

/* duplicates */
.dupe-pairs { display: flex; flex-direction: column; gap: 12px; }
.dupe-pair { display: flex; align-items: center; gap: 10px; }
.dupe-a, .dupe-b {
  flex: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: .85rem;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dupe-a span, .dupe-b span { font-size: .75rem; font-weight: 700; color: var(--red); }
.dupe-vs { font-size: .72rem; font-weight: 700; color: var(--muted); flex-shrink: 0; }
.dupe-result { text-align: center; font-size: .82rem; color: var(--sub); }
.dupe-result strong { color: var(--green); }

/* price comparison */
.price-comp {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pc-now, .pc-better {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .88rem;
}
.pc-bad  { color: var(--red); font-weight: 700; font-size: 1rem; }
.pc-good { color: var(--green); font-weight: 700; font-size: 1rem; }
.pc-arrow { text-align: center; font-size: .78rem; font-weight: 700; color: var(--brand); }
.pc-tag {
  text-align: center;
  background: var(--green-bg);
  color: #059669;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: .8rem;
  font-weight: 700;
}

/* unused */
.unused-items { display: flex; flex-direction: column; gap: 8px; }
.unused-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  gap: 12px;
}
.unused-left { display: flex; flex-direction: column; gap: 2px; }
.unused-left strong { font-size: .88rem; font-weight: 700; }
.unused-left span { font-size: .72rem; color: var(--muted); }
.cancel-btn {
  flex-shrink: 0;
  background: var(--red-bg);
  color: #DC2626;
  border: none;
  border-radius: 8px;
  padding: 6px 14px;
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s;
}
.cancel-btn:hover { background: #FECACA; }

/* ─── How it works ───────────────────────────────────── */
.how-section { background: var(--bg-off); }
.steps-row {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.step-card {
  flex: 1;
  text-align: center;
  padding: 32px 24px;
}
.step-num {
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--brand);
  margin-bottom: 12px;
}
.step-emoji {
  font-size: 2.2rem;
  margin-bottom: 14px;
  display: block;
}
.step-card h3 { margin-bottom: 10px; }
.step-card p { font-size: .88rem; color: var(--sub); line-height: 1.65; margin-bottom: 14px; }
.step-note {
  display: inline-block;
  background: rgba(99,102,241,.1);
  color: var(--brand);
  border-radius: 99px;
  padding: 4px 14px;
  font-size: .75rem;
  font-weight: 700;
}
.step-arrow {
  display: flex;
  align-items: center;
  padding-top: 80px;
  color: var(--muted);
  flex-shrink: 0;
}

/* ─── Full dashboard ─────────────────────────────────── */
.dash-section { background: var(--dark); }
.dash-section .eyebrow { color: #818CF8; }
.dash-section .section-header h2 { color: #fff; }
.dash-section .section-lead { color: #64748B; }

.full-dash {
  display: grid;
  grid-template-columns: 220px 1fr;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,.5);
  background: var(--dark2);
}
.fdash-sidebar {
  background: var(--dark);
  border-right: 1px solid rgba(255,255,255,.06);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.fdash-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.03em;
}
.fdash-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}
.fdash-link {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: .82rem;
  font-weight: 500;
  color: #64748B;
  transition: all .15s;
  cursor: pointer;
}
.fdash-link:hover { background: rgba(255,255,255,.04); color: #fff; }
.fdash-active { background: rgba(99,102,241,.12) !important; color: #818CF8 !important; font-weight: 600; }
.fdash-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.06);
}
.fdash-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--brand);
  display: grid;
  place-items: center;
  font-size: .75rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.fdash-uname { font-size: .82rem; font-weight: 600; color: #fff; }
.fdash-plan  { font-size: .7rem; color: #64748B; }
.fdash-main { padding: 24px 28px; display: flex; flex-direction: column; gap: 20px; }
.fdash-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.fdash-page { font-size: 1.1rem; font-weight: 700; color: #fff; }
.fdash-updated { font-size: .72rem; color: #475569; margin-top: 2px; }
.fdash-actions { display: flex; gap: 8px; }
.fdbtn {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all .15s;
}
.fdbtn.ghost {
  background: rgba(255,255,255,.06);
  color: #94A3B8;
  border: 1px solid rgba(255,255,255,.1);
}
.fdbtn.ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.fdbtn.primary { background: var(--brand); color: #fff; }
.fdbtn.primary:hover { background: var(--brand-d); }
.fdash-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.fdkpi {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px;
  padding: 14px 16px;
}
.fdkpi-label { font-size: .72rem; color: #64748B; font-weight: 500; margin-bottom: 4px; }
.fdkpi-val {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -.04em;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}
.fdkpi-val small { font-size: .65rem; font-weight: 500; }
.fdkpi-val.green { color: #34D399; }
.fdkpi-val.red   { color: #F87171; }
.fdkpi-tag {
  font-size: .68rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 99px;
  display: inline-block;
}
.tag-red-sm    { background: rgba(248,113,113,.15); color: #F87171; }
.tag-green-sm  { background: rgba(52,211,153,.15); color: #34D399; }
.tag-amber-sm  { background: rgba(251,191,36,.15); color: #FBBF24; }
.fdash-table { border: 1px solid rgba(255,255,255,.06); border-radius: 10px; overflow: hidden; }
.fdt-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255,255,255,.03);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.fdt-header span { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #475569; }
.fdt-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 8px;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,.04);
  transition: background .12s;
}
.fdt-row:last-child { border-bottom: none; }
.fdt-row:hover { background: rgba(255,255,255,.03); }
.fdt-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .85rem;
  font-weight: 600;
  color: #fff;
}
.fdt-ico {
  width: 28px; height: 28px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: .65rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.fdt-cat  { font-size: .78rem; color: #64748B; }
.fdt-cost { font-size: .85rem; font-weight: 700; color: #CBD5E1; }
.chip {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: .7rem;
  font-weight: 700;
}
.fdt-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,.12);
  color: #94A3B8;
  border-radius: 7px;
  padding: 5px 12px;
  font-size: .75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
}
.fdt-btn:hover { border-color: var(--brand); color: #818CF8; }
.fdt-btn-muted { opacity: .5; }

/* ─── Reviews ────────────────────────────────────────── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}
.review-card {
  background: var(--bg-off);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow .2s;
}
.review-card:hover { box-shadow: var(--shadow-md); }
.review-featured {
  grid-column: span 2;
  background: var(--dark);
  border-color: transparent;
  color: #fff;
}
.review-featured p { color: rgba(255,255,255,.8); }
.review-featured .stars { color: #FBBF24; }
.review-featured .reviewer span { color: #64748B; }
.stars { color: #FBBF24; font-size: 1rem; margin-bottom: 14px; }
.review-card > p {
  font-size: .9rem;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 20px;
}
.reviewer { display: flex; align-items: center; gap: 10px; }
.reviewer-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .88rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.reviewer strong { display: block; font-size: .88rem; color: inherit; }
.reviewer span { font-size: .75rem; color: var(--muted); }

/* ─── Pricing ────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
.price-card {
  background: var(--bg-off);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 28px;
}
.price-featured {
  background: var(--dark);
  border-color: transparent;
  color: #fff;
  transform: translateY(-10px);
  box-shadow: 0 28px 56px rgba(99,102,241,.25);
  position: relative;
}
.price-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 4px 14px;
  border-radius: 99px;
  white-space: nowrap;
}
.price-tier { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 8px; }
.price-featured .price-tier { color: #64748B; }
.price-val { font-size: 2.8rem; font-weight: 900; letter-spacing: -.05em; line-height: 1; margin-bottom: 6px; }
.price-val small { font-size: .9rem; font-weight: 500; }
.price-featured .price-val { color: #fff; }
.price-desc { font-size: .88rem; color: var(--sub); line-height: 1.55; margin-bottom: 24px; }
.price-featured .price-desc { color: #64748B; }
.price-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.price-list li { display: flex; align-items: flex-start; gap: 8px; font-size: .88rem; color: var(--sub); }
.price-featured .price-list li { color: rgba(255,255,255,.75); }
.li-yes::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }
.li-no  { opacity: .4; }
.li-no::before { content: '–'; color: var(--muted); font-weight: 700; flex-shrink: 0; }
.price-featured .btn-primary { background: #fff; color: var(--brand); }
.price-featured .btn-primary:hover { background: #EEF2FF; }
.price-trial {
  text-align: center;
  font-size: .75rem;
  color: #475569;
  margin-top: 12px;
}

/* ─── Security ───────────────────────────────────────── */
.sec-section { background: var(--bg-off); }
.sec-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.sec-copy h2 { margin-bottom: 14px; }
.sec-copy > p { font-size: .95rem; color: var(--sub); line-height: 1.75; margin-bottom: 28px; }
.sec-items { display: flex; flex-direction: column; gap: 20px; }
.sec-item { display: flex; align-items: flex-start; gap: 14px; }
.sec-ico {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(99,102,241,.08);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.sec-item strong { display: block; font-size: .92rem; font-weight: 700; margin-bottom: 3px; }
.sec-item p { font-size: .82rem; color: var(--sub); line-height: 1.55; }
.sec-visual { display: flex; justify-content: flex-end; }

/* Plaid modal */
.plaid-modal {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  max-width: 340px;
  width: 100%;
}
.plaid-modal-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.pm-title { font-size: .95rem; font-weight: 800; }
.pm-sub { font-size: .75rem; color: var(--muted); }
.pm-desc {
  font-size: .85rem;
  color: var(--sub);
  line-height: 1.6;
  margin-bottom: 18px;
}
.pm-perms { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.perm {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .85rem;
  padding: 8px 12px;
  border-radius: 8px;
}
.perm span { font-weight: 700; flex-shrink: 0; }
.perm-yes { background: var(--green-bg); color: #065F46; }
.perm-no  { background: #FEF2F2; color: #991B1B; }
.pm-btn {
  width: 100%;
  padding: 13px;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 12px;
  transition: background .15s;
}
.pm-btn:hover { background: #222; }
.pm-footer { text-align: center; font-size: .72rem; color: var(--muted); }

/* ─── FAQ ────────────────────────────────────────────── */
.faq-section { background: var(--bg); }
.faq-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  align-items: start;
}
.faq-inner h2 { margin-top: 8px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
details.faq-item {
  background: var(--bg-off);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 22px;
  cursor: pointer;
  transition: border-color .15s;
}
details.faq-item[open] { border-color: var(--brand); }
details.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .92rem;
  font-weight: 700;
  user-select: none;
  gap: 12px;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--muted);
  flex-shrink: 0;
  transition: color .15s;
}
details.faq-item[open] summary::after { content: '−'; color: var(--brand); }
details.faq-item p {
  font-size: .88rem;
  color: var(--sub);
  line-height: 1.7;
  margin-top: 14px;
}

/* ─── Final CTA ──────────────────────────────────────── */
.final-cta {
  background: var(--dark);
  position: relative;
  overflow: hidden;
  padding: 120px clamp(20px, 5vw, 72px);
  text-align: center;
}
.final-bg { position: absolute; inset: 0; pointer-events: none; }
.final-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .3;
}
.final-glow.fg1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #6366F1, transparent 70%);
  top: -200px; left: -150px;
}
.final-glow.fg2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #8B5CF6, transparent 70%);
  bottom: -100px; right: -100px;
}
.final-inner {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
}
.final-inner h2 {
  color: #fff;
  margin-bottom: 14px;
}
.final-inner > p {
  color: rgba(255,255,255,.6);
  font-size: 1.05rem;
  margin-bottom: 36px;
  line-height: 1.7;
}
.final-form {
  display: flex;
  gap: 10px;
  max-width: 460px;
  margin: 0 auto 16px;
}
.form-field-dark input[type="email"] {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.15);
  color: #fff;
}
.form-field-dark input::placeholder { color: rgba(255,255,255,.35); }
.form-field-dark .form-icon { color: rgba(255,255,255,.35); }
.form-field-dark input:focus {
  border-color: var(--brand);
  background: rgba(255,255,255,.12);
  box-shadow: 0 0 0 3px rgba(99,102,241,.3);
}
.final-trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: .78rem;
  color: rgba(255,255,255,.4);
  font-weight: 500;
}

/* ─── Footer ─────────────────────────────────────────── */
.footer {
  background: #060A14;
  padding: 64px clamp(20px, 5vw, 72px) 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  margin-bottom: 28px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.footer-brand .nav-brand { color: #fff; margin-bottom: 10px; }
.footer-brand > p { font-size: .85rem; color: #475569; line-height: 1.6; }
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-col strong {
  display: block;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #64748B;
  margin-bottom: 14px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.footer-col a {
  display: block;
  font-size: .85rem;
  color: #475569;
  margin-bottom: 10px;
  transition: color .15s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: .78rem;
  color: #374151;
}

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-form { max-width: 100%; justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-mockup { max-width: 520px; margin: 0 auto; }
  .float-chip.float-tl { top: -10px; left: 10px; }
  .float-chip.float-br { bottom: -10px; right: 10px; }
  .features-bento { grid-template-columns: 1fr; }
  .bento-large { grid-row: span 1; }
  .sec-inner { grid-template-columns: 1fr; gap: 40px; }
  .sec-visual { justify-content: center; }
  .faq-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-top { grid-template-columns: 1fr; }
  .review-featured { grid-column: span 1; }
  .reviews-grid { grid-template-columns: 1fr 1fr; }
  .fdash-kpis { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .steps-row { flex-direction: column; }
  .step-arrow { display: none; }
  .reviews-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-featured { transform: none; }
  .full-dash { grid-template-columns: 1fr; }
  .fdash-sidebar { display: none; }
  .fdt-header, .fdt-row { grid-template-columns: 2fr 1fr 1fr; }
  .fdt-header span:nth-child(4),
  .fdt-header span:nth-child(5),
  .fdt-row > span:nth-child(4),
  .fdt-row > button { display: none; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .final-form { flex-direction: column; }
  .ms-item { padding: 0 24px; }
}

@media (max-width: 480px) {
  .hero-form { flex-direction: column; }
  .metrics-strip { flex-direction: column; gap: 24px; }
  .ms-sep { display: none; }
  .fdash-kpis { grid-template-columns: 1fr 1fr; gap: 8px; }
  .footer-links { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
