:root {
  --bg: #0a0a0f;
  --bg-raised: #12121a;
  --fg: #e8e8ed;
  --fg-muted: #8a8a9a;
  --accent: #00e676;
  --accent-dim: rgba(0, 230, 118, 0.12);
  --border: rgba(255, 255, 255, 0.06);
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

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

/* Hero */
.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 2rem 4rem;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 2rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero h1 .strike {
  text-decoration: line-through;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 3px;
}

.lede {
  font-size: 1.2rem;
  color: var(--fg-muted);
  max-width: 560px;
  line-height: 1.7;
}

.hero-visual {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 300px;
  height: 400px;
  opacity: 0.4;
}

.flow-lines {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.flow-line {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  border-radius: 2px;
  animation: flowPulse 3s ease-in-out infinite;
  animation-delay: var(--delay);
  opacity: 0.6;
}

@keyframes flowPulse {
  0%, 100% { transform: scaleX(0.3); opacity: 0.2; }
  50% { transform: scaleX(1); opacity: 0.8; }
}

/* Problem */
.problem {
  padding: 6rem 2rem;
  border-top: 1px solid var(--border);
}

.problem-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.problem h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  margin-bottom: 3rem;
  letter-spacing: -0.02em;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.problem-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
}

.problem-icon {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

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

/* Features */
.features {
  padding: 6rem 2rem;
  border-top: 1px solid var(--border);
}

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

.features-header {
  margin-bottom: 4rem;
}

.features-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.features-header p {
  color: var(--fg-muted);
  font-size: 1.1rem;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.feature-item {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-raised);
  transition: border-color 0.3s;
}

.feature-item:hover {
  border-color: rgba(0, 230, 118, 0.3);
}

.feature-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  min-width: 3rem;
  opacity: 0.7;
}

.feature-content h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

/* Niches */
.niches {
  padding: 6rem 2rem;
  border-top: 1px solid var(--border);
}

.niches-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.niches h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 2.5rem;
}

.niche-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.niche-tag {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.6rem 1.2rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--fg-muted);
  transition: all 0.3s;
}

.niche-tag.active {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent);
}

.niche-example {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
}

.niche-example-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.example-context {
  font-size: 0.9rem;
  color: var(--fg-muted);
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  font-style: italic;
}

.example-output {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--fg);
}

/* Closing */
.closing {
  padding: 8rem 2rem;
  text-align: center;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg) 0%, rgba(0, 230, 118, 0.03) 100%);
}

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

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

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

/* Footer */
.site-footer {
  padding: 3rem 2rem;
  border-top: 1px solid var(--border);
}

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

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
}

.footer-meta {
  font-size: 0.85rem;
  color: var(--fg-muted);
}

/* Mobile */
@media (max-width: 768px) {
  .hero {
    min-height: 70vh;
    padding: 4rem 1.5rem 3rem;
  }

  .hero-visual {
    display: none;
  }

  .problem, .features, .niches, .closing {
    padding: 4rem 1.5rem;
  }

  .feature-item {
    flex-direction: column;
    gap: 1rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .niche-tags {
    justify-content: center;
  }
}