/* ================================================
   ZapVox — Design Enhancement Layer v1.0
   ✅ STABLE — Camada CSS pura sobre o design existente.
   Adiciona: scroll-reveal, gradientes premium, micro-animações,
   noise texture, tipografia refinada, hover states avançados.
   NÃO altera funcionalidade — apenas estética.
   ================================================ */

/* ─── SCROLL REVEAL FOUNDATION ─── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.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; }

/* ─── NOISE TEXTURE OVERLAY ─── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ─── ENHANCED HERO ─── */
.hero {
  position: relative;
}
.hero::before {
  background: radial-gradient(
    ellipse 800px 600px at 50% 20%,
    rgba(37, 211, 102, 0.10) 0%,
    rgba(18, 140, 126, 0.06) 30%,
    transparent 70%
  ) !important;
  animation: heroGlow 8s ease-in-out infinite alternate;
}
@keyframes heroGlow {
  0% { opacity: 0.7; transform: translateX(-50%) scale(1); }
  100% { opacity: 1; transform: translateX(-50%) scale(1.08); }
}

/* ─── TRUST BAR ─── */
.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 20px 0;
  margin: 0 auto;
  max-width: 700px;
  opacity: 0.7;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}
.trust-item svg {
  width: 16px;
  height: 16px;
  opacity: 0.6;
}
.trust-divider {
  width: 1px;
  height: 20px;
  background: var(--border);
}

/* ─── FEATURE ICONS (SVG override) ─── */
.feature-icon {
  position: relative;
  overflow: hidden;
}
.feature-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(37, 211, 102, 0.15) 0%,
    rgba(18, 140, 126, 0.05) 100%
  );
  border-radius: 14px;
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover .feature-icon::after {
  opacity: 1;
}
.feature-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--green);
  stroke-width: 1.8;
  fill: none;
  position: relative;
  z-index: 1;
}

/* ─── ENHANCED FEATURE CARDS ─── */
.feature-card {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.feature-card:hover {
  transform: translateY(-6px) !important;
  box-shadow:
    0 24px 64px rgba(37, 211, 102, 0.08),
    0 0 0 1px rgba(37, 211, 102, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

/* ─── ENHANCED STEP CARDS ─── */
.step-card {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.step-card:hover {
  transform: translateY(-6px) !important;
  box-shadow:
    0 24px 48px rgba(37, 211, 102, 0.06),
    0 0 0 1px rgba(37, 211, 102, 0.12) !important;
}
.step-num {
  transition: transform 0.3s, box-shadow 0.3s;
}
.step-card:hover .step-num {
  transform: scale(1.08);
  box-shadow: 0 0 24px rgba(37, 211, 102, 0.3);
}

/* ─── ENHANCED PRICING CARDS ─── */
.pricing-card {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative;
  overflow: hidden;
}
.pricing-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.pricing-card:hover::after {
  opacity: 1;
}
.pricing-card.featured::after {
  opacity: 1;
  background: linear-gradient(90deg, var(--green), #43e87c, var(--green));
  height: 3px;
}
.pricing-card:hover {
  transform: translateY(-6px) !important;
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(37, 211, 102, 0.12) !important;
}
.pricing-card.featured:hover {
  box-shadow:
    0 24px 80px rgba(37, 211, 102, 0.15),
    0 0 0 1px rgba(37, 211, 102, 0.3) !important;
}

/* ─── PLAN FEATURES ANIMATION ─── */
.plan-features li {
  transition: transform 0.2s;
}
.plan-features li:hover {
  transform: translateX(4px);
}

/* ─── ENHANCED PERSONA CARDS ─── */
.persona-card {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.persona-card:hover {
  transform: translateY(-6px) scale(1.02) !important;
  box-shadow: 0 24px 48px rgba(37, 211, 102, 0.08) !important;
}
.persona-emoji {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.persona-card:hover .persona-emoji {
  transform: scale(1.15) rotate(-3deg);
}

/* ─── FAQ ENHANCED ─── */
.faq-item {
  transition: all 0.3s !important;
}
.faq-item:hover {
  border-color: rgba(37, 211, 102, 0.2) !important;
  background: rgba(37, 211, 102, 0.02) !important;
}

/* ─── WA BUBBLE GLOW ─── */
.wa-bubble {
  transition: box-shadow 0.5s;
}
.wa-bubble:hover {
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(37, 211, 102, 0.1),
    0 0 60px rgba(37, 211, 102, 0.05) !important;
}

/* ─── COMPARISON TABLE GLOW ─── */
.comparison-table .hl.good {
  position: relative;
}
.comparison-table tr:hover .hl.good {
  text-shadow: 0 0 12px rgba(37, 211, 102, 0.3);
}

/* ─── BUTTONS ENHANCED ─── */
.btn-primary-lg {
  position: relative;
  overflow: hidden;
}
.btn-primary-lg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2) 0%,
    transparent 50%,
    rgba(255, 255, 255, 0.1) 100%
  );
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-primary-lg:hover::before {
  opacity: 1;
}

/* ─── NAV ENHANCED ─── */
.nav {
  transition: background 0.3s, box-shadow 0.3s !important;
}
.nav.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  background: rgba(8, 10, 15, 0.92) !important;
}

/* ─── GRADIENT MESH BACKGROUND ─── */
.gradient-mesh {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 40% at 10% 80%, rgba(18, 140, 126, 0.04), transparent),
    radial-gradient(ellipse 50% 50% at 90% 20%, rgba(37, 211, 102, 0.03), transparent);
}

/* ─── STATS COUNTER ANIMATION ─── */
.stat-number {
  font-variant-numeric: tabular-nums;
}

/* ─── NEWSLETTER SECTION GLOW ─── */
.newsletter-section {
  position: relative;
}
.newsletter-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 600px 300px at 50% 50%,
    rgba(37, 211, 102, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
}

/* ─── FOOTER SUBTLE BORDER ─── */
footer {
  position: relative;
}
footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* ─── SMOOTH SCROLL ANCHOR OFFSET ─── */
[id] {
  scroll-margin-top: 80px;
}

/* ─── SELECTION COLOR ─── */
::selection {
  background: rgba(37, 211, 102, 0.25);
  color: #fff;
}

/* ─── RESPONSIVE ENHANCEMENTS ─── */
@media (max-width: 768px) {
  .trust-bar {
    flex-wrap: wrap;
    gap: 16px;
  }
  .trust-divider {
    display: none;
  }
  .reveal {
    transform: translateY(20px);
  }
}

/* ─── REDUCED MOTION ─── */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .heroGlow,
  .wave,
  .pulse,
  .demoTyping {
    animation: none !important;
  }
}
