/* ═══════════════════════════════════════════════════════════════
   FlowCheck — Design System v2

   Principles:
   • Gradient text used ONCE per page — on the hero accent word only
   • No emojis — SVG icons only
   • Generous whitespace — sections breathe
   • Typography-first — copy sells, not decoration
   • Dark, calm, trustworthy — fintech, not fun app
   ═══════════════════════════════════════════════════════════════ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

:root {
  /* Backgrounds */
  --bg:       #07101e;
  --bg-card:  #0c1a2e;
  --bg-inset: #0a1525;

  /* Borders */
  --border:   rgba(255,255,255,0.07);
  --border-2: rgba(255,255,255,0.13);

  /* Text */
  --text:     #eef2f7;
  --text-2:   rgba(255,255,255,0.52);
  --text-3:   rgba(255,255,255,0.25);

  /* Accent — ONE color, used sparingly */
  --accent:      #0ea5e9;
  --accent-dim:  rgba(14,165,233,0.10);
  --accent-dim2: rgba(14,165,233,0.18);
  --green:    #22c55e;
  --red:      #ef4444;

  /* Sizing */
  --nav-h:   64px;
  --radius:  14px;
  --radius-lg: 20px;
  --max-w:   1080px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Typography ────────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--text);
}

h1 { font-size: clamp(44px, 6.5vw, 76px); }
h2 { font-size: clamp(32px, 4vw, 52px); }
h3 { font-size: clamp(18px, 2vw, 22px); font-weight: 700; }

/* Single gradient — the hero accent word. NOT used anywhere else. */
.accent { color: var(--accent); }
.accent-gradient {
  background: linear-gradient(135deg, #38bdf8, #0ea5e9 40%, #6366f1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Layout ─────────────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section    { padding: 112px 0; }
.section-sm { padding: 72px 0; }

/* ── Navigation ─────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background 0.25s, border-color 0.25s;
  border-bottom: 1px solid transparent;
}
.nav--scrolled {
  background: rgba(7,16,30,0.88);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border-bottom-color: var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  gap: 32px;
}
.nav-logo {
  display: flex; align-items: center; gap: 9px;
  text-decoration: none; color: var(--text);
  font-size: 17px; font-weight: 800; letter-spacing: -0.02em;
  flex-shrink: 0;
}
.nav-logo-mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 1px rgba(14,165,233,0.4), 0 4px 16px rgba(14,165,233,0.25);
}
.nav-links {
  display: flex; align-items: center; gap: 28px; flex: 1;
}
.nav-links a {
  color: var(--text-2); text-decoration: none;
  font-size: 14px; font-weight: 500;
  transition: color 0.15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-login {
  color: var(--text-2); text-decoration: none;
  font-size: 14px; font-weight: 500; transition: color 0.15s;
}
.nav-login:hover { color: var(--text); }
.nav-cta {
  display: flex; align-items: center; gap: 6px;
  background: var(--accent); color: #fff !important;
  font-size: 13px; font-weight: 700; letter-spacing: -0.01em;
  padding: 9px 18px; border-radius: 9px; text-decoration: none;
  transition: opacity 0.15s, transform 0.15s;
  box-shadow: 0 2px 12px rgba(14,165,233,0.35);
}
.nav-cta:hover { opacity: 0.88; transform: translateY(-1px); }

#nav-menu-btn {
  display: none; background: none; border: none;
  color: var(--text-2); cursor: pointer; padding: 6px;
}
.nav-links--open {
  display: flex !important; flex-direction: column;
  position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: rgba(7,16,30,0.97); backdrop-filter: blur(20px);
  padding: 16px 24px 24px; gap: 0;
  border-bottom: 1px solid var(--border);
}
.nav-links--open a {
  padding: 14px 0; font-size: 16px;
  border-bottom: 1px solid var(--border);
}

@media (max-width: 740px) {
  .nav-links:not(.nav-links--open) { display: none; }
  .nav-login { display: none; }
  #nav-menu-btn { display: flex; }
}

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-weight: 700; font-size: 15px;
  letter-spacing: -0.015em;
  padding: 14px 26px; border-radius: 12px; text-decoration: none;
  border: none; cursor: pointer;
  transition: opacity 0.15s, transform 0.15s, box-shadow 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); opacity: 0.85; }

.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 4px 20px rgba(14,165,233,0.30);
}
.btn-primary:hover { box-shadow: 0 8px 28px rgba(14,165,233,0.40); }

.btn-secondary {
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--border-2);
  color: var(--text);
}
.btn-secondary:hover { background: rgba(255,255,255,0.11); }

.btn-lg { font-size: 17px; padding: 17px 32px; border-radius: 14px; }

/* App Store badge */
.badge-appstore {
  display: inline-flex; align-items: center; gap: 11px;
  background: #000; border: 1px solid rgba(255,255,255,0.14);
  border-radius: 11px; padding: 10px 18px; text-decoration: none;
  transition: transform 0.18s, box-shadow 0.18s;
}
.badge-appstore:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.5); }
.badge-appstore-text { display: flex; flex-direction: column; }
.badge-appstore-sub  { font-size: 10px; color: rgba(255,255,255,0.55); letter-spacing: 0.01em; }
.badge-appstore-name { font-size: 16px; font-weight: 700; color: #fff; letter-spacing: -0.02em; }

/* ── Hero entry animations — CSS-native, fires immediately on load ── */
/* Never use .reveal on above-fold hero content — use these instead   */
@keyframes fcFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
.ha   { animation: fcFadeUp 0.65s cubic-bezier(.22,1,.36,1) both; }
.ha-1 { animation: fcFadeUp 0.65s 0.08s cubic-bezier(.22,1,.36,1) both; }
.ha-2 { animation: fcFadeUp 0.65s 0.20s cubic-bezier(.22,1,.36,1) both; }
.ha-3 { animation: fcFadeUp 0.65s 0.32s cubic-bezier(.22,1,.36,1) both; }
.ha-4 { animation: fcFadeUp 0.65s 0.44s cubic-bezier(.22,1,.36,1) both; }

/* ── Scroll reveal (below-fold sections only) ────────────────────── */
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.6s cubic-bezier(.22,1,.36,1), transform 0.6s cubic-bezier(.22,1,.36,1);
}
.reveal.in-view { opacity: 1; transform: none; }
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }

