/* ==============================================================================
   TRUEMAN RESOURCES PRIVATE LIMITED - GLASSMORPHISM & ANIMATION SYSTEM
   Ultra-Modern, GPU-Accelerated, High-Performance Micro-Interactions
   ============================================================================== */

/* ------------------------------------------------------------------------------
   1. KEYFRAME ANIMATIONS
   ------------------------------------------------------------------------------ */

/* Fade & Slide Up Entrance */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Ambient Floating Background Orbs */
@keyframes orbFloat1 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(40px, -30px) scale(1.12);
  }
}

@keyframes orbFloat2 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-35px, 25px) scale(1.08);
  }
}

@keyframes orbFloat3 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(25px, 35px) scale(1.15);
  }
}

/* Floating Card / Badge Motion */
@keyframes floatGentle {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Radiant Saffron Pulse Glow */
@keyframes pulseGoldGlow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(255, 107, 0, 0.28), 0 0 35px rgba(255, 107, 0, 0.12);
  }
  50% {
    box-shadow: 0 0 26px rgba(255, 107, 0, 0.5), 0 0 54px rgba(255, 107, 0, 0.26);
  }
}

/* Shimmer Light Beam Reflection */
@keyframes shimmerBeam {
  0% {
    left: -150%;
  }
  100% {
    left: 150%;
  }
}

/* Subtle Breathing Gradient */
@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Dot Indicator Blink */
@keyframes pulseDot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.85);
  }
}

/* ------------------------------------------------------------------------------
   2. UTILITY CLASSES & PRESETS
   ------------------------------------------------------------------------------ */

.fade-in {
  animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.float-gentle {
  animation: floatGentle 5s ease-in-out infinite;
}

.pulse-gold {
  animation: pulseGoldGlow 3s ease-in-out infinite;
}

/* Ambient Orbs Disabled for Crisp Solid Corporate Aesthetic */
.ambient-orb-wrap {
  display: none;
}

.ambient-orb {
  display: none;
}

.ambient-orb-gold,
.ambient-orb-sapphire,
.ambient-orb-cyan {
  display: none;
}

/* ------------------------------------------------------------------------------
   3. CLEAN ELEVATED PANELS & CARDS
   ------------------------------------------------------------------------------ */

/* Light Frosted Glass (Daylight Sections) */
.glass-panel-light {
  background: #ffffff;
  border: 1px solid var(--border-card);
  box-shadow: 0 10px 28px -6px rgba(17, 19, 24, 0.08);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
}

.glass-panel-light:hover {
  background: #ffffff;
  border-color: var(--saffron-primary);
  box-shadow: 0 18px 40px -8px rgba(17, 19, 24, 0.13);
}

/* Dark Clean Panel */
.glass-panel-dark {
  background: #021E4A;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 54px -12px rgba(1, 21, 54, 0.48);
  border-radius: var(--radius-lg);
  color: #ffffff;
}

/* Pill Badges */
.glass-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #ffffff;
  font-size: var(--text-sm);
  font-weight: 600;
}

.glass-pill-gold {
  background: rgba(244, 156, 3, 0.18);
  border-color: var(--saffron-primary);
  color: #ffffff;
}

/* Shimmer Button Sweep */
.btn-shimmer {
  position: relative;
  overflow: hidden;
}

.btn-shimmer::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -150%;
  width: 60%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 100%
  );
  transform: rotate(25deg);
  transition: none;
}

.btn-shimmer:hover::after {
  animation: shimmerBeam 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Scroll-Driven Entrance Utility */
.reveal-init {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

/* Stagger Delays for Grids */
.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; }

/* Interactive 3D Glass Tilt Card Base */
.tilt-card {
  transform-style: preserve-3d;
  perspective: 1000px;
  will-change: transform;
  transition: transform 0.25s cubic-bezier(0.2, 0, 0, 1),
              box-shadow 0.35s ease,
              border-color 0.35s ease;
}

/* Glass Surface Reflection Glare */
.glass-glare {
  position: relative;
  overflow: hidden;
}

.glass-glare::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.22) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  transition: left 0.75s ease;
  pointer-events: none;
  z-index: 4;
}

.glass-glare:hover::before {
  left: 175%;
}

/* Radiant Saffron Aura Pulse */
@keyframes badgeAura {
  0%, 100% {
    box-shadow: 0 0 10px rgba(255, 107, 0, 0.24), 0 0 0 1px rgba(255, 140, 36, 0.35);
  }
  50% {
    box-shadow: 0 0 24px rgba(255, 107, 0, 0.52), 0 0 0 2px rgba(255, 140, 36, 0.62);
  }
}

.badge-pulse {
  animation: badgeAura 3s ease-in-out infinite;
}

/* Reduced Motion for Accessibility */
@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;
  }
  .reveal-init {
    opacity: 1 !important;
    transform: none !important;
  }
}
