@import "tailwindcss";

/* =============================================
   CUSTOM THEME - Cloudy Sky Theme
   Primary: #465fff (vibrant blue)
   Palette: Blues, purples, soft oranges (sunset sky)
   ============================================= */
@theme {
  /* Sky Background Colors (Light theme) */
  --color-sky-light: oklch(97% 0.01 250);
  --color-sky-base: oklch(95% 0.02 250);
  --color-sky-soft: oklch(93% 0.03 255);
  --color-sky-cloud: oklch(99% 0.005 250);

  /* Surface Colors (Cards, panels) - tinted for more color */
  --color-surface-50: oklch(98% 0.015 265);
  --color-surface-100: oklch(96% 0.02 265);
  --color-surface-200: oklch(94% 0.025 268);
  --color-surface-300: oklch(90% 0.035 270);
  --color-surface-warm: oklch(98% 0.015 55);
  --color-surface-purple: oklch(97% 0.02 295);

  /* Border Colors */
  --color-border-light: oklch(92% 0.02 255);
  --color-border-medium: oklch(85% 0.04 255);
  --color-border-dark: oklch(75% 0.06 255);

  /* Primary Blue - #465fff based */
  --color-primary-50: oklch(97% 0.02 265);
  --color-primary-100: oklch(94% 0.06 265);
  --color-primary-200: oklch(88% 0.12 265);
  --color-primary-300: oklch(78% 0.18 265);
  --color-primary-400: oklch(65% 0.22 265);
  --color-primary-500: oklch(55% 0.24 265);
  --color-primary-600: oklch(48% 0.24 265);
  --color-primary-700: oklch(42% 0.22 265);
  --color-primary-800: oklch(36% 0.18 265);
  --color-primary-900: oklch(30% 0.14 265);

  /* Purple Accent (sky twilight) */
  --color-purple-400: oklch(70% 0.18 295);
  --color-purple-500: oklch(60% 0.22 295);
  --color-purple-600: oklch(52% 0.24 295);

  /* Sunset Orange Accent */
  --color-sunset-300: oklch(85% 0.12 55);
  --color-sunset-400: oklch(78% 0.16 50);
  --color-sunset-500: oklch(72% 0.18 45);
  --color-sunset-600: oklch(65% 0.20 40);

  /* Text Colors */
  --color-text-primary: oklch(25% 0.02 265);
  --color-text-secondary: oklch(45% 0.03 265);
  --color-text-muted: oklch(60% 0.02 265);
  --color-text-light: oklch(98% 0 0);

  /* Status Colors */
  --color-success: oklch(65% 0.2 155);
  --color-warning: oklch(78% 0.16 70);
  --color-error: oklch(60% 0.22 25);

  /* Font Family */
  --font-sans: "Outfit", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Outfit", ui-sans-serif, system-ui, sans-serif;
}

/* =============================================
   GRADIENT TEXT EFFECT
   ============================================= */