/* ── Section label ───────────────────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 16px;
}

/* ── Cards ───────────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

/* ── Hero ─────────────────────────────────────────────────────────── */
.hero {
  padding: calc(var(--nav-h) + 96px) 0 108px;
  position: relative; overflow: hidden;
}
/* Single, subtle ambient glow — no rainbow splatter */
.hero::before {
  content: '';
  position: absolute; top: -160px; left: 50%; transform: translateX(-60%);
  width: 900px; height: 700px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(14,165,233,0.07) 0%, transparent 65%);
  filter: blur(80px); pointer-events: none;
}
.hero-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center; position: relative; z-index: 1;
}

/* Rating pill */
.hero-rating {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border-2);
  border-radius: 40px; padding: 6px 14px;
  margin-bottom: 24px;
  font-size: 13px; color: var(--text-2); font-weight: 500;
}
.hero-rating-stars { color: #fbbf24; letter-spacing: 1px; font-size: 12px; }

.hero h1 { margin-bottom: 20px; }
.hero-sub {
  font-size: 18px; color: var(--text-2); line-height: 1.65;
  max-width: 460px; margin-bottom: 36px;
}
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-proof {
  margin-top: 22px;
  font-size: 13px; color: var(--text-3);
  display: flex; align-items: center; gap: 6px;
}

/* Dashboard visualization — replaces fake phone */
.hero-dashboard {
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04);
}
.dash-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.dash-title { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.dash-nw {
  font-size: 34px; font-weight: 900; letter-spacing: -0.04em; color: var(--text);
}
.dash-delta {
  font-size: 12px; color: var(--green); font-weight: 600;
  background: rgba(34,197,94,0.10); border-radius: 6px;
  padding: 3px 8px;
}
/* Sparkline bar chart */
.dash-chart {
  display: flex; align-items: flex-end; gap: 5px;
  height: 52px; margin: 16px 0 20px;
}
.dash-bar {
  flex: 1; border-radius: 4px 4px 0 0;
  background: rgba(14,165,233,0.18);
  transition: background 0.2s;
}
.dash-bar.active { background: var(--accent); }
.dash-bar:hover  { background: rgba(14,165,233,0.40); }

.dash-divider { height: 1px; background: var(--border); margin: 0 0 16px; }

/* Transaction rows */
.dash-txns { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.dash-txn { display: flex; align-items: center; gap: 12px; }
.dash-txn-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.dash-txn-info { flex: 1; min-width: 0; }
.dash-txn-name { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-txn-date { font-size: 11px; color: var(--text-3); margin-top: 1px; }
.dash-txn-amt  { font-size: 13px; font-weight: 700; flex-shrink: 0; }

/* Insight callout */
.dash-insight {
  background: rgba(14,165,233,0.07);
  border: 1px solid rgba(14,165,233,0.15);
  border-radius: 10px; padding: 11px 14px;
  display: flex; align-items: flex-start; gap: 10px;
}
.dash-insight-icon { color: var(--accent); flex-shrink: 0; margin-top: 1px; }
.dash-insight-text { font-size: 12px; color: rgba(255,255,255,0.7); line-height: 1.5; }
.dash-insight-label { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; color: var(--accent); margin-bottom: 3px; }

/* ── Social proof bar ────────────────────────────────────────────── */
.proof-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}
.proof-bar-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 40px; flex-wrap: nowrap;
}
@media (max-width: 700px) { .proof-bar-inner { flex-wrap: wrap; gap: 20px; } }
.proof-stat { text-align: center; }
.proof-stat-n { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.proof-stat-l { font-size: 12px; color: var(--text-2); margin-top: 2px; }
.proof-divider { width: 1px; height: 32px; background: var(--border); }
@media (max-width: 560px) { .proof-divider { display: none; } }

/* ── SVG Icon boxes ──────────────────────────────────────────────── */
.icon-box {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; flex-shrink: 0;
}

/* ── Features ────────────────────────────────────────────────────── */
.features-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 16px; margin-top: 56px;
}
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  transition: border-color 0.2s, transform 0.25s;
}
.feature-card:hover {
  border-color: var(--border-2);
  transform: translateY(-3px);
}
.feature-title { font-size: 16px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; }
.feature-desc  { font-size: 14px; color: var(--text-2); line-height: 1.6; }

