/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

/* ===== HERO ===== */
.hero-bg {
  background: #030712;
}

/* Glow blobs */
.glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.glow-indigo {
  width: 650px; height: 650px;
  background: radial-gradient(circle, rgba(99,102,241,0.22) 0%, transparent 70%);
  top: -150px; left: -120px;
}
.glow-violet {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(139,92,246,0.18) 0%, transparent 70%);
  top: 30%; right: -100px;
}
.glow-cyan {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(6,182,212,0.1) 0%, transparent 70%);
  bottom: 15%; left: 35%;
}

/* Subtle grid overlay */
.hero-grid {
  background-image:
    linear-gradient(rgba(99,102,241,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,0.05) 1px, transparent 1px);
  background-size: 52px 52px;
}

/* Gradient headline text */
.hero-gradient-text {
  display: block;
  background: linear-gradient(135deg, #818CF8 0%, #C4B5FD 45%, #67E8F9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Trust pills */
.trust-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(99,102,241,0.12);
  border: 1px solid rgba(99,102,241,0.22);
  color: #A5B4FC;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 9999px;
  letter-spacing: 0.02em;
}

/* Hero card (glassmorphism) */
.hero-card {
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(99,102,241,0.18);
  border-radius: 1.5rem;
  padding: 1.75rem;
  box-shadow:
    0 32px 64px rgba(0,0,0,0.5),
    0 0 0 1px rgba(99,102,241,0.08),
    inset 0 1px 0 rgba(255,255,255,0.06);
}
.hero-service-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.875rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 0.875rem;
  transition: background 0.2s ease;
}
.hero-service-item:hover {
  background: rgba(255,255,255,0.07);
}

/* ===== NAVBAR ===== */
#navbar {
  background: transparent;
}
#navbar.scrolled {
  background: rgba(255,255,255,0.97) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06), 0 4px 20px rgba(0,0,0,0.04);
}
#navbar.scrolled .nav-link { color: #374151 !important; }
#navbar.scrolled .nav-link:hover { color: #4F46E5 !important; }
#navbar.scrolled .nav-logo-text { color: #0F172A !important; }

/* Mobile menu */
.mobile-menu-bg {
  background: rgba(3, 7, 18, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* ===== SECTION HELPERS ===== */
.section-label {
  display: inline-block;
  color: #6366F1;
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  color: #0F172A;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
  line-height: 1.12;
}
.section-desc {
  color: #64748B;
  max-width: 38rem;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.75;
}

/* ===== SERVICE CARDS ===== */
.service-card {
  background: white;
  border-radius: 1.25rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.03);
  border: 1px solid #F1F5F9;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.1);
}
.service-card-top {
  height: 4px;
  width: 100%;
}

/* ===== HOW IT WORKS ===== */
.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.step-number-wrap {
  position: relative;
  z-index: 10;
}
.step-number {
  width: 5rem;
  height: 5rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 32px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}
.step-number:hover { transform: scale(1.08); }
.step-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 1.75rem;
  height: 1.75rem;
  background: #4F46E5;
  color: white;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.7rem;
  border: 2px solid white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.steps-line {
  background: linear-gradient(90deg, #C7D2FE, #6366F1, #C7D2FE);
}

/* ===== BENEFITS ===== */
.benefits-bg {
  background: linear-gradient(135deg, #0F172A 0%, #1E1B4B 48%, #0F172A 100%);
}
.benefit-item {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 1.25rem;
  padding: 1.5rem;
  transition: transform 0.25s ease, background 0.25s ease;
}
.benefit-item:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.08);
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
  background: white;
  border-radius: 1.25rem;
  padding: 1.75rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  border: 1px solid #F1F5F9;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.09);
}

/* ===== CONTACT ===== */
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.contact-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cta-card {
  background: linear-gradient(135deg, #1E1B4B 0%, #312E81 55%, #1E3A8A 100%);
  border: 1px solid rgba(99,102,241,0.2);
}

/* ===== FAQ ===== */
.faq-answer { transition: max-height 0.35s ease, padding 0.2s ease; }
.faq-btn[aria-expanded="true"] .faq-icon { transform: rotate(180deg); }
.faq-item { transition: border-color 0.2s ease; }
.faq-item:has(.faq-btn[aria-expanded="true"]) { border-color: #C7D2FE; }

/* ===== ANIMATIONS ===== */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-14px); }
}
.animate-float { animation: float 6s ease-in-out infinite; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-in { animation: fadeInUp 0.9s ease-out both; }

/* ===== REVEAL ON SCROLL ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal:nth-child(5) { transition-delay: 0.4s; }
.reveal:nth-child(6) { transition-delay: 0.5s; }

/* ===== FLOATING WA BUTTON ===== */
#wa-float { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 9999; }

@keyframes wa-ring {
  0%, 100% { transform: scale(1); }
  10%       { transform: scale(1.12); }
  20%       { transform: scale(1); }
  30%       { transform: scale(1.08); }
  40%       { transform: scale(1); }
}
#wa-float { animation: wa-ring 4s ease-in-out infinite; }
#wa-float:hover { animation: none; }

.wa-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.35; }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #F8FAFC; }
::-webkit-scrollbar-thumb { background: #C7D2FE; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #6366F1; }

/* ===== MOBILE ===== */
@media (max-width: 640px) {
  #wa-float { bottom: 1rem; right: 1rem; padding: 0.875rem; border-radius: 9999px; }
  .glow-indigo { width: 350px; height: 350px; }
  .glow-violet { width: 300px; height: 300px; }
}
