/* ═══════════════════════════════════════════════════════════════════════
   VerityFone · v4 · Modern SaaS (Linear · Vercel · Cal.com aesthetic)
   Sans-serif everything · rounded 2xl · glassmorphism · subtle glows
   ═══════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* Dark modern palette */
  --bg:            #0a0612;
  --bg-2:          #120a1f;
  --surface:       #170e2b;
  --surface-2:     #1e1436;
  --surface-3:     #2a1c4e;
  --border:        rgba(236, 72, 153, 0.12);
  --border-2:      rgba(236, 72, 153, 0.25);
  --border-strong: rgba(236, 72, 153, 0.4);

  --text:          #FAF5FF;
  --text-2:        #E9DEFA;
  --text-muted:    #A192C8;
  --text-dim:      #6E5F92;

  --accent:        #EC4899;
  --accent-2:      #F472B6;
  --accent-hover:  #F9A8D4;
  --violet:        #A855F7;
  --violet-2:      #C084FC;
  --gold:          #FBBF24;
  --emerald:       #34D399;

  --grad-1:        linear-gradient(135deg, #EC4899 0%, #A855F7 100%);
  --grad-2:        linear-gradient(135deg, #F472B6 0%, #C084FC 100%);
  --grad-soft:     linear-gradient(180deg, rgba(236,72,153,0.08), rgba(168,85,247,0.04));
  --grad-orb:      radial-gradient(circle at 50% 50%, rgba(236, 72, 153, 0.35), transparent 70%);

  --font-sans:     'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono:     'JetBrains Mono', 'SF Mono', Monaco, Consolas, monospace;

  --r-sm:  10px;
  --r:     16px;
  --r-lg:  24px;
  --r-xl:  32px;
  --r-2xl: 40px;

  --max-w:        1280px;
  --max-w-narrow: 640px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.15);
  --shadow-md: 0 12px 32px -12px rgba(0,0,0,0.4), 0 0 0 1px rgba(236,72,153,0.08);
  --shadow-lg: 0 32px 64px -20px rgba(0,0,0,0.6), 0 0 0 1px rgba(236,72,153,0.15);
  --shadow-glow: 0 0 80px rgba(236, 72, 153, 0.35);
  --shadow-btn: 0 6px 20px -4px rgba(236, 72, 153, 0.5), inset 0 1px 0 rgba(255,255,255,0.2);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Background orbs · muy sutil pero visible */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse 900px 700px at 15% 5%, rgba(236, 72, 153, 0.22), transparent 55%),
    radial-gradient(ellipse 800px 600px at 85% 20%, rgba(168, 85, 247, 0.20), transparent 55%),
    radial-gradient(ellipse 700px 500px at 50% 100%, rgba(244, 114, 182, 0.15), transparent 55%),
    linear-gradient(180deg, #0a0612 0%, #120a1f 50%, #0a0612 100%);
}

/* Grain sutil */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  opacity: 0.35;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.3 0 0 0 0 0.6 0 0 0 0.06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img, svg { display: block; max-width: 100%; }
input, textarea, select { font-family: inherit; font-size: 15px; }

::selection { background: var(--accent); color: #fff; }

/* ─── LAYOUT ─── */
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; position: relative; z-index: 1; }
.wrap-narrow { max-width: var(--max-w-narrow); margin: 0 auto; padding: 0 32px; position: relative; z-index: 1; }
.wrap-content { max-width: 820px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 1; }
@media (max-width: 640px) { .wrap, .wrap-narrow, .wrap-content { padding: 0 20px; } }

.section { padding: 120px 0; position: relative; }
.section-tight { padding: 72px 0; }
@media (max-width: 640px) { .section { padding: 72px 0; } .section-tight { padding: 48px 0; } }