/* ── Steps ───────────────────────────────────────────────────────── */
.steps-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 40px; margin-top: 56px;
}
.step-num {
  font-size: 13px; font-weight: 700; color: var(--accent);
  letter-spacing: 0.04em; margin-bottom: 12px;
}
.step-title { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; }
.step-desc  { font-size: 14px; color: var(--text-2); line-height: 1.6; }

/* ── Pricing ─────────────────────────────────────────────────────── */
.pricing-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px; max-width: 760px; margin: 56px auto 0;
}
.plan {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px; position: relative;
}
.plan--featured {
  border-color: rgba(14,165,233,0.30);
  background: linear-gradient(160deg, #0d1e35, #0a1828);
}
.plan--featured::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.plan-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 20px;
  display: flex; align-items: center; gap: 6px;
}
.plan-name  { font-size: 20px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 4px; }
.plan-price { font-size: 48px; font-weight: 900; letter-spacing: -0.05em; line-height: 1; margin-bottom: 4px; }
.plan-price sub { font-size: 18px; font-weight: 500; vertical-align: baseline; letter-spacing: 0; }
.plan-period { font-size: 13px; color: var(--text-2); margin-bottom: 28px; }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 28px; }
.plan-features li { font-size: 14px; display: flex; align-items: center; gap: 10px; }
.plan-check { color: var(--green); flex-shrink: 0; }
.plan-x     { color: var(--text-3); flex-shrink: 0; }
.plan-btn   { display: block; width: 100%; text-align: center; }

/* ── Testimonials ────────────────────────────────────────────────── */
.testimonial-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 56px; }
.testimonial {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
}
.t-stars { color: #fbbf24; font-size: 12px; letter-spacing: 2px; margin-bottom: 14px; }
.t-text  { font-size: 14px; color: rgba(255,255,255,0.75); line-height: 1.7; margin-bottom: 18px; font-style: italic; }
.t-author { display: flex; align-items: center; gap: 10px; }
.t-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; flex-shrink: 0;
  background: var(--accent-dim); color: var(--accent);
  border: 1px solid var(--accent-dim2);
}
.t-name { font-size: 13px; font-weight: 700; }
.t-meta { font-size: 12px; color: var(--text-3); }

