*, *::before, *::after { box-sizing: border-box; }

/* Header backdrop blur via pseudo-element so iOS Safari doesn't clip children */
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(8,8,8,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: -1;
  pointer-events: none;
}

html, body {
  font-family: 'Inter', system-ui, sans-serif;
  background: #080808;
  color: #ffffff;
  width: 100%;
  min-height: 100vh;
  padding: 0;
  margin: 0;
  scroll-behavior: smooth;
}

/* ── Gradient utilities ───────────────────────────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, #833AB4 0%, #C13584 35%, #E1306C 60%, #F77737 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-border {
  position: relative;
}
.gradient-border::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, #833AB4, #C13584, #F77737);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ── Glassmorphism card ───────────────────────────────────────────────────── */
.glass-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.glass-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(193, 53, 132, 0.4);
  transform: translateY(-4px);
}

/* ── Hero orbs ────────────────────────────────────────────────────────────── */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.25;
  pointer-events: none;
}
.orb-purple { background: #833AB4; }
.orb-pink   { background: #C13584; }
.orb-orange { background: #F77737; }

@keyframes floatA {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-24px) scale(1.05); }
}
@keyframes floatB {
  0%, 100% { transform: translateY(0) scale(1.05); }
  50%       { transform: translateY(18px) scale(1); }
}
.float-a { animation: floatA 9s ease-in-out infinite; }
.float-b { animation: floatB 11s ease-in-out infinite; }

/* ── Animated gradient CTA button ────────────────────────────────────────── */
.btn-gradient {
  background: linear-gradient(135deg, #833AB4, #C13584, #E1306C, #F77737);
  background-size: 250% 250%;
  animation: gradShift 4s ease infinite;
  border: none;
  border-radius: 14px;
  color: white;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}
.btn-gradient:hover {
  opacity: 0.9;
  transform: scale(1.03);
}
@keyframes gradShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ── Instagram icon background ───────────────────────────────────────────── */
.ig-bg {
  background: linear-gradient(45deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888);
  border-radius: 22%;
}

/* ── Scroll reveal ────────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-44px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right {
  opacity: 0;
  transform: translateX(44px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.revealed,
.reveal-left.revealed,
.reveal-right.revealed,
.reveal-scale.revealed {
  opacity: 1;
  transform: none;
}

/* Stagger helpers */
.d1 { transition-delay: 0.05s; }
.d2 { transition-delay: 0.15s; }
.d3 { transition-delay: 0.25s; }
.d4 { transition-delay: 0.35s; }
.d5 { transition-delay: 0.45s; }
.d6 { transition-delay: 0.55s; }

/* ── Step connector line ─────────────────────────────────────────────────── */
.step-connector {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, #833AB4, #F77737);
  opacity: 0.4;
  margin: 0 16px;
  margin-top: -48px;
}

/* ── Scroll indicator bounce ─────────────────────────────────────────────── */
@keyframes bounce {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50%       { transform: translateY(8px); opacity: 1; }
}
.scroll-bounce { animation: bounce 1.8s ease-in-out infinite; }

/* ── Number counter glow ──────────────────────────────────────────────────── */
.stat-number {
  background: linear-gradient(135deg, #C13584, #F77737);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Section divider ─────────────────────────────────────────────────────── */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(193,53,132,0.3), transparent);
  margin: 0 auto;
  max-width: 600px;
}

/* ── Platform marquee carousel ───────────────────────────────────────────── */
.marquee-outer {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}
.marquee-track {
  display: flex;
  align-items: center;
  /* 6 identical sets — animation moves by 1/6 = 16.667% */
  width: max-content;
  gap: 16px;
  will-change: transform;
}
/* forward: left-scroll */
.marquee-track.forward  { animation: marquee-fwd 32s linear infinite; }
/* backward: right-scroll */
.marquee-track.backward { animation: marquee-bwd 32s linear infinite; }
/* speed up while user scrolls */
.marquee-track.scroll-boost { animation-duration: 8s !important; }
@keyframes marquee-fwd  { from { transform: translateX(0); }          to { transform: translateX(-16.6667%); } }
@keyframes marquee-bwd  { from { transform: translateX(-16.6667%); }  to { transform: translateX(0); } }
.marquee-track:hover { animation-play-state: paused; }

.platform-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px 12px 14px;
  border-radius: 100px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  flex-shrink: 0;
  white-space: nowrap;
  transition: border-color 0.3s, background 0.3s;
}
.platform-chip:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.18);
}
.platform-chip-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.platform-chip-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}

/* Platform icon brand backgrounds */
.bg-tiktok    { background: #010101; }
.bg-youtube   { background: #FF0000; }
.bg-x         { background: #000000; border: 1px solid rgba(255,255,255,0.15); }
.bg-threads   { background: #101010; border: 1px solid rgba(255,255,255,0.12); }
.bg-facebook  { background: #1877F2; }

/* ── Why-section highlight cards ─────────────────────────────────────────── */
.why-card {
  position: relative;
  padding: 28px;
  border-radius: 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.why-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s;
  background: radial-gradient(circle at 30% 40%, rgba(193,53,132,0.12), transparent 70%);
}
.why-card:hover { border-color: rgba(193,53,132,0.3); transform: translateY(-4px); }
.why-card:hover::before { opacity: 1; }
.why-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: rgba(193,53,132,0.15);
}

/* ── Pricing cards ───────────────────────────────────────────────────────── */
.pricing-card {
  border-radius: 24px;
  padding: 36px 32px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, transform 0.3s;
}
.pricing-card:hover { transform: translateY(-4px); }
.pricing-card.pro {
  background: rgba(131,58,180,0.07);
  border-color: rgba(193,53,132,0.4);
  position: relative;
  overflow: hidden;
}
.pricing-card.pro::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(193,53,132,0.18), transparent 70%);
  pointer-events: none;
}
.pricing-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #833AB4, #C13584);
  color: white;
  margin-bottom: 20px;
  width: fit-content;
}
.pricing-price-num {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  color: white;
}
.pricing-feature-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  padding: 7px 0;
  color: rgba(255,255,255,0.72);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.pricing-feature-row:last-child { border-bottom: none; }
.pricing-feature-row.dim { color: rgba(255,255,255,0.28); }
.pricing-check { color: #C13584; flex-shrink: 0; margin-top: 1px; }
.pricing-check.dim { color: rgba(255,255,255,0.2); }

/* ── Sign-up form ─────────────────────────────────────────────────────────── */
.signup-input {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 14px 16px;
  color: white;
  font-size: 0.9375rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  box-sizing: border-box;
}
.signup-input::placeholder { color: rgba(255,255,255,0.3); }
.signup-input:focus {
  border-color: rgba(193,53,132,0.6);
  background: rgba(255,255,255,0.07);
}
.signup-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

/* ── Content type showcase ───────────────────────────────────────────────── */
.content-type-card {
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.3s, border-color 0.3s;
}
.content-type-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(193,53,132,0.35);
}
.content-type-thumb {
  aspect-ratio: 9/16;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.content-type-thumb-wide {
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.play-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.25);
}
