:root {
  --bg: #0a0a0f;
  --bg-elevated: #12121a;
  --bg-card: #16161f;
  --fg: #e8e8ed;
  --fg-muted: #8888a0;
  --fg-dim: #55556a;
  --accent: #6ee7b7;
  --accent-glow: rgba(110, 231, 183, 0.15);
  --accent-secondary: #818cf8;
  --border: rgba(255,255,255,0.06);
  --radius: 16px;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

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

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

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 48px 80px;
  overflow: hidden;
}

.hero-grid {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid rgba(110, 231, 183, 0.2);
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 36px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 6.5vw, 80px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 28px;
  color: #fff;
}

.lede {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
  color: var(--fg-muted);
  max-width: 600px;
}

/* Ambient orbs */
.hero-ambient {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
}

.orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  top: -100px; right: -100px;
  opacity: 0.2;
}

.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--accent-secondary) 0%, transparent 70%);
  bottom: 0; left: 20%;
  opacity: 0.12;
}

.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #f472b6 0%, transparent 70%);
  top: 40%; right: 15%;
  opacity: 0.1;
}

/* === STATS === */
.stats {
  padding: 0 48px 100px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  max-width: 1100px;
  margin: 0 auto;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.stat-card {
  background: var(--bg-elevated);
  padding: 48px 32px;
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -1px;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
}

/* === FEATURES === */
.features {
  padding: 100px 48px;
  max-width: 1100px;
  margin: 0 auto;
}

.features-header {
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent-secondary);
  margin-bottom: 20px;
}

.features-header h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: #fff;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.feature-card {
  background: var(--bg-card);
  padding: 48px 40px;
  transition: background 0.3s ease;
}

.feature-card:hover {
  background: var(--bg-elevated);
}

.feature-large {
  grid-column: 1 / -1;
}

.feature-icon {
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--accent);
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 14px;
  color: #fff;
}

.feature-card p {
  color: var(--fg-muted);
  line-height: 1.7;
  font-size: 15px;
  max-width: 500px;
}

/* === LANGUAGES TICKER === */
.languages {
  padding: 60px 0;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.languages-inner {
  width: 100%;
  overflow: hidden;
}

.lang-track {
  display: flex;
  align-items: center;
  gap: 24px;
  white-space: nowrap;
  animation: scroll-languages 30s linear infinite;
}

.lang-word {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 500;
  color: var(--fg-dim);
  flex-shrink: 0;
  transition: color 0.3s;
}

.lang-word:hover {
  color: var(--accent);
}

.lang-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fg-dim);
  flex-shrink: 0;
}

@keyframes scroll-languages {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* === CLOSING === */
.closing {
  padding: 140px 48px;
  text-align: center;
}

.closing-inner {
  max-width: 750px;
  margin: 0 auto;
}

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -1.5px;
  color: #fff;
  margin-bottom: 28px;
}

.closing-text {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.closing-small {
  font-size: 15px;
  color: var(--fg-dim);
  font-style: italic;
}

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

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}

.footer-sub {
  font-size: 14px;
  color: var(--fg-dim);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero {
    padding: 100px 24px 60px;
    min-height: auto;
  }

  .stats { padding: 0 24px 60px; }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .features {
    padding: 60px 24px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 36px 28px;
  }

  .closing {
    padding: 80px 24px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .lang-word {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    letter-spacing: -1px;
  }

  .stat-card {
    padding: 32px 16px;
  }
}