/* Startune - Advanced Animations & Motion System */
/* Premium animations with spring physics, particles, and micro-interactions */

/* ========================================
   CSS CUSTOM PROPERTIES FOR ANIMATIONS
   ======================================== */
:root {
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-in-out-circ: cubic-bezier(0.785, 0.135, 0.15, 0.86);
  --spring-duration: 600ms;
  --bounce-duration: 800ms;
}

/* ========================================
   SCROLL REVEAL ANIMATIONS
   ======================================== */
.fade-up {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 0.8s var(--ease-smooth);
}

.fade-in.visible {
  opacity: 1;
}

.fade-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: all 0.8s var(--ease-smooth);
}

.fade-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-right {
  opacity: 0;
  transform: translateX(60px);
  transition: all 0.8s var(--ease-smooth);
}

.fade-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-scale {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.8s var(--ease-spring);
}

.fade-scale.visible {
  opacity: 1;
  transform: scale(1);
}

.scale-up {
  opacity: 0;
  transform: scale(0.9) translateY(20px);
  transition: all 0.6s var(--ease-spring);
}

.scale-up.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* Staggered children animation */
.stagger-children > * {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s var(--ease-smooth);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0ms; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(2) { transition-delay: 80ms; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(3) { transition-delay: 160ms; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(4) { transition-delay: 240ms; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(5) { transition-delay: 320ms; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(6) { transition-delay: 400ms; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(7) { transition-delay: 480ms; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(8) { transition-delay: 560ms; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(9) { transition-delay: 640ms; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(10) { transition-delay: 720ms; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(11) { transition-delay: 800ms; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(12) { transition-delay: 880ms; opacity: 1; transform: translateY(0); }

/* ========================================
   MAGNETIC & 3D EFFECTS
   ======================================== */
.magnetic {
  transition: transform 0.2s var(--ease-smooth);
  will-change: transform;
}

.magnetic-3d {
  transform-style: preserve-3d;
  transition: transform 0.2s var(--ease-smooth);
  will-change: transform;
}

/* 3D Card Tilt Effect */
.tilt-card {
  transform-style: preserve-3d;
  perspective: 1000px;
}

.tilt-card-inner {
  transition: transform 0.3s var(--ease-smooth);
  transform-style: preserve-3d;
}

/* ========================================
   FLOATING ANIMATIONS
   ======================================== */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  25% { transform: translateY(-15px) rotate(1deg); }
  50% { transform: translateY(-8px) rotate(0deg); }
  75% { transform: translateY(-20px) rotate(-1deg); }
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-12px) rotate(2deg); }
  66% { transform: translateY(-5px) rotate(-1deg); }
}

@keyframes float-gentle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes float-delay {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(0, 88, 188, 0.2),
                0 0 40px rgba(0, 88, 188, 0.1);
  }
  50% {
    box-shadow: 0 0 40px rgba(0, 88, 188, 0.4),
                0 0 80px rgba(0, 88, 188, 0.2);
  }
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

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

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes spin-slow-reverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

@keyframes bounce-subtle {
  0%, 100% { transform: translateY(0); }
  25% { transform: translateY(-10px); }
  50% { transform: translateY(0); }
  75% { transform: translateY(-5px); }
}

@keyframes bounce-gravity {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

@keyframes wiggle {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(3deg); }
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

@keyframes ripple-out {
  0% {
    transform: scale(0);
    opacity: 0.5;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-float-slow {
  animation: float-slow 8s ease-in-out infinite;
}

.animate-float-gentle {
  animation: float-gentle 4s ease-in-out infinite;
}

.animate-pulse-glow {
  animation: pulse-glow 3s ease-in-out infinite;
}

.animate-gradient {
  background-size: 200% 200%;
  animation: gradient-shift 8s ease infinite;
}

.animate-shimmer {
  background: linear-gradient(
    90deg,
    var(--surface) 0%,
    var(--surface-container) 50%,
    var(--surface) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 2s ease-in-out infinite;
}

.animate-spin-slow {
  animation: spin-slow 20s linear infinite;
}

.animate-bounce-subtle {
  animation: bounce-subtle 2s ease-in-out infinite;
}

.animate-wiggle {
  animation: wiggle 0.5s ease-in-out infinite;
}

/* Delay utilities */
.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }
.delay-500 { animation-delay: 500ms; }
.delay-600 { animation-delay: 600ms; }
.delay-700 { animation-delay: 700ms; }
.delay-800 { animation-delay: 800ms; }

/* ========================================
   HOVER EFFECTS
   ======================================== */
.hover-lift {
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.hover-scale {
  transition: transform 0.3s var(--ease-spring);
}

.hover-scale:hover {
  transform: scale(1.05);
}

.hover-glow {
  transition: box-shadow 0.3s ease;
}

.hover-glow:hover {
  box-shadow: 0 0 30px rgba(0, 88, 188, 0.3);
}

.hover-rotate {
  transition: transform 0.4s var(--ease-smooth);
}

.hover-rotate:hover {
  transform: rotate(3deg) scale(1.02);
}

.hover-squeeze {
  transition: transform 0.2s var(--ease-smooth);
}

.hover-squeeze:hover {
  transform: scale(0.95);
}

.hover-shine {
  position: relative;
  overflow: hidden;
}

.hover-shine::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 70%
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.hover-shine:hover::after {
  transform: translateX(100%);
}

/* Magnetic button effect class */
.magnetic-btn {
  position: relative;
  transition: transform 0.15s var(--ease-smooth);
}

/* ========================================
   BUTTON EFFECTS
   ======================================== */
.btn-ripple {
  position: relative;
  overflow: hidden;
}

.btn-ripple::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn-ripple:active::after {
  width: 300px;
  height: 300px;
}

.btn-shine {
  position: relative;
  overflow: hidden;
}

.btn-shine::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s ease;
}

.btn-shine:hover::before {
  left: 100%;
}

.btn-bounce {
  transition: transform 0.3s var(--ease-bounce);
}

.btn-bounce:hover {
  transform: scale(1.05);
}

.btn-bounce:active {
  transform: scale(0.95);
}

/* ========================================
   TEXT EFFECTS
   ======================================== */
.text-reveal {
  overflow: hidden;
}

.text-reveal span {
  display: inline-block;
  transform: translateY(100%);
  transition: transform 0.6s var(--ease-smooth);
}

.text-reveal.visible span {
  transform: translateY(0);
}

.text-shimmer {
  background: linear-gradient(
    90deg,
    var(--on-surface) 0%,
    var(--primary) 50%,
    var(--on-surface) 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 4s ease infinite;
}

.text-glow {
  text-shadow: 0 0 20px rgba(0, 88, 188, 0.5),
               0 0 40px rgba(0, 88, 188, 0.3);
}

.text-typing {
  border-right: 2px solid var(--primary);
  animation: blink-caret 0.75s step-end infinite;
}

@keyframes blink-caret {
  from, to { border-color: transparent; }
  50% { border-color: var(--primary); }
}

/* ========================================
   LOADING EFFECTS
   ======================================== */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--surface-dim) 0%,
    var(--surface-container) 50%,
    var(--surface-dim) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: var(--radius-md);
}

.skeleton-text {
  height: 1em;
  margin-bottom: 0.5em;
}

.skeleton-title {
  height: 2em;
  width: 60%;
  margin-bottom: 1em;
}

.skeleton-image {
  height: 200px;
  width: 100%;
}

.skeleton-pulse {
  animation: skeleton-pulse 1.5s ease-in-out infinite;
}

@keyframes skeleton-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Loading Spinner */
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--surface-container);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.spinner-lg {
  width: 60px;
  height: 60px;
  border-width: 4px;
}

.spinner-sm {
  width: 24px;
  height: 24px;
  border-width: 2px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Dots Loading */
.loading-dots {
  display: flex;
  gap: 6px;
}

.loading-dots span {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: loading-bounce 0.6s ease-in-out infinite;
}

.loading-dots span:nth-child(2) { animation-delay: 0.1s; }
.loading-dots span:nth-child(3) { animation-delay: 0.2s; }

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

/* ========================================
   PAGE TRANSITIONS
   ======================================== */
.page-transition {
  animation: fadeIn 0.5s var(--ease-smooth);
}

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

.page-enter {
  opacity: 0;
  transform: scale(0.98);
}

.page-enter-active {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.4s var(--ease-smooth), transform 0.4s var(--ease-smooth);
}

.page-exit {
  opacity: 1;
  transform: scale(1);
}

.page-exit-active {
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* ========================================
   SCROLL PROGRESS
   ======================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--gradient-primary);
  z-index: 9999;
  transition: width 0.1s linear;
}

.scroll-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--tertiary));
  box-shadow: 0 0 10px rgba(0, 88, 188, 0.5);
}

/* ========================================
   LINE ANIMATIONS
   ======================================== */
.line-draw {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: draw-line 2s ease forwards;
}

@keyframes draw-line {
  to { stroke-dashoffset: 0; }
}

/* Animated underline */
.animated-underline {
  position: relative;
  display: inline-block;
}

.animated-underline::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s var(--ease-smooth);
}

.animated-underline:hover::after {
  width: 100%;
}

/* ========================================
   PARTICLE EFFECTS
   ======================================== */
.particle-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0.6;
  animation: particle-float 15s ease-in-out infinite;
}

.particle:nth-child(2n) {
  animation-duration: 18s;
  animation-delay: 2s;
}

.particle:nth-child(3n) {
  animation-duration: 12s;
  animation-delay: 4s;
  opacity: 0.4;
}

.particle:nth-child(5n) {
  width: 6px;
  height: 6px;
  background: var(--tertiary);
}

@keyframes particle-float {
  0%, 100% {
    transform: translateY(0) translateX(0);
    opacity: 0.6;
  }
  20% {
    transform: translateY(-50px) translateX(20px);
    opacity: 0.8;
  }
  40% {
    transform: translateY(-30px) translateX(-15px);
    opacity: 0.4;
  }
  60% {
    transform: translateY(-60px) translateX(10px);
    opacity: 0.7;
  }
  80% {
    transform: translateY(-20px) translateX(-10px);
    opacity: 0.5;
  }
}

/* Floating Orbs */
.floating-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
  animation: orb-float 20s ease-in-out infinite;
}

.floating-orb-1 {
  width: 400px;
  height: 400px;
  background: rgba(0, 88, 188, 0.15);
  top: -100px;
  right: -100px;
}

.floating-orb-2 {
  width: 300px;
  height: 300px;
  background: rgba(112, 93, 0, 0.1);
  bottom: -50px;
  left: -50px;
  animation-delay: -5s;
}

.floating-orb-3 {
  width: 250px;
  height: 250px;
  background: rgba(81, 95, 120, 0.1);
  top: 50%;
  left: 20%;
  animation-delay: -10s;
}

@keyframes orb-float {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(30px, -30px); }
  50% { transform: translate(-20px, 20px); }
  75% { transform: translate(20px, 10px); }
}

/* ========================================
   GRADIENT LINE (Process Steps)
   ======================================== */
.process-line {
  position: absolute;
  left: 27px;
  top: 70px;
  bottom: 70px;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary), var(--tertiary));
  border-radius: var(--radius-full);
}

