/* ===== DESIGN TOKENS ===== */
:root {
  /* Colors */
  --bg:          #0a0a0f;
  --surface:     #12121a;
  --surface-2:   #1a1a26;
  --surface-3:   #22223a;
  --border:      #1e1e2e;
  --border-glow: rgba(0, 212, 255, 0.18);

  /* Accent */
  --cyan:        #00d4ff;
  --cyan-dim:    rgba(0, 212, 255, 0.10);
  --cyan-glow:   rgba(0, 212, 255, 0.25);
  --violet:      #7c3aed;
  --violet-light:#a78bfa;
  --violet-dim:  rgba(124, 58, 237, 0.12);
  --violet-glow: rgba(167, 139, 250, 0.25);

  /* Text */
  --fg:          #f0f0f8;
  --fg-muted:    #6b6b8a;
  --fg-subtle:   #3a3a50;

  /* Typography */
  --font-display: 'Space Grotesk', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;
  --font-body:    'DM Sans', sans-serif;

  /* Radius */
  --r-sm:  4px;
  --r-md:  8px;
  --r-lg:  12px;
  --r-xl:  16px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }

/* ===== BODY + DOT GRID ===== */
body {
  background-color: var(--bg);
  background-image: radial-gradient(circle, rgba(0,212,255,0.055) 1px, transparent 1px);
  background-size: 26px 26px;
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* ===== GRADIENT TEXT ===== */
.gradient-text {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--violet-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== GLASS UTILITIES ===== */
.glass {
  background: rgba(18, 18, 26, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
}

.glass-hover {
  transition: border-color 0.2s, box-shadow 0.2s;
}
.glass-hover:hover {
  border-color: var(--cyan-glow);
  box-shadow: 0 0 20px var(--cyan-dim), inset 0 0 40px rgba(0,212,255,0.03);
}

/* Cyan accent glow border */
.glow-border-cyan {
  border: 1px solid var(--cyan-glow);
  box-shadow: 0 0 24px var(--cyan-dim);
}

.glow-border-violet {
  border: 1px solid var(--violet-glow);
  box-shadow: 0 0 24px var(--violet-dim);
}

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 60px;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  font-size: 18px;
  color: var(--cyan);
  line-height: 1;
  filter: drop-shadow(0 0 6px var(--cyan));
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--fg);
}

.nav-tagline {
  font-size: 12px;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
}

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

.nav-link {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.15s;
  font-weight: 500;
}

.nav-link:hover { color: var(--fg); }

.nav-link-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--bg);
  background: var(--cyan);
  padding: 7px 18px;
  border-radius: var(--r-sm);
  text-decoration: none;
  transition: opacity 0.15s, box-shadow 0.15s;
  box-shadow: 0 0 14px rgba(0,212,255,0.3);
}

.nav-link-cta:hover {
  opacity: 0.9;
  box-shadow: 0 0 24px rgba(0,212,255,0.5);
}

/* ===== HERO ===== */
.hero {
  padding: 110px 48px 90px;
  max-width: 1200px;
  position: relative;
  overflow: hidden;
}

/* Radial glow accent behind the headline */
.hero::before {
  content: '';
  position: absolute;
  top: -60px;
  left: -80px;
  width: 600px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(0,212,255,0.07) 0%, rgba(124,58,237,0.05) 45%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner { position: relative; z-index: 1; }

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  background: var(--cyan-dim);
  border: 1px solid var(--cyan-glow);
  padding: 5px 14px;
  border-radius: var(--r-sm);
  margin-bottom: 32px;
}

.hero-label::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 6px var(--cyan);
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(52px, 6.5vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--fg);
  margin-bottom: 28px;
  max-width: 740px;
}

.hero-sub {
  font-size: 18px;
  line-height: 1.65;
  color: var(--fg-muted);
  max-width: 540px;
  font-weight: 300;
  margin-bottom: 44px;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cta-note {
  font-size: 13px;
  color: var(--fg-subtle);
  font-style: italic;
  font-family: var(--font-body);
}

/* ===== STATS BAND ===== */
.stats-band {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 48px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  padding: 28px 32px;
}

.stat:first-child { padding-left: 0; }

.stat-number {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 22px;
  color: var(--cyan);
  letter-spacing: -0.02em;
  text-shadow: 0 0 16px rgba(0,212,255,0.45);
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-body);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

/* ===== FEATURES ===== */
.features {
  padding: 100px 48px;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  margin-bottom: 20px;
}

.section-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.5vw, 46px);
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--fg);
  max-width: 580px;
  margin-bottom: 60px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 40px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet-light));
  opacity: 0;
  transition: opacity 0.2s;
}

