/* =========================================================
   FinChat — Landing Page Styles
   Dark, glass-morphism, fintech-grade visual language
   ========================================================= */

:root {
  --bg: #080B14;
  --bg-elevated: #0E1526;
  --bg-elevated-2: #121B31;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-strong: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text-primary: #F5F7FB;
  --text-secondary: #A8B0C3;
  --text-tertiary: #6B7488;

  --blue: #5B8DFF;
  --teal: #22D3B4;
  --amber: #FFD166;
  --orange: #FF9F5B;
  --red: #FF6B6B;
  --violet: #9B7BFF;
  --pink: #E96FC9;

  --grad-brand: linear-gradient(135deg, var(--blue), var(--teal));
  --grad-warm: linear-gradient(135deg, var(--amber), var(--orange));
  --grad-violet: linear-gradient(135deg, var(--violet), var(--pink));
  --grad-mesh: radial-gradient(60% 50% at 15% 0%, rgba(91, 141, 255, 0.28), rgba(91, 141, 255, 0) 60%),
               radial-gradient(50% 45% at 85% 15%, rgba(34, 211, 180, 0.22), rgba(34, 211, 180, 0) 60%),
               radial-gradient(40% 40% at 50% 100%, rgba(255, 209, 102, 0.08), rgba(255, 209, 102, 0) 60%);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-soft: 0 20px 60px -20px rgba(0, 0, 0, 0.55);
  --shadow-glow-blue: 0 0 0 1px rgba(91, 141, 255, 0.25), 0 20px 60px -15px rgba(91, 141, 255, 0.35);

  --container: 1180px;
  --nav-h: 76px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input { font: inherit; }

html, body {
  background: var(--bg);
  color: var(--text-primary);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text-primary);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.grad-text {
  /* Solid fallback color first: if the engine doesn't actually manage to
     clip the background to the text (seen in some remote/software-rendered
     sessions), this keeps the text a plain color instead of a solid box. */
  color: var(--teal);
}
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .grad-text {
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grad-brand);
  box-shadow: 0 0 0 4px rgba(34, 211, 180, 0.15);
}

.section-head {
  max-width: 640px;
  margin: 0 0 56px;
}
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 16px; }
.section-head p { color: var(--text-secondary); font-size: 17px; }

section { position: relative; padding: 112px 0; }
@media (max-width: 768px) { section { padding: 76px 0; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary {
  background: var(--grad-brand);
  color: #04121C;
  box-shadow: var(--shadow-glow-blue);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(91,141,255,.4), 0 26px 70px -15px rgba(91,141,255,.5); }
.btn-ghost {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-primary);
  backdrop-filter: blur(12px);
}
.btn-ghost:hover { background: var(--surface-strong); border-color: var(--border-strong); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 32px; font-size: 16px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(8, 11, 20, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--border);
  box-shadow: 0 10px 40px -20px rgba(0,0,0,0.6);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 10px; font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 20px; }
.brand .mark { width: 34px; height: 34px; }
/* Matches the blue->teal gradient used for "Chat" in logo-full.svg. */
.brand .word span:last-child {
  color: var(--blue);
}
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .brand .word span:last-child {
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; gap: 2px; }
.brand-caption {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 9.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-secondary);
}
.nav-links a { transition: color 0.25s var(--ease); position: relative; }
.nav-links a:hover { color: var(--text-primary); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
}
.nav-toggle svg { width: 20px; height: 20px; }

/* ---------- Language switcher ---------- */
.lang-switch { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
}
.lang-btn svg.chev { width: 12px; height: 12px; color: var(--text-tertiary); transition: transform .3s var(--ease); }
.lang-switch.open .lang-btn svg.chev { transform: rotate(180deg); }
.lang-btn svg.globe { width: 16px; height: 16px; color: var(--teal); }

.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 220px;
  background: var(--bg-elevated-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.98);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  z-index: 200;
}
.lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.lang-option {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-secondary);
  cursor: pointer;
}
.lang-option:hover:not([disabled]) { background: var(--surface-strong); color: var(--text-primary); }
.lang-option[aria-current="true"] { color: var(--text-primary); background: var(--surface); }
.lang-option[aria-current="true"] .lang-check { opacity: 1; }
.lang-option[disabled] { cursor: default; opacity: 0.5; }
.lang-tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: var(--text-tertiary);
}
.lang-check { width: 14px; height: 14px; color: var(--teal); opacity: 0; }