.process-line::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--primary), var(--tertiary));
  border-radius: var(--radius-full);
  animation: pulse-glow 2s ease-in-out infinite;
  opacity: 0.5;
}

/* ========================================
   NUMBER COUNTER ANIMATION
   ======================================== */
.count-up {
  font-variant-numeric: tabular-nums;
}

/* ========================================
   GLASS MORPHISM PULSE
   ======================================== */
.glass-pulse {
  animation: glass-pulse 3s ease-in-out infinite;
}

@keyframes glass-pulse {
  0%, 100% {
    background: rgba(255, 255, 255, 0.75);
  }
  50% {
    background: rgba(255, 255, 255, 0.85);
  }
}

/* ========================================
   STAGGER ANIMATION DELAYS
   ======================================== */
[data-delay="100"] { transition-delay: 100ms !important; }
[data-delay="200"] { transition-delay: 200ms !important; }
[data-delay="300"] { transition-delay: 300ms !important; }
[data-delay="400"] { transition-delay: 400ms !important; }
[data-delay="500"] { transition-delay: 500ms !important; }
[data-delay="600"] { transition-delay: 600ms !important; }
[data-delay="700"] { transition-delay: 700ms !important; }
[data-delay="800"] { transition-delay: 800ms !important; }

/* ========================================
   SCROLL TRIGGER ZONES
   ======================================== */