/* ─── TYPOGRAPHY (all sans-serif · modern hierarchy) ─── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans);
  font-size: 12px; font-weight: 600; letter-spacing: 0.02em;
  color: var(--accent-2);
  padding: 6px 14px;
  background: rgba(236, 72, 153, 0.1);
  border: 1px solid var(--border-2);
  border-radius: 999px;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-sans);
  color: var(--text);
  letter-spacing: -0.03em;
  font-weight: 600;
  line-height: 1.1;
  text-wrap: balance;
}

h1 { font-size: clamp(40px, 5.5vw, 72px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.02; }
h2 { font-size: clamp(30px, 3.5vw, 44px); font-weight: 700; letter-spacing: -0.035em; }
h3 { font-size: 20px; line-height: 1.35; }
h4 { font-size: 16px; line-height: 1.4; font-weight: 600; }
h5 { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }

.gradient-text {
  background: var(--grad-1);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.lead { font-size: 18px; color: var(--text-muted); line-height: 1.6; max-width: 620px; font-weight: 400; }
.text-mono { font-family: var(--font-mono); }
.text-muted { color: var(--text-muted); }
.text-accent { color: var(--accent-2); }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ─── BUTTONS (modern SaaS pill · not shouty) ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px;
  border-radius: var(--r-sm);
  font-family: var(--font-sans);
  font-weight: 500; font-size: 14px;
  letter-spacing: -0.005em;
  line-height: 1.2;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
  white-space: nowrap;
  position: relative;
}
.btn-primary {
  background: var(--grad-1);
  color: #fff;
  font-weight: 600;
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 28px -4px rgba(236, 72, 153, 0.6), inset 0 1px 0 rgba(255,255,255,0.25); }
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.2); }

.btn-ghost { color: var(--text-muted); padding: 8px 14px; }
.btn-ghost:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }

.btn-arrow::after { content: "→"; transition: transform 0.15s ease; margin-left: 2px; opacity: 0.7; }
.btn-arrow:hover::after { transform: translateX(3px); opacity: 1; }

.btn-block { width: 100%; }
.btn-lg { padding: 14px 24px; font-size: 15px; border-radius: var(--r); }
.btn-sm { padding: 8px 14px; font-size: 13px; }

/* ─── NAV (Linear-style · minimal) ─── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 6, 18, 0.6);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-sans);
  font-size: 17px; font-weight: 700; letter-spacing: -0.02em;
  color: var(--text);
}
.brand-mark {
  width: 28px; height: 28px; flex-shrink: 0;
  filter: drop-shadow(0 0 12px rgba(236, 72, 153, 0.6));
}
.nav-links { display: flex; align-items: center; gap: 4px; font-size: 14px; }
.nav-links a { color: var(--text-muted); transition: all 0.15s ease; font-weight: 500; padding: 8px 14px; border-radius: var(--r-sm); }
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-links a.active { color: var(--text); }
.nav-cta { display: flex; gap: 8px; align-items: center; }
.nav-toggle { display: none; padding: 8px; color: var(--text); border-radius: var(--r-sm); }
.nav-toggle:hover { background: rgba(255,255,255,0.05); }

@media (max-width: 900px) {
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: rgba(10, 6, 18, 0.98); backdrop-filter: blur(24px); border-bottom: 1px solid var(--border); padding: 8px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 16px; border-radius: var(--r); }
  .nav-toggle { display: flex; }
  .nav-cta .btn-ghost { display: none; }
}

/* ─── HERO ─── */
.hero { padding: 96px 0 120px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } .hero { padding: 64px 0 80px; } }
.hero h1 { margin-top: 20px; }
.hero h1 em {
  font-style: normal; font-weight: 700;
  background: var(--grad-2);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero .lead { margin-top: 24px; font-size: 20px; }
.hero-actions { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.hero-note { display: flex; gap: 20px; margin-top: 28px; color: var(--text-dim); font-size: 13px; align-items: center; flex-wrap: wrap; }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note svg { width: 14px; height: 14px; color: var(--emerald); }

/* ─── CODE PANEL ─── */
.code-panel {
  background: rgba(23, 14, 43, 0.85);
  border: 1px solid var(--border-2);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  backdrop-filter: blur(20px);
}
.code-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.code-dots { display: flex; gap: 6px; }
.code-dots span { width: 10px; height: 10px; border-radius: 50%; }
.code-dots span:nth-child(1) { background: #FF5F57; }
.code-dots span:nth-child(2) { background: #FFBD2E; }
.code-dots span:nth-child(3) { background: #28C840; }
.code-lang { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); font-weight: 600; letter-spacing: 0.05em; }
.code-body { padding: 20px 20px; font-family: var(--font-mono); font-size: 13px; line-height: 1.7; overflow-x: auto; color: var(--text); }
.code-body .c-kw  { color: #F472B6; }
.code-body .c-str { color: #86EFAC; }
.code-body .c-fn  { color: #FBBF24; }
.code-body .c-com { color: var(--text-dim); font-style: italic; }
.code-body .c-var { color: #C084FC; }
.code-body .c-num { color: #FB923C; }
.code-line { display: block; }
.code-line::before { content: attr(data-n); display: inline-block; width: 24px; color: var(--text-dim); padding-right: 12px; font-size: 11px; text-align: right; user-select: none; opacity: 0.5; }
.response-badge {
  margin-top: 12px; display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.3);
  border-radius: 999px;
  font-family: var(--font-mono); font-size: 11px; color: var(--emerald);
  font-weight: 600;
}
.response-badge::before { content: ""; width: 6px; height: 6px; background: var(--emerald); border-radius: 50%; box-shadow: 0 0 8px var(--emerald); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ─── COMPLIANCE BADGES ─── */
.compliance-badges { display: flex; gap: 8px; margin-top: 28px; flex-wrap: wrap; }
.compliance-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-sm);
  font-size: 11px; font-weight: 600; color: var(--text-muted);
  letter-spacing: 0.02em;
}
.compliance-badge svg { color: var(--accent-2); width: 12px; height: 12px; }

/* ─── TRUST BAR ─── */
.trust { padding: 48px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-label { text-align: center; font-family: var(--font-sans); font-size: 12px; letter-spacing: 0.08em; color: var(--text-dim); margin-bottom: 32px; font-weight: 600; text-transform: uppercase; }
.trust-logos { display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; gap: 48px; }
.trust-logo { font-family: var(--font-sans); font-size: 18px; font-weight: 700; color: var(--text-muted); letter-spacing: -0.02em; opacity: 0.6; transition: all 0.2s ease; }
.trust-logo:hover { color: var(--text); opacity: 1; }

/* ─── RATINGS ─── */
.ratings-row { padding: 40px 0; border-bottom: 1px solid var(--border); }
.ratings-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
@media (max-width: 700px) { .ratings-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; } }
.rating-item { padding: 0 12px; }
.rating-item:not(:first-child) { border-left: 1px solid var(--border); }
@media (max-width: 700px) { .rating-item { border-left: none !important; } }
.rating-num { font-size: 32px; font-weight: 700; color: var(--text); letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.rating-star { color: var(--accent-2); font-size: 20px; margin-left: 4px; }
.rating-label { font-size: 11px; color: var(--text-muted); margin-top: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; }

/* ─── FEATURES ─── */
.features-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.features-head .eyebrow { margin-bottom: 20px; }
.features-head .lead { margin: 20px auto 0; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .features-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: rgba(23, 14, 43, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(20px);
  position: relative;
}
.feature-card:hover {
  background: rgba(23, 14, 43, 0.7);
  border-color: var(--border-2);
  transform: translateY(-2px);
}
.feature-icon {
  width: 44px; height: 44px; border-radius: var(--r);
  background: rgba(236, 72, 153, 0.12);
  color: var(--accent-2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  border: 1px solid var(--border-2);
}
.feature-card h3 { margin-bottom: 10px; font-size: 20px; font-weight: 600; }
.feature-card p { color: var(--text-muted); font-size: 14px; line-height: 1.6; }
.feature-card ul { list-style: none; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; }
.feature-card li { font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
.feature-card li::before { content: "✓"; color: var(--accent-2); font-weight: 700; font-size: 13px; }

/* ─── STEPS ─── */
.steps-head { max-width: 600px; margin-bottom: 56px; }
.steps-head .eyebrow { margin-bottom: 20px; }
.steps-head .lead { margin-top: 20px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .steps { grid-template-columns: 1fr; } }
.step-num { font-family: var(--font-mono); font-size: 11px; color: var(--accent-2); letter-spacing: 0.06em; margin-bottom: 12px; font-weight: 600; }
.step h3 { font-size: 17px; margin-bottom: 8px; font-weight: 600; }
.step p { color: var(--text-muted); font-size: 13px; line-height: 1.6; }

/* ─── STATS ─── */
.stats { padding: 72px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: linear-gradient(180deg, transparent, rgba(23,14,43,0.3)); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
@media (max-width: 700px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; } }
.stat-num { font-size: 44px; font-weight: 700; color: var(--text); letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-num .plus { color: var(--accent-2); }
.stat-label { margin-top: 10px; font-size: 13px; color: var(--text-muted); font-weight: 500; }

/* ─── PRICING ─── */
.pricing-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.pricing-head .eyebrow { margin-bottom: 20px; }
.pricing-head .lead { margin: 20px auto 0; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } }
.plan {
  background: rgba(23, 14, 43, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex; flex-direction: column;
  position: relative;
  backdrop-filter: blur(20px);
  transition: all 0.25s ease;
}
.plan:hover { transform: translateY(-2px); border-color: var(--border-2); }
.plan.featured {
  background: linear-gradient(180deg, rgba(236, 72, 153, 0.08), rgba(168, 85, 247, 0.03));
  border-color: var(--border-strong);
  box-shadow: 0 24px 60px -20px rgba(236, 72, 153, 0.3);
}
.plan-badge {
  position: absolute; top: -12px; left: 24px;
  background: var(--grad-1); color: #fff;
  padding: 5px 12px; font-size: 11px; font-weight: 700;
  letter-spacing: 0.03em; border-radius: 999px;
  box-shadow: 0 6px 20px -4px rgba(236,72,153,0.5);
}
.plan-name { font-size: 16px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.plan-tagline { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; min-height: 40px; line-height: 1.5; }
.plan-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 24px; }
.plan-price .num { font-size: 44px; font-weight: 700; color: var(--text); letter-spacing: -0.04em; line-height: 1; }
.plan-price .per { color: var(--text-muted); font-size: 14px; }
.plan .btn { width: 100%; justify-content: center; margin-bottom: 24px; }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 13px; color: var(--text-muted); padding-top: 20px; border-top: 1px solid var(--border); }
.plan li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.plan li::before { content: "✓"; color: var(--accent-2); font-weight: 700; flex-shrink: 0; }
.plan li.dim { color: var(--text-dim); }
.plan li.dim::before { content: "—"; color: var(--text-dim); }

/* ─── TESTIMONIALS ─── */
.testimonials { padding: 120px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: linear-gradient(180deg, transparent, rgba(23,14,43,0.2)); }
.testimonials-head { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.testimonials-head .eyebrow { margin-bottom: 20px; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }
.quote {
  background: rgba(23, 14, 43, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  backdrop-filter: blur(20px);
}
.quote-mark { font-size: 40px; line-height: 0.5; color: var(--accent-2); margin-bottom: 12px; font-weight: 700; }
.quote p { font-family: var(--font-sans); font-size: 16px; line-height: 1.6; color: var(--text-2); margin-bottom: 24px; font-weight: 400; }
.quote-author { display: flex; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid var(--border); }
.quote-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--grad-1);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 14px;
}
.quote-name { font-size: 14px; font-weight: 600; color: var(--text); }
.quote-role { font-size: 12px; color: var(--text-muted); }

/* ─── CTA FINAL ─── */
.cta-final { padding: 120px 0; text-align: center; }
.cta-final .cta-box {
  position: relative;
  background: linear-gradient(180deg, rgba(236, 72, 153, 0.10), rgba(168, 85, 247, 0.06));
  border: 1px solid var(--border-2);
  border-radius: var(--r-2xl);
  padding: 72px 40px;
  overflow: hidden;
}
.cta-final .cta-box::before {
  content: ""; position: absolute; top: -50%; left: 50%; transform: translateX(-50%);
  width: 700px; height: 700px;
  background: var(--grad-orb);
  border-radius: 50%; opacity: 0.4; z-index: 0;
  pointer-events: none;
}
.cta-final .cta-box > * { position: relative; z-index: 1; }
.cta-final .eyebrow { margin-bottom: 20px; }
.cta-final h2 { max-width: 640px; margin: 0 auto 20px; }
.cta-final .lead { margin: 0 auto 32px; text-align: center; }
.cta-final .hero-actions { justify-content: center; }
@media (max-width: 640px) { .cta-final .cta-box { padding: 48px 24px; } }

/* ─── FOOTER ─── */
footer { padding: 80px 0 40px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 48px; margin-bottom: 56px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { color: var(--text-muted); font-size: 13px; margin-top: 16px; max-width: 280px; line-height: 1.6; }
.footer-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 18px; font-weight: 600; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14px; color: var(--text-muted); transition: color 0.15s ease; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { padding-top: 32px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; color: var(--text-dim); font-size: 13px; }
.footer-legal { display: flex; gap: 20px; align-items: center; }
.status-dot { display: inline-flex; align-items: center; gap: 8px; color: var(--text-muted); }
.status-dot::before { content: ""; width: 8px; height: 8px; background: var(--emerald); border-radius: 50%; box-shadow: 0 0 12px var(--emerald); animation: pulse 2s infinite; }

/* ─── FORMS (modern Vercel/Linear style) ─── */
.form-container {
  max-width: 420px; margin: 0 auto;
  background: rgba(23, 14, 43, 0.7);
  border: 1px solid var(--border-2);
  border-radius: var(--r-lg);
  padding: 40px;
  backdrop-filter: blur(24px);
  box-shadow: var(--shadow-lg);
}
@media (max-width: 500px) { .form-container { padding: 32px 24px; } }
.form-header { text-align: center; margin-bottom: 32px; }
.form-header h1 { font-size: 28px; margin-bottom: 8px; font-weight: 700; letter-spacing: -0.03em; }
.form-header p { color: var(--text-muted); font-size: 14px; line-height: 1.5; }

.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 13px; font-weight: 500; color: var(--text); margin-bottom: 8px; }
.form-label .required { color: var(--accent-2); margin-left: 3px; }

.form-input, .form-textarea, .form-select {
  width: 100%; padding: 11px 14px;
  background: rgba(10, 6, 18, 0.6);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-sm);
  font-size: 14px;
  font-family: var(--font-sans);
  transition: all 0.15s ease;
}
.form-input:hover, .form-textarea:hover, .form-select:hover { border-color: rgba(255,255,255,0.15); }
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(10, 6, 18, 0.9);
  box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.15);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-dim); }
.form-textarea { min-height: 100px; resize: vertical; }
.form-hint { font-size: 12px; color: var(--text-dim); margin-top: 6px; line-height: 1.4; }
.form-error { font-size: 12px; color: #F87171; margin-top: 6px; display: none; }
.form-group.has-error .form-input { border-color: #F87171; }
.form-group.has-error .form-error { display: block; }

.form-check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 20px; }
.form-check input[type="checkbox"] { margin-top: 3px; accent-color: var(--accent); width: 14px; height: 14px; cursor: pointer; }
.form-check label { font-size: 13px; color: var(--text-muted); line-height: 1.5; cursor: pointer; }
.form-check label a { color: var(--accent-2); }

.form-divider { display: flex; align-items: center; gap: 12px; margin: 24px 0; color: var(--text-dim); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 500; }
.form-divider::before, .form-divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.form-footer { text-align: center; margin-top: 24px; color: var(--text-muted); font-size: 14px; }
.form-footer a { color: var(--accent-2); font-weight: 500; }

/* ─── ALERTS ─── */
.alert { padding: 12px 16px; border-radius: var(--r); font-size: 13px; margin-bottom: 20px; display: flex; align-items: flex-start; gap: 10px; border: 1px solid transparent; line-height: 1.5; }
.alert-success { background: rgba(52, 211, 153, 0.1); border-color: rgba(52, 211, 153, 0.3); color: var(--emerald); }
.alert-error { background: rgba(248, 113, 113, 0.1); border-color: rgba(248, 113, 113, 0.3); color: #F87171; }
.alert-info { background: rgba(192, 132, 252, 0.1); border-color: rgba(192, 132, 252, 0.3); color: var(--violet-2); }
.alert-warning { background: rgba(251, 191, 36, 0.1); border-color: rgba(251, 191, 36, 0.3); color: var(--gold); }

/* ─── AUTH PAGE ─── */
.auth-page { min-height: 100vh; display: flex; flex-direction: column; }
.auth-body { flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.auth-shell { width: 100%; max-width: 420px; }

/* ─── LEGAL PAGE ─── */
.legal-page { padding: 64px 0 100px; }
.legal-header { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.legal-header h1 { font-size: clamp(32px, 4vw, 44px); margin-bottom: 12px; }
.legal-header .meta { color: var(--text-muted); font-size: 13px; }
.legal-body { max-width: 720px; margin: 0 auto; }
.legal-body h2 { font-size: 22px; margin-top: 48px; margin-bottom: 16px; padding-top: 24px; border-top: 1px solid var(--border); font-weight: 600; }
.legal-body h2:first-child { padding-top: 0; border-top: none; margin-top: 0; }
.legal-body h3 { font-size: 17px; margin-top: 28px; margin-bottom: 12px; font-weight: 600; }
.legal-body p { color: var(--text-2); margin-bottom: 16px; line-height: 1.7; font-size: 15px; }
.legal-body ul, .legal-body ol { padding-left: 24px; margin-bottom: 16px; color: var(--text-2); }
.legal-body li { margin-bottom: 8px; line-height: 1.7; font-size: 15px; }
.legal-body strong { color: var(--text); font-weight: 600; }
.legal-body a { color: var(--accent-2); }
.legal-body a:hover { text-decoration: underline; }
.legal-toc {
  background: rgba(23, 14, 43, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--r); padding: 24px; margin-bottom: 40px;
  backdrop-filter: blur(20px);
}
.legal-toc h4 { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 12px; font-weight: 600; }
.legal-toc ol { padding-left: 20px; margin: 0; }
.legal-toc li { font-size: 13px; margin-bottom: 6px; }
.legal-toc a { color: var(--text-muted); }
.legal-toc a:hover { color: var(--accent-2); }

/* ─── UTILITY ─── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 640px) { .grid-2 { grid-template-columns: 1fr; } }
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }

/* ─── PAGE HEADER ─── */
.page-header { padding: 80px 0 48px; text-align: center; }
.page-header .eyebrow { margin-bottom: 20px; }
.page-header h1 { max-width: 720px; margin: 0 auto 16px; }
.page-header .lead { margin: 0 auto; text-align: center; }

/* ─── STATUS PILL ─── */
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; font-family: var(--font-sans); }
.status-pill.operational { background: rgba(52, 211, 153, 0.12); color: var(--emerald); border: 1px solid rgba(52, 211, 153, 0.3); }
.status-pill.warning { background: rgba(251, 191, 36, 0.12); color: var(--gold); border: 1px solid rgba(251, 191, 36, 0.3); }
.status-pill.critical { background: rgba(248, 113, 113, 0.12); color: #F87171; border: 1px solid rgba(248, 113, 113, 0.3); }

/* ─── ACCESSIBILITY ─── */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

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