/* ---------- Hero ---------- */
.hero {
  padding-top: calc(var(--nav-h) + 88px);
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-mesh);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-copy h1 {
  font-size: clamp(38px, 5.4vw, 64px);
  margin-bottom: 22px;
}
.hero-copy p.lead {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-note { display: flex; align-items: center; gap: 10px; color: var(--text-tertiary); font-size: 13.5px; }
.stars { display: flex; gap: 2px; color: var(--amber); }
.stars svg { width: 14px; height: 14px; }
/* Trust bar */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}
.trust-item { display: flex; align-items: flex-start; gap: 10px; color: var(--text-tertiary); font-size: 13.5px; font-weight: 500; min-width: 0; }
.trust-item span { line-height: 1.35; }
.trust-item svg { width: 18px; height: 18px; color: var(--teal); flex-shrink: 0; margin-top: 1px; }

/* Hero visual: phone mockup */
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone {
  width: 300px;
  border-radius: 42px;
  background: linear-gradient(160deg, #131b30, #0a0f1c);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-soft), inset 0 0 0 1px rgba(255,255,255,0.03);
  padding: 14px;
  position: relative;
  animation: float 7s ease-in-out infinite;
}
.phone-screen {
  background: var(--bg-elevated);
  border-radius: 30px;
  overflow: hidden;
  padding: 22px 16px 18px;
  min-height: 470px;
  display: flex;
  flex-direction: column;
}
.phone-notch { align-self: center; width: 90px; height: 22px; border-radius: 12px; background: #05070d; margin-bottom: 14px; }
.chat-row { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.chat-row .ava { width: 34px; height: 34px; border-radius: 50%; background: var(--grad-brand); flex-shrink: 0; }
.chat-row .lines { flex: 1; }
.chat-row .lines .l1 { height: 9px; width: 70%; background: rgba(255,255,255,0.14); border-radius: 5px; margin-bottom: 6px; }
.chat-row .lines .l2 { height: 7px; width: 45%; background: rgba(255,255,255,0.08); border-radius: 5px; }

.bubble { max-width: 78%; padding: 10px 14px; border-radius: 16px; font-size: 12.5px; margin-bottom: 10px; line-height: 1.4; }
.bubble.in { background: var(--surface-strong); border: 1px solid var(--border); align-self: flex-start; color: var(--text-secondary); }
.bubble.out { background: var(--grad-brand); color: #04121C; align-self: flex-end; font-weight: 500; }

.pay-card {
  margin-top: auto;
  background: var(--surface-strong);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.pay-card .amt { font-family: 'Space Grotesk', sans-serif; font-size: 20px; font-weight: 600; }
.pay-card .amt small { display: block; font-family: 'Inter', sans-serif; font-size: 11px; color: var(--text-tertiary); font-weight: 500; }
.pay-card .chip-btn { background: var(--grad-brand); color: #04121C; font-size: 12px; font-weight: 700; padding: 8px 14px; border-radius: 999px; }

.float-card {
  position: absolute;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: var(--bg-elevated-2);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  width: max-content;
  animation: float 6s ease-in-out infinite;
}
.float-card svg { width: 20px; height: 20px; }
.float-card.fc-1 { top: 8%; right: calc(50% + 155px); left: auto; animation-delay: 0.4s; }
.float-card.fc-2 { bottom: 12%; left: calc(50% + 155px); right: auto; animation-delay: 1.1s; }
.float-card.fc-1 svg { color: var(--amber); }
.float-card.fc-2 svg { color: var(--teal); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---------- Logos strip ---------- */
/* ---------- Bento features ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.bento-card {
  grid-column: span 2;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.bento-card:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--surface-strong); }
.bento-card.lg { grid-column: span 2; grid-row: span 1; }
.bento-card.xl { grid-column: span 4; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.bento-card.sm { grid-column: span 2; }

.icon-badge {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  background: var(--grad-brand);
}
.icon-badge svg { width: 24px; height: 24px; color: #04121C; }
.icon-badge.warm { background: var(--grad-warm); }

.bento-card h3 { font-size: 20px; margin-bottom: 10px; }
.bento-card p { color: var(--text-secondary); font-size: 15px; }

.bento-visual { background: var(--bg-elevated); border-radius: var(--radius-md); padding: 24px; border: 1px solid var(--border); }
.mini-list { display: flex; flex-direction: column; gap: 12px; }
.mini-list .row { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-radius: 12px; background: var(--surface); font-size: 13px; }
.mini-list .row .who { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.mini-list .row .who .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad-brand); }
.mini-list .row .amt.pos { color: var(--teal); font-weight: 700; }
.mini-list .row .amt.neg { color: var(--text-secondary); font-weight: 700; }

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.step { position: relative; padding: 30px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.step .num {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  background: var(--surface-strong);
  border: 1px solid var(--border-strong);
  color: var(--teal);
  margin-bottom: 22px;
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { color: var(--text-secondary); font-size: 14px; }

/* ---------- Security ---------- */
.security-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.security-list { display: flex; flex-direction: column; gap: 22px; margin-top: 32px; }
.security-list li { display: flex; gap: 16px; }
.security-list .ico {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 12px;
  background: var(--surface-strong);
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
}
.security-list .ico svg { width: 19px; height: 19px; color: var(--teal); }
.security-list h4 { font-size: 15.5px; margin-bottom: 4px; }
.security-list p { color: var(--text-secondary); font-size: 14px; }

.security-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at 30% 20%, rgba(91,141,255,0.18), rgba(91,141,255,0) 55%), var(--bg-elevated);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.shield-core {
  width: 46%;
  filter: drop-shadow(0 20px 40px rgba(34, 211, 180, 0.25));
}
.security-visual .ring {
  position: absolute;
  border: 1px solid var(--border);
  border-radius: 50%;
}
.security-visual .ring.r1 { width: 60%; height: 60%; animation: spin 22s linear infinite; }
.security-visual .ring.r2 { width: 82%; height: 82%; border-style: dashed; animation: spin 34s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Card showcase ---------- */
.card-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.credit-card {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1.586 / 1;
  border-radius: 22px;
  padding: 26px;
  background: linear-gradient(135deg, #1a2540, #0a1020 60%);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transform: rotate(-4deg);
  transition: transform .5s var(--ease);
}
.card-wrap:hover .credit-card { transform: rotate(0deg) scale(1.02); }
.credit-card::before {
  content: "";
  position: absolute;
  width: 220px; height: 220px;
  right: -60px; top: -80px;
  background: var(--grad-brand);
  opacity: 0.25;
  border-radius: 50%;
  filter: blur(10px);
}
.credit-card .top-row { display: flex; justify-content: space-between; align-items: flex-start; position: relative; z-index: 1; }
.credit-card .chip { width: 40px; height: 30px; border-radius: 7px; background: linear-gradient(135deg, var(--amber), var(--orange)); }
.credit-card .brand-mini { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 15px; }
.credit-card .brand-mini span { color: var(--blue); }
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .credit-card .brand-mini span {
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}
.credit-card .num { font-family: 'Space Grotesk', sans-serif; letter-spacing: 3px; font-size: 17px; position: relative; z-index: 1; }
.credit-card .bottom-row { display: flex; justify-content: space-between; align-items: flex-end; font-size: 11px; color: var(--text-secondary); position: relative; z-index: 1; }
.credit-card .bottom-row .holder { text-transform: uppercase; letter-spacing: 0.04em; font-size: 12px; color: var(--text-primary); font-weight: 500; }
.credit-card .wave { position: absolute; inset: auto -20% -40% auto; width: 70%; height: 70%; background: radial-gradient(circle, rgba(255,255,255,0.06), rgba(255,255,255,0) 70%); }

.card-features { display: flex; flex-direction: column; gap: 20px; }
.card-feature { display: flex; gap: 16px; align-items: flex-start; }
.card-feature .ico { width: 38px; height: 38px; border-radius: 11px; background: var(--surface-strong); border: 1px solid var(--border-strong); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.card-feature .ico svg { width: 18px; height: 18px; color: var(--amber); }
.card-feature h4 { font-size: 16px; margin-bottom: 4px; }
.card-feature p { color: var(--text-secondary); font-size: 14px; }

/* ---------- Stats ---------- */
.stats-band {
  position: relative;
  border-radius: var(--radius-xl);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 56px 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
  overflow: hidden;
}
.stats-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-mesh);
  opacity: 0.5;
  pointer-events: none;
}
.stat { position: relative; z-index: 1; padding: 4px 8px; transition: transform 0.35s var(--ease); }
.stat:hover { transform: translateY(-5px); }
.stat:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  right: -17px;
  width: 1px;
  background: var(--border);
}
.stat-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.55);
  transition: transform 0.35s var(--ease);
}
.stat:hover .stat-icon { transform: scale(1.08) rotate(-4deg); }
.stat-icon svg { width: 27px; height: 27px; color: #04121C; }
.stat-icon-teal { background: var(--grad-brand); }
.stat-icon-violet { background: var(--grad-violet); }
.stat-icon-warm { background: var(--grad-warm); }
.stat-title { font-family: 'Space Grotesk', sans-serif; font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.stat-desc { color: var(--text-secondary); font-size: 13.5px; line-height: 1.55; max-width: 230px; margin: 0 auto; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 860px; margin: 0 auto; }
.price-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 40px; display: flex; flex-direction: column; }
.price-card.featured { background: linear-gradient(160deg, rgba(91,141,255,0.09), rgba(34,211,180,0.05)); border-color: rgba(91,141,255,0.35); position: relative; }
.price-card .badge { position: absolute; top: -13px; left: 40px; background: var(--grad-brand); color: #04121C; font-size: 11.5px; font-weight: 700; padding: 5px 14px; border-radius: 999px; }
.price-card h3 { font-size: 20px; margin-bottom: 6px; }
.price-card .desc { color: var(--text-secondary); font-size: 14px; margin-bottom: 26px; }
.price-card .price { font-family: 'Space Grotesk', sans-serif; font-size: 44px; font-weight: 700; margin-bottom: 26px; }
.price-card .price span { font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 500; color: var(--text-secondary); }
.price-card .price.price-tba { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 600; color: var(--text-secondary); }
.price-card .price.price-tba span { font-family: 'Inter', sans-serif; font-size: 19px; font-weight: 600; color: var(--text-secondary); }
.price-card ul { display: flex; flex-direction: column; gap: 13px; margin-bottom: 30px; flex: 1; }
.price-card li { display: flex; gap: 10px; font-size: 14px; color: var(--text-secondary); align-items: flex-start; }
.price-card li svg { width: 17px; height: 17px; color: var(--teal); flex-shrink: 0; margin-top: 2px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 24px;
  text-align: left;
  font-size: 15.5px;
  font-weight: 600;
}
.faq-q .plus { width: 22px; height: 22px; border-radius: 50%; background: var(--surface-strong); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform .35s var(--ease); }
.faq-q .plus svg { width: 12px; height: 12px; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); background: var(--grad-brand); color: #04121C; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a-inner { padding: 0 24px 22px; color: var(--text-secondary); font-size: 14.5px; }

/* ---------- Final CTA ---------- */
.cta-band {
  border-radius: var(--radius-xl);
  padding: 72px 48px;
  text-align: center;
  background: linear-gradient(160deg, rgba(91,141,255,0.14), rgba(34,211,180,0.08));
  border: 1px solid rgba(91,141,255,0.25);
  position: relative;
  overflow: hidden;
}
.cta-band h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 16px; }
.cta-band p { color: var(--text-secondary); max-width: 480px; margin: 0 auto 32px; }
.cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
@media (max-width: 860px) { .cta-band { padding: 56px 28px; } }
.cta-note { color: var(--text-tertiary) !important; font-size: 13px !important; margin: 26px auto 0 !important; }

.btn-wrap { position: relative; display: inline-flex; }
.btn-wrap.btn-block { display: flex; width: 100%; }
.badge-soon {
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--grad-warm);
  color: #04121C;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  box-shadow: 0 6px 16px -4px rgba(255, 159, 91, 0.5);
  white-space: nowrap;
  pointer-events: none;
}
.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}

/* Status dot (pre-launch indicator, no CTA implied) */
.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--grad-brand);
  box-shadow: 0 0 0 4px rgba(34, 211, 180, 0.15);
  flex-shrink: 0;
}

/* Launch progress stepper */
.launch-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 600px;
  margin: 0 auto 8px;
  flex-wrap: nowrap;
}
.lp-step { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--text-tertiary); white-space: nowrap; }
.lp-step.done { color: var(--text-secondary); }
.lp-step.current { color: var(--text-primary); }
.lp-dot {
  width: 26px; height: 26px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  flex-shrink: 0;
}
.lp-step.done .lp-dot { background: var(--grad-brand); border-color: transparent; color: #04121C; }
.lp-step.done .lp-dot svg { width: 13px; height: 13px; }
.lp-step.current .lp-dot { border-color: rgba(34, 211, 180, 0.55); box-shadow: 0 0 0 4px rgba(34, 211, 180, 0.12); }
.lp-pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--teal); animation: pulse 1.8s ease-in-out infinite; }
.lp-line { width: 26px; height: 1px; background: var(--border-strong); flex-shrink: 0; }
@keyframes pulse {
  0%, 100% { transform: scale(0.85); opacity: 0.7; }
  50% { transform: scale(1.15); opacity: 1; }
}
@media (max-width: 700px) {
  .launch-progress { flex-direction: column; align-items: flex-start; gap: 14px; max-width: 280px; flex-wrap: wrap; }
  .lp-line { display: none; }
}

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--border); padding: 72px 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; margin-bottom: 56px; max-width: 620px; }
.footer-brand p { color: var(--text-secondary); font-size: 14px; margin: 16px 0 22px; max-width: 280px; }
.footer-col h5 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-tertiary); margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: var(--text-secondary); font-size: 14.5px; transition: color .25s var(--ease); }
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 28px; border-top: 1px solid var(--border); }
.footer-bottom p { color: var(--text-tertiary); font-size: 13px; }
.footer-legal-link { color: var(--text-tertiary); font-size: 13px; transition: color .25s var(--ease); }
.footer-legal-link:hover { color: var(--text-primary); }

