:root {
  --bg: #0d0d12;
  --fg: #e8e8f0;
  --fg-muted: rgba(232,232,240,0.5);
  --accent: #00d4ff;
  --accent-dim: rgba(0,212,255,0.12);
  --accent-glow: rgba(0,212,255,0.2);
  --surface: rgba(255,255,255,0.03);
  --border: rgba(255,255,255,0.07);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0 clamp(1.5rem, 5vw, 6rem);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

#neuralCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.6;
}

.hero-glow {
  position: absolute;
  top: 20%;
  left: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(0,212,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: clamp(5rem, 12vh, 8rem) 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(0,212,255,0.25);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  margin-bottom: 2rem;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: var(--fg);
}

.accent { color: var(--accent); }

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--fg-muted);
  max-width: 560px;
  margin-bottom: 3rem;
  font-weight: 300;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
}

.stat {
  display: flex;
  flex-direction: column;
  padding: 0 2rem;
}

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

.stat-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

/* HOW IT WORKS */
.howitworks {
  padding: clamp(4rem, 10vh, 7rem) clamp(1.5rem, 5vw, 6rem);
  border-top: 1px solid var(--border);
}

.section-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 3rem;
}

.steps {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.step {
  flex: 1 1 240px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
}

.step-number {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--fg);
}

.step p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

.step-arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

/* FEATURES */
.features {
  padding: clamp(4rem, 10vh, 7rem) clamp(1.5rem, 5vw, 6rem);
  border-top: 1px solid var(--border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5px;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.feature-card {
  background: var(--surface);
  padding: 2.5rem;
  border: 1px solid var(--border);
  transition: background 0.2s;
}

.feature-card:hover { background: rgba(0,212,255,0.04); }

.feature-icon {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  background: var(--accent-dim);
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* WHY */
.why {
  padding: clamp(4rem, 10vh, 7rem) clamp(1.5rem, 5vw, 6rem);
  border-top: 1px solid var(--border);
}

.why-content {
  max-width: 680px;
}

.why-body {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.why-bars {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.why-bar {}

.why-bar-label {
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.why-bar-track {
  height: 6px;
  background: var(--surface);
  border-radius: 100px;
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 0.4rem;
}

.why-bar-fill {
  height: 100%;
  background: rgba(232,232,240,0.2);
  border-radius: 100px;
  transition: width 1s ease;
}

.accent-fill { background: var(--accent); }

.why-bar-val {
  font-size: 0.75rem;
  color: var(--fg-muted);
}

/* CLOSING */
.closing {
  padding: clamp(6rem, 15vh, 10rem) clamp(1.5rem, 5vw, 6rem);
  border-top: 1px solid var(--border);
  text-align: center;
}

.closing-inner {}

.closing-tagline {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: var(--fg);
}

.closing-sub {
  font-size: 1rem;
  color: var(--fg-muted);
  letter-spacing: 0.05em;
}

/* FOOTER */
.site-footer {
  padding: 2rem clamp(1.5rem, 5vw, 6rem);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--fg);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

/* RESPONSIVE */
@media (max-width: 640px) {
  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  .stat-divider { display: none; }
  .steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }
  .site-footer { flex-direction: column; align-items: flex-start; }
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0,212,255,0.3); }

/* Selection color */
::selection { background: rgba(0,212,255,0.2); color: var(--fg); }

/* Focus styles */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
