/* ─── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0A0A0F;
  --surface: #111827;
  --surface2: #1E293B;
  --mint: #00FF85;
  --mint-dim: rgba(0,255,133,0.12);
  --slate: #8892A4;
  --slate-dim: #4A5568;
  --text: #F1F5F9;
  --text-muted: #94A3B8;
  --border: rgba(136,146,164,0.15);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ─── Section Label ─────────────────────────────────────── */
.section-label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 1.5rem;
  display: block;
}

/* ─── HERO ──────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 5vw;
  position: relative;
  border-bottom: 1px solid var(--border);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 40vh;
  background: radial-gradient(ellipse at 30% 50%, rgba(0,255,133,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5vw;
  align-items: center;
  padding: 8vh 0;
}

.hero-left { display: flex; flex-direction: column; }

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 1.75rem;
}

.hero-headline em {
  font-style: italic;
  color: var(--mint);
}

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

.hero-stats {
  display: flex;
  gap: 3rem;
}

.stat { display: flex; flex-direction: column; gap: 0.25rem; }

.stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--mint);
  line-height: 1;
}

.stat-desc {
  font-size: 0.75rem;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ─── Terminal ──────────────────────────────────────────── */
.terminal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(0,255,133,0.04);
}

.terminal-bar {
  background: var(--surface2);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.t-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
}
.t-red { background: #FF5F57; }
.t-amber { background: #FFBD2E; }
.t-green { background: #28C840; }

.t-title {
  font-size: 0.7rem;
  color: var(--slate);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-left: 0.5rem;
}

.terminal-body {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 360px;
}

.feed-line {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.78rem;
  font-family: 'Courier New', monospace;
  animation: slideIn 0.4s ease-out both;
}

.feed-line.dim { opacity: 0.55; }

@keyframes slideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.feed-line:nth-child(1) { animation-delay: 0.1s; }
.feed-line:nth-child(2) { animation-delay: 0.3s; }
.feed-line:nth-child(3) { animation-delay: 0.5s; }
.feed-line:nth-child(4) { animation-delay: 0.7s; }
.feed-line:nth-child(5) { animation-delay: 0.9s; }
.feed-line:nth-child(6) { animation-delay: 1.1s; }
.feed-line:nth-child(7) { animation-delay: 1.3s; }

.feed-time {
  color: var(--slate-dim);
  flex-shrink: 0;
  min-width: 38px;
}

.feed-tag {
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.feed-tag.new    { background: rgba(0,255,133,0.15); color: var(--mint); }
.feed-tag.draft  { background: rgba(148,163,184,0.1); color: var(--slate); }
.feed-tag.sent   { background: rgba(56,189,248,0.12); color: #38BDF8; }
.feed-tag.reply  { background: rgba(251,191,36,0.12); color: #FBBF24; }
.feed-tag.score  { background: rgba(168,85,247,0.12); color: #A855F7; }
.feed-tag.warm   { background: rgba(251,113,133,0.12); color: #FB7185; }

.feed-text { color: var(--text-muted); line-height: 1.5; }

.cursor-line {
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
  margin-top: 0.5rem;
}

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

.cursor-blink {
  color: var(--mint);
  font-weight: 700;
  animation: blink 1s step-end infinite;
}

/* ─── PULSE ─────────────────────────────────────────────── */
.pulse-section {
  padding: 10vh 5vw;
  border-bottom: 1px solid var(--border);
}

.pulse-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 6vw;
  align-items: start;
}

.pulse-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--text);
}

.pipeline-viz {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pipe-stage {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}

.pipe-stage:last-child { border-bottom: none; }

.pipe-icon { flex-shrink: 0; }

.pipe-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.pipe-desc {
  font-size: 0.82rem;
  color: var(--slate);
  line-height: 1.5;
}

.pipe-count {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--mint);
  font-family: 'Courier New', monospace;
  letter-spacing: 0.04em;
  text-align: right;
  flex-shrink: 0;
}

/* ─── FEATURES ──────────────────────────────────────────── */
.features-section {
  padding: 10vh 5vw;
  border-bottom: 1px solid var(--border);
}

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

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

.feature-item { padding: 2rem 0; }

.feature-number {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 900;
  color: var(--mint-dim);
  line-height: 1;
  margin-bottom: 1.25rem;
}

.feature-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.85rem;
  line-height: 1.3;
}

.feature-body {
  font-size: 0.9rem;
  color: var(--slate);
  line-height: 1.7;
}

/* ─── HOW ───────────────────────────────────────────────── */
.how-section {
  padding: 10vh 5vw;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg) 0%, rgba(0,255,133,0.015) 100%);
}

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

.how-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 5rem;
}

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

.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 3rem;
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.step:last-child { border-bottom: none; }

.step-num {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 900;
  color: var(--mint-dim);
  line-height: 1;
  padding-top: 0.25rem;
}

.step h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.step p {
  font-size: 0.95rem;
  color: var(--slate);
  line-height: 1.7;
  max-width: 500px;
}

/* ─── OUTCOMES ──────────────────────────────────────────── */
.outcomes-section {
  padding: 10vh 5vw;
  border-bottom: 1px solid var(--border);
}

.outcomes-inner { max-width: 1320px; margin: 0 auto; }

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

.outcome { padding: 2rem 0; }

.outcome-value {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 900;
  color: var(--mint);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.outcome-label {
  font-size: 0.82rem;
  color: var(--slate);
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ─── MANIFESTO ─────────────────────────────────────────── */
.manifesto-section {
  padding: 12vh 5vw;
  border-bottom: 1px solid var(--border);
  background: radial-gradient(ellipse at 50% 50%, rgba(0,255,133,0.03) 0%, transparent 70%);
}

.manifesto-inner { max-width: 1320px; margin: 0 auto; }

.manifesto-quote {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  font-weight: 700;
  font-style: italic;
  color: var(--text);
  line-height: 1.35;
  max-width: 900px;
  margin-bottom: 2rem;
  position: relative;
  padding-left: 2rem;
}

.manifesto-quote::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--mint);
  border-radius: 2px;
}

.manifesto-body {
  font-size: 1rem;
  color: var(--slate);
  line-height: 1.75;
  max-width: 640px;
  margin-left: 2rem;
}

/* ─── CLOSING ────────────────────────────────────────────── */
.closing-section {
  padding: 12vh 5vw 10vh;
  border-bottom: 1px solid var(--border);
}

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

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 2rem;
}

.closing-sub p {
  font-size: 1.05rem;
  color: var(--slate);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 3rem;
}

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

.closing-tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-dim);
}

/* ─── FOOTER ─────────────────────────────────────────────── */
.site-footer {
  padding: 3vh 5vw;
}

.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

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

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links span {
  font-size: 0.8rem;
  color: var(--slate-dim);
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--slate-dim);
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 4rem; }
  .pulse-inner { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .outcomes-grid { grid-template-columns: 1fr 1fr; }
  .step { grid-template-columns: 1fr; gap: 1rem; }
  .step-num { font-size: 3rem; }
}

@media (max-width: 600px) {
  .hero { padding: 0 6vw; }
  .pulse-section, .features-section, .how-section,
  .outcomes-section, .manifesto-section, .closing-section { padding: 8vh 6vw; }
  .outcomes-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { flex-direction: column; gap: 1.5rem; }
  .pipe-stage { grid-template-columns: 44px 1fr; }
  .pipe-count { display: none; }
}