:root {
  --bg: #0c0c0e;
  --bg-card: #141418;
  --bg-card-hover: #1a1a1f;
  --fg: #f0f0f2;
  --fg-muted: #8a8a96;
  --accent: #f5a623;
  --accent-dim: rgba(245, 166, 35, 0.15);
  --border: rgba(240, 240, 242, 0.08);
  --font-display: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 12px;
  --max-width: 1100px;
}

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

html { scroll-behavior: smooth; }

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

/* ─── NAV ─────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(12, 12, 14, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--fg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.3px;
}

/* ─── HERO ────────────────────────────────── */
.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 140px 32px 80px;
  text-align: center;
}
.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--accent-dim);
  border-radius: 100px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 32px;
  background: var(--accent-dim);
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(42px, 7vw, 80px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
  color: var(--fg);
}
.hero-accent {
  color: var(--accent);
  display: block;
}
.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--fg-muted);
  max-width: 560px;
  margin: 0 auto 56px;
  line-height: 1.7;
}
.hero-stat-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.hero-stat {
  text-align: center;
}
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -1px;
}
.stat-label {
  display: block;
  font-size: 13px;
  color: var(--fg-muted);
  margin-top: 4px;
}
.hero-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}

/* ─── SCREENSHOT ──────────────────────────── */
.screenshot-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px 100px;
}
.browser-window {
  background: #1c1c22;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04);
  position: relative;
}
.browser-bar {
  background: #151518;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--border);
}
.browser-dots {
  display: flex;
  gap: 7px;
}
.browser-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #2a2a32;
  display: block;
}
.browser-dots span:first-child { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #febc2e; }
.browser-dots span:nth-child(3) { background: #28c840; }
.browser-address {
  flex: 1;
  background: #0c0c0e;
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 13px;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.browser-content {
  padding: 40px;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 420px;
  background: linear-gradient(180deg, #111115 0%, #0e0e12 100%);
}
/* Fake Twitter feed */
.fake-twitter {
  width: 420px;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  background: #0e0e12;
  opacity: 0.7;
}
.ft-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.ft-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f5a623, #e8791a);
}
.ft-name {
  font-weight: 600;
  font-size: 14px;
}
.ft-handle {
  font-size: 13px;
  color: var(--fg-muted);
}
.ft-tweet {
  padding: 16px;
  background: #141418;
  border-radius: 12px;
  margin-bottom: 12px;
}
.ft-tweet-text {
  font-size: 15px;
  line-height: 1.5;
  color: var(--fg);
}
.ft-grey { color: var(--fg-muted); }
.ft-tweet-actions {
  display: flex;
  gap: 24px;
  margin-top: 12px;
  color: var(--fg-muted);
  font-size: 14px;
}

/* Snapback popup — the star of the show */
.snapback-popup {
  position: absolute;
  top: 32px;
  right: 40px;
  width: 300px;
  background: #1a1a20;
  border: 1px solid rgba(245, 166, 35, 0.3);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.7), 0 0 0 1px rgba(245,166,35,0.1), inset 0 1px 0 rgba(255,255,255,0.05);
  overflow: hidden;
  animation: popIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes popIn {
  from { opacity: 0; transform: scale(0.85) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.sp-header {
  background: rgba(245, 166, 35, 0.12);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(245, 166, 35, 0.15);
}
.sp-logo { flex-shrink: 0; }
.sp-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  flex: 1;
}
.sp-tag {
  font-size: 10px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.sp-body {
  padding: 20px 16px 16px;
}
.sp-site {
  font-size: 11px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.sp-time {
  font-size: 15px;
  line-height: 1.4;
  margin-bottom: 6px;
}
.sp-time strong {
  color: var(--accent);
  font-weight: 700;
}
.sp-sessions {
  font-size: 12px;
  color: var(--fg-muted);
  margin-bottom: 14px;
}
.sp-progress {
  height: 4px;
  background: rgba(245, 166, 35, 0.15);
  border-radius: 4px;
  margin-bottom: 8px;
}
.sp-progress-bar {
  height: 100%;
  background: var(--accent);
  border-radius: 4px;
}
.sp-limit {
  font-size: 11px;
  color: #e8791a;
  font-weight: 500;
}
.sp-footer {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 8px;
}
.sp-btn-dismiss, .sp-btn-close {
  flex: 1;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}
.sp-btn-dismiss {
  background: var(--accent);
  color: #0c0c0e;
}
.sp-btn-dismiss:hover { opacity: 0.85; }
.sp-btn-close {
  background: rgba(255,255,255,0.06);
  color: var(--fg-muted);
}
.sp-btn-close:hover { background: rgba(255,255,255,0.1); }

.screenshot-caption {
  text-align: center;
  font-size: 14px;
  color: var(--fg-muted);
  margin-top: 24px;
  font-style: italic;
}

/* ─── FEATURES ─────────────────────────────── */
.features {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px 100px;
}
.section-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 520px;
  margin-bottom: 64px;
  line-height: 1.7;
}
.section-sub em { color: var(--fg); font-style: normal; font-weight: 500; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.feature-card {
  background: var(--bg-card);
  padding: 40px 36px;
  transition: background 0.2s;
}
.feature-card:hover { background: var(--bg-card-hover); }
.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-dim);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.feature-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}
.feature-desc {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ─── HOW IT WORKS ────────────────────────── */
.how-it-works {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px 100px;
}
.step-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 56px;
}
.step {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 1px;
  min-width: 40px;
  padding-top: 4px;
}
.step-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}
.step-desc {
  font-size: 16px;
  color: var(--fg-muted);
  max-width: 480px;
  line-height: 1.65;
}

/* ─── MANIFESTO ───────────────────────────── */
.manifesto {
  background: linear-gradient(180deg, var(--bg) 0%, #0f0f13 100%);
  border-top: 1px solid var(--border);
}
.manifesto-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 100px 32px;
  text-align: center;
}
.manifesto-quote {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.5px;
  color: var(--fg);
  margin-bottom: 40px;
  font-style: italic;
}
.manifesto-body {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: left;
}
.manifesto-body:last-child { margin-bottom: 0; }

/* ─── FOOTER ──────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 60px 32px;
  text-align: center;
}
.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 16px;
}
.footer-tagline {
  font-size: 14px;
  color: var(--fg-muted);
  margin-bottom: 8px;
}
.footer-copy {
  font-size: 13px;
  color: rgba(138,138,150,0.5);
}

/* ─── RESPONSIVE ──────────────────────────── */
@media (max-width: 768px) {
  .hero { padding: 120px 24px 60px; }
  .hero-headline { letter-spacing: -1px; }
  .hero-stat-row { gap: 24px; }
  .hero-divider { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .step { gap: 20px; padding: 28px 0; }
  .browser-content { padding: 24px; }
  .snapback-popup {
    position: relative;
    top: auto; right: auto;
    width: 100%;
    margin-top: 24px;
  }
  .browser-content { flex-direction: column; align-items: center; }
  .fake-twitter { width: 100%; }
  .manifesto-inner { padding: 60px 24px; }
  .screenshot-section { padding-bottom: 60px; }
}

@media (max-width: 480px) {
  .hero-stat-row { flex-direction: column; gap: 20px; }
  .hero-divider { display: none; }
  .snapback-popup { width: 100%; }
}