/* ============================================================
   StreamSnip — Main Stylesheet
   Dark streaming aesthetic. Syne display + Space Grotesk body.
   Accent: cyan (#00e5ff) + neon green (#39ff14).
   ============================================================ */

/* ── Reset & Base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:         #080c10;
  --bg-2:       #0d1117;
  --bg-3:       #111820;
  --surface:    #141c26;
  --surface-2:  #1a2333;
  --border:     rgba(255,255,255,0.07);
  --border-2:   rgba(0,229,255,0.18);

  --cyan:       #00e5ff;
  --green:      #39ff14;
  --purple:     #a855f7;
  --text:       #e8edf5;
  --text-muted: #7a8899;
  --text-dim:   #4a5568;

  --font-display: 'Syne', sans-serif;
  --font-body:    'Space Grotesk', sans-serif;

  --radius:     12px;
  --radius-sm:  6px;
  --radius-lg:  20px;
}

html { scroll-behavior: smooth; }

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

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Typography ──────────────────────────────────────────── */
h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 700;
}

.headline-accent {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Navigation ──────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.nav-scrolled {
  background: rgba(8, 12, 16, 0.92);
  border-color: var(--border);
  backdrop-filter: blur(12px);
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.logo-icon {
  color: var(--cyan);
  font-size: 0.9rem;
}

.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover { color: var(--text); }

.btn-nav {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background: var(--cyan);
  color: var(--bg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-nav:hover {
  background: #33eeff;
  transform: translateY(-1px);
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  background: var(--cyan);
  color: var(--bg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.25);
}

.btn-primary:hover {
  background: #33eeff;
  transform: translateY(-2px);
  box-shadow: 0 4px 32px rgba(0, 229, 255, 0.4);
}

.btn-primary.btn-large {
  padding: 18px 40px;
  font-size: 1.1rem;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 14px 24px;
  border: 1px solid var(--border-2);
  color: var(--cyan);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
}

.btn-ghost:hover {
  background: rgba(0, 229, 255, 0.07);
  border-color: var(--cyan);
}

/* ── Section Base ────────────────────────────────────────── */
.section {
  padding: 100px 0;
}

.section-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 60px;
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 0 60px;
  overflow: hidden;
}

/* Grid background */
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,229,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.8) 0%, transparent 70%);
}

/* Atmospheric glows */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.hero-glow-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,229,255,0.12) 0%, transparent 70%);
  top: -100px;
  left: -100px;
}

.hero-glow-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(57,255,20,0.08) 0%, transparent 70%);
  bottom: -50px;
  right: -50px;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--border-2);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--cyan);
  margin-bottom: 28px;
  background: rgba(0, 229, 255, 0.06);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.hero-headline {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  max-width: 700px;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 32px;
  max-width: fit-content;
  gap: 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--cyan);
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

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

.hero-platforms {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 20px 24px;
  flex-wrap: wrap;
}

.platform-tag {
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--surface);
}

.platform-tag-out {
  border-color: rgba(57,255,20,0.25);
  color: var(--green);
  background: rgba(57,255,20,0.05);
}

.platform-arrow {
  font-size: 1.4rem;
  color: var(--text-dim);
  margin: 0 4px;
}

/* ── How It Works ────────────────────────────────────────── */
.how-it-works {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.steps-flow {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step-card {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 255, 0.2);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.step-card-accent {
  border-color: var(--border-2);
  background: linear-gradient(145deg, var(--surface), rgba(0, 229, 255, 0.04));
  box-shadow: 0 0 40px rgba(0, 229, 255, 0.06);
}

.step-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--cyan);
  margin-bottom: 12px;
}

.step-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}

.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.step-body {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.step-platforms {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.step-platforms span {
  padding: 4px 10px;
  background: var(--surface-2);
  border-radius: var(--radius-sm);
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 500;
}

.step-signals {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.signal-tag {
  padding: 4px 10px;
  background: rgba(0,229,255,0.08);
  border: 1px solid rgba(0,229,255,0.18);
  border-radius: 100px;
  font-size: 0.75rem;
  color: var(--cyan);
  font-weight: 500;
}

.step-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  padding-top: 80px;
  min-width: 60px;
}

.connector-line {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, var(--border), var(--border-2));
}

.connector-arrow {
  font-size: 1.2rem;
  color: var(--cyan);
  margin-top: 4px;
  margin-left: 8px;
}

/* ── Why Section ─────────────────────────────────────────── */
.why-section {
  background: var(--bg);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.why-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.25s ease;
}

.why-card:hover {
  transform: translateY(-3px);
  border-color: rgba(57, 255, 20, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.why-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
  display: block;
}

.why-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
  font-family: var(--font-display);
}

.why-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Social Proof ────────────────────────────────────────── */
.proof-section {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.proof-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 60px;
}

.proof-stat {
  background: var(--surface);
  padding: 28px 24px;
  text-align: center;
}

.proof-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--cyan);
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.proof-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.25s ease;
}