.text-gradient {
  background: linear-gradient(
    135deg,
    oklch(55% 0.24 265) 0%,
    oklch(60% 0.22 295) 50%,
    oklch(72% 0.18 45) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
}

.text-gradient-animated {
  background: linear-gradient(
    90deg,
    oklch(55% 0.24 265),
    oklch(60% 0.22 295),
    oklch(72% 0.18 45),
    oklch(60% 0.22 295),
    oklch(55% 0.24 265)
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 4s ease infinite;
}

/* =============================================
   GLASSMORPHISM / CLOUD EFFECTS
   ============================================= */
.glass-panel {
  background: linear-gradient(
    135deg,
    oklch(98% 0.015 265) 0%,
    oklch(97% 0.02 295) 100%
  );
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid oklch(88% 0.05 265 / 0.8);
  box-shadow:
    0 8px 32px oklch(55% 0.24 265 / 0.12),
    0 2px 8px oklch(25% 0.02 265 / 0.06),
    inset 0 1px 0 0 oklch(100% 0 0 / 0.5);
}

.cloud-card {
  background: linear-gradient(
    135deg,
    oklch(98% 0.015 265) 0%,
    oklch(99% 0.01 295 / 0.5) 100%
  );
  border: 1px solid oklch(90% 0.04 265);
  box-shadow:
    0 4px 20px oklch(55% 0.24 265 / 0.06),
    0 1px 3px oklch(25% 0.02 265 / 0.04);
}

.navbar-glass {
  background: oklch(99% 0.005 250 / 0.85);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid oklch(92% 0.02 255);
}

/* =============================================
   GLOW EFFECTS
   ============================================= */
.glow-primary {
  box-shadow:
    0 0 20px oklch(55% 0.24 265 / 0.25),
    0 0 40px oklch(55% 0.24 265 / 0.15),
    0 0 60px oklch(55% 0.24 265 / 0.08);
}

.glow-primary-soft {
  box-shadow:
    0 4px 20px oklch(55% 0.24 265 / 0.15),
    0 8px 40px oklch(55% 0.24 265 / 0.1);
}

/* =============================================
   SKY BACKGROUND EFFECTS
   ============================================= */
.bg-hero {
  background:
    radial-gradient(
      ellipse 120% 60% at 50% 0%,
      oklch(85% 0.15 265 / 0.4) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse 80% 40% at 80% 20%,
      oklch(82% 0.14 55 / 0.25) 0%,
      transparent 40%
    ),
    radial-gradient(
      ellipse 60% 50% at 20% 30%,
      oklch(75% 0.18 295 / 0.2) 0%,
      transparent 40%
    ),
    linear-gradient(
      180deg,
      oklch(96% 0.02 265) 0%,
      oklch(95% 0.025 260) 100%
    );
}

.bg-section-alt {
  background:
    radial-gradient(
      ellipse 100% 50% at 50% 100%,
      oklch(85% 0.15 265 / 0.2) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse 60% 40% at 20% 20%,
      oklch(80% 0.12 295 / 0.15) 0%,
      transparent 40%
    ),
    oklch(96% 0.02 270);
}

.bg-section-warm {
  background:
    radial-gradient(
      ellipse 80% 60% at 80% 0%,
      oklch(85% 0.14 55 / 0.2) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse 60% 40% at 20% 80%,
      oklch(75% 0.18 295 / 0.15) 0%,
      transparent 40%
    ),
    linear-gradient(
      180deg,
      oklch(96% 0.015 265) 0%,
      oklch(97% 0.02 55 / 0.3) 100%
    );
}

.bg-section-gradient {
  background:
    radial-gradient(
      ellipse 100% 60% at 30% 0%,
      oklch(85% 0.12 295 / 0.2) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse 80% 50% at 70% 100%,
      oklch(85% 0.12 55 / 0.15) 0%,
      transparent 50%
    ),
    linear-gradient(
      180deg,
      oklch(96% 0.02 265) 0%,
      oklch(95% 0.025 280) 100%
    );
}

.bg-section-cta {
  background:
    radial-gradient(
      ellipse 100% 60% at 50% 0%,
      oklch(82% 0.14 55 / 0.25) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse 80% 50% at 20% 80%,
      oklch(80% 0.15 295 / 0.2) 0%,
      transparent 50%
    ),
    linear-gradient(
      180deg,
      oklch(96% 0.025 55 / 0.3) 0%,
      oklch(95% 0.02 280) 100%
    );
}

/* Off-white section background */
.bg-section-light {
  background: oklch(98.5% 0.005 265);
}

/* Medium section - between deep and light */
.bg-section-medium {
  background:
    radial-gradient(
      ellipse 100% 60% at 30% 0%,
      oklch(82% 0.10 295 / 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse 80% 50% at 70% 100%,
      oklch(82% 0.10 55 / 0.12) 0%,
      transparent 50%
    ),
    linear-gradient(
      180deg,
      oklch(96% 0.015 265) 0%,
      oklch(95.5% 0.02 280) 100%
    );
}

/* Deeper blue/purple gradient section */
.bg-section-deep {
  background:
    radial-gradient(
      ellipse 100% 60% at 30% 0%,
      oklch(78% 0.16 295 / 0.3) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse 80% 50% at 70% 100%,
      oklch(78% 0.16 55 / 0.25) 0%,
      transparent 50%
    ),
    linear-gradient(
      180deg,
      oklch(93% 0.04 265) 0%,
      oklch(92% 0.045 280) 100%
    );
}

/* Deeper warm gradient section */
.bg-section-warm-deep {
  background:
    radial-gradient(
      ellipse 80% 60% at 80% 0%,
      oklch(78% 0.18 55 / 0.35) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse 60% 40% at 20% 80%,
      oklch(70% 0.22 295 / 0.25) 0%,
      transparent 40%
    ),
    linear-gradient(
      180deg,
      oklch(93% 0.03 265) 0%,
      oklch(94% 0.04 55 / 0.5) 100%
    );
}

/* Deeper alternative gradient section */
.bg-section-alt-deep {
  background:
    radial-gradient(
      ellipse 100% 50% at 50% 100%,
      oklch(78% 0.18 265 / 0.3) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse 60% 40% at 20% 20%,
      oklch(72% 0.16 295 / 0.25) 0%,
      transparent 40%
    ),
    oklch(93% 0.04 270);
}

.bg-grid-pattern {
  background-image:
    linear-gradient(oklch(85% 0.04 255 / 0.4) 1px, transparent 1px),
    linear-gradient(90deg, oklch(85% 0.04 255 / 0.4) 1px, transparent 1px);
  background-size: 60px 60px;
}

.bg-dot-pattern {
  background-image: radial-gradient(
    oklch(75% 0.06 255 / 0.3) 1px,
    transparent 1px
  );
  background-size: 24px 24px;
}

/* =============================================
   BUTTON STYLES
   ============================================= */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, oklch(55% 0.24 265), oklch(48% 0.24 265));
  border-radius: 0.75rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow:
    0 4px 15px oklch(55% 0.24 265 / 0.3),
    0 2px 4px oklch(25% 0.02 265 / 0.1);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 25px oklch(55% 0.24 265 / 0.4),
    0 4px 8px oklch(25% 0.02 265 / 0.1);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  color: oklch(45% 0.03 265);
  background: oklch(99% 0.005 250);
  border: 1px solid oklch(85% 0.04 255);
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  border-color: oklch(55% 0.24 265);
  color: oklch(55% 0.24 265);
  background: oklch(97% 0.02 265);
}

/* =============================================
   CARD STYLES
   ============================================= */
.card-feature {
  background: linear-gradient(
    135deg,
    oklch(98% 0.015 265) 0%,
    oklch(98% 0.02 280) 100%
  );
  border: 1px solid oklch(90% 0.04 265);
  border-radius: 1.5rem;
  padding: 2rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px oklch(25% 0.02 265 / 0.04);
}

.card-feature:hover {
  border-color: oklch(85% 0.04 255);
  transform: translateY(-4px);
  box-shadow:
    0 12px 32px oklch(55% 0.24 265 / 0.1),
    0 4px 12px oklch(25% 0.02 265 / 0.05);
}

.card-pricing {
  background: linear-gradient(
    180deg,
    oklch(98% 0.015 265) 0%,
    oklch(99% 0.01 55 / 0.5) 100%
  );
  border: 1px solid oklch(90% 0.04 265);
  border-radius: 1.5rem;
  padding: 2.5rem;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px oklch(25% 0.02 265 / 0.04);
}

.card-pricing-featured {
  background: linear-gradient(
    180deg,
    oklch(95% 0.04 265) 0%,
    oklch(97% 0.03 295) 50%,
    oklch(98% 0.02 55 / 0.3) 100%
  );
  border-color: oklch(55% 0.24 265);
  box-shadow:
    0 8px 32px oklch(55% 0.24 265 / 0.15),
    0 4px 12px oklch(25% 0.02 265 / 0.05);
}

/* =============================================
   BADGE STYLES
   ============================================= */
.badge-accent {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 500;
  background: linear-gradient(
    135deg,
    oklch(92% 0.08 265) 0%,
    oklch(93% 0.06 295) 100%
  );
  color: oklch(48% 0.24 265);
  border: 1px solid oklch(85% 0.12 265);
  border-radius: 9999px;
}

.badge-popular {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  background: linear-gradient(135deg, oklch(55% 0.24 265), oklch(60% 0.22 295));
  color: white;
  border-radius: 9999px;
  box-shadow: 0 4px 12px oklch(55% 0.24 265 / 0.3);
}

.badge-sunset {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 500;
  background: oklch(92% 0.08 55);
  color: oklch(55% 0.18 45);
  border: 1px solid oklch(85% 0.12 55);
  border-radius: 9999px;
}

/* =============================================
   ICON CONTAINER
   ============================================= */
.icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, oklch(55% 0.24 265), oklch(60% 0.22 295));
  border-radius: 0.75rem;
  color: white;
  box-shadow: 0 4px 12px oklch(55% 0.24 265 / 0.25);
}

