/* ---------- Reset & base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #08080c;
  --bg-alt: #0f0f16;
  --bg-card: #15151f;
  --border: rgba(255,255,255,0.08);
  --text: #f5f5f8;
  --text-muted: #9b9ba8;
  --accent-1: #7c3aed;
  --accent-2: #ec4899;
  --accent-grad: linear-gradient(120deg, var(--accent-1), var(--accent-2));
  --live-red: #ff3b5c;
  --radius: 18px;
  --shadow-glow: 0 0 60px rgba(124,58,237,0.25);
  --font-display: "Space Grotesk", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin-bottom: 1.1rem; }
h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 15% 10%, rgba(124,58,237,0.14), transparent 45%),
    radial-gradient(circle at 85% 25%, rgba(236,72,153,0.10), transparent 45%);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(8,8,12,0.72);
  border-bottom: 1px solid var(--border);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.wordmark.small { font-size: 1.1rem; }

.nav { display: flex; gap: 28px; }
.nav a { color: var(--text-muted); font-size: 0.92rem; transition: color 0.2s; }
.nav a:hover { color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  white-space: nowrap;
}
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn-lg { padding: 15px 30px; font-size: 1rem; }

.btn-primary {
  background: var(--accent-grad);
  color: #fff;
  box-shadow: 0 8px 24px rgba(124,58,237,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(124,58,237,0.5); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.3); }

/* ---------- Hero ---------- */
.hero { padding: 76px 0 40px; position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin-bottom: 22px;
}

.lead {
  color: var(--text-muted);
  font-size: 1.08rem;
  max-width: 52ch;
  margin-bottom: 30px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }

.hero-proof { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.hero-proof li { display: flex; align-items: center; gap: 10px; color: var(--text-muted); font-size: 0.92rem; }
.hero-proof .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-grad); flex-shrink: 0;
}

/* ---------- Phone mockup ---------- */
.hero-visual { display: flex; justify-content: center; }

.phone-frame {
  width: 280px;
  padding: 14px;
  background: #16161f;
  border-radius: 40px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-glow), 0 30px 60px rgba(0,0,0,0.5);
  position: relative;
}

.phone-notch {
  position: absolute;
  top: 14px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 18px;
  background: #16161f;
  border-radius: 0 0 14px 14px;
  z-index: 3;
}

.stream-canvas {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 28px;
  overflow: hidden;
  background: #0c0c14;
}

.stream-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(160deg, rgba(124,58,237,0.55), rgba(236,72,153,0.35) 55%, rgba(8,8,12,0.9)),
    linear-gradient(0deg, #0c0c14, #1c1626);
}

.live-badge {
  position: absolute;
  top: 34px; left: 14px;
  display: flex; align-items: center; gap: 6px;
  background: var(--live-red);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 10px;
  border-radius: 999px;
  z-index: 2;
}
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: pulse 1.4s infinite; }

.ai-tag {
  position: absolute;
  top: 34px; right: 14px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 5px 9px;
  border-radius: 999px;
  z-index: 2;
}

.comment-stack {
  position: absolute;
  right: 12px; top: 70px;
  display: flex; flex-direction: column; gap: 8px;
  max-width: 68%;
  z-index: 2;
}
.comment-bubble {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  font-size: 0.66rem;
  padding: 7px 10px;
  border-radius: 12px 12px 12px 2px;
  opacity: 0;
  animation: floatIn 6s infinite;
}
.comment-bubble.c1 { animation-delay: 0s; }
.comment-bubble.c2 { animation-delay: 2s; }
.comment-bubble.c3 { animation-delay: 4s; }

.product-chip {
  position: absolute;
  left: 12px; right: 12px; bottom: 78px;
  display: flex; align-items: center; gap: 10px;
  background: rgba(12,12,20,0.72);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 9px;
  z-index: 2;
}
.product-thumb {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--accent-grad);
  flex-shrink: 0;
}
.product-meta { display: flex; flex-direction: column; }
.product-meta strong { font-size: 0.68rem; color: #fff; }
.product-meta span { font-size: 0.6rem; color: rgba(255,255,255,0.65); }

.avatar-pip {
  position: absolute;
  left: 14px; bottom: 14px;
  display: flex; align-items: center; gap: 6px;
  background: rgba(12,12,20,0.72);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 5px 10px 5px 5px;
  border-radius: 999px;
  z-index: 2;
}
.avatar-face {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent-grad);
}
.avatar-pip span { font-size: 0.66rem; font-weight: 600; color: #fff; }

.phone-caption {
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 14px;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}
@keyframes floatIn {
  0% { opacity: 0; transform: translateY(6px); }
  8%, 28% { opacity: 1; transform: translateY(0); }
  36% { opacity: 0; transform: translateY(-6px); }
  100% { opacity: 0; }
}

/* ---------- Bands & sections ---------- */
.band, .section { padding: 88px 0; position: relative; z-index: 1; }
.band { border-top: 1px solid var(--border); }
.band-dark { background: var(--bg-alt); }
.band-narrow { max-width: 760px; }

.kicker {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 14px;
}

.band-body {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 68ch;
}

.section-intro {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 70ch;
  margin-bottom: 40px;
}
.section-intro code {
  background: rgba(255,255,255,0.08);
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 0.85em;
}

/* ---------- Feature grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
}
.feature-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--accent-2);
  margin-bottom: 14px;
  font-weight: 700;
}
.feature-card p { color: var(--text-muted); font-size: 0.92rem; }

/* ---------- Roadmap chips ---------- */
.roadmap-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.chip {
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.04);
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 9px 16px;
  border-radius: 999px;
}

/* ---------- Why grid ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.why-card p { color: var(--text-muted); font-size: 0.9rem; }

/* ---------- Cost compare ---------- */
.cost-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 36px;
}
.cost-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
}
.cost-card-highlight {
  border-color: var(--accent-1);
  box-shadow: 0 0 0 1px rgba(124,58,237,0.4), var(--shadow-glow);
}
.cost-label {
  display: block;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 8px;
}
.cost-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.cost-value small { font-size: 0.95rem; font-weight: 500; color: var(--text-muted); display: block; }
.cost-card p { color: var(--text-muted); font-size: 0.9rem; }

/* ---------- CTA ---------- */
.cta-section { padding: 100px 0 120px; position: relative; z-index: 1; }
.cta-box {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
.cta-box h2 { margin-bottom: 10px; }
.cta-box p { color: var(--text-muted); margin-bottom: 30px; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.footer-note a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .cost-compare { grid-template-columns: 1fr; }
  .nav { display: none; }
}

@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}
