.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Chat FAB clears sticky CTA on mobile */
@media (max-width: 48em) {
  .chat-fab {
    right: 16px;
    bottom: 84px;
  }
}

/* ─────────────────────────────────────────────────────────
   ANIMATED HERO BACKGROUND
───────────────────────────────────────────────────────── */
@keyframes grad-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes float-orb {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.6; }
  50%       { transform: translateY(-28px) scale(1.08); opacity: 0.9; }
}

@keyframes float-orb-2 {
  0%, 100% { transform: translateY(0) scale(1) translateX(0); opacity: 0.4; }
  33%       { transform: translateY(-18px) scale(1.05) translateX(12px); opacity: 0.7; }
  66%       { transform: translateY(10px) scale(0.96) translateX(-8px); opacity: 0.5; }
}

@keyframes pulse-ring {
  0%   { transform: scale(0.9); opacity: 0.7; }
  70%  { transform: scale(1.2); opacity: 0; }
  100% { transform: scale(0.9); opacity: 0; }
}

@keyframes dash-in {
  from { stroke-dashoffset: 300; }
  to   { stroke-dashoffset: 0; }
}

@keyframes badge-pop {
  0%   { transform: scale(0.8) translateY(6px); opacity: 0; }
  70%  { transform: scale(1.04) translateY(-1px); opacity: 1; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

.hero-bg-animated {
  position: relative;
  overflow: hidden;
}

.hero-bg-animated::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(67,67,240,.09) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(104,104,243,.07) 0%, transparent 55%),
              radial-gradient(ellipse at 60% 80%, rgba(16,185,129,.05) 0%, transparent 50%);
  background-size: 200% 200%;
  animation: grad-shift 14s ease infinite;
  pointer-events: none;
  z-index: 0;
}

.hero-bg-animated > * { position: relative; z-index: 1; }

/* Floating orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero-orb-1 {
  width: 360px; height: 360px;
  top: -80px; right: -100px;
  background: radial-gradient(circle, rgba(67,67,240,.1) 0%, transparent 70%);
  animation: float-orb 9s ease-in-out infinite;
}

.hero-orb-2 {
  width: 260px; height: 260px;
  bottom: -60px; left: -60px;
  background: radial-gradient(circle, rgba(104,104,243,.08) 0%, transparent 70%);
  animation: float-orb-2 12s ease-in-out infinite;
}

.hero-orb-3 {
  width: 180px; height: 180px;
  top: 40%; left: 40%;
  background: radial-gradient(circle, rgba(16,185,129,.06) 0%, transparent 70%);
  animation: float-orb 16s ease-in-out infinite reverse;
}

/* Dark hero variant (OneGuard) */
.hero-dark .hero-orb-1 {
  background: radial-gradient(circle, rgba(104,104,243,.18) 0%, transparent 70%);
}
.hero-dark .hero-orb-2 {
  background: radial-gradient(circle, rgba(67,67,240,.12) 0%, transparent 70%);
}
.hero-dark .hero-orb-3 {
  background: radial-gradient(circle, rgba(16,185,129,.08) 0%, transparent 70%);
}

/* ─────────────────────────────────────────────────────────
   GLASSMORPHISM
───────────────────────────────────────────────────────── */
.glass-card {
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(255,255,255,0.55);
  box-shadow: 0 8px 32px rgba(67,67,240,.08), 0 1px 0 rgba(255,255,255,0.8) inset;
}

.glass-card-dark {
  background: rgba(15,15,26,0.55);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border: 1px solid rgba(104,104,243,.22);
  box-shadow: 0 8px 32px rgba(0,0,0,.35);
}

.glass-badge {
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 2px 12px rgba(67,67,240,.1);
}

/* Plan card glass hover */
.plan-card {
  position: relative;
  overflow: hidden;
}
.plan-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.plan-card:hover::after { opacity: 1; }

/* ─────────────────────────────────────────────────────────
   BUTTON ICONS
───────────────────────────────────────────────────────── */
.btn-icon {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.btn-icon svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.btn-icon:hover svg {
  transform: translateX(3px);
}

.btn-icon-left svg {
  order: -1;
}

/* ─────────────────────────────────────────────────────────
   ACCESSIBILITY — FOCUS RINGS
───────────────────────────────────────────────────────── */
:focus-visible {
  outline: 3px solid rgba(67,67,240,.55);
  outline-offset: 3px;
  border-radius: 4px;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(67,67,240,.55);
  outline-offset: 3px;
}

/* ─────────────────────────────────────────────────────────
   SCROLL REVEAL VARIANTS
───────────────────────────────────────────────────────── */
.reveal-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delays */
[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.3s; }
[data-delay="4"] { transition-delay: 0.4s; }
[data-delay="5"] { transition-delay: 0.5s; }

/* ─────────────────────────────────────────────────────────
   MOBILE RESPONSIVE ADDITIONS
───────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .hero-orb-1 { width: 220px; height: 220px; top: -40px; right: -60px; }
  .hero-orb-2 { width: 160px; height: 160px; bottom: -40px; left: -40px; }
  .hero-orb-3 { display: none; }

  .press-strip { gap: 10px; }
  .press-strip-logos { gap: 8px; }

  .plan-grid { gap: 14px; }
  .faq-q { font-size: 15px; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .hero-bg-animated::before,
  .hero-orb { animation: none; }
  .reveal, .reveal-left, .reveal-right {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
