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

:root {
  --bg: #0A0A0A;
  --bg-2: #111111;
  --fg: #F0F0F0;
  --fg-muted: #888888;
  --accent: #FF3B3B;
  --accent-2: #00F0FF;
  --border: #1E1E1E;
  --font-head: 'Bricolage Grotesque', 'Arial Black', sans-serif;
  --font-body: 'DM Sans', 'Helvetica Neue', sans-serif;
}

html { scroll-behavior: smooth; }

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

/* === NAV === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 40px;
  border-bottom: 1px solid var(--border);
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.nav-tagline {
  font-size: 12px;
  color: var(--fg-muted);
  font-family: var(--font-body);
  font-weight: 300;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 40px 80px;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,59,59,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,59,59,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 100%);
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-label {
  font-size: 12px;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.hero-headline {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 28px;
}

.hero-sub {
  font-size: 18px;
  color: #AAAAAA;
  line-height: 1.65;
  max-width: 440px;
  font-weight: 300;
}

/* === PIPELINE VISUAL === */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.pipeline {
  display: flex;
  align-items: center;
  gap: 0;
  position: relative;
}

.pipeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.pipeline-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-muted);
  transition: all 0.3s ease;
}
.pipeline-icon svg {
  width: 22px;
  height: 22px;
}

.pipeline-step:hover .pipeline-icon {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 20px rgba(255,59,59,0.15);
}

.p1 .pipeline-icon { animation: glow-pulse 3s ease-in-out infinite 0s; }
.p2 .pipeline-icon { animation: glow-pulse 3s ease-in-out infinite 0.5s; }
.p3 .pipeline-icon { animation: glow-pulse 3s ease-in-out infinite 1s; }
.p4 .pipeline-icon { animation: glow-pulse 3s ease-in-out infinite 1.5s; }
.p5 .pipeline-icon { animation: glow-pulse 3s ease-in-out infinite 2s; }

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 0px rgba(255,59,59,0); border-color: var(--border); }
  50% { box-shadow: 0 0 20px rgba(255,59,59,0.25); border-color: rgba(255,59,59,0.5); }
}