.trigger-top { transform: translateY(60px); }
.trigger-bottom { transform: translateY(-60px); }
.trigger-left { transform: translateX(60px); }
.trigger-right { transform: translateX(-60px); }

/* ========================================
   ICON ANIMATIONS
   ======================================== */
.icon-hover {
  transition: transform 0.3s ease, color 0.3s ease;
}

.icon-hover:hover {
  transform: scale(1.15);
}

.icon-spin:hover {
  animation: spin 1s linear infinite;
}

.icon-bounce:hover {
  animation: bounce-subtle 0.6s ease infinite;
}

/* ========================================
   CARD LINK ARROW ANIMATION
   ======================================== */
.card-link-arrow {
  transition: transform 0.3s var(--ease-spring);
}

a:hover .card-link-arrow {
  transform: translateX(6px);
}

/* ========================================
   SUITE CARD ANIMATIONS
   ======================================== */
.suite-card-icon-animate {
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}

a:hover .suite-card-icon-animate {
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 12px 30px rgba(0, 88, 188, 0.35);
}

/* Top border animation */
.suite-card-top-border {
  position: relative;
}

.suite-card-top-border::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--tertiary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-smooth);
}

.suite-card-top-border:hover::before {
  transform: scaleX(1);
}

/* ========================================
   LINK UNDERLINE ANIMATION
   ======================================== */
