:root {
  --bg: #0A0F1C;
  --surface: #111827;
  --border: #1f2937;
  --fg: #f9fafb;
  --fg-muted: #9ca3af;
  --accent: #00E5A0;
  --accent-dim: rgba(0, 229, 160, 0.08);
  --font-head: '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: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Nav */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 2rem;
  border-bottom: 1px solid var(--border);
  background: rgba(10, 15, 28, 0.85);
  backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--fg);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}
.nav-tag {
  font-size: 0.72rem;
  color: var(--fg-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7rem 2rem 5rem;
  overflow: hidden;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 160, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 160, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black, transparent);
}
.hero-content {
  position: relative;
  max-width: 820px;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-dim);
  border: 1px solid rgba(0, 229, 160, 0.2);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 2.5rem;
  letter-spacing: 0.01em;
}
.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}
.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: var(--fg);
}
.hero-headline em {
  font-style: normal;
  color: var(--accent);
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--fg-muted);
  max-width: 560px;
  margin: 0 auto 3.5rem;
  line-height: 1.7;
}
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Features */
.features {
  padding: 6rem 2rem;
  border-top: 1px solid var(--border);
}
.section-header {
  max-width: 600px;
  margin: 0 auto 4rem;
  text-align: center;
}
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.8rem;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.features-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 2rem 2.5rem;
  transition: border-color 0.2s;
}
.feature-card:hover {
  border-color: rgba(0, 229, 160, 0.3);
}
.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.feature-card h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 0.6rem;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* How it works */
.how-it-works {
  padding: 6rem 2rem;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.how-content {
  max-width: 820px;
  margin: 0 auto;
}
.how-content .section-header {
  text-align: left;
  max-width: none;
  margin-bottom: 2.5rem;
}
.how-desc {
  color: var(--fg-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 3rem;
  max-width: 600px;
}
.how-items {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.how-item {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}
.how-item:last-child { border-bottom: none; }
.how-num {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
  min-width: 2rem;
  padding-top: 0.2rem;
}
.how-item h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.how-item p {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* Closing */
.closing {
  padding: 8rem 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}
.closing-content {
  max-width: 760px;
  margin: 0 auto;
}
.closing-headline {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin-bottom: 1.5rem;
}
.closing-headline span {
  color: var(--accent);
}
.closing-sub {
  color: var(--fg-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.closing-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.78rem;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
}
.tag-sep { color: var(--border); }

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
}
.footer-copy {
  font-size: 0.78rem;
  color: var(--fg-muted);
}

/* Responsive */
@media (max-width: 768px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.2rem; }
  .stat-divider { display: none; }
  .how-item { gap: 1.2rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}