/* ==========================================================================
   Spendglide — design tokens (mirrors the real app's src/styles/theme.js)
   ========================================================================== */
:root{
  --bg: #0F172A;
  --bg-surface: #1E293B;
  --bg-surface-2: #253449;
  --bg-elevated: #2A3B54;
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.14);
  --text: #F1F5F9;
  --text-muted: #94A3B8;
  --text-faint: #64748B;

  /* Spendglide brand — matches the real app's theme.js palette */
  --accent-1: #4F46E5;
  --accent-2: #6366F1;
  --accent-3: #818CF8;
  --accent-success: #10B981;
  --accent-warn: #F59E0B;
  --accent-danger: #EF4444;
  --grad-primary: linear-gradient(120deg, var(--accent-1), var(--accent-3));
  --grad-primary-hover: linear-gradient(120deg, #4338CA, #6366F1);

  --shadow-lg: 0 30px 80px -20px rgba(0,0,0,0.55);
  --shadow-md: 0 16px 40px -12px rgba(0,0,0,0.45);
  --shadow-glow: 0 0 0 1px rgba(79,70,229,0.18), 0 20px 60px -10px rgba(79,70,229,0.22);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 26px;
  --radius-xl: 38px;

  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1180px;
  color-scheme: dark;
}

html[data-theme="light"]{
  --bg: #F8F9FC;
  --bg-surface: #FFFFFF;
  --bg-surface-2: #EEF2FF;
  --bg-elevated: #FFFFFF;
  --border: rgba(15,20,30,0.08);
  --border-strong: rgba(15,20,30,0.14);
  --text: #111827;
  --text-muted: #6B7280;
  --text-faint: #9CA3AF;

  --shadow-lg: 0 30px 80px -24px rgba(20,25,40,0.18);
  --shadow-md: 0 16px 36px -16px rgba(20,25,40,0.16);
  --shadow-glow: 0 0 0 1px rgba(0,180,140,0.12), 0 20px 50px -14px rgba(0,180,140,0.16);
  color-scheme: light;
}

