/* ========================================
   ENHANCED ANIMATIONS & VISUAL EFFECTS - PREMIUM & PERFORMANCE-OPTIMIZED
   ======================================== */

:root {
  --accent: #c9a961;
  --accent-light: #e8d5a3;
  --accent-glow: rgba(201,169,97,0.4);
  --dark: #0f1b2d;
  --dark-light: #1a2b4a;
  --light: #ffffff;
  --muted: #6b7280;
  --border: #e5e7eb;
  --gradient-primary: linear-gradient(135deg, #c9a961 0%, #e8d5a3 50%, #c9a961 100%);
  --gradient-accent: linear-gradient(135deg, rgba(201,169,97,0.15) 0%, rgba(201,169,97,0.03) 100%);
  --gradient-dark: linear-gradient(135deg, rgba(15,27,45,0.2) 0%, rgba(15,27,45,0.05) 100%);
  --shadow-soft: 0 4px 20px rgba(15,27,45,0.08);
  --shadow-medium: 0 8px 40px rgba(15,27,45,0.12);
  --shadow-strong: 0 16px 60px rgba(15,27,45,0.16);
  --shadow-glow: 0 0 30px rgba(201,169,97,0.2);
  --transition-smooth: transform 0.3s cubic-bezier(0.25,0.46,0.45,0.94), box-shadow 0.3s cubic-bezier(0.25,0.46,0.45,0.94), background 0.3s ease;
  --transition-bounce: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
  --transition-slow: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94), opacity 0.6s ease;
}

/* ========================================
   PERFORMANCE UTILITIES
   ======================================== */
.gpu-layer {
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform, opacity;
}

.animate-on-hover {
  transition: var(--transition-smooth);
}

.animate-on-hover:hover {
  transform: translateY(-4px);
}

/* ========================================
   ANIMATED BACKGROUND GRADIENTS (GPU-accelerated)
   ======================================== */
.animated-bg {
  position: relative;
  overflow: hidden;
  contain: layout paint style;
}

.animated-bg::before,
.animated-bg::after {
  content: '';
  position: absolute;
  pointer-events: none;
  z-index: 0;
  inset: -40%;
  will-change: transform;
  animation-play-state: paused;
}

.animated-bg::before {
  background: 
    radial-gradient(ellipse 70% 50% at 15% 25%, rgba(201,169,97,0.12) 0%, transparent 55%),
    radial-gradient(ellipse 55% 40% at 85% 75%, rgba(15,27,45,0.15) 0%, transparent 55%);
  animation: gradientShift 8s ease-in-out infinite;
}

.animated-bg::after {
  background: 
    radial-gradient(ellipse 50% 50% at 50% 50%, rgba(201,169,97,0.06) 0%, transparent 65%),
    radial-gradient(circle at 30% 70%, rgba(201,169,97,0.08) 0%, transparent 45%);
  animation: gradientShiftReverse 10s ease-in-out infinite;
}

.animated-bg:hover::before,
.animated-bg:hover::after,
.animated-bg:focus-within::before,
.animated-bg:focus-within::after {
  animation-play-state: running;
}

@keyframes gradientShift {
  0%, 100% { transform: translate3d(0,0,0) rotate(0deg) scale(1); }
  25% { transform: translate3d(1.5%,-1%,0) rotate(0.5deg) scale(1.02); }
  50% { transform: translate3d(-1%,2%,0) rotate(-0.5deg) scale(0.98); }
  75% { transform: translate3d(2%,-0.5%,0) rotate(0.25deg) scale(1.01); }
}

@keyframes gradientShiftReverse {
  0%, 100% { transform: translate3d(0,0,0) rotate(0deg) scale(1); }
  25% { transform: translate3d(-1.5%,1%,0) rotate(-0.5deg) scale(1.02); }
  50% { transform: translate3d(1%,-2%,0) rotate(0.5deg) scale(0.98); }
  75% { transform: translate3d(-2%,0.5%,0) rotate(-0.25deg) scale(1.01); }
}

