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

:root {
  --bg: #0d0d0f;
  --fg: #f5f5f3;
  --accent: #b8f525;
  --accent-dim: rgba(184,245,37,0.12);
  --fg-muted: #888899;
  --fg-dim: #555566;
  --card: #16161c;
  --card-border: rgba(255,255,255,0.06);
  --font-display: 'Syne', 'Arial Black', sans-serif;
  --font-body: 'DM Sans', 'Helvetica Neue', sans-serif;
}

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

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

/* === TYPOGRAPHY === */
.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--fg);
  margin-bottom: 3rem;
}

/* === NAV === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(13,13,15,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent);
}

.nav-tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
  font-weight: 300;
  letter-spacing: 0.02em;
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 1.5rem 4rem;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: radial-gradient(ellipse 80% 60% at 30% 0%, rgba(184,245,37,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 420px;
  margin-bottom: 2rem;
}

.hero-pill-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pill {
  display: inline-block;
  background: var(--accent-dim);
  border: 1px solid rgba(184,245,37,0.2);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  letter-spacing: 0.02em;
}

.pill-sep {
  width: 4px;
  height: 4px;
  background: var(--fg-dim);
  border-radius: 50%;
  display: inline-block;
}

.hero-illustration {
  display: flex;
  justify-content: flex-end;
}

.hero-illustration svg {
  width: 100%;
  max-width: 340px;
  height: auto;
}

/* === FEATURES === */
.features {
  padding: 6rem 1.5rem;
}

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

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: rgba(184,245,37,0.15);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover::before {
  opacity: 0.4;
}

.feature-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 1.5rem;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.feature-stat {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
}

/* Feature card accent colors */
.feature-card--monitor .feature-icon svg .circle { fill: rgba(184,245,37,0.12); }
.feature-card--draft .feature-icon svg path:first-child { fill: rgba(184,245,37,0.12); }
.feature-card--publish .feature-icon svg path { stroke: var(--accent); fill: none; }
.feature-card--reports .feature-icon svg polyline { stroke: var(--accent); }

/* === PROCESS === */
.process {
  padding: 6rem 1.5rem;
  background: linear-gradient(180deg, transparent 0%, rgba(184,245,37,0.02) 50%, transparent 100%);
}

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

.process-steps {
  display: flex;
  gap: 0;
  align-items: flex-start;
}

.process-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

.step-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -0.04em;
}

.step-connector {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--accent) 0%, rgba(184,245,37,0.1) 100%);
  margin-bottom: 2rem;
  opacity: 0.3;
}

.step-connector--last {
  background: none;
  opacity: 0;
}

.step-content {
  padding-right: 1.5rem;
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.step-desc {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* === MANIFESTO === */
.manifesto {
  padding: 8rem 1.5rem;
}

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

.manifesto-ornament {
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin: 0 auto 2.5rem;
  opacity: 0.5;
}

.manifesto-quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--fg);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.manifesto-sub {
  font-size: 0.9rem;
  color: var(--fg-muted);
  font-style: italic;
}

/* === CLOSING === */
.closing {
  padding: 6rem 1.5rem 8rem;
}

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

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 1.5rem;
}

.closing-body {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 520px;
  margin: 0 auto 3.5rem;
}

.closing-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
}

.closing-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 3rem;
}

.closing-stat-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.04em;
}

.closing-stat-unit {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
}

.closing-stat-desc {
  font-size: 0.75rem;
  color: var(--fg-dim);
  text-align: center;
  max-width: 100px;
  line-height: 1.4;
}

.closing-divider {
  width: 1px;
  height: 60px;
  background: var(--card-border);
}

/* === FOOTER === */
.footer {
  border-top: 1px solid var(--card-border);
  padding: 2rem 1.5rem;
}

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

.footer-logo {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.6;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--fg-muted);
  opacity: 0.5;
}

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

  .hero-illustration {
    order: -1;
    justify-content: center;
  }

  .hero-illustration svg {
    max-width: 280px;
  }

  .hero {
    padding-top: 6rem;
    min-height: auto;
  }

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

  .process-steps {
    flex-direction: column;
    gap: 2rem;
  }

  .step-connector {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, var(--accent) 0%, rgba(184,245,37,0.1) 100%);
    margin-bottom: 0;
    margin-left: 1.25rem;
  }

  .step-content {
    padding-right: 0;
    padding-left: 3rem;
  }

  .process-step {
    flex-direction: row;
    align-items: flex-start;
  }

  .step-number {
    font-size: 1.5rem;
    margin-bottom: 0;
    min-width: 2rem;
  }

  .closing-visual {
    flex-direction: column;
    gap: 1.5rem;
  }

  .closing-divider {
    width: 60px;
    height: 1px;
  }

  .closing-stat {
    padding: 0;
  }

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

@media (max-width: 480px) {
  .hero-headline {
    font-size: 1.9rem;
  }

  .section-heading {
    font-size: 1.6rem;
  }

  .closing-headline {
    font-size: 1.8rem;
  }

  .closing-stat-num {
    font-size: 2.2rem;
  }
}