/* =============================================
   ShortStack — Dark Editorial Landing Page
   ============================================= */

:root {
  --bg: #090909;
  --surface: #111111;
  --surface2: #1a1a1a;
  --border: #222222;
  --lime: #c8ff47;
  --lime-dim: rgba(200, 255, 71, 0.12);
  --text: #f0f0f0;
  --muted: #666666;
  --muted2: #444444;
  --font-head: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

html {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body { background: var(--bg); }

/* ---- Typography ---- */
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.1; }
h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: 1.4rem; font-weight: 600; }
p { line-height: 1.65; color: #999; }
strong { color: var(--text); font-weight: 600; }
em { font-style: italic; color: var(--text); }

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--lime);
  font-family: var(--font-head);
  margin-bottom: 1rem;
}

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

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(200,255,71,0.04) 0%, transparent 70%);
  pointer-events: none;
}

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

.hero-text .eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lime);
  font-family: var(--font-head);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-text .eyebrow::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--lime);
}

.hero-text h1 { margin-bottom: 1.5rem; }

.hero-text .lede {
  font-size: 1.1rem;
  color: #999;
  max-width: 480px;
  margin-bottom: 2rem;
}

.hero-tags {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--lime);
  color: var(--lime);
  font-family: var(--font-head);
}

/* Phone Mockup */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.phone-mockup {
  position: relative;
  width: 260px;
}

.phone-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle, rgba(200,255,71,0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.phone-frame {
  position: relative;
  z-index: 1;
  background: #0e0e0e;
  border: 1px solid #2a2a2a;
  border-radius: 32px;
  padding: 12px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.03);
}

.screen {
  background: #000;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 9/19;
}

.short-player {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, #0d0d0d 0%, #111 100%);
}

.short-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1rem 0.5rem;
}

.channel-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--lime);
  opacity: 0.8;
}

.channel-name {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--lime);
  font-family: var(--font-head);
}

.short-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  gap: 1.5rem;
}

.hook-text {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  line-height: 1.3;
}

.scroll-indicator {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}

.scroll-line {
  width: 3px;
  height: 20px;
  background: #333;
  border-radius: 2px;
}

.scroll-line:nth-child(1) { background: var(--lime); height: 28px; }
.scroll-line:nth-child(2) { background: #555; }
.scroll-line:nth-child(3) { background: #444; }
.scroll-line:nth-child(4) { background: #555; }
.scroll-line:nth-child(5) { background: #333; }
.scroll-line:nth-child(6) { background: #222; }

.short-actions {
  display: flex;
  justify-content: space-around;
  padding: 0.75rem 1rem 1rem;
}

.action-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.action-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #222;
}

.action-row span {
  font-size: 0.6rem;
  color: #666;
  font-family: var(--font-head);
}

/* Metrics Row */
.metrics-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  width: 100%;
  max-width: 500px;
}

.metric { display: flex; flex-direction: column; gap: 0.2rem; flex: 1; }

.metric-value {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--lime);
}

.metric-label { font-size: 0.65rem; color: #666; line-height: 1.3; }

.metric-divider { width: 1px; height: 30px; background: var(--border); }

/* ---- PIPELINE ---- */
.pipeline {
  padding: 6rem 5vw;
  border-bottom: 1px solid var(--border);
  max-width: 1300px;
  margin: 0 auto;
}

.pipeline h2 { margin-bottom: 4rem; }

.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
}

.step {
  padding: 1.5rem;
  border: 1px solid var(--border);
  background: var(--surface);
}

.step-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.7rem;
  color: var(--lime);
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.step h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.step p { font-size: 0.85rem; }

.step-arrow {
  display: flex;
  align-items: center;
  padding: 0 1rem;
  padding-top: 4.5rem;
}

/* ---- WHY ---- */
.why {
  padding: 6rem 5vw;
  border-bottom: 1px solid var(--border);
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.why-left h2 { margin-bottom: 1.5rem; }
.why-left p { margin-bottom: 1rem; }

.why-right { display: flex; flex-direction: column; gap: 1rem; }

.stat-card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  background: var(--surface);
  border-left: 3px solid var(--lime);
}

.stat-big {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--lime);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-desc { font-size: 0.85rem; color: #999; line-height: 1.5; }

/* ---- NICHES ---- */
.niches {
  padding: 6rem 5vw;
  border-bottom: 1px solid var(--border);
  max-width: 1300px;
  margin: 0 auto;
}

.niches h2 { margin-bottom: 3rem; }

.niches-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.niche-card {
  padding: 1.75rem;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 0.2s;
}

.niche-card:hover { border-color: var(--lime); }

.niche-top { margin-bottom: 1rem; }

.niche-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  background: var(--lime-dim);
  color: var(--lime);
  font-family: var(--font-head);
}

.niche-card h3 { margin-bottom: 0.75rem; }
.niche-card > p { font-size: 0.85rem; margin-bottom: 1.5rem; }

.niche-meta { display: flex; flex-direction: column; gap: 0.5rem; }

.meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  border-top: 1px solid var(--border);
  padding-top: 0.5rem;
}

.meta-label { color: #666; font-family: var(--font-head); font-weight: 500; }
.meta-val { color: var(--text); font-weight: 600; font-family: var(--font-head); }

.niche-note {
  font-size: 0.9rem;
  color: #888;
  max-width: 800px;
  border-left: 3px solid var(--lime);
  padding-left: 1.25rem;
}

/* ---- MANIFESTO ---- */
.manifesto {
  padding: 7rem 5vw;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.manifesto::before {
  content: '';
  position: absolute;
  bottom: -40%;
  left: 5vw;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(200,255,71,0.03) 0%, transparent 70%);
  pointer-events: none;
}

.manifesto-inner {
  max-width: 850px;
}

.manifesto-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lime);
  font-family: var(--font-head);
  margin-bottom: 2rem;
}

.manifesto-inner p {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 1.5rem;
}

/* ---- FOOTER ---- */
.footer {
  padding: 3rem 5vw;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
}

.brand-tagline {
  font-size: 0.75rem;
  color: #666;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: #666;
  font-family: var(--font-head);
}

.dot { color: var(--lime); }

.footer-sub {
  font-size: 0.75rem;
  color: #444;
  width: 100%;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { order: -1; }
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .step-arrow { display: none; }
  .why { grid-template-columns: 1fr; }
  .niches-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  h1 { font-size: 2.4rem; }
  .hero { padding: 0 6vw; }
  .steps-grid { grid-template-columns: 1fr; }
  .metrics-row { gap: 1rem; }
  .metric-value { font-size: 0.95rem; }
}