/* Mesh Gradient Background - subtle depth */
.mesh-gradient {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 10% 10%, rgba(201,169,97,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 90%, rgba(15,27,45,0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(201,169,97,0.08) 0%, transparent 70%);
  animation: meshMove 12s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
  opacity: 0.6;
  animation-play-state: paused;
}

.animated-bg:hover .mesh-gradient,
.animated-bg:focus-within .mesh-gradient {
  animation-play-state: running;
}

@keyframes meshMove {
  0%, 100% { transform: translate3d(0,0,0) scale(1) rotate(0deg); }
  20% { transform: translate3d(-1.5%,1.5%,0) scale(1.015) rotate(0.5deg); }
  40% { transform: translate3d(1.5%,-1%,0) scale(0.99) rotate(-0.5deg); }
  60% { transform: translate3d(-1%,-1.5%,0) scale(1.01) rotate(0.25deg); }
  80% { transform: translate3d(1.5%,1.5%,0) scale(0.995) rotate(-0.25deg); }
}

/* ========================================
   FLOATING ORBS - Premium & Lightweight
   ======================================== */
.floating-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  contain: layout paint;
}

.floating-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0;
  mix-blend-mode: screen;
  will-change: transform, opacity;
  animation-play-state: paused;
}

.animated-bg:hover .floating-orb,
.animated-bg:focus-within .floating-orb {
  animation-play-state: running;
}

/* Hero orbs - 3 subtle orbs */
.section.hero .floating-orb:nth-child(1) { 
  width: 300px; height: 300px; 
  background: radial-gradient(circle, rgba(201,169,97,0.25) 0%, transparent 70%); 
  top: 5%; left: 5%; 
  animation: floatOrbSlow 20s ease-in-out infinite; 
  animation-delay: 0s; 
}
.section.hero .floating-orb:nth-child(2) { 
  width: 220px; height: 220px; 
  background: radial-gradient(circle, rgba(15,27,45,0.3) 0%, transparent 70%); 
  top: 55%; right: 8%; 
  animation: floatOrbSlow 24s ease-in-out infinite; 
  animation-delay: -8s; 
}
.section.hero .floating-orb:nth-child(3) { 
  width: 160px; height: 160px; 
  background: radial-gradient(circle, rgba(201,169,97,0.18) 0%, transparent 70%); 
  bottom: 15%; left: 12%; 
  animation: floatOrbSlow 18s ease-in-out infinite; 
  animation-delay: -4s; 
}

/* Stats orbs - darker tone */
.section.stats .floating-orb:nth-child(1) { 
  width: 250px; height: 250px; 
  background: radial-gradient(circle, rgba(201,169,97,0.2) 0%, transparent 70%); 
  top: 10%; left: 8%; 
  animation: floatOrbSlow 22s ease-in-out infinite; 
}
.section.stats .floating-orb:nth-child(2) { 
  width: 180px; height: 180px; 
  background: radial-gradient(circle, rgba(15,27,45,0.25) 0%, transparent 70%); 
  bottom: 10%; right: 10%; 
  animation: floatOrbSlow 26s ease-in-out infinite; 
  animation-delay: -6s; 
}
.section.stats .floating-orb:nth-child(3) { 
  width: 120px; height: 120px; 
  background: radial-gradient(circle, rgba(201,169,97,0.15) 0%, transparent 70%); 
  top: 40%; right: 20%; 
  animation: floatOrbSlow 19s ease-in-out infinite; 
  animation-delay: -3s; 
}

/* Other sections - minimal 2 orbs */
.section.animated-bg:not(.hero):not(.stats) .floating-orb:nth-child(1) { 
  width: 200px; height: 200px; 
  background: radial-gradient(circle, rgba(201,169,97,0.12) 0%, transparent 70%); 
  top: 10%; left: 5%; 
  animation: floatOrbSlow 25s ease-in-out infinite; 
}
.section.animated-bg:not(.hero):not(.stats) .floating-orb:nth-child(2) { 
  width: 150px; height: 150px; 
  background: radial-gradient(circle, rgba(15,27,45,0.15) 0%, transparent 70%); 
  bottom: 10%; right: 5%; 
  animation: floatOrbSlow 28s ease-in-out infinite; 
  animation-delay: -7s; 
}

@keyframes floatOrbSlow {
  0%, 100% { 
    transform: translate3d(0,0,0) scale(1) rotate(0deg); 
    opacity: 0.15; 
  }
  20% { 
    transform: translate3d(30px,-20px,0) scale(1.08) rotate(2deg); 
    opacity: 0.22; 
  }
  40% { 
    transform: translate3d(-25px,30px,0) scale(0.95) rotate(-1.5deg); 
    opacity: 0.12; 
  }
  60% { 
    transform: translate3d(20px,25px,0) scale(1.03) rotate(1deg); 
    opacity: 0.18; 
  }
  80% { 
    transform: translate3d(-30px,-15px,0) scale(0.98) rotate(-1deg); 
    opacity: 0.14; 
  }
}

/* Hero background orbs - CSS-driven, no inline styles */
.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
  will-change: transform, opacity;
  animation: floatOrbSlow 15s ease-in-out infinite;
}

