:root {
  --bg: #0a0a0f;
  --bg-elevated: #12121a;
  --bg-card: #1a1a26;
  --fg: #e8e8ed;
  --fg-muted: #8888a0;
  --accent: #00e5a0;
  --accent-dim: rgba(0, 229, 160, 0.12);
  --accent-glow: rgba(0, 229, 160, 0.25);
  --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.65;
  overflow-x: hidden;
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -20%;
  width: 80%;
  height: 80%;
  background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 70%);
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -15%;
  width: 60%;
  height: 60%;
  background: radial-gradient(ellipse at center, rgba(88, 80, 236, 0.15) 0%, transparent 70%);
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid rgba(0, 229, 160, 0.2);
  margin-bottom: 32px;
}

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

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

.hero .lede {
  font-size: clamp(18px, 2.5vw, 22px);
  color: var(--fg-muted);
  max-width: 600px;
  line-height: 1.6;
}

/* ---- FEATURES ---- */
.features {
  padding: 100px 24px;
  position: relative;
}

.features-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.features-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.features h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 64px;
  max-width: 650px;
  line-height: 1.15;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.feature-card:hover {
  border-color: rgba(0, 229, 160, 0.2);
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
}

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

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

/* ---- STACK ---- */
.stack {
  padding: 80px 24px 100px;
  position: relative;
}

.stack-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.stack-text .stack-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.stack-text h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.stack-text p {
  color: var(--fg-muted);
  font-size: 16px;
  line-height: 1.65;
}

.stack-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
}

.metric-card .metric-value {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  display: block;
  margin-bottom: 6px;
}

.metric-card .metric-label {
  font-size: 13px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* ---- CLOSING ---- */
.closing {
  padding: 100px 24px;
  text-align: center;
  position: relative;
}

.closing::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50%;
  height: 50%;
  background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 70%);
  filter: blur(120px);
  pointer-events: none;
}

.closing-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.1;
}

.closing p {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ---- NAV ---- */
.topnav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 24px;
  display: flex; align-items: center;
  background: linear-gradient(to bottom, rgba(10,10,15,0.95) 0%, rgba(10,10,15,0) 100%);
  backdrop-filter: blur(0px);
}
.topnav-inner {
  max-width: 1100px; margin: 0 auto; width: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.topnav-logo {
  font-family: var(--font-display); font-size: 18px; font-weight: 700;
  color: #fff; text-decoration: none; letter-spacing: -0.02em;
}
.topnav-logo span { color: var(--accent); }
.topnav-cta {
  font-family: var(--font-display); font-size: 13px; font-weight: 600;
  color: var(--fg-muted); text-decoration: none;
  transition: color 0.2s;
}
.topnav-cta:hover { color: var(--accent); }

/* ---- HERO BUTTON ---- */
.hero-btn {
  display: inline-flex; align-items: center;
  margin-top: 40px;
  background: var(--accent); color: #0a0a0f;
  font-family: var(--font-display); font-size: 15px; font-weight: 700;
  padding: 14px 28px; border-radius: 12px;
  text-decoration: none; letter-spacing: -0.01em;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 0 40px var(--accent-glow);
}
.hero-btn:hover { opacity: 0.88; transform: translateY(-2px); }

/* ---- FOOTER ---- */
.footer {
  padding: 40px 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer p {
  font-size: 14px;
  color: var(--fg-muted);
  font-family: var(--font-display);
}

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

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .hero { padding: 80px 20px 60px; min-height: 85vh; }
  .features { padding: 60px 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .stack { padding: 60px 20px; }
  .stack-inner { grid-template-columns: 1fr; gap: 32px; }
  .stack-metrics { order: -1; }
  .closing { padding: 60px 20px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 36px; }
  .feature-card { padding: 28px 24px; }
  .metric-card { padding: 20px 16px; }
  .metric-card .metric-value { font-size: 26px; }
}