.pipeline-label {
  font-size: 11px;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.pipeline-connector {
  display: flex;
  align-items: center;
  padding: 0 4px;
}

.connector-line {
  width: 24px;
  height: 1px;
  background: var(--border);
  position: relative;
}

.connector-arrow svg {
  width: 12px;
  height: 12px;
  color: var(--accent);
  opacity: 0.6;
}

.pipeline-sublabel {
  font-size: 12px;
  color: var(--fg-muted);
  font-weight: 300;
  text-align: center;
  max-width: 300px;
}

/* === SECTION BASE === */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-eyebrow {
  font-size: 11px;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-heading {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fg);
  max-width: 640px;
}

/* === PIPELINE SECTION === */
.section-pipeline {
  padding: 120px 0;
  background: var(--bg);
}

.pipeline-steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  margin-top: 64px;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.pipe-step {
  padding: 40px 28px;
  background: var(--bg-2);
  border-right: 1px solid var(--border);
  position: relative;
}
.pipe-step:last-child { border-right: none; }

.pipe-number {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 36px;
  color: rgba(255,59,59,0.15);
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  line-height: 1;
}

.pipe-step h3 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 16px;
  color: var(--fg);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.pipe-step p {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.65;
  font-weight: 300;
}

/* === CROSS PLATFORM === */
.section-crossplatform {
  padding: 120px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cross-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.cross-body {
  font-size: 16px;
  color: #AAAAAA;
  line-height: 1.7;
  margin-top: 20px;
  margin-bottom: 32px;
  max-width: 400px;
  font-weight: 300;
}

.platform-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.platform-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: var(--fg);
  font-weight: 400;
}

.platform-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.platform-dot.yt { background: #FF0000; box-shadow: 0 0 8px rgba(255,0,0,0.4); }
.platform-dot.tt { background: #69C9D0; box-shadow: 0 0 8px rgba(105,201,208,0.4); }
.platform-dot.ig { background: linear-gradient(135deg,#833AB4,#E1306C,#F77737); }
.platform-dot.fb { background: #1877F2; }

/* Screen stack visual */
.screen-stack {
  display: flex;
  gap: 16px;
  align-items: flex-end;
}

.screen {
  background: #141414;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  flex: 1;
}

.screen-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
}
.screen-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
}
.screen-label {
  font-size: 9px;
  font-family: var(--font-body);
  color: var(--fg-muted);
  margin-left: auto;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.screen-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.yt-thumb {
  width: 100%;
  height: 60px;
  background: linear-gradient(135deg, rgba(255,0,0,0.12), rgba(255,59,59,0.06));
  border-radius: 6px;
  border: 1px solid rgba(255,0,0,0.15);
}

.yt-line {
  height: 7px;
  background: var(--border);
  border-radius: 3px;
}
.yt-line.short { width: 60%; }

.tt-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(105,201,208,0.2), rgba(105,201,208,0.05));
  border: 1px solid rgba(105,201,208,0.2);
  margin-bottom: 8px;
}
.ig-avatar {
  background: linear-gradient(135deg, rgba(225,48,108,0.2), rgba(131,58,180,0.05));
  border-color: rgba(225,48,108,0.2);
}

.yt-screen { transform: translateY(-8px); }
.tt-screen { transform: translateY(-24px); }
.ig-screen { transform: translateY(-4px); }

/* === PHILOSOPHY === */
.section-philosophy {
  padding: 120px 0;
  background: var(--bg);
}

.philosophy-card {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 64px;
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
}

.philosophy-mark {
  position: absolute;
  top: 40px;
  right: 48px;
  width: 48px;
  height: 48px;
  opacity: 0.6;
}

.philosophy-quote {
  font-family: var(--font-head);
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 500;
  line-height: 1.45;
  color: var(--fg);
  letter-spacing: -0.015em;
  max-width: 700px;
  margin-bottom: 56px;
}

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

.stat {
  padding: 24px 0;
  border-top: 1px solid var(--border);
}

.stat-value {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 36px;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 13px;
  color: var(--fg-muted);
  font-weight: 300;
  line-height: 1.4;
}

/* === CLOSING === */
.section-closing {
  padding: 160px 0;
  background: var(--bg);
  text-align: center;
}

.closing-headline {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(32px, 5vw, 72px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--fg);
  margin-bottom: 24px;
}

.closing-sub {
  font-size: 20px;
  color: #AAAAAA;
  font-weight: 300;
  margin-bottom: 20px;
}

.closing-line {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

/* === FOOTER === */
.footer {
  padding: 40px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 16px;
  color: var(--fg);
}
.footer-slug {
  font-size: 11px;
  color: var(--fg-muted);
  font-family: var(--font-body);
  letter-spacing: 0.06em;
}
.footer-note {
  font-size: 12px;
  color: var(--fg-muted);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .pipeline-steps-grid { grid-template-columns: repeat(3, 1fr); }
  .pipe-step:nth-child(4), .pipe-step:nth-child(5) { border-top: 1px solid var(--border); }
  .pipe-step:nth-child(4) { border-top: 1px solid var(--border); }
  .pipe-step { border-bottom: 1px solid var(--border); }
}

@media (max-width: 768px) {
  .nav { padding: 16px 20px; }
  .hero { padding: 100px 20px 60px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
  .pipeline { flex-wrap: wrap; justify-content: center; }
  .pipeline-connector { display: none; }
  .section-inner { padding: 0 20px; }
  .section-pipeline, .section-crossplatform, .section-philosophy, .section-closing { padding: 80px 0; }
  .cross-inner { grid-template-columns: 1fr; gap: 48px; }
  .screen-stack { justify-content: center; }
  .philosophy-stats { grid-template-columns: 1fr; }
  .pipeline-steps-grid { grid-template-columns: 1fr; }
  .pipe-step { border-right: none; }
  .philosophy-card { padding: 40px 24px; }
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
}