.link-underline {
  position: relative;
}

.link-underline::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s var(--ease-smooth);
}

.link-underline:hover::after {
  width: 100%;
}

/* ========================================
   ADVANCED BACKGROUND EFFECTS
   ======================================== */
.bg-gradient-mesh {
  background:
    radial-gradient(at 40% 20%, rgba(0, 88, 188, 0.1) 0px, transparent 50%),
    radial-gradient(at 80% 0%, rgba(0, 163, 224, 0.08) 0px, transparent 50%),
    radial-gradient(at 0% 50%, rgba(112, 93, 0, 0.06) 0px, transparent 50%),
    radial-gradient(at 80% 50%, rgba(81, 95, 120, 0.05) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(0, 88, 188, 0.08) 0px, transparent 50%),
    var(--surface);
}

.bg-gradient-radial {
  background: radial-gradient(ellipse at center, var(--surface) 0%, var(--surface-dim) 100%);
}

.bg-gradient-animated {
  background-size: 200% 200%;
  animation: gradient-shift 15s ease infinite;
}

/* Noise texture overlay */
.noise-overlay::before {
  content: '';
  position: absolute;
  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.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

/* ========================================
   ADVANCED SHADOW EFFECTS
   ======================================== */
.shadow-glow {
  box-shadow: 0 0 20px rgba(0, 88, 188, 0.3);
}

.shadow-glow-lg {
  box-shadow: 0 0 40px rgba(0, 88, 188, 0.4);
}

.shadow-soft {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.shadow-elevated {
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.08),
    0 4px 6px -2px rgba(0, 0, 0, 0.04),
    0 20px 25px -5px rgba(0, 0, 0, 0.06);
}

/* ========================================
   CURSOR EFFECTS
   ======================================== */
.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.1s ease, background 0.2s ease;
}