.hero-bg-orb:nth-child(1) { 
  width: 180px; height: 180px; 
  background: radial-gradient(circle, rgba(201,169,97,0.3) 0%, transparent 70%); 
  top: 8%; left: 5%; 
  opacity: 0.4; 
  animation-duration: 18s; 
}
.hero-bg-orb:nth-child(2) { 
  width: 120px; height: 120px; 
  background: radial-gradient(circle, rgba(15,27,45,0.35) 0%, transparent 70%); 
  top: 55%; right: 8%; 
  opacity: 0.35; 
  animation-duration: 22s; 
  animation-delay: -5s; 
}
.hero-bg-orb:nth-child(3) { 
  width: 60px; height: 60px; 
  background: radial-gradient(circle, rgba(201,169,97,0.4) 0%, transparent 70%); 
  top: 28%; right: 18%; 
  opacity: 0.3; 
  animation-duration: 16s; 
  animation-delay: -3s; 
}
.hero-bg-orb:nth-child(4) { 
  width: 400px; height: 400px; 
  background: radial-gradient(circle, rgba(201,169,97,0.06) 0%, transparent 70%); 
  top: 50%; left: 50%; 
  transform: translate(-50%, -50%); 
  opacity: 0.5; 
  animation-duration: 30s; 
  animation-delay: -10s; 
}

/* ========================================
   SUBTLE PARTICLE FIELD - CSS-only, lightweight
   ======================================== */
.particle-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
  contain: layout paint;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.animated-bg:hover .particle-field,
.animated-bg:focus-within .particle-field {
  opacity: 1;
}

.particle-field::before,
.particle-field::after {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  background-image: 
    radial-gradient(circle, rgba(201,169,97,0.4) 1px, transparent 1px),
    radial-gradient(circle, rgba(15,27,45,0.3) 1px, transparent 1px);
  background-size: 60px 60px, 80px 80px;
  background-position: 0 0, 30px 30px;
  animation: particleDrift 40s linear infinite;
  will-change: transform;
  opacity: 0.15;
}

.particle-field::after {
  animation-direction: reverse;
  animation-duration: 50s;
  opacity: 0.1;
}

@keyframes particleDrift {
  0% { transform: translate3d(0,0,0) rotate(0deg); }
  100% { transform: translate3d(-60px,-60px,0) rotate(360deg); }
}

/* ========================================
   SCROLL-TRIGGERED REVEAL ANIMATIONS
   ======================================== */
.reveal,
.reveal-left,
.reveal-right,
.reveal-up,
.reveal-scale,
.reveal-rotate {
  opacity: 0;
  transform: translateY(40px);
  transition: var(--transition-slow);
  will-change: opacity, transform;
}

.reveal-left { transform: translateX(-60px); }
.reveal-right { transform: translateX(60px); }
.reveal-up { transform: translateY(60px); }
.reveal-scale { transform: scale(0.92); }
.reveal-rotate { transform: rotate(-3deg) scale(0.95); }

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-up.visible,
.reveal-scale.visible,
.reveal-rotate.visible {
  opacity: 1;
  transform: none;
}

/* Stagger delays */
.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }
.reveal-delay-5 { transition-delay: 400ms; }
.reveal-delay-6 { transition-delay: 480ms; }

/* ========================================
   STAT COUNTER ANIMATION
   ======================================== */
.stat-counter {
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
}

.stat-counter.counting {
  animation: countUp 1.8s cubic-bezier(0.25,0.46,0.45,0.94) forwards;
}

@keyframes countUp {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ========================================
   INTERACTIVE HOVER EFFECTS
   ======================================== */

/* Button - premium shine sweep */
.btn,
.nav-cta {
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  will-change: transform, box-shadow;
}

.btn::before,
.nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: translateX(-100%) skewX(-15deg);
  transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
  z-index: 1;
}

.btn:hover::before,
.nav-cta:hover::before {
  transform: translateX(200%) skewX(-15deg);
}

.btn:hover,
.nav-cta:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow), var(--shadow-medium);
}

.btn:active,
.nav-cta:active {
  transform: translateY(0) scale(0.98);
}

/* Card - premium lift with gradient border */
.card-enhanced,
.review,
.tl-item {
  position: relative;
  transition: var(--transition-smooth);
  will-change: transform, box-shadow, border-color;
}

.card-enhanced::before,
.review::before,
.tl-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
  z-index: 1;
}

.card-enhanced:hover::before,
.review:hover::before,
.tl-item:hover::before {
  transform: scaleX(1);
}

