:root {
  --bg: #0a0a0f;
  --bg-elevated: #12121a;
  --bg-card: #16161f;
  --fg: #e8e8ed;
  --fg-muted: #8888a0;
  --fg-dim: #555570;
  --accent: #6C5CE7;
  --accent-light: #a29bfe;
  --accent-glow: rgba(108, 92, 231, 0.15);
  --green: #00b894;
  --yellow: #fdcb6e;
  --red: #ff6b6b;
  --border: rgba(255,255,255,0.06);
  --border-accent: rgba(108, 92, 231, 0.3);
  --radius: 12px;
  --radius-sm: 8px;
  --font: 'Space Grotesk', sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --body: 'Inter', sans-serif;
}

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

html { scroll-behavior: smooth; }

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

/* === NAV === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.nav-name {
  font-family: var(--font);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 8px;
}

.nav-tag {
  font-family: var(--mono);
  font-size: 12px;
  padding: 4px 12px;
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  border-radius: 20px;
  color: var(--accent-light);
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 32px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent-light);
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  padding: 6px 16px;
  border-radius: 24px;
  margin-bottom: 32px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  font-family: var(--font);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 17px;
  color: var(--fg-muted);
  max-width: 480px;
  line-height: 1.7;
}

.hero-sub strong {
  color: var(--fg);
  font-weight: 500;
}

/* Code Window */
.hero-visual {
  position: relative;
}

.code-window {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 80px var(--accent-glow);
}

.code-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--border);
}

.code-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.red { background: var(--red); }
.dot.yellow { background: var(--yellow); }
.dot.green { background: var(--green); }

.code-title {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--fg-dim);
}

.code-body {
  padding: 24px;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.8;
}

.code-keyword { color: var(--accent-light); }
.code-var { color: var(--fg); }
.code-prop { color: var(--green); }
.code-string { color: var(--yellow); }
.code-number { color: var(--red); }

/* Floating Stats */
.floating-stat {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--mono);
  font-size: 13px;
  color: var(--fg);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.stat-1 {
  top: -20px;
  right: -10px;
  animation: float 4s ease-in-out infinite;
}

.stat-2 {
  bottom: -20px;
  left: -10px;
  animation: float 4s ease-in-out infinite 1s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-glow {
  position: absolute;
  top: 20%;
  right: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* === PROOF BAR === */
.proof {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 32px;
}

.proof-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.proof-number {
  font-family: var(--font);
  font-size: 32px;
  font-weight: 700;
  color: var(--accent-light);
}

.proof-label {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.4;
}

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

/* === FEATURES === */
.features {
  padding: 120px 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.features-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-tag {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 16px;
}

.features-header h2 {
  font-family: var(--font);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.features-sub {
  color: var(--fg-muted);
  font-size: 17px;
  margin-top: 16px;
}

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

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

.feature-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
}

.feature-icon-wrap {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
}

.feature-nextjs .feature-icon-wrap {
  background: rgba(255,255,255,0.05);
  color: var(--fg);
}

.feature-wordpress .feature-icon-wrap {
  background: rgba(0, 184, 148, 0.1);
  color: var(--green);
}

.feature-analytics .feature-icon-wrap {
  background: var(--accent-glow);
  color: var(--accent-light);
}

.feature-card h3 {
  font-family: var(--font);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

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

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.feature-tags span {
  font-family: var(--mono);
  font-size: 11px;
  padding: 3px 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 16px;
  color: var(--fg-dim);
}

/* === HOW IT WORKS === */
.how {
  padding: 120px 32px;
  max-width: 900px;
  margin: 0 auto;
}

.how-header {
  text-align: center;
  margin-bottom: 72px;
}

.how-header h2 {
  font-family: var(--font);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.how-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.how-step {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.step-number {
  font-family: var(--font);
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.4;
  line-height: 1;
  min-width: 64px;
}

.step-content h3 {
  font-family: var(--font);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

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

.step-connector {
  width: 2px;
  height: 32px;
  background: linear-gradient(to bottom, var(--border-accent), transparent);
  margin-left: 62px;
}

/* === CLOSING === */
.closing {
  padding: 160px 32px;
  position: relative;
  overflow: hidden;
}

.closing-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.closing h2 {
  font-family: var(--font);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.closing-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.closing-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
  pointer-events: none;
}

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

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 16px;
}

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

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero {
    min-height: auto;
    padding: 120px 20px 60px;
  }

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

  .proof-inner {
    flex-wrap: wrap;
    gap: 32px;
  }

  .proof-divider {
    display: none;
  }

  .proof-inner {
    justify-content: space-around;
  }

  .how-step {
    flex-direction: column;
    gap: 16px;
  }

  .step-connector {
    margin-left: 32px;
  }

  .floating-stat {
    display: none;
  }

  .nav-links {
    display: none;
  }

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

  .closing {
    padding: 100px 20px;
  }

  .features, .how {
    padding: 80px 20px;
  }
}

@media (max-width: 480px) {
  .proof-item {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .proof-label br {
    display: none;
  }
}