/* ========================================================
   PREMIUM ANIMATIONS & INTERACTIVE EFFECTS
   Enhanced styling for university landing pages
   ======================================================== */

/* ========================================================
   ROOT ANIMATION VARIABLES
   ======================================================== */
:root {
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out-back: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --ease-elastic: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --transition-fast: 0.2s var(--ease-smooth);
  --transition-base: 0.3s var(--ease-smooth);
  --transition-slow: 0.45s var(--ease-smooth);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 20px 60px rgba(11, 31, 68, 0.15);
  --shadow-xl: 0 30px 80px rgba(11, 31, 68, 0.2);
}

/* ========================================================
   SCROLL REVEAL ANIMATIONS
   ======================================================== */
@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes revealDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes revealLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes revealRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes revealScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ========================================================
   FLOATING & FLOATING ELEMENTS
   ======================================================== */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes floatRotate {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(5deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

/* ========================================================
   GRADIENT ANIMATIONS
   ======================================================== */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

/* ========================================================
   PULSE & GLOW ANIMATIONS
   ======================================================== */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
  }
}

@keyframes glowWarm {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(251, 146, 60, 0.7);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(251, 146, 60, 0);
  }
}

/* ========================================================
   TEXT ANIMATIONS
   ======================================================== */
@keyframes typewriter {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes textReveal {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes underlineGrow {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes characterReveal {
  0% {
    opacity: 0;
    transform: translateY(20px) rotateX(90deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
  }
}

/* ========================================================
   CLASSICAL TOP-LEVEL ANIMATIONS
   ======================================================== */

/* Bounce Animations */
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(-20px);
  }
  50% {
    transform: translateY(0);
  }
  75% {
    transform: translateY(-10px);
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes bounceInDown {
  0% {
    opacity: 0;
    transform: translateY(-60px);
  }
  60% {
    opacity: 1;
    transform: translateY(10px);
  }
  80% {
    transform: translateY(-5px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes bounceInUp {
  0% {
    opacity: 0;
    transform: translateY(60px);
  }
  60% {
    opacity: 1;
    transform: translateY(-10px);
  }
  80% {
    transform: translateY(5px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes bounceInLeft {
  0% {
    opacity: 0;
    transform: translateX(-60px);
  }
  60% {
    opacity: 1;
    transform: translateX(10px);
  }
  80% {
    transform: translateX(-5px);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes bounceInRight {
  0% {
    opacity: 0;
    transform: translateX(60px);
  }
  60% {
    opacity: 1;
    transform: translateX(-10px);
  }
  80% {
    transform: translateX(5px);
  }
  100% {
    transform: translateX(0);
  }
}

/* Slide Animations */
@keyframes slideInDown {
  0% {
    opacity: 0;
    transform: translateY(-100%);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInUp {
  0% {
    opacity: 0;
    transform: translateY(100%);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-100%);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideOutDown {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(100%);
  }
}

@keyframes slideOutUp {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-100%);
  }
}

@keyframes slideOutLeft {
  0% {
    opacity: 1;
    transform: translateX(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-100%);
  }
}

@keyframes slideOutRight {
  0% {
    opacity: 1;
    transform: translateX(0);
  }
  100% {
    opacity: 0;
    transform: translateX(100%);
  }
}

/* Spin & Rotate Animations */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes spinReverse {
  0% {
    transform: rotate(360deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

@keyframes rotateIn {
  0% {
    opacity: 0;
    transform: rotate(-200deg);
  }
  100% {
    opacity: 1;
    transform: rotate(0);
  }
}

@keyframes rotateInDownLeft {
  0% {
    opacity: 0;
    transform: rotate(-45deg) translateX(-60px);
  }
  100% {
    opacity: 1;
    transform: rotate(0) translateX(0);
  }
}

@keyframes rotateInDownRight {
  0% {
    opacity: 0;
    transform: rotate(45deg) translateX(60px);
  }
  100% {
    opacity: 1;
    transform: rotate(0) translateX(0);
  }
}

@keyframes rotateInUpLeft {
  0% {
    opacity: 0;
    transform: rotate(45deg) translateX(-60px);
  }
  100% {
    opacity: 1;
    transform: rotate(0) translateX(0);
  }
}

@keyframes rotateInUpRight {
  0% {
    opacity: 0;
    transform: rotate(-45deg) translateX(60px);
  }
  100% {
    opacity: 1;
    transform: rotate(0) translateX(0);
  }
}

@keyframes rotateOut {
  0% {
    opacity: 1;
    transform: rotate(0);
  }
  100% {
    opacity: 0;
    transform: rotate(200deg);
  }
}

/* Scale Animations */
@keyframes scaleIn {
  0% {
    opacity: 0;
    transform: scale(0);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes scaleInCenter {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes scaleOut {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(0);
  }
}

/* Swing Animation */
@keyframes swing {
  20% {
    transform: rotate(15deg);
  }
  40% {
    transform: rotate(-10deg);
  }
  60% {
    transform: rotate(5deg);
  }
  80% {
    transform: rotate(-5deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

/* Flip Animation */
@keyframes flip {
  0% {
    transform: perspective(400px) rotateY(0);
  }
  100% {
    transform: perspective(400px) rotateY(360deg);
  }
}

@keyframes flipInX {
  0% {
    opacity: 0;
    transform: perspective(400px) rotateX(90deg);
  }
  100% {
    opacity: 1;
    transform: perspective(400px) rotateX(0deg);
  }
}

@keyframes flipInY {
  0% {
    opacity: 0;
    transform: perspective(400px) rotateY(90deg);
  }
  100% {
    opacity: 1;
    transform: perspective(400px) rotateY(0deg);
  }
}

@keyframes flipOutX {
  0% {
    opacity: 1;
    transform: perspective(400px) rotateX(0deg);
  }
  100% {
    opacity: 0;
    transform: perspective(400px) rotateX(90deg);
  }
}

@keyframes flipOutY {
  0% {
    opacity: 1;
    transform: perspective(400px) rotateY(0deg);
  }
  100% {
    opacity: 0;
    transform: perspective(400px) rotateY(90deg);
  }
}

/* Elastic Animations */
@keyframes elastic {
  0%, 100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-10px);
  }
  75% {
    transform: translateX(10px);
  }
}

@keyframes elasticIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes elasticOut {
  0% {
    transform: scale(1);
  }
  30% {
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    opacity: 0;
    transform: scale(0.3);
  }
  100% {
    opacity: 0;
    transform: scale(0);
  }
}

/* Jello Animation */
@keyframes jello {
  0%, 11.1%, 100% {
    transform: skewX(0deg) skewY(0deg);
  }
  22.2% {
    transform: skewX(-12.5deg) skewY(-12.5deg);
  }
  33.3% {
    transform: skewX(6.25deg) skewY(6.25deg);
  }
  44.4% {
    transform: skewX(-3.125deg) skewY(-3.125deg);
  }
  55.5% {
    transform: skewX(1.5625deg) skewY(1.5625deg);
  }
  66.6% {
    transform: skewX(-0.78125deg) skewY(-0.78125deg);
  }
  77.7% {
    transform: skewX(0.390625deg) skewY(0.390625deg);
  }
  88.8% {
    transform: skewX(-0.1953125deg) skewY(-0.1953125deg);
  }
}

/* Shake Animation */
@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: translateX(-5px);
  }
  20%, 40%, 60%, 80% {
    transform: translateX(5px);
  }
}

@keyframes shakeX {
  0%, 100% {
    transform: translateX(0);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: translateX(-10px);
  }
  20%, 40%, 60%, 80% {
    transform: translateX(10px);
  }
}

@keyframes shakeY {
  0%, 100% {
    transform: translateY(0);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: translateY(-10px);
  }
  20%, 40%, 60%, 80% {
    transform: translateY(10px);
  }
}

/* Wave Animation */
@keyframes wave {
  0% {
    transform: rotate(0deg);
  }
  10% {
    transform: rotate(14deg);
  }
  20% {
    transform: rotate(-8deg);
  }
  30% {
    transform: rotate(14deg);
  }
  40% {
    transform: rotate(-4deg);
  }
  50% {
    transform: rotate(10deg);
  }
  60% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

/* Tada Animation */
@keyframes tada {
  0% {
    transform: scale(1) rotate(0deg);
  }
  10%, 20% {
    transform: scale(0.9) rotate(-3deg);
  }
  30%, 50%, 70%, 90% {
    transform: scale(1.1) rotate(3deg);
  }
  40%, 60%, 80% {
    transform: scale(1.1) rotate(-3deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
  }
}

/* Wobble Animation */
@keyframes wobble {
  0% {
    transform: translateX(0);
  }
  15% {
    transform: translateX(-25px) rotate(-5deg);
  }
  30% {
    transform: translateX(20px) rotate(3deg);
  }
  45% {
    transform: translateX(-15px) rotate(-3deg);
  }
  60% {
    transform: translateX(10px) rotate(2deg);
  }
  75% {
    transform: translateX(-5px) rotate(-1deg);
  }
  100% {
    transform: translateX(0);
  }
}

/* Heartbeat Animation */
@keyframes heartbeat {
  0%, 100% {
    transform: scale(1);
  }
  14% {
    transform: scale(1.3);
  }
  28% {
    transform: scale(1);
  }
  42% {
    transform: scale(1.3);
  }
  70% {
    transform: scale(1);
  }
}

/* Blink Animation */
@keyframes blink {
  0%, 49%, 100% {
    opacity: 1;
  }
  50%, 99% {
    opacity: 0;
  }
}

/* Attention Seekers */
@keyframes flash {
  0%, 50%, 100% {
    opacity: 1;
  }
  25%, 75% {
    opacity: 0;
  }
}

@keyframes rubberBand {
  0% {
    transform: scale(1);
  }
  30% {
    transform: scaleX(1.25) scaleY(0.75);
  }
  40% {
    transform: scaleX(0.75) scaleY(1.25);
  }
  50% {
    transform: scaleX(1.15) scaleY(0.85);
  }
  65% {
    transform: scaleX(0.95) scaleY(1.05);
  }
  75% {
    transform: scaleX(1.05) scaleY(0.95);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes headShake {
  0% {
    transform: translateX(0);
  }
  6.5% {
    transform: translateX(-6px) rotateY(-9deg);
  }
  18.5% {
    transform: translateX(5px) rotateY(7deg);
  }
  31.5% {
    transform: translateX(-3px) rotateY(-5deg);
  }
  43.5% {
    transform: translateX(2px) rotateY(3deg);
  }
  50% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(0);
  }
}

/* ========================================================
   COMPLEX SHAPE ANIMATIONS
   ======================================================== */
@keyframes orb1 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(30px, -50px) scale(1.1);
  }
  50% {
    transform: translate(-20px, -30px) scale(0.95);
  }
  75% {
    transform: translate(-40px, 20px) scale(1.05);
  }
}

@keyframes orb2 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(-35px, 40px) scale(0.95);
  }
  50% {
    transform: translate(25px, 30px) scale(1.1);
  }
  75% {
    transform: translate(40px, -20px) scale(1.05);
  }
}

/* ========================================================
   PREMIUM REVEAL CLASSES
   ======================================================== */
.reveal-up {
  animation: revealUp 0.8s var(--ease-smooth) forwards;
  opacity: 0;
}

.reveal-down {
  animation: revealDown 0.8s var(--ease-smooth) forwards;
  opacity: 0;
}

.reveal-left {
  animation: revealLeft 0.8s var(--ease-smooth) forwards;
  opacity: 0;
}

.reveal-right {
  animation: revealRight 0.8s var(--ease-smooth) forwards;
  opacity: 0;
}

.reveal-scale {
  animation: revealScale 0.8s var(--ease-smooth) forwards;
  opacity: 0;
}

/* Stagger delays */
.reveal-up:nth-child(1), .reveal-left:nth-child(1), .reveal-right:nth-child(1), .reveal-scale:nth-child(1) { animation-delay: 0.1s; }
.reveal-up:nth-child(2), .reveal-left:nth-child(2), .reveal-right:nth-child(2), .reveal-scale:nth-child(2) { animation-delay: 0.2s; }
.reveal-up:nth-child(3), .reveal-left:nth-child(3), .reveal-right:nth-child(3), .reveal-scale:nth-child(3) { animation-delay: 0.3s; }
.reveal-up:nth-child(4), .reveal-left:nth-child(4), .reveal-right:nth-child(4), .reveal-scale:nth-child(4) { animation-delay: 0.4s; }
.reveal-up:nth-child(5), .reveal-left:nth-child(5), .reveal-right:nth-child(5), .reveal-scale:nth-child(5) { animation-delay: 0.5s; }
.reveal-up:nth-child(6), .reveal-left:nth-child(6), .reveal-right:nth-child(6), .reveal-scale:nth-child(6) { animation-delay: 0.6s; }

/* ========================================================
   CLASSICAL ANIMATION UTILITY CLASSES
   ======================================================== */

/* Bounce Animations */
.animate-bounce { animation: bounce 1s ease-in-out infinite; }
.animate-bounce-in { animation: bounceIn 0.6s var(--ease-out-back) forwards; }
.animate-bounce-in-down { animation: bounceInDown 0.6s var(--ease-out-back) forwards; }
.animate-bounce-in-up { animation: bounceInUp 0.6s var(--ease-out-back) forwards; }
.animate-bounce-in-left { animation: bounceInLeft 0.6s var(--ease-out-back) forwards; }
.animate-bounce-in-right { animation: bounceInRight 0.6s var(--ease-out-back) forwards; }

/* Slide Animations */
.animate-slide-in-down { animation: slideInDown 0.6s var(--ease-smooth) forwards; }
.animate-slide-in-up { animation: slideInUp 0.6s var(--ease-smooth) forwards; }
.animate-slide-in-left { animation: slideInLeft 0.6s var(--ease-smooth) forwards; }
.animate-slide-in-right { animation: slideInRight 0.6s var(--ease-smooth) forwards; }
.animate-slide-out-down { animation: slideOutDown 0.6s var(--ease-smooth) forwards; }
.animate-slide-out-up { animation: slideOutUp 0.6s var(--ease-smooth) forwards; }
.animate-slide-out-left { animation: slideOutLeft 0.6s var(--ease-smooth) forwards; }
.animate-slide-out-right { animation: slideOutRight 0.6s var(--ease-smooth) forwards; }

/* Spin & Rotate Animations */
.animate-spin { animation: spin 1s linear infinite; }
.animate-spin-reverse { animation: spinReverse 1s linear infinite; }
.animate-spin-slow { animation: spin 3s linear infinite; }
.animate-spin-fast { animation: spin 0.5s linear infinite; }
.animate-rotate-in { animation: rotateIn 0.6s var(--ease-out-back) forwards; }
.animate-rotate-in-down-left { animation: rotateInDownLeft 0.6s var(--ease-out-back) forwards; }
.animate-rotate-in-down-right { animation: rotateInDownRight 0.6s var(--ease-out-back) forwards; }
.animate-rotate-in-up-left { animation: rotateInUpLeft 0.6s var(--ease-out-back) forwards; }
.animate-rotate-in-up-right { animation: rotateInUpRight 0.6s var(--ease-out-back) forwards; }
.animate-rotate-out { animation: rotateOut 0.6s var(--ease-smooth) forwards; }

/* Scale Animations */
.animate-scale-in { animation: scaleIn 0.6s var(--ease-out-back) forwards; }
.animate-scale-in-center { animation: scaleInCenter 0.6s var(--ease-out-back) forwards; }
.animate-scale-out { animation: scaleOut 0.6s var(--ease-smooth) forwards; }

/* Swing Animation */
.animate-swing { animation: swing 0.8s ease-in-out; }

/* Flip Animation */
.animate-flip { animation: flip 0.6s linear; }
.animate-flip-in-x { animation: flipInX 0.6s var(--ease-out-back) forwards; }
.animate-flip-in-y { animation: flipInY 0.6s var(--ease-out-back) forwards; }
.animate-flip-out-x { animation: flipOutX 0.6s var(--ease-smooth) forwards; }
.animate-flip-out-y { animation: flipOutY 0.6s var(--ease-smooth) forwards; }

/* Elastic Animations */
.animate-elastic { animation: elastic 0.6s var(--ease-elastic); }
.animate-elastic-in { animation: elasticIn 0.6s var(--ease-elastic) forwards; }
.animate-elastic-out { animation: elasticOut 0.6s var(--ease-elastic) forwards; }

/* Jello Animation */
.animate-jello { animation: jello 0.9s ease-in-out; }

/* Shake Animation */
.animate-shake { animation: shake 0.5s ease-in-out; }
.animate-shake-x { animation: shakeX 0.5s ease-in-out; }
.animate-shake-y { animation: shakeY 0.5s ease-in-out; }

/* Wave Animation */
.animate-wave { animation: wave 0.8s ease-in-out; }

/* Tada Animation */
.animate-tada { animation: tada 0.8s ease-in-out; }

/* Wobble Animation */
.animate-wobble { animation: wobble 0.8s ease-in-out; }

/* Heartbeat Animation */
.animate-heartbeat { animation: heartbeat 1.3s ease-in-out infinite; }

/* Blink Animation */
.animate-blink { animation: blink 1s ease-in-out infinite; }

/* Attention Seekers */
.animate-flash { animation: flash 1s ease-in-out infinite; }
.animate-rubber-band { animation: rubberBand 0.6s ease-in-out; }
.animate-head-shake { animation: headShake 0.5s ease-in-out; }

/* ========================================================
   ANIMATION SPEED MODIFIERS
   ======================================================== */
.animate-duration-300 { animation-duration: 0.3s; }
.animate-duration-500 { animation-duration: 0.5s; }
.animate-duration-700 { animation-duration: 0.7s; }
.animate-duration-1000 { animation-duration: 1s; }
.animate-duration-1500 { animation-duration: 1.5s; }
.animate-duration-2000 { animation-duration: 2s; }

/* Animation Delays */
.animate-delay-100 { animation-delay: 0.1s; }
.animate-delay-200 { animation-delay: 0.2s; }
.animate-delay-300 { animation-delay: 0.3s; }
.animate-delay-500 { animation-delay: 0.5s; }
.animate-delay-700 { animation-delay: 0.7s; }
.animate-delay-1000 { animation-delay: 1s; }

/* Animation Fill Mode */
.animate-fill-both { animation-fill-mode: both; }
.animate-fill-forward { animation-fill-mode: forwards; }
.animate-fill-backward { animation-fill-mode: backwards; }

/* Animation Iteration */
.animate-iteration-1 { animation-iteration-count: 1; }
.animate-iteration-2 { animation-iteration-count: 2; }
.animate-iteration-3 { animation-iteration-count: 3; }
.animate-iteration-infinite { animation-iteration-count: infinite; }

/* Animation Direction */
.animate-direction-normal { animation-direction: normal; }
.animate-direction-reverse { animation-direction: reverse; }
.animate-direction-alternate { animation-direction: alternate; }
.animate-direction-alternate-reverse { animation-direction: alternate-reverse; }

/* ========================================================
   PREMIUM CARD ENHANCEMENTS
   ======================================================== */
.premium-card {
  position: relative;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(240, 248, 255, 0.5));
  border: 1px solid rgba(96, 165, 250, 0.2);
  backdrop-filter: blur(12px);
  padding: 2rem;
  overflow: hidden;
  transition: all var(--transition-slow);
}

.premium-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(201, 162, 75, 0.15), transparent 50%),
              radial-gradient(circle at bottom right, rgba(99, 179, 255, 0.15), transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
  border-radius: inherit;
  z-index: 1;
}

.premium-card::after {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: calc(1.5rem - 1px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
  z-index: 2;
}

.premium-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: var(--shadow-xl);
  border-color: rgba(201, 162, 75, 0.5);
}

.premium-card:hover::before {
  opacity: 1;
}

.premium-card:hover::after {
  opacity: 1;
}

/* ========================================================
   BUTTON ENHANCEMENTS
   ======================================================== */
.btn-premium {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 0.875rem;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  overflow: hidden;
}

.btn-premium::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.3), transparent 80%);
  opacity: 0;
  transition: opacity var(--transition-fast);
  pointer-events: none;
}

.btn-premium:hover::before {
  opacity: 1;
}

.btn-premium-primary {
  background: linear-gradient(135deg, #7dd3fc, #3b82f6);
  color: #041a3d;
  box-shadow: 0 15px 40px rgba(59, 130, 246, 0.3);
}

.btn-premium-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 25px 60px rgba(59, 130, 246, 0.4);
}

.btn-premium-primary:active {
  transform: translateY(-1px);
}

.btn-premium-secondary {
  border: 2px solid rgba(201, 162, 75, 0.5);
  background: rgba(255, 255, 255, 0.7);
  color: #0b1f44;
  backdrop-filter: blur(10px);
}

.btn-premium-secondary:hover {
  border-color: rgba(201, 162, 75, 0.8);
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

/* ========================================================
   ENHANCED TEXT EFFECTS
   ======================================================== */
.gradient-text {
  background: linear-gradient(120deg, #1b4f9a, #3b82f6, #1b4f9a);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease infinite;
}

.gradient-text-warm {
  background: linear-gradient(120deg, #c9a24b, #f59e0b, #c9a24b);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease infinite;
}

.shimmer-text {
  background: linear-gradient(90deg, #0b1f44, #3b82f6, #0b1f44);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 8s linear infinite;
}

/* ========================================================
   ICON ENHANCEMENTS
   ======================================================== */
.icon-float {
  animation: float 3s ease-in-out infinite;
}

.icon-float-slow {
  animation: floatSlow 4s ease-in-out infinite;
}

.icon-pulse {
  animation: pulse 2s ease-in-out infinite;
}

.icon-glow {
  animation: glow 2s ease-in-out infinite;
}

.icon-glow-warm {
  animation: glowWarm 2s ease-in-out infinite;
}

/* ========================================================
   SECTION ENHANCEMENTS
   ======================================================== */
.section-premium {
  position: relative;
  overflow: hidden;
}

.section-premium::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(99, 179, 255, 0.12), transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(201, 162, 75, 0.08), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.section-premium > * {
  position: relative;
  z-index: 1;
}

/* Background orbs */
.orb-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.15;
  pointer-events: none;
  mix-blend-mode: screen;
}

.orb-primary {
  width: 300px;
  height: 300px;
  background: #3b82f6;
  animation: orb1 8s ease-in-out infinite;
}

.orb-secondary {
  width: 250px;
  height: 250px;
  background: #c9a24b;
  animation: orb2 10s ease-in-out infinite;
}

/* ========================================================
   HOVER LIFT EFFECTS
   ======================================================== */
.lift-on-hover {
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.lift-on-hover:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.lift-on-hover-sm:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.lift-on-hover-lg:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-xl);
}

/* ========================================================
   PARALLAX EFFECTS
   ======================================================== */
.parallax-container {
  position: relative;
  overflow: hidden;
}

.parallax-bg {
  position: absolute;
  inset: 0;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: translateZ(0);
}

/* ========================================================
   BADGE & CHIP ANIMATIONS
   ======================================================== */
.badge-premium {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  border: 1px solid rgba(99, 179, 255, 0.4);
  background: linear-gradient(135deg, rgba(99, 179, 255, 0.1), rgba(201, 162, 75, 0.05));
  backdrop-filter: blur(10px);
  font-size: 0.875rem;
  font-weight: 600;
  color: #1b4f9a;
  transition: all var(--transition-base);
  animation: revealScale 0.6s var(--ease-smooth) forwards;
  opacity: 0;
}

.badge-premium:hover {
  border-color: rgba(99, 179, 255, 0.6);
  background: linear-gradient(135deg, rgba(99, 179, 255, 0.15), rgba(201, 162, 75, 0.1));
  transform: scale(1.05);
}

/* ========================================================
   DIVIDER ANIMATIONS
   ======================================================== */
.divider-animated {
  position: relative;
  height: 2px;
  background: linear-gradient(90deg, transparent, #3b82f6, transparent);
  overflow: hidden;
}

.divider-animated::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, #c9a24b, transparent);
  animation: shimmer 3s ease-in-out infinite;
}

/* ========================================================
   ACCESSIBILITY & PERFORMANCE
   ======================================================== */
@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;
  }
}

/* Prevent animation on low-end devices */
@media (max-width: 640px) {
  .orb-shape {
    display: none;
  }

  .parallax-bg {
    background-attachment: scroll;
  }
}

/* ========================================================
   DARK MODE SUPPORT
   ======================================================== */
@media (prefers-color-scheme: dark) {
  .premium-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(30, 58, 138, 0.5));
    border-color: rgba(99, 179, 255, 0.3);
  }

  .badge-premium {
    color: #93c5fd;
  }
}