.card-enhanced:hover,
.review:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-strong), var(--shadow-glow);
  border-color: var(--accent);
}

.tl-item:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-medium);
}

/* Image zoom with subtle rotation */
.img-zoom {
  overflow: hidden;
  border-radius: 16px;
  will-change: transform;
}

.img-zoom img {
  transition: transform 0.8s cubic-bezier(0.25,0.46,0.45,0.94);
  will-change: transform;
  transform: scale(1.02);
}

.img-zoom:hover img {
  transform: scale(1.08) rotate(0.5deg);
}

/* Nav link - premium underline */
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 13px;
  color: var(--dark);
  text-decoration: none;
  transition: color 0.2s ease;
  border-radius: 6px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
  transition: width 0.3s cubic-bezier(0.25,0.46,0.45,0.94), left 0.3s cubic-bezier(0.25,0.46,0.45,0.94);
}

.nav-link:hover { color: var(--accent); }
.nav-link:hover::after { width: 75%; left: 12.5%; }

.nav-link.active { color: var(--accent); }
.nav-link.active::after { width: 75%; left: 12.5%; }

/* Nav indicator dot */
.nav-indicator {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scale(0);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.34,1.56,0.64,1);
}

.nav-link.active .nav-indicator {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

/* ========================================
   SCROLL PROGRESS INDICATOR
   ======================================== */
.scroll-indicator {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform-origin: left;
  transform: scaleX(0);
  z-index: 1001;
  box-shadow: 0 2px 10px rgba(201,169,97,0.4);
  will-change: transform;
}

/* ========================================
   GLASSMORPHISM EFFECTS
   ======================================== */
.glass {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 8px 32px rgba(15,27,45,0.1);
}

.glass-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 4px 24px rgba(15,27,45,0.06);
  transition: var(--transition-smooth);
  will-change: background, box-shadow, transform;
}

.glass-card:hover {
  background: rgba(255,255,255,0.12);
  box-shadow: 0 8px 40px rgba(15,27,45,0.12);
  transform: translateY(-4px);
}

/* ========================================
   PREMIUM HEADER / NAVIGATION
   ======================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.8) 100%);
  border-bottom: 1px solid rgba(201,169,97,0.1);
  will-change: background, box-shadow, border-color;
}

.site-header.scrolled {
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.92) 100%);
  box-shadow: 0 4px 24px rgba(15,27,45,0.06);
  border-bottom-color: rgba(201,169,97,0.15);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: 1400px;
  margin: 0 auto;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  z-index: 1001;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 12px rgba(201,169,97,0.25);
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease;
  will-change: transform, box-shadow;
}

.brand-logo svg { width: 24px; height: 24px; }

.brand:hover .brand-logo {
  transform: rotate(-8deg) scale(1.08);
  box-shadow: 0 6px 20px rgba(201,169,97,0.4);
}

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }

.brand-name {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--dark);
  letter-spacing: -0.02em;
}

.brand-tagline {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 9px;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0; padding: 0;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 6px;
  padding: 10px 20px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: #fff;
  background: var(--gradient-primary);
  border: none;
  border-radius: 48px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 3px 12px rgba(201,169,97,0.3);
  transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.2s ease;
  will-change: transform, box-shadow;
}

.nav-cta svg { width: 14px; height: 14px; transition: transform 0.2s ease; z-index: 1; }
.nav-cta:hover svg { transform: translateX(3px); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  z-index: 1001;
  color: var(--dark);
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}

.menu-toggle:hover { background: rgba(201,169,97,0.1); color: var(--accent); }
.menu-toggle svg { width: 22px; height: 22px; transition: transform 0.2s ease; }
.menu-toggle:hover svg { transform: rotate(90deg); }

/* Mobile Menu */
@media (max-width: 900px) {
  .brand-tagline { display: none; }
  
  .nav-links-wrapper {
    position: fixed;
    top: 0; right: -100%;
    width: auto;
    min-width: 220px;
    max-width: 85vw;
    height: auto;
    max-height: 100vh;
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.95) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    justify-content: flex-start;
    padding: 90px 28px 36px;
    gap: 4px;
    transition: right 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
    box-shadow: -20px 0 40px rgba(15,27,45,0.08);
    border-left: 1px solid rgba(201,169,97,0.1);
    z-index: 1000;
    overflow-y: auto;
  }

  body.menu-open .nav-links-wrapper { right: 0; }

  .nav-links { flex-direction: column; width: 100%; gap: 2px; padding-top: 16px; }

  .nav-link {
    padding: 14px 18px;
    font-size: 15px;
    border-radius: 10px;
    width: 100%;
    justify-content: flex-start;
  }

  .nav-link::after, .nav-indicator { display: none; }

  .nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-accent);
    border-radius: 10px;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.34,1.56,0.64,1);
    z-index: -1;
  }

  .nav-link:hover::before { opacity: 1; transform: scale(1); }

  .nav-cta { margin: 20px 0 0; width: 100%; justify-content: center; padding: 14px 20px; }

  .menu-toggle { display: flex; align-items: center; justify-content: center; }

  body.menu-open .menu-toggle svg { transform: rotate(180deg); }
  
  body.menu-open .nav-links .nav-link {
    animation: slideInRight 0.3s cubic-bezier(0.25,0.46,0.45,0.94) both;
  }
  body.menu-open .nav-links .nav-link:nth-child(1) { animation-delay: 0.05s; }
  body.menu-open .nav-links .nav-link:nth-child(2) { animation-delay: 0.1s; }
  body.menu-open .nav-links .nav-link:nth-child(3) { animation-delay: 0.15s; }
  body.menu-open .nav-links .nav-link:nth-child(4) { animation-delay: 0.2s; }
  body.menu-open .nav-links .nav-link:nth-child(5) { animation-delay: 0.25s; }
  body.menu-open .nav-cta { animation: slideInUp 0.3s cubic-bezier(0.25,0.46,0.45,0.94) 0.3s both; }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translate3d(20px,0,0); }
  to { opacity: 1; transform: translate3d(0,0,0); }
}

