/* ════════════════════════════════════════
   YVA MODERN — Gen-Z Design System
   ════════════════════════════════════════ */

/* ── AURORA GRADIENT BACKGROUND ── */
.aurora-bg {
  position: relative;
  overflow: hidden;
}
.aurora-bg::before {
  content: '';
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(245,181,51,0.10), transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(139,92,246,0.06), transparent 60%),
    radial-gradient(ellipse 50% 60% at 50% 30%, rgba(245,181,51,0.05), transparent 60%);
  animation: aurora-drift 18s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.aurora-bg > * { position: relative; z-index: 1; }

@keyframes aurora-drift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(3%, -2%) rotate(1deg); }
  66% { transform: translate(-2%, 3%) rotate(-1deg); }
}

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

/* ── GLASS CARD ── */
.glass-card {
  background: rgba(11, 20, 40, 0.55);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(245,181,51,0.4), rgba(139,92,246,0.2), rgba(245,181,51,0.1), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.glass-card:hover::before { opacity: 1; }
.glass-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 24px 64px rgba(0,0,0,0.45), 0 0 40px rgba(245,181,51,0.08);
  border-color: rgba(245,181,51,0.15);
}

/* ── GLASS CARD VARIANTS ── */
.glass-card-gold {
  background: rgba(11, 20, 40, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(245,181,51,0.15);
}
.glass-card-gold::before {
  background: linear-gradient(135deg, rgba(245,181,51,0.5), rgba(245,181,51,0.1), transparent 70%);
  opacity: 0.6;
}

/* ── ENHANCED GOLD TEXT ── */
.gold-text-v2 {
  background: linear-gradient(135deg, #f5b533 0%, #ffd57e 25%, #f5b533 50%, #ff9d00 75%, #f5b533 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 300% 300%;
  animation: shimmer-v2 5s ease infinite;
}
@keyframes shimmer-v2 {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ── MAGNETIC BUTTON ── */
.btn-magnetic {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.btn-magnetic:hover {
  transform: translateY(-3px) scale(1.02);
}
.btn-magnetic:active {
  transform: translateY(-1px) scale(0.98);
}

/* ── GLOWING CTA ── */
.btn-glow {
  position: relative;
  background: linear-gradient(135deg, #f5b533, #e5a520);
  color: #0a0f1e;
  font-weight: 800;
  padding: 14px 32px;
  border-radius: 999px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 8px 24px rgba(245,181,51,0.35), 0 0 0 0 rgba(245,181,51,0);
}
.btn-glow:hover {
  background: linear-gradient(135deg, #ffd57e, #f5b533);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 40px rgba(245,181,51,0.45), 0 0 60px rgba(245,181,51,0.15);
}
.btn-glow::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(245,181,51,0.5), rgba(139,92,246,0.3), rgba(245,181,51,0.5));
  z-index: -1;
  opacity: 0;
  filter: blur(12px);
  transition: opacity 0.4s ease;
}
.btn-glow:hover::after { opacity: 0.6; }

/* ── WHATSAPP FLOATING BUTTON ── */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4), 0 0 0 0 rgba(37,211,102,0.4);
  animation: whatsapp-pulse 2.5s ease-in-out infinite;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
}
.whatsapp-float:hover {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 8px 30px rgba(37,211,102,0.5);
}
@keyframes whatsapp-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4), 0 0 0 0 rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 20px rgba(37,211,102,0.4), 0 0 0 12px rgba(37,211,102,0); }
}

/* ── STICKY MOBILE CTA ── */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(2,6,23,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(245,181,51,0.15);
  padding: 12px 16px;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transform: translateY(100%);
  animation: sticky-slide-up 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 2s forwards;
}
@keyframes sticky-slide-up {
  to { transform: translateY(0); }
}
@media (max-width: 767px) {
  .sticky-cta { display: flex; }
  body { padding-bottom: 72px; }
}

/* ── CLIENT TICKER ── */
.client-ticker {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.client-ticker-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: ticker-scroll 30s linear infinite;
}
.client-ticker-track:hover { animation-play-state: paused; }
@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.client-ticker-item {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition: color 0.3s ease;
}
.client-ticker-item:hover { color: rgba(245,181,51,0.7); }

/* ── SCROLL PROGRESS BAR ── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, #f5b533, #ffd57e, #f5b533);
  z-index: 1002;
  width: 0%;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(245,181,51,0.5);
}

/* ── 3D TILT CARD ── */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.1s ease-out;
}
.tilt-card .tilt-content {
  transform: translateZ(20px);
}

/* ── FLOATING BADGE ── */
.float-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245,181,51,0.08);
  border: 1px solid rgba(245,181,51,0.2);
  border-radius: 999px;
  padding: 5px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f5b533;
  animation: float-badge-glow 3s ease-in-out infinite;
}
@keyframes float-badge-glow {
  0%, 100% { border-color: rgba(245,181,51,0.2); box-shadow: 0 0 0 0 rgba(245,181,51,0); }
  50% { border-color: rgba(245,181,51,0.5); box-shadow: 0 0 20px rgba(245,181,51,0.1); }
}

/* ── ENHANCED ORB ── */
.orb-v2 {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: orb-drift-v2 20s ease-in-out infinite;
}
@keyframes orb-drift-v2 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
  25% { transform: translate(30px, -20px) scale(1.1); opacity: 0.8; }
  50% { transform: translate(-10px, 25px) scale(0.9); opacity: 0.5; }
  75% { transform: translate(-25px, -10px) scale(1.05); opacity: 0.7; }
}

/* ── STAT COUNTER ENHANCED ── */
.stat-number {
  font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, #f5b533, #ffd57e);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── SECTION DIVIDER WAVE ── */
.wave-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245,181,51,0.15) 20%, rgba(245,181,51,0.4) 50%, rgba(245,181,51,0.15) 80%, transparent);
  position: relative;
}
.wave-divider::after {
  content: '';
  position: absolute;
  left: 50%;
  top: -3px;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f5b533;
  box-shadow: 0 0 12px rgba(245,181,51,0.6);
}

/* ── TESTIMONIAL AVATAR GLOW ── */
.avatar-glow {
  box-shadow: 0 0 0 2px rgba(245,181,51,0.3), 0 0 20px rgba(245,181,51,0.15);
}

/* ── COMPARISON CARD ENHANCED ── */
.cmp-featured {
  position: relative;
  background: rgba(13, 24, 48, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(245,181,51,0.25);
  border-radius: 20px;
  overflow: hidden;
}
.cmp-featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #f5b533, #ffd57e, #f5b533, transparent);
  animation: cmp-glow-line 3s ease-in-out infinite;
}
@keyframes cmp-glow-line {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* ── MARQUEE SPEED VARIATIONS ── */
.mq-slow { animation-duration: 40s; }
.mq-fast { animation-duration: 18s; }

/* ── RESPONSIVE TWEAKS ── */
@media (max-width: 767px) {
  .glass-card:hover {
    transform: translateY(-3px) scale(1);
  }
  .whatsapp-float {
    bottom: 88px;
    right: 16px;
    width: 48px;
    height: 48px;
  }
}

/* ── SMOOTH SCROLL BEHAVIOR ── */
html { scroll-behavior: smooth; }

/* ── SELECTION COLOR ── */
::selection {
  background: rgba(245,181,51,0.3);
  color: #fff;
}