/* ---------- Legal pages (Privacy Policy) ---------- */
.legal-page { padding: calc(var(--nav-h) + 64px) 0 100px; }
.legal-back { display: inline-flex; align-items: center; gap: 8px; color: var(--text-tertiary); font-size: 14px; margin-bottom: 28px; transition: color .25s var(--ease); }
.legal-back:hover { color: var(--text-primary); }
.legal-back svg { width: 16px; height: 16px; }
.legal-header { max-width: 720px; margin: 0 auto 48px; }
.legal-header h1 { font-size: clamp(30px, 4.6vw, 44px); margin-bottom: 14px; }
.legal-header .updated { color: var(--text-tertiary); font-size: 14px; }
.legal-content { max-width: 720px; margin: 0 auto; color: var(--text-secondary); font-size: 16px; line-height: 1.75; }
.legal-content h2 { color: var(--text-primary); font-size: 21px; margin: 44px 0 14px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { margin-bottom: 16px; }
.legal-content ul { margin: 0 0 16px; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.legal-content a { color: var(--blue); text-decoration: underline; text-decoration-color: rgba(91,141,255,0.35); text-decoration-thickness: 1px; }
.legal-content a:hover { text-decoration-color: var(--blue); }
@media (max-width: 640px) { .legal-page { padding: calc(var(--nav-h) + 36px) 0 72px; } }

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].in-view { opacity: 1; transform: translateY(0); }

/* ---------- Mobile nav overlay ---------- */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(6, 8, 14, 0.98);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  padding: 110px 28px 40px;
  gap: 28px;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a { font-size: 22px; font-weight: 600; font-family: 'Space Grotesk', sans-serif; }
.mobile-nav .btn { margin-top: 12px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1240px) {
  .float-card { display: none; }
}

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; margin-bottom: 20px; }
  .phone { width: 260px; }
  .security-wrap, .card-wrap { grid-template-columns: 1fr; gap: 40px; }
  .security-visual { max-width: 420px; margin: 0 auto; order: -1; }
  .card-wrap .credit-card { margin: 0 auto; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-card.xl { grid-template-columns: 1fr; grid-column: span 2; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats-band { grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 48px 28px; }
  .pricing-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  section { padding: 64px 0; }
  .hero { padding-top: calc(var(--nav-h) + 48px); }
  .bento-card, .bento-card.lg, .bento-card.sm { grid-column: span 2; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .stats-band { grid-template-columns: 1fr; padding: 36px 24px; gap: 26px; }
  .stat:not(:last-child)::after { display: none; }
  .stat:not(:last-child) { padding-bottom: 22px; border-bottom: 1px solid var(--border); }
  .hero-actions .btn { flex: 1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .lang-menu { right: -12px; }
  .nav-actions { gap: 8px; }
  .nav-actions > a.btn-primary { display: none; }
  .lang-btn span#langBtnLabel { display: none; }
  .lang-btn { padding: 9px 10px; }
}
