/* ── SF Booster — Custom Styles & Animations ── */

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* Hero gradient orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: float 8s ease-in-out infinite;
}
.orb-1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(59,130,246,0.18) 0%, transparent 70%);
  top: -120px; left: -100px;
  animation-duration: 9s;
}
.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(139,92,246,0.14) 0%, transparent 70%);
  top: 80px; right: -80px;
  animation-duration: 11s;
  animation-delay: -3s;
}
.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(16,185,129,0.10) 0%, transparent 70%);
  bottom: -60px; left: 40%;
  animation-duration: 13s;
  animation-delay: -6s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-24px) scale(1.04); }
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Grid background */
.grid-bg {
  background-image:
    linear-gradient(rgba(59,130,246,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* Glow border cards */
.card-glow {
  position: relative;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(17, 24, 39, 0.7);
  backdrop-filter: blur(8px);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.card-glow:hover {
  border-color: rgba(59,130,246,0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(59,130,246,0.12);
}

/* Pricing highlight */
.plan-popular {
  border: 1px solid rgba(59,130,246,0.6);
  background: rgba(59,130,246,0.06);
}
.plan-popular:hover {
  border-color: rgba(59,130,246,0.9);
  box-shadow: 0 12px 40px rgba(59,130,246,0.2);
}

/* Stat counter */
.stat-number {
  font-variant-numeric: tabular-nums;
}

/* FAQ accordion */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-answer.open {
  max-height: 400px;
}
.faq-icon {
  transition: transform 0.3s ease;
}
.faq-icon.open {
  transform: rotate(45deg);
}

/* Nav scroll shadow */
.nav-scrolled {
  background: rgba(8, 12, 20, 0.95) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

/* Step connector line */
.step-line {
  position: absolute;
  top: 28px;
  left: calc(50% + 40px);
  width: calc(100% - 80px);
  height: 1px;
  background: linear-gradient(90deg, rgba(59,130,246,0.5), rgba(139,92,246,0.5));
}

/* Pill badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: 9999px;
  border: 1px solid rgba(59,130,246,0.35);
  background: rgba(59,130,246,0.1);
  font-size: 0.8rem;
  color: #93c5fd;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0a0f1e; }
::-webkit-scrollbar-thumb { background: #1e3a5f; border-radius: 3px; }

/* Feature step dots */
.step-dot {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700;
  background: rgba(59,130,246,0.15);
  border: 1px solid rgba(59,130,246,0.4);
  color: #60a5fa;
  flex-shrink: 0;
}

/* Mobile menu */
#mobile-menu {
  transition: max-height 0.3s ease, opacity 0.3s ease;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}
#mobile-menu.open {
  max-height: 320px;
  opacity: 1;
}

/* CTA button pulse */
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.2s;
}
.btn-primary:hover::after {
  background: rgba(255,255,255,0.06);
}

/* Feature icon bg */
.icon-wrap {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* Smooth appear for hero */
@keyframes heroIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-animate {
  animation: heroIn 0.8s ease forwards;
}
.hero-animate-delay {
  opacity: 0;
  animation: heroIn 0.8s ease 0.25s forwards;
}
.hero-animate-delay-2 {
  opacity: 0;
  animation: heroIn 0.8s ease 0.45s forwards;
}
.hero-animate-delay-3 {
  opacity: 0;
  animation: heroIn 0.8s ease 0.65s forwards;
}

/* Window chrome mockup */
.browser-chrome {
  background: #1e2738;
  border-radius: 12px 12px 0 0;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.dot-red   { width:10px; height:10px; border-radius:50%; background:#ef4444; }
.dot-yellow{ width:10px; height:10px; border-radius:50%; background:#f59e0b; }
.dot-green { width:10px; height:10px; border-radius:50%; background:#10b981; }
