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

:root {
  --bg: #0d0d0d;
  --bg-2: #111111;
  --bg-3: #1a1a1a;
  --fg: #f5f5f0;
  --fg-muted: #888888;
  --accent: #bfff00;
  --accent-dim: #7a9900;
  --border: #222222;
  --radius: 8px;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent-dim); border-radius: 3px; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4 { font-family: 'Space Grotesk', sans-serif; }

/* === NAV === */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,13,13,0.92);
  backdrop-filter: blur(12px);
}

.nav-brand { display: flex; align-items: center; gap: 10px; }
.brand-name { font-family: 'Space Grotesk', sans-serif; font-size: 18px; font-weight: 700; letter-spacing: -0.5px; }

.nav-actions { display: flex; align-items: center; }
.nav-cta {
  background: var(--accent);
  color: #0d0d0d;
  border-radius: 6px;
  padding: 8px 18px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.15s;
}
.nav-cta:hover { opacity: 0.85; }

.nav-status { display: flex; align-items: center; gap: 8px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
.status-text { font-size: 12px; color: var(--fg-muted); letter-spacing: 0.5px; text-transform: uppercase; }

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

/* === HERO === */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 80px 48px;
  gap: 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.court-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(191,255,0,0.03) 1px, transparent 1px),
    linear-gradient(rgba(191,255,0,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 60% 50%, black 20%, transparent 70%);
}

.hero-glow {
  position: absolute;
  top: 30%;
  right: 20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(191,255,0,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 520px;
}

.hero-tag {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid rgba(191,255,0,0.2);
  border-radius: 4px;
}

.hero-headline {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
  color: var(--fg);
}

.hero-sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg-muted);
  margin-bottom: 32px;
  max-width: 440px;
}

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

.format-pill {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid var(--border);
  color: var(--fg-muted);
  background: var(--bg-2);
}

/* === REEL MOCKUP === */
.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.reel-mockup {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 40px rgba(191,255,0,0.05);
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #333;
}
.mockup-dot:first-child { background: #ff5f57; }
.mockup-dot:nth-child(2) { background: #ffbd2e; }
.mockup-dot:nth-child(3) { background: #28ca41; }
.mockup-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  color: var(--fg-muted);
  margin-left: 8px;
  letter-spacing: 0.5px;
}

.clip-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.clip-thumb {
  aspect-ratio: 9/12;
  border-radius: 8px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}

.thumb-1 {
  background: linear-gradient(135deg, #1a3a00 0%, #2d5a00 100%);
  border: 1px solid rgba(191,255,0,0.3);
}
.thumb-2 {
  background: linear-gradient(135deg, #0d2040 0%, #1a4066 100%);
  border: 1px solid rgba(100,180,255,0.3);
}
.thumb-3 {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  border: 1px solid rgba(255,255,255,0.1);
}
.thumb-4 {
  background: linear-gradient(135deg, #2a1500 0%, #3d2200 100%);
  border: 1px solid rgba(255,180,50,0.3);
}

.clip-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
}

.clip-score {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-top: 4px;
}

/* Play score bars inside clips */
.clip-thumb::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
}

.export-bar {
  display: flex;
  align-items: center;
  gap: 12px;
}

.export-label {
  font-size: 12px;
  color: var(--fg-muted);
  white-space: nowrap;
  font-family: 'Space Grotesk', sans-serif;
}

.progress-track {
  flex: 1;
  height: 4px;
  background: var(--bg-3);
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 72%;
  background: var(--accent);
  border-radius: 2px;
  position: relative;
  animation: progressAnim 3s ease-out infinite;
}

@keyframes progressAnim {
  0% { width: 0%; }
  100% { width: 72%; }
}

/* === HOW IT WORKS === */
.howitworks {
  padding: 120px 48px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -1.5px;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.15;
}

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}

.step {
  flex: 1;
  text-align: center;
  padding: 0 32px;
}

.step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 16px;
}

.step-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  background: var(--bg);
}

.step-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.step-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}

.step-connector {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  margin-top: 36px;
  flex-shrink: 0;
}

/* === FEATURES === */
.features {
  padding: 120px 48px;
  background: var(--bg);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-card {
  background: var(--bg);
  padding: 40px 32px;
  transition: background 0.2s;
}

.feature-card:hover {
  background: var(--bg-2);
}

.feature-icon-wrap {
  margin-bottom: 20px;
}

.feature-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.feature-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* === MANIFESTO === */
.manifesto {
  padding: 120px 48px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

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

.manifesto-quote {
  margin-bottom: 48px;
}

.quote-mark {
  width: 48px;
  height: 48px;
  background: var(--accent);
  margin-bottom: 24px;
  clip-path: polygon(0 0, 100% 0, 100% 60%, 60% 100%, 0 100%);
}

.quote-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -1px;
}

.manifesto-stat {
  margin-bottom: 48px;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  display: flex;
  align-items: center;
  gap: 24px;
}

.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 56px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -3px;
  line-height: 1;
  flex-shrink: 0;
}

.stat-label {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.5;
}

.manifesto-bottom p {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* === CLOSING === */
.closing {
  padding: 140px 48px;
  background: var(--bg);
  text-align: center;
  border-top: 1px solid var(--border);
}

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

.closing-headline {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.closing-sub {
  font-size: 18px;
  color: var(--fg-muted);
  margin-bottom: 40px;
}

.closing-vision {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
}

/* === FOOTER === */
.footer {
  padding: 40px 48px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 14px;
}

.footer-copy {
  font-size: 13px;
  color: var(--fg-muted);
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 60px 24px;
    gap: 48px;
    min-height: auto;
  }
  .hero-visual { order: -1; }
  .reel-mockup { max-width: 100%; }
  .clip-row { grid-template-columns: repeat(2, 1fr); }
  .steps { flex-direction: column; align-items: center; }
  .step-connector { width: 1px; height: 40px; margin: 0; background: linear-gradient(180deg, transparent, var(--accent), transparent); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .nav { padding: 16px 24px; }
  .howitworks, .features, .manifesto, .closing { padding: 80px 24px; }
  .manifesto-stat { flex-direction: column; text-align: center; }
  .footer { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 600px) {
  .feature-grid { grid-template-columns: 1fr; }
  .clip-row { grid-template-columns: repeat(4, 1fr); }
  .clip-thumb { aspect-ratio: 3/4; }
  .clip-score { font-size: 14px; }
}