/* ==========================================================================
   Reset & base
   ========================================================================== */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .4s ease, color .4s ease;
}
h1,h2,h3,h4{
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.12;
  margin: 0 0 .5em;
  letter-spacing: -0.02em;
}
p{ margin: 0 0 1em; color: var(--text-muted); }
a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display:block; }
ul{ list-style: none; margin:0; padding:0; }
button{ font-family: inherit; cursor: pointer; }
.container{ max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.grad-text{
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.eyebrow{
  display:inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-1);
  margin-bottom: 14px;
}
.eyebrow--light{ color: rgba(255,255,255,0.85); }

/* background ambience */
.bg-glow{
  position: fixed; z-index:-2; border-radius: 50%;
  filter: blur(120px); opacity: .35; pointer-events:none;
}
.bg-glow--1{ width:640px; height:640px; background:var(--accent-1); top:-220px; left:-160px; }
.bg-glow--2{ width:560px; height:560px; background:var(--accent-3); top:400px; right:-220px; opacity:.25; }
html[data-theme="light"] .bg-glow{ opacity:.18; }
.noise-overlay{
  position: fixed; inset:0; z-index:-1; pointer-events:none;
  background-image: radial-gradient(rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 3px 3px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 14px 26px; border-radius: 100px; font-weight: 700; font-size: .95rem;
  border: 1px solid transparent; transition: transform .25s ease, box-shadow .25s ease, opacity .25s ease;
  white-space: nowrap;
}
.btn-primary{
  background: var(--grad-primary); color: #FFFFFF; box-shadow: var(--shadow-glow);
}
.btn-primary:hover{ transform: translateY(-2px); background: var(--grad-primary-hover); }
.btn-sm{ padding: 10px 20px; font-size: .85rem; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header{
  position: fixed; top:0; left:0; right:0; z-index: 100;
  padding: 18px 0;
  transition: background .3s ease, padding .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled{
  padding: 12px 0;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom-color: var(--border);
}
.header-inner{ display:flex; align-items:center; justify-content:space-between; gap: 24px; }
.brand{ display:flex; align-items:center; gap:10px; }
.brand-mark{ display:flex; }
.brand-mark-img{ width:30px; height:30px; border-radius: 22%; display:block; box-shadow: 0 2px 8px rgba(79,70,229,0.35); }
.brand-name{ font-family: var(--font-display); font-weight: 800; font-size: 1.18rem; letter-spacing: -0.02em; }

.split-bar{ display:flex; height:14px; border-radius:8px; overflow:hidden; background:rgba(255,255,255,0.06); }
.split-bar span{ display:block; height:100%; }
.split-legend{ display:flex; flex-direction:column; gap:8px; margin-top:12px; }
.split-row{ display:flex; align-items:center; gap:8px; font-size:.74rem; color:#D3D9E4; }
.split-row .cat-dot{ width:8px; height:8px; }
.split-row span:nth-child(2){ flex:1; }
.split-row b{ color:#fff; }

.score-ring-big{ position:relative; width:150px; height:150px; margin: 6px auto 8px; }
.score-ring-big .ring-label b{ font-size:1.9rem; }
.health-rows{ display:flex; flex-direction:column; gap:8px; margin-top:4px; }
.health-row{ display:flex; align-items:center; justify-content:space-between; font-size:.7rem; color:#AEB8C8; background:rgba(255,255,255,0.03); padding:8px 10px; border-radius:10px; }
.health-row b{ color: var(--accent-success); font-weight:700; }

.main-nav{ display:flex; align-items:center; gap: 30px; }
.main-nav a{
  font-size: .92rem; font-weight: 600; color: var(--text-muted);
  position: relative; padding: 4px 0; transition: color .2s ease;
}
.main-nav a:hover{ color: var(--text); }
.main-nav a::after{
  content:''; position:absolute; left:0; bottom:-2px; width:0; height:2px;
  background: var(--grad-primary); transition: width .25s ease;
}
.main-nav a:hover::after{ width:100%; }

.header-actions{ display:flex; align-items:center; gap: 14px; }
.theme-toggle{
  width:38px; height:38px; border-radius:50%; border:1px solid var(--border);
  background: var(--bg-surface); color: var(--text); display:flex; align-items:center; justify-content:center;
  transition: border-color .2s ease, transform .2s ease;
}
.theme-toggle:hover{ border-color: var(--accent-1); transform: rotate(15deg); }
.icon-sun{ display:none; }
html[data-theme="light"] .icon-moon{ display:none; }
html[data-theme="light"] .icon-sun{ display:block; }

.nav-toggle{ display:none; flex-direction:column; gap:5px; width:34px; height:34px; align-items:center; justify-content:center; background:none; border:none; }
.nav-toggle span{ width:20px; height:2px; background: var(--text); border-radius:2px; transition: all .25s ease; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{ padding: 168px 0 60px; position:relative; }
.hero-inner{ display:grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items:center; }
.hero-copy h1{ font-size: clamp(2.4rem, 4.4vw, 3.6rem); margin-top:0; }
.hero-sub{ font-size: 1.08rem; max-width: 480px; margin-bottom: 30px; }

.store-badges{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom: 34px; }
.store-badges--center{ justify-content:center; }
.store-badge{
  display:flex; align-items:center; gap:10px; padding: 11px 20px;
  background: var(--bg-elevated); border:1px solid var(--border-strong); border-radius: 14px;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.store-badge:hover{ transform: translateY(-3px); border-color: var(--accent-1); box-shadow: var(--shadow-md); }
.store-badge small{ display:block; font-size: .62rem; font-weight:600; color: var(--text-faint); text-transform:uppercase; letter-spacing:.05em; }
.store-badge span{ font-family: var(--font-display); font-weight:700; font-size: .96rem; }

.hero-stats{ display:flex; gap: 36px; }
.hero-stats strong{ display:block; font-family: var(--font-display); font-size: 1.7rem; font-weight:800; }
.hero-stats span{ font-size:.82rem; color: var(--text-muted); }

/* phone stack */
.hero-visual{ position:relative; display:flex; justify-content:center; perspective: 1400px; }
.phone-stack{
  position:relative; width: 420px; height: 520px;
  transform-style: preserve-3d; transition: transform .12s ease-out; will-change: transform;
}
.phone-stack .phone{ transition: transform .3s ease; }
.phone{
  position:absolute; width: 240px; height: 490px;
  border-radius: 42px; background: linear-gradient(160deg,#1c2333,#0c1019);
  padding: 12px; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.08);
}
.phone-notch{
  position:absolute; top:12px; left:50%; transform: translateX(-50%);
  width: 90px; height:20px; background:#0B0E14; border-radius: 0 0 16px 16px; z-index:2;
}
.phone--back{ top: 10px; left: 10px; transform: rotate(-9deg) scale(.92); opacity:.9; }
.phone--front{ top: 40px; right: 10px; transform: rotate(7deg); }
.phone--mini{ position:relative; width:220px; height:452px; margin: 0 auto; }
.phone:hover{ transition: transform .4s ease; }

.screen{
  width:100%; height:100%; border-radius: 32px; overflow:hidden; position:relative;
  background: linear-gradient(180deg, #1E293B, #0F172A);
  padding: 30px 16px 16px;
  display:flex; flex-direction:column; gap:12px;
  font-family: var(--font-body);
}
.s-topbar{ display:flex; align-items:center; justify-content:space-between; font-size:.72rem; font-weight:700; color:#E7EBF3; margin-bottom:2px; }
.s-topbar .dot{ width:8px; height:8px; border-radius:50%; background: var(--accent-1); box-shadow:0 0 8px var(--accent-1); }

.balance-card{
  background: linear-gradient(135deg, rgba(79,70,229,0.22), rgba(129,140,248,0.14));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px; padding: 14px 16px;
}
.balance-card p{ margin:0 0 4px; font-size:.68rem; color:#AEB8C8; text-transform:uppercase; letter-spacing:.06em; }
.balance-card h3{ margin:0 0 6px; font-size:1.5rem; color:#fff; }
.trend-up{ font-size:.68rem; font-weight:700; color: var(--accent-success); }

.spark-row{ background: rgba(255,255,255,0.04); border-radius:14px; padding:12px; }
.spark{ display:flex; align-items:flex-end; gap:5px; height:46px; }
.spark i{ flex:1; display:block; height: var(--h); border-radius:3px; background: linear-gradient(180deg, var(--accent-1), var(--accent-2)); opacity:.85; }

.cat-list{ display:flex; flex-direction:column; gap:8px; }
.cat-row{ display:flex; align-items:center; gap:8px; font-size:.74rem; color:#D3D9E4; background: rgba(255,255,255,0.03); padding:8px 10px; border-radius:10px; }
.cat-row span:nth-child(2){ flex:1; }
.cat-row b{ color:#fff; }
.cat-dot{ width:8px; height:8px; border-radius:50%; }
.cat-dot--1{ background: var(--accent-1); }
.cat-dot--2{ background: var(--accent-2); }
.cat-dot--3{ background: var(--accent-warn); }
.cat-dot--4{ background: var(--accent-3); }

.insight-pill{
  margin-top:auto; font-size:.68rem; font-weight:600; color:#FFFFFF;
  background: var(--grad-primary); padding:10px 12px; border-radius:12px; text-align:center;
}

.chat-bubble{ max-width: 82%; padding:10px 13px; border-radius:16px; font-size:.74rem; line-height:1.4; }
.chat-bubble--ai{ align-self:flex-start; background: rgba(255,255,255,0.07); color:#E7EBF3; border-bottom-left-radius:4px; }
.chat-bubble--user{ align-self:flex-end; background: var(--grad-primary); color:#FFFFFF; font-weight:600; border-bottom-right-radius:4px; }
.screen--chat{ align-items:stretch; }

.ring-wrap{ position:relative; width:132px; height:132px; margin: 6px auto 4px; }
.ring{ width:100%; height:100%; transform: rotate(-90deg); }
.ring-bg{ fill:none; stroke: rgba(255,255,255,0.08); stroke-width:9; }
.ring-fg{
  fill:none; stroke: url(#brandGrad); stroke: var(--accent-1); stroke-width:9; stroke-linecap:round;
  stroke-dasharray: 264; stroke-dashoffset: calc(264 - (264 * var(--pct)));
}
.ring-label{ position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; }
.ring-label b{ font-size:1.3rem; color:#fff; }
.ring-label small{ font-size:.62rem; color:#AEB8C8; }

.goal-card{ background: rgba(255,255,255,0.04); border-radius:16px; padding:12px 14px; }
.goal-icon{ font-size:1.3rem; }
.goal-card h4{ margin:4px 0 8px; font-size:.82rem; color:#E7EBF3; }
.goal-bar{ height:6px; border-radius:4px; background: rgba(255,255,255,0.08); overflow:hidden; margin-bottom:6px; }
.goal-bar i{ display:block; height:100%; width: var(--pct); background: var(--grad-primary); border-radius:4px; }
.goal-meta{ display:flex; justify-content:space-between; font-size:.64rem; color:#AEB8C8; }

.floating-card{
  position:absolute; display:flex; align-items:center; gap:10px;
  background: var(--bg-elevated); border:1px solid var(--border-strong);
  padding: 12px 14px; border-radius:16px; box-shadow: var(--shadow-md);
  animation: float 5s ease-in-out infinite;
}
.floating-card--1{ top: 6px; left: -44px; animation-delay: .3s; }
.floating-card--2{ bottom: -18px; right: -46px; animation-delay: 1s; }
.fc-icon{ font-size:1.2rem; }
.floating-card small{ display:block; font-size:.64rem; color: var(--text-faint); }
.floating-card b{ font-size:.8rem; }
@keyframes float{ 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-12px);} }

/* marquee */
.marquee{ margin-top: 80px; border-top:1px solid var(--border); border-bottom:1px solid var(--border); padding: 16px 0; overflow:hidden; }
.marquee-track{ display:flex; gap: 14px; white-space:nowrap; animation: marquee 26s linear infinite; width:max-content; }
.marquee-track span{ font-size:.85rem; font-weight:600; color: var(--text-faint); }
@keyframes marquee{ from{ transform: translateX(0);} to{ transform: translateX(-50%);} }

/* ==========================================================================
   Section head / generic
   ========================================================================== */
.section-head{ max-width: 640px; margin: 0 auto 56px; text-align:center; }
.section-head h2{ font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.section-head p{ font-size: 1.02rem; }

section{ padding: 110px 0; position:relative; }

/* ==========================================================================
   Features
   ========================================================================== */
.feature-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card{
  position: relative; transform-style: preserve-3d; will-change: transform;
  background: var(--bg-surface); border:1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px 26px; transition: transform .15s ease-out, border-color .3s ease, box-shadow .3s ease;
}
.feature-card:hover{ border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.feature-icon{
  width:52px; height:52px; border-radius:16px; display:flex; align-items:center; justify-content:center;
  background: linear-gradient(135deg, var(--c1), var(--c2)); margin-bottom: 20px;
}
.feature-card h3{ font-size: 1.15rem; margin-bottom:.4em; display:flex; align-items:center; gap:8px; }
.feature-card p{ font-size: .94rem; margin:0; }
.premium-badge{
  display:inline-block; font-size:.62rem; font-weight:800; letter-spacing:.04em; text-transform:uppercase;
  color: var(--accent-3); background: rgba(79,70,229,0.14); border:1px solid rgba(79,70,229,0.3);
  padding: 3px 8px; border-radius: 100px; vertical-align: middle;
}

/* ==========================================================================
   How it works
   ========================================================================== */
.how{ background: var(--bg-surface); border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.steps{ display:grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
.step{ position:relative; padding-left: 8px; }
.step-num{
  display:block; font-family: var(--font-display); font-weight:800; font-size:2.6rem;
  background: var(--grad-primary); -webkit-background-clip:text; background-clip:text; color:transparent;
  margin-bottom: 10px; opacity: .8;
}
.step h3{ font-size:1.15rem; }
.step p{ font-size:.94rem; }

/* ==========================================================================
   Screens (legacy highlight strip — kept for any inline usage)
   ========================================================================== */
.screens-row{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ==========================================================================
   Feature Explorer — every real feature, one interactive phone
   ========================================================================== */
.explorer-layout{ display:grid; grid-template-columns: 280px 1fr; gap: 50px; align-items:start; }
.explorer-tabs{
  display:flex; flex-direction:column; gap: 18px;
  max-height: 620px; overflow-y: auto; padding-right: 8px;
  position: sticky; top: 110px;
}
.explorer-tabs::-webkit-scrollbar{ width:5px; }
.explorer-tabs::-webkit-scrollbar-thumb{ background: var(--border-strong); border-radius:4px; }
.explorer-group-label{
  display:block; font-size:.68rem; font-weight:800; text-transform:uppercase; letter-spacing:.09em;
  color: var(--text-faint); margin-bottom: 8px; padding-left: 4px;
}
.explorer-group{ display:flex; flex-direction:column; gap: 3px; }
.explorer-tab{
  display:flex; align-items:center; justify-content:space-between; gap:8px;
  width:100%; text-align:left; background:none; border:none; border-left: 2px solid transparent;
  color: var(--text-muted); font-family: var(--font-body); font-weight:600; font-size:.86rem;
  padding: 9px 12px; border-radius: 10px; transition: all .18s ease;
}
.explorer-tab:hover{ color: var(--text); background: var(--bg-surface); }
.explorer-tab.active{ color: var(--text); background: var(--bg-surface); border-left-color: var(--accent-1); box-shadow: var(--shadow-md); }
.explorer-tab .premium-badge{ font-size:.56rem; padding:2px 6px; }

.explorer-stage{
  display:flex; flex-direction:column; align-items:center; gap: 28px;
  perspective: 1400px;
}
.phone--explorer{
  position: relative;
  width: 260px; height: 528px;
  transform-style: preserve-3d; transition: transform .12s ease-out;
  will-change: transform;
}
.phone--explorer .screen-stack{ position:relative; width:100%; height:100%; }
.phone--explorer .screen{
  position:absolute; inset:0; opacity:0; pointer-events:none;
  transform: translateZ(0) scale(.98);
  transition: opacity .3s ease, transform .3s ease;
}
.phone--explorer .screen.active{ opacity:1; pointer-events:auto; transform: translateZ(0) scale(1); }
.explorer-caption{
  max-width: 420px; text-align:center; font-size:.94rem; color: var(--text-muted); min-height: 3em;
}
.explorer-caption strong{ color: var(--text); }

/* small reusable mockup primitives */
.chip-row{ display:flex; gap:8px; flex-wrap:wrap; }
.chip{ font-size:.66rem; font-weight:700; padding:6px 11px; border-radius:100px; background:rgba(255,255,255,0.06); color:#AEB8C8; }
.chip.active{ background: var(--grad-primary); color:#fff; }

.timeline{ display:flex; flex-direction:column; gap:10px; }
.timeline-item{ display:flex; align-items:center; gap:10px; font-size:.72rem; color:#D3D9E4; }
.timeline-item b{ color:#fff; }
.timeline-dot{ width:8px; height:8px; border-radius:50%; background:var(--accent-3); flex-shrink:0; }

.check-row{ display:flex; align-items:center; gap:8px; font-size:.72rem; color:#D3D9E4; background:rgba(255,255,255,.03); padding:8px 10px; border-radius:10px; }
.check-row .mini-check{ width:16px; height:16px; border-radius:50%; background:var(--accent-success); color:#06121A; font-size:.6rem; font-weight:800; display:flex; align-items:center; justify-content:center; flex-shrink:0; }

.ledger-heading{ font-size:.64rem; font-weight:800; text-transform:uppercase; letter-spacing:.06em; color:#AEB8C8; margin: 2px 0 -2px; }

/* premium feature strip (pricing section) */
.premium-strip{ display:grid; grid-template-columns: repeat(6,1fr); gap:12px; margin: 34px 0 0; }
.premium-strip-item{
  display:flex; flex-direction:column; align-items:center; text-align:center; gap:8px;
  background: var(--bg-surface); border:1px solid var(--border); border-radius:16px; padding: 16px 10px;
  font-size:.72rem; font-weight:700; color: var(--text-muted); transition: transform .25s ease, border-color .25s ease;
}
.premium-strip-item:hover{ transform: translateY(-4px); border-color: var(--border-strong); }
.premium-strip-item span.psi-icon{ font-size:1.3rem; }

/* ==========================================================================
   Security
   ========================================================================== */
.security-inner{ display:grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items:center; }
.security-list{ display:flex; flex-direction:column; gap: 14px; margin: 26px 0; }
.security-list li{ display:flex; align-items:flex-start; gap:12px; font-size:.98rem; color: var(--text); font-weight:500; }
.check{
  flex-shrink:0; width:22px; height:22px; border-radius:50%; background: var(--grad-primary);
  color:#FFFFFF; font-size:.72rem; font-weight:800; display:flex; align-items:center; justify-content:center; margin-top:2px;
}
.link-arrow{ font-weight:700; color: var(--accent-1); display:inline-block; transition: gap .2s ease; }
.link-arrow:hover{ text-decoration: underline; }
.security-visual{ display:flex; justify-content:center; }
.shield-badge{
  width: 260px; height: 260px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  background: radial-gradient(circle at 30% 25%, rgba(79,70,229,0.22), transparent 60%), var(--bg-surface);
  border: 1px solid var(--border); box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   Why Spendglide (differentiator pillars)
   ========================================================================== */
.why-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.why-card{
  margin:0; background: var(--bg-surface); border:1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; transition: transform .3s ease;
}
.why-card:hover{ transform: translateY(-4px); }
.why-card .why-icon{ font-size: 1.6rem; margin-bottom: 14px; display:block; }
.why-card h3{ font-size: 1.08rem; margin-bottom: .5em; }
.why-card p{ font-size: .94rem; margin: 0; }

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 900px; margin: 0 auto; align-items: stretch; perspective: 1400px; }
.pricing-card{
  background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 34px 30px; display:flex; flex-direction:column;
  transform-style: preserve-3d; will-change: transform; transition: transform .15s ease-out;
}
.pricing-card--highlight{
  border-color: transparent; position:relative;
  background: linear-gradient(var(--bg-surface), var(--bg-surface)) padding-box,
              var(--grad-primary) border-box;
  border: 2px solid transparent; box-shadow: var(--shadow-glow);
}
.pricing-badge{
  position:absolute; top:-13px; left:30px; background: var(--grad-primary); color:#fff;
  font-size:.7rem; font-weight:800; letter-spacing:.04em; padding: 5px 14px; border-radius: 100px;
  text-transform: uppercase;
}
.pricing-name{ font-family: var(--font-display); font-weight:800; font-size:1.1rem; margin-bottom: 4px; }
.pricing-price{ display:flex; align-items:baseline; gap:6px; margin: 10px 0 4px; }
.pricing-price strong{ font-family: var(--font-display); font-size: 2.4rem; font-weight:800; }
.pricing-price span{ font-size:.9rem; color: var(--text-muted); }
.pricing-sub{ font-size:.84rem; color: var(--text-muted); margin-bottom: 22px; }
.pricing-list{ display:flex; flex-direction:column; gap: 12px; margin-bottom: 26px; flex:1; }
.pricing-list li{ display:flex; align-items:flex-start; gap:10px; font-size:.92rem; color: var(--text); }
.pricing-list li.is-muted{ color: var(--text-muted); }
.pricing-list .check{ margin-top: 1px; }
.pricing-note{ font-size: .8rem; color: var(--text-faint); text-align:center; margin-top: 20px; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-inner{ max-width: 780px; }
.accordion{ display:flex; flex-direction:column; gap: 12px; }
.acc-item{ border:1px solid var(--border); border-radius: 16px; background: var(--bg-surface); overflow:hidden; }
.acc-trigger{
  width:100%; display:flex; align-items:center; justify-content:space-between; gap: 16px;
  background:none; border:none; color: var(--text); font-family: var(--font-display);
  font-weight:700; font-size:1rem; text-align:left; padding: 20px 22px;
}
.acc-plus{ font-size:1.4rem; color: var(--accent-1); transition: transform .25s ease; flex-shrink:0; }
.acc-item.open .acc-plus{ transform: rotate(45deg); }
.acc-panel{ max-height:0; overflow:hidden; transition: max-height .3s ease, padding .3s ease; padding: 0 22px; }
.acc-item.open .acc-panel{ max-height: 260px; padding: 0 22px 20px; }
.acc-panel p{ margin:0; font-size:.94rem; }
.acc-panel a{ color: var(--accent-1); font-weight:600; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-inner{ max-width: 780px; }
.accordion{ display:flex; flex-direction:column; gap: 12px; }
.acc-item{ border:1px solid var(--border); border-radius: 16px; background: var(--bg-surface); overflow:hidden; }
.acc-trigger{
  width:100%; display:flex; align-items:center; justify-content:space-between; gap: 16px;
  background:none; border:none; color: var(--text); font-family: var(--font-display);
  font-weight:700; font-size:1rem; text-align:left; padding: 20px 22px;
}
.acc-plus{ font-size:1.4rem; color: var(--accent-1); transition: transform .25s ease; flex-shrink:0; }
.acc-item.open .acc-plus{ transform: rotate(45deg); }
.acc-panel{ max-height:0; overflow:hidden; transition: max-height .3s ease, padding .3s ease; padding: 0 22px; }
.acc-item.open .acc-panel{ max-height: 220px; padding: 0 22px 20px; }
.acc-panel p{ margin:0; font-size:.94rem; }
.acc-panel a{ color: var(--accent-1); font-weight:600; }

/* ==========================================================================
   Download CTA
   ========================================================================== */
.download{
  background: linear-gradient(135deg, #1E1B4B 0%, #1E293B 55%, #0F172A 100%);
  border-radius: var(--radius-xl); margin: 0 28px; padding: 100px 40px;
  position: relative; overflow:hidden;
}
.download::before{
  content:''; position:absolute; inset:0; opacity:.5;
  background: radial-gradient(circle at 20% 20%, rgba(79,70,229,0.35), transparent 45%), radial-gradient(circle at 80% 80%, rgba(99,102,241,0.3), transparent 45%);
}
.download-inner{ position:relative; text-align:center; max-width: 640px; }
.download h2{ color:#fff; font-size: clamp(2rem,3.6vw,2.7rem); }
.download p{ color: rgba(255,255,255,0.7); font-size:1.05rem; margin-bottom: 32px; }
.qr-note{ margin-top: 40px; display:flex; flex-direction:column; align-items:center; gap:10px; }
.qr-box{ background:#fff; color:#0B0E14; padding:10px; border-radius:14px; }
.qr-note p{ color: rgba(255,255,255,0.55); font-size:.82rem; margin:0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer{ padding: 90px 0 30px; border-top: 1px solid var(--border); margin-top: 40px; }
.footer-inner{ display:grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.footer-brand p{ font-size:.9rem; max-width: 240px; margin: 14px 0 20px; }
.social-row{ display:flex; gap: 12px; }
.social-row a{
  width:36px; height:36px; border-radius:50%; border:1px solid var(--border); display:flex; align-items:center; justify-content:center;
  color: var(--text-muted); transition: border-color .2s ease, color .2s ease;
}
.social-row a:hover{ border-color: var(--accent-1); color: var(--accent-1); }
.footer-col h4{ font-size:.82rem; text-transform:uppercase; letter-spacing:.08em; color: var(--text-faint); margin-bottom: 18px; }
.footer-col a{ display:block; font-size:.92rem; color: var(--text-muted); margin-bottom: 12px; transition: color .2s ease; }
.footer-col a:hover{ color: var(--accent-1); }
.footer-bottom{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px; border-top:1px solid var(--border); padding-top: 24px; }
.footer-bottom p{ font-size:.8rem; margin:0; color: var(--text-faint); }

.to-top{
  position: fixed; right: 26px; bottom: 26px; width:46px; height:46px; border-radius:50%;
  background: var(--grad-primary); color:#FFFFFF; border:none; font-size:1.1rem; font-weight:800;
  box-shadow: var(--shadow-md); opacity:0; pointer-events:none; transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease; z-index: 90;
}
.to-top.visible{ opacity:1; pointer-events:auto; transform: translateY(0); }

/* ==========================================================================
   Reveal animation
   ========================================================================== */
.reveal{ opacity:0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--delay, 0s); }
.reveal.in-view{ opacity:1; transform: translateY(0); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px){
  .hero-inner{ grid-template-columns:1fr; }
  .hero-visual{ order:-1; margin-bottom: 20px; }
  .feature-grid{ grid-template-columns: repeat(2,1fr); }
  .steps{ grid-template-columns: 1fr; gap: 42px; }
  .screens-row{ grid-template-columns: repeat(2,1fr); gap: 34px; }
  .security-inner{ grid-template-columns:1fr; }
  .security-visual{ order:-1; }
  .why-grid{ grid-template-columns:1fr; }
  .pricing-grid{ grid-template-columns: 1fr; max-width: 440px; }
  .premium-strip{ grid-template-columns: repeat(3,1fr); }
  .explorer-layout{ grid-template-columns: 1fr; }
  .explorer-tabs{ position:static; max-height:none; flex-direction:row; flex-wrap:wrap; }
  .explorer-group{ flex-direction:row; flex-wrap:wrap; }
  .footer-inner{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px){
  .main-nav{
    position:fixed; top:70px; left:16px; right:16px; flex-direction:column; align-items:flex-start;
    background: var(--bg-elevated); border:1px solid var(--border); border-radius:20px; padding: 20px 24px;
    gap: 6px; box-shadow: var(--shadow-lg);
    transform: translateY(-14px) scale(.98); opacity:0; pointer-events:none; transition: all .25s ease;
  }
  .main-nav.open{ transform:translateY(0) scale(1); opacity:1; pointer-events:auto; }
  .main-nav a{ padding: 10px 0; width:100%; }
  .nav-toggle{ display:flex; }
  .header-actions .btn-sm{ display:none; }
  .hero{ padding-top: 130px; }
  .phone-stack{ width: 100%; max-width:320px; height: 440px; }
  .phone--front{ width:200px; height:410px; }
  .phone--back{ width:190px; height:400px; }
  .feature-grid{ grid-template-columns: 1fr; }
  .screens-row{ grid-template-columns: 1fr; max-width:260px; margin:0 auto; gap: 50px; }
  .premium-strip{ grid-template-columns: repeat(2,1fr); }
  .phone--explorer{ width:100%; max-width:260px; height:528px; }
  .footer-inner{ grid-template-columns: 1fr 1fr; gap: 30px; }
  .download{ margin: 0 14px; padding: 70px 24px; }
  section{ padding: 80px 0; }
}