.icon-container-soft {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: linear-gradient(
    135deg,
    oklch(92% 0.08 265) 0%,
    oklch(93% 0.06 295) 100%
  );
  border-radius: 0.75rem;
  color: oklch(50% 0.24 265);
}

.icon-container-lg {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes gradient-shift {
  0% { background-position: 0% center; }
  50% { background-position: 100% center; }
  100% { background-position: 0% center; }
}

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

@keyframes pulse-glow {
  0%, 100% {
    box-shadow:
      0 4px 15px oklch(55% 0.24 265 / 0.3),
      0 2px 4px oklch(25% 0.02 265 / 0.1);
  }
  50% {
    box-shadow:
      0 8px 30px oklch(55% 0.24 265 / 0.4),
      0 4px 8px oklch(25% 0.02 265 / 0.1);
  }
}

@keyframes cloud-drift {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(20px); }
}

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

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

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

.animate-cloud-drift {
  animation: cloud-drift 8s ease-in-out infinite;
}

/* =============================================
   REDUCED MOTION
   ============================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =============================================
   UTILITIES
   ============================================= */
.gpu-accelerate {
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Cloud decorative elements */
.cloud-blob {
  border-radius: 50%;
  filter: blur(40px);
}

.cloud-blob-blue {
  background: oklch(80% 0.15 265 / 0.5);
}

.cloud-blob-purple {
  background: oklch(65% 0.20 295 / 0.35);
}

.cloud-blob-orange {
  background: oklch(80% 0.15 55 / 0.35);
}

/* =============================================
   NAVIGATION ENHANCEMENTS
   ============================================= */

/* Nav link base styles */
.nav-link {
  position: relative;
  padding-bottom: 4px;
}

/* Active nav indicator */
.nav-link-active {
  color: oklch(55% 0.24 265) !important;
}

.nav-link-active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, oklch(55% 0.24 265), oklch(60% 0.22 295));
  border-radius: 1px;
  animation: nav-underline-in 0.3s ease-out;
}