/* ── Final CTA ───────────────────────────────────────────────────── */
.cta-block {
  text-align: center; padding: 96px 0;
  border-top: 1px solid var(--border);
}
.cta-block h2 { margin-bottom: 14px; }
.cta-block p { font-size: 17px; color: var(--text-2); margin-bottom: 40px; }
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ── Footer ──────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border); padding: 36px 0;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.footer-logo { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; letter-spacing: -0.02em; text-decoration: none; color: var(--text); }
.footer-links { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: var(--text-3); text-decoration: none; transition: color 0.15s; }
.footer-links a:hover { color: var(--text-2); }
.footer-copy { font-size: 12px; color: var(--text-3); }

/* ── Auth pages ──────────────────────────────────────────────────── */
.auth-wrap {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: calc(var(--nav-h) + 32px) 24px 48px; position: relative;
}
.auth-wrap::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 400px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(14,165,233,0.06) 0%, transparent 70%);
  filter: blur(60px); pointer-events: none;
}
.auth-card {
  width: 100%; max-width: 400px; position: relative; z-index: 1;
  background: var(--bg-card); border: 1px solid var(--border-2);
  border-radius: 20px; padding: 40px 36px;
  box-shadow: 0 32px 64px rgba(0,0,0,0.4);
}
.auth-logo { display: flex; align-items: center; gap: 9px; font-size: 17px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 28px; color: var(--text); }
.auth-h    { font-size: 26px; margin-bottom: 6px; }
.auth-sub  { font-size: 14px; color: var(--text-2); margin-bottom: 28px; }
.auth-form { display: flex; flex-direction: column; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); }
.form-input {
  background: var(--bg-inset); border: 1px solid var(--border-2);
  border-radius: 10px; padding: 13px 16px;
  color: var(--text); font-size: 15px; font-family: inherit;
  outline: none; transition: border-color 0.15s;
}
.form-input:focus { border-color: var(--accent); }
.form-input::placeholder { color: var(--text-3); }
.form-input.err { border-color: var(--red); }
.form-submit {
  margin-top: 4px; padding: 15px;
  border-radius: 11px; border: none;
  background: var(--accent); color: #fff;
  font-size: 16px; font-weight: 700; font-family: inherit;
  cursor: pointer; transition: opacity 0.15s, transform 0.15s;
  box-shadow: 0 4px 16px rgba(14,165,233,0.30);
}
.form-submit:hover { opacity: 0.9; transform: translateY(-1px); }
.form-submit:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.auth-or { display: flex; align-items: center; gap: 12px; }
.auth-or::before, .auth-or::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.auth-or span { font-size: 12px; color: var(--text-3); }
.social-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px; border-radius: 10px; border: 1px solid var(--border-2);
  background: var(--bg-inset); color: var(--text); font-size: 14px;
  font-weight: 600; font-family: inherit; cursor: pointer; text-decoration: none;
  transition: background 0.15s, border-color 0.15s; width: 100%;
}
.social-btn:hover { background: rgba(255,255,255,0.07); border-color: var(--border-2); }
.auth-link { font-size: 14px; color: var(--text-2); text-align: center; margin-top: 20px; }
.auth-link a { color: var(--accent); text-decoration: none; font-weight: 600; }
.auth-alert { padding: 12px 16px; border-radius: 10px; font-size: 14px; margin-bottom: 8px; display: none; }
.auth-alert.err  { background: rgba(239,68,68,0.10); border: 1px solid rgba(239,68,68,0.25); color: #fca5a5; display: block; }
.auth-alert.ok   { background: rgba(34,197,94,0.10); border: 1px solid rgba(34,197,94,0.25); color: #86efac; display: block; }
.forgot-link { font-size: 13px; color: var(--text-3); text-decoration: none; text-align: right; transition: color 0.15s; }
.forgot-link:hover { color: var(--text-2); }

/* ── Page hero (inner pages) ─────────────────────────────────────── */
.page-hero {
  padding: calc(var(--nav-h) + 72px) 0 80px;
  text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 500px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(14,165,233,0.07) 0%, transparent 65%);
  filter: blur(70px); pointer-events: none;
}
.page-hero h1 { max-width: 680px; margin: 0 auto 16px; }
.page-hero p  { font-size: 17px; color: var(--text-2); max-width: 520px; margin: 0 auto; line-height: 1.65; }

/* ── Security page ───────────────────────────────────────────────── */
.security-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin-top: 56px; }
.security-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; }
.security-card h3 { font-size: 17px; margin-bottom: 10px; }
.security-card p  { font-size: 14px; color: var(--text-2); line-height: 1.65; }
.badge-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 48px; }
.badge-chip {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 10px; padding: 10px 16px;
  font-size: 13px; font-weight: 600; color: var(--text-2);
}