.cursor-ring {
  width: 40px;
  height: 40px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transition: transform 0.15s ease, width 0.2s ease, height 0.2s ease, border-color 0.2s ease;
}

.cursor-dot.hover {
  transform: scale(2);
  background: var(--tertiary);
}

.cursor-ring.hover {
  width: 60px;
  height: 60px;
  border-color: var(--tertiary);
}

/* ========================================
   INTERACTIVE HOVER STATES
   ======================================== */
.interactive-card {
  transition: transform 0.3s var(--ease-spring),
              box-shadow 0.3s ease,
              border-color 0.3s ease;
}

.interactive-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  border-color: rgba(0, 88, 188, 0.3);
}

/* Shine sweep effect */
.shine-sweep {
  position: relative;
  overflow: hidden;
}

.shine-sweep::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: skewX(-25deg);
  transition: left 0.7s ease;
}

.shine-sweep:hover::before {
  left: 150%;
}

/* ========================================
   REDUCED MOTION
   ======================================== */
@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;
  }

  .fade-up,
  .fade-in,
  .fade-left,
  .fade-right,
  .scale-up {
    opacity: 1;
    transform: none;
  }

  .parallax-layer {
    transform: none !important;
  }

  .animate-float,
  .animate-float-slow,
  .animate-pulse-glow,
  .animate-gradient,
  .animate-shimmer,
  .animate-spin-slow,
  .animate-bounce-subtle {
    animation: none;
  }

  .particle {
    animation: none;
  }

  .floating-orb {
    animation: none;
  }
}

/* ========================================
   PRINT & ACCESSIBILITY
   ======================================== */
@media print {
  .animate-float,
  .animate-pulse-glow,
  .particle-container {
    display: none;
  }
}

/* Focus visible for accessibility */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  padding: 8px 16px;
  background: var(--primary);
  color: white;
  z-index: 10000;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 0;
}

/* ========================================
   SPECIAL EFFECTS
   ======================================== */

/* Morphing blob background */
.blob {
  position: absolute;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: morph 8s ease-in-out infinite;
}

@keyframes morph {
  0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
  25% { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; }
  50% { border-radius: 50% 50% 33% 67% / 55% 22% 78% 45%; }
  75% { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; }
}

/* Glowing border */
.glow-border {
  position: relative;
}

.glow-border::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(45deg, var(--primary), var(--tertiary), var(--primary));
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
  filter: blur(8px);
}

.glow-border:hover::before {
  opacity: 0.6;
}

/* Ribbon effect */
.ribbon {
  position: absolute;
  top: 16px;
  right: -8px;
  background: var(--primary);
  color: white;
  padding: 4px 16px 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.ribbon::before {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 0;
  border: 4px solid transparent;
  border-top-color: #003d7a;
  border-right-color: #003d7a;
}

/* Corner decorations */
.corner-decoration {
  position: absolute;
  width: 60px;
  height: 60px;
  border: 2px solid var(--primary);
  opacity: 0.2;
}

.corner-decoration.top-left {
  top: 20px;
  left: 20px;
  border-right: none;
  border-bottom: none;
}

.corner-decoration.top-right {
  top: 20px;
  right: 20px;
  border-left: none;
  border-bottom: none;
}

.corner-decoration.bottom-left {
  bottom: 20px;
  left: 20px;
  border-right: none;
  border-top: none;
}

.corner-decoration.bottom-right {
  bottom: 20px;
  right: 20px;
  border-left: none;
  border-top: none;
}