@keyframes nav-underline-in {
  from {
    transform: scaleX(0);
    opacity: 0;
  }
  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

/* Animated underlines for hover */
.underline-reveal {
  position: relative;
}

.underline-reveal::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, oklch(55% 0.24 265), oklch(60% 0.22 295));
  border-radius: 1px;
  transition: width 0.3s ease;
}

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

/* Don't show hover underline on active links */
.nav-link-active.underline-reveal:hover::after {
  width: 0;
}

/* =============================================
   VISUAL POLISH - SHADOWS & ELEVATION
   ============================================= */

.shadow-elevation-1 {
  box-shadow:
    0 1px 2px oklch(25% 0.02 265 / 0.04),
    0 1px 3px oklch(25% 0.02 265 / 0.06);
}

.shadow-elevation-2 {
  box-shadow:
    0 2px 4px oklch(25% 0.02 265 / 0.04),
    0 4px 8px oklch(25% 0.02 265 / 0.06),
    0 1px 2px oklch(55% 0.24 265 / 0.02);
}

.shadow-elevation-3 {
  box-shadow:
    0 4px 8px oklch(25% 0.02 265 / 0.04),
    0 8px 16px oklch(25% 0.02 265 / 0.06),
    0 16px 32px oklch(55% 0.24 265 / 0.04);
}

.shadow-elevation-4 {
  box-shadow:
    0 8px 16px oklch(25% 0.02 265 / 0.05),
    0 16px 32px oklch(25% 0.02 265 / 0.07),
    0 32px 64px oklch(55% 0.24 265 / 0.06);
}

/* =============================================
   SHIMMER & SHINE EFFECTS
   ============================================= */

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Card hover shine effect */
.shine-effect {
  position: relative;
  overflow: hidden;
}

.shine-effect::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    oklch(100% 0 0 / 0.1) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
  z-index: 10;
}

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

/* =============================================
   BUTTON ENHANCEMENTS
   ============================================= */