@keyframes slideInUp {
  from { opacity: 0; transform: translate3d(0,15px,0); }
  to { opacity: 1; transform: translate3d(0,0,0); }
}

/* ========================================
   FOCUS VISIBLE FOR ACCESSIBILITY
   ======================================== */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ========================================
   ANIMATION UTILITIES
   ======================================== */
.animate-delay-1 { animation-delay: 100ms; }
.animate-delay-2 { animation-delay: 200ms; }
.animate-delay-3 { animation-delay: 300ms; }
.animate-delay-4 { animation-delay: 400ms; }
.animate-delay-5 { animation-delay: 500ms; }
.animate-delay-6 { animation-delay: 600ms; }

/* ========================================
   FLOATING ELEMENT KEYFRAMES (for JS-created elements)
   ======================================== */
@keyframes floatUp {
  0%, 100% { transform: translate3d(0,0,0) scale(1) rotate(0deg); opacity: 0.1; }
  50% { transform: translate3d(0,-60px,0) scale(1.1) rotate(5deg); opacity: 0.18; }
}
@keyframes floatSide {
  0%, 100% { transform: translate3d(0,0,0) scale(1) rotate(0deg); opacity: 0.1; }
  50% { transform: translate3d(50px,0,0) scale(1.05) rotate(-5deg); opacity: 0.18; }
}
@keyframes pulseScale {
  0%, 100% { transform: scale(1); opacity: 0.1; }
  50% { transform: scale(1.2); opacity: 0.2; }
}
@keyframes spinSlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ========================================
   REDUCED MOTION SUPPORT
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .floating-orb, .hero-bg-orb,
  .animated-bg::before, .animated-bg::after,
  .mesh-gradient,
  .particle-field::before,
  .particle-field::after {
    animation: none !important;
  }
  .img-zoom img { transform: none !important; }
  .btn::before, .nav-cta::before { display: none !important; }
}

/* ========================================
   RESPONSIVE ANIMATION REDUCTION
   ======================================== */
@media (max-width: 768px) {
  .floating-orb { filter: blur(40px); opacity: 0.08; }
  .floating-orb:nth-child(n+3) { display: none; }
  .hero-bg-orb { filter: blur(30px); opacity: 0.2; }
  .hero-bg-orb:nth-child(4) { display: none; }
  
  .hover-lift:hover, .hover-scale:hover { transform: none; }
  .card-enhanced:hover, .review:hover { transform: translateY(-4px); }
  .img-zoom:hover img { transform: scale(1.04); }
  
  .mesh-gradient { animation: none; opacity: 0.3; }
  .animated-bg::before,
  .animated-bg::after { animation: none; opacity: 0.3; }
  .particle-field { display: none; }
  
  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-up,
  .reveal-scale {
    transition-duration: 0.4s;
  }
}

@media (max-width: 480px) {
  .floating-orb { display: none; }
  .hero-bg-orb { display: none; }
  .mesh-gradient { display: none; }
  .animated-bg::before,
  .animated-bg::after { display: none; }
}