:root {
  --bg-primary: #0B1426;
  --bg-secondary: #0F1B33;
  --bg-card: #132240;
  --text-primary: #F5F5F0;
  --text-secondary: #8899B3;
  --accent: #00E676;
  --accent-dim: rgba(0, 230, 118, 0.15);
  --accent-glow: rgba(0, 230, 118, 0.3);
  --warning: #FF6B35;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
}

/* HERO */
.hero {
  padding: 100px 24px 80px;
  background: linear-gradient(180deg, #0B1426 0%, #0F1B33 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent-dim);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin-bottom: 24px;
  color: var(--text-primary);
}

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

.lede {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  gap: 24px;
  align-items: center;
}

.stat { text-align: left; }

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(136, 153, 179, 0.2);
}

/* Hero Pipeline Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.pipeline-preview {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 320px;
}

.pipeline-node {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid rgba(136, 153, 179, 0.1);
  transition: transform 0.2s;
}

.pipeline-node:hover {
  transform: translateX(6px);
}

.node-incoming {
  border-left: 3px solid var(--warning);
}

.node-active {
  border-left: 3px solid var(--accent);
  background: var(--accent-dim);
}

.node-success {
  border-left: 3px solid var(--accent);
  background: var(--accent-dim);
  box-shadow: 0 0 30px var(--accent-glow);
}

.node-icon {
  font-size: 1.3rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
  border-radius: 8px;
}

.node-text {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
}

.pipeline-arrow {
  width: 2px;
  height: 16px;
  background: linear-gradient(180deg, var(--accent-dim), var(--accent));
  margin-left: 38px;
  border-radius: 2px;
}

/* PROBLEM */
.problem {
  padding: 100px 24px;
  background: var(--bg-secondary);
}

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

.problem h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 48px;
  text-align: center;
}

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

.problem-card {
  background: var(--bg-card);
  border: 1px solid rgba(136, 153, 179, 0.1);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
}

.problem-stat {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--warning);
  margin-bottom: 12px;
}

.problem-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.problem-bottom {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-primary);
  font-weight: 500;
  max-width: 700px;
  margin: 0 auto;
}

/* PIPELINE / FEATURES */
.pipeline-section {
  padding: 100px 24px;
  background: var(--bg-primary);
}

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

.pipeline-section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 12px;
}

.section-sub {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 56px;
}

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

.feature-item {
  padding: 32px 28px;
  border-radius: 14px;
  background: var(--bg-secondary);
  border: 1px solid rgba(136, 153, 179, 0.08);
  position: relative;
  transition: border-color 0.3s;
}

.feature-item:hover {
  border-color: var(--accent-dim);
}

.feature-number {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 1px;
  margin-bottom: 16px;
  opacity: 0.7;
}

.feature-item h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* NICHES */
.niches {
  padding: 100px 24px;
  background: var(--bg-secondary);
}

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

.niches h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 40px;
}

.niches-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 36px;
}

.niche-pill {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: 40px;
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid rgba(0, 230, 118, 0.2);
  transition: background 0.2s, transform 0.2s;
}

.niche-pill:hover {
  background: rgba(0, 230, 118, 0.25);
  transform: translateY(-2px);
}

.niches-insight {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 650px;
  margin: 0 auto;
}

/* MATH */
.math {
  padding: 100px 24px;
  background: var(--bg-primary);
}

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

.math h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 48px;
}

.math-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.math-card {
  background: var(--bg-secondary);
  border: 1px solid rgba(136, 153, 179, 0.1);
  border-radius: 16px;
  padding: 40px 32px;
}

.math-card-highlight {
  border-color: var(--accent);
  box-shadow: 0 0 40px var(--accent-glow);
}

.math-scenario {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.math-card-highlight .math-scenario {
  color: var(--accent);
}

.math-equation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}

.math-clients, .math-price {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
}

.math-times {
  color: var(--text-secondary);
  font-size: 1rem;
}

.math-result {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent);
}

.math-note {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* CLOSING */
.closing {
  padding: 120px 24px;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  text-align: center;
}

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

.closing h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 24px;
  line-height: 1.3;
}

.closing-text {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.75;
}

/* FOOTER */
.site-footer {
  padding: 48px 24px;
  background: var(--bg-primary);
  border-top: 1px solid rgba(136, 153, 179, 0.08);
}

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

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero { padding: 60px 20px 50px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .pipeline-preview { max-width: 100%; }
  .hero-stats { flex-direction: column; gap: 16px; align-items: flex-start; }
  .stat-divider { width: 40px; height: 1px; }
  .problem-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .math-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .problem-stat { font-size: 2.2rem; }
  .math-result { font-size: 1.8rem; }
}