/* ─── Base ─────────────────────────────────────────── */
:root {
  --bg: #0d0d0d;
  --bg-card: #141414;
  --bg-card-hover: #1c1c1c;
  --accent: #f59e0b;
  --accent-dim: rgba(245,158,11,0.12);
  --text: #f5f5f5;
  --text-muted: #888888;
  --text-dim: #555555;
  --border: rgba(255,255,255,0.07);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

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

/* ─── Hero ─────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 64px 80px 48px;
  border-bottom: 1px solid var(--border);
  position: relative;
}

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

.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 28px;
}

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

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 440px;
  font-weight: 300;
}

/* ─── Waveform ─────────────────────────────────────── */
.waveform-viz {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  height: 80px;
  margin-bottom: 32px;
}

.bar {
  width: 4px;
  background: var(--accent);
  border-radius: 2px;
  opacity: 0.6;
  animation: wave 1.8s ease-in-out infinite;
}

.b1 { height: 20%; animation-delay: 0s; }
.b2 { height: 45%; animation-delay: 0.1s; }
.b3 { height: 70%; animation-delay: 0.2s; }
.b4 { height: 55%; animation-delay: 0.3s; }
.b5 { height: 90%; animation-delay: 0.4s; }
.b6 { height: 65%; animation-delay: 0.5s; }
.b7 { height: 80%; animation-delay: 0.6s; }
.b8 { height: 50%; animation-delay: 0.7s; }
.b9 { height: 95%; animation-delay: 0.8s; }
.b10 { height: 60%; animation-delay: 0.9s; }
.b11 { height: 85%; animation-delay: 1.0s; }
.b12 { height: 40%; animation-delay: 1.1s; }
.b13 { height: 75%; animation-delay: 1.2s; }
.b14 { height: 55%; animation-delay: 1.3s; }
.b15 { height: 90%; animation-delay: 1.4s; }
.b16 { height: 45%; animation-delay: 1.5s; }
.b17 { height: 70%; animation-delay: 1.6s; }
.b18 { height: 60%; animation-delay: 1.7s; }
.b19 { height: 35%; animation-delay: 1.8s; }
.b20 { height: 80%; animation-delay: 0.05s; }
.b21 { height: 50%; animation-delay: 0.35s; }
.b22 { height: 65%; animation-delay: 0.65s; }
.b23 { height: 40%; animation-delay: 0.95s; }
.b24 { height: 75%; animation-delay: 1.25s; }

@keyframes wave {
  0%, 100% { transform: scaleY(1); opacity: 0.6; }
  50% { transform: scaleY(0.4); opacity: 0.3; }
}

/* ─── Hero Cards ───────────────────────────────────── */
.hero-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  transition: border-color 0.2s, background 0.2s;
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(245,158,11,0.3);
}

.card-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.card-text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 8px;
  font-weight: 400;
}

.card-tweet .card-text { font-style: italic; }

.card-sync .card-label { color: #a78bfa; }
.card-sync { border-color: rgba(167,139,250,0.15); }

.card-revenue .card-label { color: #34d399; }
.card-revenue { border-color: rgba(52,211,153,0.15); }

.card-time {
  font-size: 11px;
  color: var(--text-dim);
}

/* ─── Scroll hint ──────────────────────────────────── */
.hero-scroll-hint {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-arrow {
  width: 24px;
  height: 1px;
  background: var(--text-dim);
  position: relative;
}

.scroll-arrow::after {
  content: '';
  position: absolute;
  right: 0;
  top: -4px;
  border: 5px solid transparent;
  border-left-color: var(--text-dim);
}

/* ─── Section Shared ──────────────────────────────── */
.section-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 64px;
}

/* ─── Features ────────────────────────────────────── */
.features {
  padding: 96px 80px;
  border-bottom: 1px solid var(--border);
}

.features-header { margin-bottom: 56px; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

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

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

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ─── How It Works ────────────────────────────────── */
.howitworks {
  padding: 96px 80px;
  border-bottom: 1px solid var(--border);
  background: #111;
}

.hiw-inner { max-width: 1100px; }

.steps {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.step {
  flex: 1;
}

.step-num {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 900;
  color: rgba(245,158,11,0.2);
  line-height: 1;
  margin-bottom: 20px;
}

.step h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}

.step p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

.step-arrow {
  color: var(--text-dim);
  padding-top: 28px;
  flex-shrink: 0;
}

/* ─── Stats ────────────────────────────────────────── */
.stats {
  padding: 80px;
  border-bottom: 1px solid var(--border);
}

.stats-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
}

.stat { padding: 0 48px; }

.stat-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 8px;
}

.stat-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 180px;
}

.stat-div {
  width: 1px;
  height: 80px;
  background: var(--border);
}

/* ─── Manifesto ────────────────────────────────────── */
.manifesto {
  padding: 120px 80px;
  background: #111;
  border-bottom: 1px solid var(--border);
}

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

.manifesto-quote {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 400;
  font-style: italic;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 40px;
  padding-left: 24px;
  border-left: 3px solid var(--accent);
}

.manifesto-body {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.manifesto-signature {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  margin-top: 40px;
}

/* ─── Footer ───────────────────────────────────────── */
.footer {
  padding: 48px 80px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}

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

.footer-meta {
  text-align: right;
}

.footer-meta p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.footer-copy {
  color: var(--text-dim) !important;
  font-size: 12px !important;
}

/* ─── Responsive ───────────────────────────────────── */
@media (max-width: 1024px) {
  .hero { padding: 48px 40px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-right { display: none; }
  .features { padding: 64px 40px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .howitworks { padding: 64px 40px; }
  .steps { flex-direction: column; gap: 24px; }
  .step-arrow { display: none; }
  .stats { padding: 64px 40px; }
  .stats-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stat-div { display: none; }
  .manifesto { padding: 80px 40px; }
  .footer { padding: 40px; }
}

@media (max-width: 640px) {
  .hero { padding: 40px 24px; }
  .features { padding: 48px 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .howitworks { padding: 48px 24px; }
  .stats { padding: 48px 24px; }
  .stats-inner { grid-template-columns: 1fr; }
  .manifesto { padding: 64px 24px; }
  .footer { padding: 32px 24px; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .footer-meta { text-align: center; }
  .section-title { font-size: 28px; }
  .stat-num { font-size: 36px; }
}