/* ── FAQ ─────────────────────────────────────────────────────────── */
.faq { max-width: 680px; margin: 48px auto 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: none; color: var(--text);
  font-family: inherit; font-size: 15px; font-weight: 600;
  text-align: left; padding: 20px 0; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  transition: color 0.15s;
}
.faq-q:hover { color: var(--accent); }
.faq-icon { flex-shrink: 0; transition: transform 0.25s; color: var(--text-3); }
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--accent); }
.faq-a {
  font-size: 14px; color: var(--text-2); line-height: 1.7;
  max-height: 0; overflow: hidden; padding: 0;
  transition: max-height 0.3s cubic-bezier(.22,1,.36,1), padding 0.3s;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 0 20px; }

/* ── Comparison table ────────────────────────────────────────────── */
.compare { width: 100%; border-collapse: collapse; margin-top: 48px; }
.compare th { padding: 14px 20px; font-size: 13px; font-weight: 700; color: var(--text-2); border-bottom: 1px solid var(--border); text-align: left; }
.compare th:not(:first-child) { text-align: center; }
.compare td { padding: 13px 20px; font-size: 14px; border-bottom: 1px solid rgba(255,255,255,0.03); }
.compare td:not(:first-child) { text-align: center; }
.compare .c-pro { background: rgba(14,165,233,0.03); }
.compare .c-th-pro { color: var(--accent); }
.compare .yes { color: var(--green); font-size: 16px; }
.compare .no  { color: var(--border-2); font-size: 16px; }
.compare .cat { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); padding-top: 24px; }

/* ── Account page ────────────────────────────────────────────────── */
.account-layout { display: grid; grid-template-columns: 240px 1fr; gap: 24px; padding-top: calc(var(--nav-h) + 48px); padding-bottom: 80px; }
.account-nav { display: flex; flex-direction: column; gap: 4px; }
.account-nav-item {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--text-2);
  text-decoration: none; cursor: pointer; background: none; border: none;
  font-family: inherit; width: 100%; text-align: left; transition: background 0.15s, color 0.15s;
}
.account-nav-item:hover  { background: rgba(255,255,255,0.05); color: var(--text); }
.account-nav-item.active { background: var(--accent-dim); color: var(--accent); }
.account-content { display: flex; flex-direction: column; gap: 16px; }
.account-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.account-card-title { font-size: 15px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 20px; }
.account-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
.account-row:last-child { border-bottom: none; padding-bottom: 0; }
.account-row-label { font-size: 13px; color: var(--text-2); }
.account-row-value { font-size: 14px; font-weight: 600; }
.plan-chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 6px; font-size: 12px; font-weight: 700; }
.plan-chip.free { background: rgba(255,255,255,0.06); color: var(--text-2); }
.plan-chip.pro  { background: var(--accent-dim); color: var(--accent); border: 1px solid var(--accent-dim2); }

/* ── Referral / Download ─────────────────────────────────────────── */
.three-col { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; margin-top: 56px; }
.two-col   { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; }
.reward-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; text-align: center; }
.reward-number { font-size: 44px; font-weight: 900; letter-spacing: -0.05em; color: var(--accent); }
.platform-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 40px 28px; text-align: center; text-decoration: none; color: var(--text);
  transition: border-color 0.2s, transform 0.2s;
}
.platform-card:hover { border-color: var(--border-2); transform: translateY(-3px); }

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-layout { grid-template-columns: 1fr; gap: 52px; text-align: center; }
  .hero-sub { margin: 0 auto 36px; }
  .hero-actions { justify-content: center; }
  .hero-proof { justify-content: center; }
  .hero-dashboard { order: -1; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; gap: 32px; }
  .three-col { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .section { padding: 72px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-row  { grid-template-columns: 1fr; }
  .two-col      { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .proof-bar-inner { gap: 24px; }
  .account-layout { grid-template-columns: 1fr; }
}

/* ── Utility ─────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-muted  { color: var(--text-2); }
.mt-4  { margin-top: 16px; }
.mt-8  { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.full-w { width: 100%; }