.feature-card:hover {
  border-color: var(--border-glow);
  box-shadow: 0 0 32px rgba(0,212,255,0.08);
  transform: translateY(-2px);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
  font-size: 22px;
  color: var(--cyan);
  margin-bottom: 20px;
  line-height: 1;
  filter: drop-shadow(0 0 8px rgba(0,212,255,0.5));
}

.feature-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin-bottom: 12px;
}

.feature-body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--fg-muted);
  font-weight: 300;
}

/* ===== CLOSING ===== */
.closing {
  padding: 100px 48px 80px;
  border-top: 1px solid var(--border);
}

.closing-inner {
  max-width: 720px;
}

.closing-rule {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet-light));
  margin-bottom: 44px;
  border-radius: 2px;
}

.closing-statement {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1.3;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 20px;
}

.closing-statement.secondary {
  font-size: clamp(18px, 2vw, 24px);
  color: var(--fg-muted);
  font-weight: 400;
  margin-bottom: 48px;
}

.closing-tagline {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-subtle);
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 24px 48px;
  background: var(--surface);
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--fg);
}

.footer-sep {
  color: var(--fg-subtle);
}

.footer-tagline {
  font-size: 13px;
  color: var(--fg-muted);
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--bg);
  background: var(--cyan);
  padding: 12px 26px;
  border-radius: var(--r-sm);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s, box-shadow 0.15s;
  box-shadow: 0 0 18px rgba(0,212,255,0.25);
  letter-spacing: 0.01em;
}

.btn-primary:hover {
  opacity: 0.9;
  box-shadow: 0 0 28px rgba(0,212,255,0.4);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-muted);
  padding: 12px 22px;
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  transition: border-color 0.15s, color 0.15s;
  background: transparent;
  cursor: pointer;
}

.btn-ghost:hover {
  border-color: var(--cyan-glow);
  color: var(--fg);
}

.btn-block { display: flex; justify-content: center; width: 100%; }
.btn-submit { padding: 14px 32px; font-size: 15px; }

/* ===== FORM ELEMENTS ===== */
.form-error {
  background: rgba(255, 80, 80, 0.08);
  border: 1px solid rgba(255, 80, 80, 0.25);
  color: #ff6b6b;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  font-size: 14px;
  margin-bottom: 28px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.form-group label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--fg-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--cyan-glow);
  box-shadow: 0 0 0 3px rgba(0,212,255,0.08);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.field-hint {
  font-size: 12px;
  color: var(--fg-subtle);
  margin-top: 4px;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}

/* ===== PAGE HEADERS ===== */
.page-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  background: var(--cyan-dim);
  border: 1px solid var(--cyan-glow);
  padding: 5px 12px;
  border-radius: var(--r-sm);
  margin-bottom: 20px;
}

.page-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 48px);
  letter-spacing: -0.035em;
  color: var(--fg);
  margin-bottom: 12px;
  line-height: 1.08;
}

.page-sub {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.6;
  font-weight: 300;
  max-width: 520px;
}

/* ===== SUCCESS / ERROR PAGES ===== */
.success-page, .error-page {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 48px;
}

.success-container, .error-container {
  text-align: center;
  max-width: 480px;
}

.success-icon {
  width: 72px;
  height: 72px;
  background: var(--cyan-dim);
  border: 1px solid var(--cyan-glow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--cyan);
  margin: 0 auto 28px;
  box-shadow: 0 0 24px rgba(0,212,255,0.15);
}

.error-icon {
  width: 72px;
  height: 72px;
  background: rgba(255, 80, 80, 0.08);
  border: 1px solid rgba(255, 80, 80, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #ff6b6b;
  margin: 0 auto 28px;
}

.success-title, .error-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin-bottom: 12px;
}

.success-sub, .error-sub {
  font-size: 16px;
  color: var(--fg-muted);
  margin-bottom: 32px;
  line-height: 1.6;
}

.success-actions, .error-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.success-banner {
  background: var(--cyan-dim);
  border: 1px solid var(--cyan-glow);
  color: var(--cyan);
  padding: 12px 16px;
  border-radius: var(--r-sm);
  font-size: 14px;
  margin-bottom: 24px;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .navbar { padding: 0 24px; }
  .nav-tagline { display: none; }
  .nav-actions { gap: 14px; }
  .nav-link { font-size: 13px; }

  .hero { padding: 56px 24px 48px; }
  .hero-headline { font-size: 40px; }

  .stats-band { flex-direction: column; align-items: flex-start; padding: 24px; }
  .stat { padding: 12px 0; }
  .stat-divider { display: none; }

  .features { padding: 56px 24px; }
  .feature-grid { grid-template-columns: 1fr; gap: 12px; }
  .feature-card { padding: 28px 24px; }

  .closing { padding: 56px 24px 48px; }
  .footer { padding: 20px 24px; }

  .success-page, .error-page { padding: 56px 24px; }
  .form-actions { flex-wrap: wrap; }
}