.testimonial-card:hover {
  border-color: rgba(0,229,255,0.15);
  transform: translateY(-2px);
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.testimonial-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--bg);
  flex-shrink: 0;
}

.author-name {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text);
}

.author-handle {
  font-size: 0.76rem;
  color: var(--text-dim);
  margin-top: 2px;
}

/* ── Pricing ─────────────────────────────────────────────── */
.pricing-section {
  background: var(--bg);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 820px;
  margin: 0 auto 32px;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  transition: all 0.25s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}

.pricing-card-featured {
  border-color: var(--border-2);
  background: linear-gradient(145deg, var(--surface), rgba(0, 229, 255, 0.05));
  box-shadow: 0 0 60px rgba(0, 229, 255, 0.08);
}

.pricing-featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--cyan), var(--green));
  color: var(--bg);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.pricing-tier-label {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 12px;
}

.price-dollar {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 8px;
}

.price-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.04em;
  line-height: 1;
}

.price-period {
  font-size: 1rem;
  color: var(--text-muted);
  margin-left: 4px;
}

.pricing-summary {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
  border-bottom: 1px solid var(--border);
  padding-bottom: 24px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text);
}

.check {
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1.4;
}

.check.muted {
  color: var(--text-dim);
}

.pricing-features li strong {
  color: var(--text);
}

.btn-pricing {
  display: block;
  width: 100%;
  padding: 14px;
  text-align: center;
  border: 1px solid var(--border-2);
  color: var(--cyan);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
}

.btn-pricing:hover {
  background: rgba(0,229,255,0.08);
  border-color: var(--cyan);
}

.btn-pricing-featured {
  background: var(--cyan);
  color: var(--bg);
  border-color: var(--cyan);
}

.btn-pricing-featured:hover {
  background: #33eeff;
  border-color: #33eeff;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0, 229, 255, 0.3);
}

.pricing-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.pricing-note a {
  color: var(--cyan);
  text-decoration: none;
}

.pricing-note a:hover { text-decoration: underline; }

/* ── CTA Section ─────────────────────────────────────────── */
.cta-section {
  padding: 80px 0;
  background: var(--bg-3);
  border-top: 1px solid var(--border);
}

.cta-inner {
  position: relative;
  text-align: center;
  padding: 64px;
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(0, 229, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
  letter-spacing: -0.03em;
}

.cta-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 36px;
  line-height: 1.65;
  position: relative;
}

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

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 40px;
  gap: 48px;
}

.footer-brand .logo {
  margin-bottom: 10px;
  display: inline-flex;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-links-group {
  display: flex;
  gap: 48px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 16px 24px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* ── Scroll animations ───────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.steps-flow .step-card:nth-child(1) { transition-delay: 0s; }
.steps-flow .step-card:nth-child(3) { transition-delay: 0.1s; }
.steps-flow .step-card:nth-child(5) { transition-delay: 0.2s; }
.why-grid .why-card:nth-child(1) { transition-delay: 0s; }
.why-grid .why-card:nth-child(2) { transition-delay: 0.07s; }
.why-grid .why-card:nth-child(3) { transition-delay: 0.14s; }
.why-grid .why-card:nth-child(4) { transition-delay: 0.07s; }
.why-grid .why-card:nth-child(5) { transition-delay: 0.14s; }
.why-grid .why-card:nth-child(6) { transition-delay: 0.21s; }
.testimonials .testimonial-card:nth-child(2) { transition-delay: 0.08s; }
.testimonials .testimonial-card:nth-child(3) { transition-delay: 0.16s; }

/* ── Mobile ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links { display: none; }

  .steps-flow {
    flex-direction: column;
    gap: 16px;
  }

  .step-connector {
    padding: 4px 0 4px 24px;
    flex-direction: row;
    align-items: center;
    min-width: unset;
    width: fit-content;
  }

  .connector-line {
    width: 1px;
    height: 24px;
    background: linear-gradient(180deg, var(--border), var(--border-2));
  }

  .connector-arrow {
    transform: rotate(90deg);
    margin-top: 0;
    margin-left: 4px;
  }

  .why-grid { grid-template-columns: 1fr 1fr; }

  .proof-bar { grid-template-columns: 1fr 1fr; }

  .testimonials { grid-template-columns: 1fr; }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-inner { flex-direction: column; }
  .footer-links-group { gap: 32px; }

  .hero-stats {
    flex-wrap: wrap;
    gap: 16px;
    padding: 16px 20px;
  }

  .stat-divider { display: none; }
  .stat-item { padding: 0 12px; }

  .cta-inner { padding: 40px 24px; }
}

@media (max-width: 600px) {
  .why-grid { grid-template-columns: 1fr; }
  .proof-bar { grid-template-columns: 1fr 1fr; }
  .hero-headline { font-size: 2.8rem; }
  .hero-cta-row { flex-direction: column; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
}
