/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0B0F1A;
  --bg-alt: #111827;
  --bg-card: #1A1F2E;
  --lime: #CCFF00;
  --lime-dim: rgba(204, 255, 0, 0.12);
  --white: #F0F0F5;
  --slate: #8892A4;
  --border: rgba(255,255,255,0.06);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'Space Mono', monospace;
}

html { font-size: 16px; }

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

/* Noise texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* Lime glow gradient */
body::after {
  content: '';
  position: fixed;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(204,255,0,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* === NAV === */
.nav {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: -0.02em;
}

.nav-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--slate);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* === HERO === */
.hero {
  position: relative;
  z-index: 10;
  padding: 80px 48px 100px;
}

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

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--lime-dim);
  border: 1px solid rgba(204,255,0,0.2);
  border-radius: 100px;
  padding: 6px 14px 6px 10px;
  font-size: 0.78rem;
  color: var(--lime);
  font-family: var(--font-mono);
  margin-bottom: 32px;
  letter-spacing: 0.02em;
}

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

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

.hero-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--slate);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tool-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--lime);
  background: var(--lime-dim);
  border: 1px solid rgba(204,255,0,0.15);
  border-radius: 6px;
  padding: 5px 10px;
  letter-spacing: 0.03em;
}

/* === STATS PANEL === */
.stats-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  position: relative;
}

.stats-header {
  margin-bottom: 20px;
}

.stats-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--slate);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stat-row {
  display: grid;
  grid-template-columns: 160px 1fr 90px;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.stat-row:last-of-type { border-bottom: none; }

.stat-name {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--slate);
  letter-spacing: 0.02em;
}

.stat-bar {
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  overflow: hidden;
}

.stat-fill {
  height: 100%;
  background: var(--lime);
  border-radius: 4px;
  opacity: 0.8;
}

.stat-val {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--white);
  font-weight: 700;
  text-align: right;
}

.stats-footer {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: rgba(136,146,164,0.5);
  margin-top: 16px;
  letter-spacing: 0.02em;
}

/* === TIKTOK CARD === */
.tiktok-card {
  margin-top: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 24px;
}

.tiktok-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--slate);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.tiktok-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tiktok-metric {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.tiktok-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--white);
  letter-spacing: -0.02em;
}

.tiktok-key {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--slate);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* === METRICS === */
.metrics {
  position: relative;
  z-index: 10;
  padding: 48px 48px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(204,255,0,0.03) 0%, transparent 100%);
}

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

.metric-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.metric-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--lime);
  letter-spacing: -0.03em;
}

.metric-sub {
  font-size: 0.78rem;
  color: var(--slate);
  line-height: 1.4;
  max-width: 180px;
}

.metric-divider {
  width: 1px;
  height: 50px;
  background: var(--border);
  flex-shrink: 0;
}

/* === STACK === */
.stack {
  position: relative;
  z-index: 10;
  padding: 100px 48px;
}

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

.section-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 20px;
}

.section-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 60px;
  max-width: 600px;
}

.stack-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: 20px;
  overflow: hidden;
}

.step-card {
  background: var(--bg-card);
  padding: 32px 28px;
  position: relative;
  transition: background 0.2s ease;
}

.step-card:hover { background: #1E2538; }

.step-num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--lime);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  opacity: 0.6;
}

.step-icon {
  margin-bottom: 20px;
}

.step-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.step-card p {
  font-size: 0.85rem;
  color: var(--slate);
  line-height: 1.65;
  margin-bottom: 16px;
}

.step-meta {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(204,255,0,0.5);
  letter-spacing: 0.03em;
}

/* === REVENUE === */
.revenue {
  position: relative;
  z-index: 10;
  padding: 80px 48px 100px;
  background: var(--bg-alt);
}

.revenue-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}

.revenue-desc {
  font-size: 0.95rem;
  color: var(--slate);
  line-height: 1.7;
  margin-top: 20px;
}

.revenue-right {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--border);
  border-radius: 20px;
  overflow: hidden;
}

.rev-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 20px;
  align-items: start;
  background: var(--bg-card);
  padding: 24px 28px;
  transition: background 0.2s ease;
}

.rev-card:hover { background: #1E2538; }

.rev-icon {
  margin-top: 2px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--lime-dim);
  border-radius: 10px;
  flex-shrink: 0;
}

.rev-content h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.rev-content p {
  font-size: 0.82rem;
  color: var(--slate);
  line-height: 1.6;
  margin-bottom: 10px;
}

.rev-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--lime);
  letter-spacing: 0.02em;
  background: var(--lime-dim);
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
}

/* === CLOSING === */
.closing {
  position: relative;
  z-index: 10;
  padding: 100px 48px;
  background: linear-gradient(0deg, rgba(204,255,0,0.04) 0%, transparent 60%);
  text-align: center;
}

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

.closing-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--lime);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.closing-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 28px;
}

.closing-sub p {
  font-size: 1rem;
  color: var(--slate);
  line-height: 1.7;
}

.closing-sub p + p { margin-top: 8px; }

/* === FOOTER === */
.footer {
  position: relative;
  z-index: 10;
  padding: 48px;
  border-top: 1px solid var(--border);
}

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

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 0.82rem;
  color: var(--slate);
  margin-bottom: 24px;
}

.footer-divider {
  width: 40px;
  height: 1px;
  background: var(--border);
  margin: 0 auto 24px;
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: rgba(136,146,164,0.4);
  letter-spacing: 0.03em;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .nav { padding: 16px 24px; }
  .hero { padding: 60px 24px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .metrics { padding: 36px 24px; }
  .metrics-inner { flex-wrap: wrap; }
  .metric-divider { display: none; }
  .metric-block { min-width: 45%; }
  .stack { padding: 60px 24px; }
  .stack-steps { grid-template-columns: 1fr 1fr; }
  .revenue { padding: 60px 24px; }
  .revenue-inner { grid-template-columns: 1fr; gap: 48px; }
  .revenue-right { gap: 2px; }
  .closing { padding: 60px 24px; }
  .footer { padding: 36px 24px; }
}

@media (max-width: 600px) {
  .hero-headline { font-size: 2.4rem; }
  .section-headline { font-size: 1.8rem; }
  .closing-headline { font-size: 2rem; }
  .stack-steps { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 120px 1fr 80px; }
  .tiktok-stats { grid-template-columns: 1fr; gap: 12px; }
  .tiktok-metric { flex-direction: row; align-items: center; gap: 10px; }
}