:root {
  --bg: #0a0a0f;
  --bg-surface: #12121a;
  --bg-elevated: #1a1a25;
  --fg: #e8e6e1;
  --fg-muted: #9994;
  --fg-dim: #666;
  --accent: #f0c040;
  --accent-dim: #f0c04020;
  --accent-glow: #f0c04040;
  --green: #34d399;
  --green-dim: #34d39920;
  --radius: 12px;
  --radius-sm: 8px;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', -apple-system, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* ====== HERO ====== */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 60px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, var(--accent-glow), transparent 70%);
}

.hero-inner {
  max-width: 720px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 100px;
  margin-bottom: 32px;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700;
  margin-bottom: 24px;
}

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

.hero-sub {
  font-size: 1.15rem;
  color: var(--fg-muted);
  max-width: 560px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

/* Demo animation block */
.hero-demo {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}

.demo-input, .demo-output {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: var(--radius);
  font-family: 'Space Grotesk', monospace;
  font-size: 0.85rem;
}

.demo-input {
  background: var(--bg-surface);
  border: 1px solid #ffffff10;
  color: var(--fg-dim);
}

.demo-icon { font-size: 1.1rem; }
.demo-url { flex: 1; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo-arrow { color: var(--accent); font-size: 1.2rem; }

.demo-output {
  background: var(--green-dim);
  border: 1px solid #34d39930;
  color: var(--green);
}

.demo-live {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  background: var(--green);
  color: var(--bg);
  border-radius: 4px;
}

.demo-result { flex: 1; text-align: left; font-weight: 500; }

/* ====== HOW ====== */
.how {
  padding: 100px 24px;
}

.how-inner {
  max-width: 800px;
  margin: 0 auto;
}

.how h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  text-align: center;
  margin-bottom: 64px;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--bg);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  border-radius: 50%;
}

.step-content h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.step-content p {
  color: var(--fg-muted);
  font-size: 0.95rem;
}

/* ====== FEATURES ====== */
.features {
  padding: 80px 24px;
  background: var(--bg-surface);
}

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

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.feature-card {
  background: var(--bg-elevated);
  border: 1px solid #ffffff08;
  border-radius: var(--radius);
  padding: 32px;
}

.feature-large {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--bg-elevated), #1a1a30);
  border: 1px solid var(--accent-dim);
}

.feature-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

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

/* ====== AI SEARCH ====== */
.ai-search {
  padding: 100px 24px;
}

.ai-search-inner {
  max-width: 700px;
  margin: 0 auto;
}

.ai-search-content {
  text-align: center;
}

.ai-badge {
  display: inline-block;
  padding: 6px 16px;
  background: #6366f120;
  color: #818cf8;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 100px;
  margin-bottom: 24px;
}

.ai-search h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 20px;
}

.ai-lead {
  color: var(--fg-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 40px;
}

.ai-points {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.ai-point {
  padding: 16px 20px;
  background: var(--bg-surface);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  border-left: 3px solid #818cf8;
  color: var(--fg-muted);
}

.ai-point strong {
  color: var(--fg);
}

/* ====== PRICING ====== */
.pricing {
  padding: 80px 24px;
  background: var(--bg-surface);
}

.pricing-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.pricing h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 48px;
}

.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.pricing-card {
  background: var(--bg-elevated);
  border: 1px solid #ffffff08;
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: left;
}

.pricing-pro {
  border-color: var(--accent);
  background: linear-gradient(180deg, #1a1a25 0%, #1a1820 100%);
  position: relative;
}

.pricing-tier {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
  margin-bottom: 16px;
}

.pricing-pro .pricing-tier { color: var(--accent); }

.pricing-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 28px;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--fg-dim);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-features li {
  font-size: 0.9rem;
  color: var(--fg-muted);
  padding-left: 22px;
  position: relative;
}

.pricing-features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* ====== CLOSING ====== */
.closing {
  padding: 120px 24px;
  text-align: center;
  background: radial-gradient(ellipse 80% 50% at 50% 100%, var(--accent-glow), transparent 70%);
}

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

.closing h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: 20px;
  line-height: 1.3;
}

.closing-sub {
  color: var(--fg-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ====== FOOTER ====== */
.site-footer {
  padding: 40px 24px;
  border-top: 1px solid #ffffff08;
  text-align: center;
}

.footer-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 6px;
}

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

/* ====== RESPONSIVE ====== */
@media (max-width: 640px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .feature-large {
    grid-column: auto;
  }
  .pricing-cards {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: auto;
    padding: 60px 20px 40px;
  }
  .demo-url {
    font-size: 0.7rem;
  }
}