/* Press feedback */
.btn-press {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-press:active {
  transform: scale(0.97);
}

/* Ripple animation */
@keyframes ripple-expand {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0.6;
  }
  100% {
    transform: translate(-50%, -50%) scale(4);
    opacity: 0;
  }
}

.ripple-container {
  position: relative;
  overflow: hidden;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: oklch(100% 0 0 / 0.3);
  transform: translate(-50%, -50%) scale(0);
  animation: ripple-expand 0.6s ease-out forwards;
  pointer-events: none;
}

/* Enhanced btn-primary active state */
.btn-primary:active {
  transform: translateY(0) scale(0.98);
  box-shadow:
    0 2px 8px oklch(55% 0.24 265 / 0.3),
    0 1px 2px oklch(25% 0.02 265 / 0.1);
}

/* =============================================
   CARD ENHANCEMENTS
   ============================================= */

/* Enhanced hover lift */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow:
    0 8px 16px oklch(25% 0.02 265 / 0.05),
    0 16px 32px oklch(25% 0.02 265 / 0.07),
    0 32px 64px oklch(55% 0.24 265 / 0.06);
}

/* Feature card enhanced */
.card-feature-enhanced {
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-feature-enhanced::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    oklch(55% 0.24 265 / 0.02) 0%,
    oklch(60% 0.22 295 / 0.02) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.card-feature-enhanced:hover {
  transform: translateY(-6px);
  box-shadow:
    0 16px 48px oklch(55% 0.24 265 / 0.12),
    0 6px 16px oklch(25% 0.02 265 / 0.06);
}

.card-feature-enhanced:hover::before {
  opacity: 1;
}

/* Card hover glow */
.card-hover-glow {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card-hover-glow:hover {
  transform: translateY(-4px);
  border-color: oklch(55% 0.24 265 / 0.3);
  box-shadow:
    0 12px 40px oklch(55% 0.24 265 / 0.12),
    0 4px 12px oklch(25% 0.02 265 / 0.06);
}

/* =============================================
   BORDER GLOW ANIMATIONS
   ============================================= */

@property --border-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@keyframes border-rotate {
  to {
    --border-angle: 360deg;
  }
}

/* Rotating gradient border */
.border-glow-animated {
  position: relative;
  background: oklch(99% 0.005 250);
}

.border-glow-animated::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: conic-gradient(
    from var(--border-angle),
    oklch(55% 0.24 265),
    oklch(60% 0.22 295),
    oklch(72% 0.18 45),
    oklch(55% 0.24 265)
  );
  z-index: -1;
  animation: border-rotate 4s linear infinite;
}

.border-glow-animated::after {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  border-radius: inherit;
  z-index: -1;
}

/* =============================================
   ANIMATED GRADIENT BACKGROUNDS
   ============================================= */

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

.bg-animated-gradient-subtle {
  background: linear-gradient(
    135deg,
    oklch(97% 0.01 250),
    oklch(96% 0.02 265),
    oklch(97% 0.01 250),
    oklch(96% 0.015 295),
    oklch(97% 0.01 250)
  );
  background-size: 400% 400%;
  animation: gradient-drift 30s ease infinite;
}

/* =============================================
   ICON ANIMATIONS
   ============================================= */

.icon-hover-bounce {
  transition: transform 0.3s ease;
}

.group:hover .icon-hover-bounce {
  animation: icon-bounce 0.5s ease;
}

@keyframes icon-bounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* =============================================
   3D TILT CARD EFFECTS
   ============================================= */

.tilt-shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 10;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(255, 255, 255, 0) 0%,
    transparent 60%
  );
}

.card-tilt-ready {
  position: relative;
  transform-style: preserve-3d;
}

/* =============================================
   COUNTER ANIMATION
   ============================================= */

.counter-animated {
  font-variant-numeric: tabular-nums;
}

/* =============================================
   ENHANCED REDUCED MOTION
   ============================================= */

@media (prefers-reduced-motion: reduce) {
  .shine-effect::before,
  .border-glow-animated::before {
    animation: none;
    display: none;
  }

  .hover-lift:hover,
  .card-hover-glow:hover,
  .card-feature-enhanced:hover {
    transform: none;
  }

  .underline-reveal::after {
    transition: opacity 0.01ms;
    width: 100%;
    opacity: 0;
  }

  .underline-reveal:hover::after {
    opacity: 1;
    width: 100%;
  }
}
