/**
 * SatSri — Custom Premium Styles
 * These are non-Tailwind custom CSS for premium visual effects.
 * Linked separately to avoid Tailwind JIT purging.
 */

/* ===== HERO TEXT GLOW ===== */
.text-glow {
  text-shadow: 0 0 40px rgba(245, 166, 35, 0.3), 0 0 80px rgba(245, 166, 35, 0.15);
}

/* ===== GRADIENT TEXT ===== */
.text-gradient-gold {
  background: linear-gradient(135deg, #f5a623, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== GLASS CARD ===== */
.glass-card {
  background: rgba(22, 20, 46, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(139, 92, 246, 0.15);
}

/* ===== NAV LINK UNDERLINE ANIMATION ===== */
.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #f5a623;
  transition: width 200ms ease-out;
}
.nav-link:hover::after {
  width: 100%;
}

/* ===== SCROLL INDICATOR BOUNCE ===== */
@keyframes bounce-down {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}
.scroll-indicator {
  animation: bounce-down 2s ease-in-out infinite;
}

/* ===== AMBIENT MESH BLOBS ===== */
@keyframes blob-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.1); }
  66% { transform: translate(-30px, 30px) scale(0.95); }
}
.blob-1 { animation: blob-drift 20s ease-in-out infinite; }
.blob-2 { animation: blob-drift 25s ease-in-out infinite reverse; }
.blob-3 { animation: blob-drift 30s ease-in-out infinite; }

/* ===== STEP STAGGER REVEAL ===== */
.reveal-step {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 500ms ease-out, transform 500ms ease-out;
}
.reveal-step.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== CTA BUTTON GLOW PULSE ===== */
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(245, 166, 35, 0.4); }
  50% { box-shadow: 0 0 35px rgba(245, 166, 35, 0.7), 0 0 60px rgba(245, 166, 35, 0.3); }
}
.btn-glow-pulse {
  animation: glow-pulse 3s ease-in-out infinite;
}

/* ===== LOGO BAR FADE EDGES ===== */
.logo-bar-fade-left {
  background: linear-gradient(to right, #0d0b1e 0%, transparent 100%);
  width: 80px;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  pointer-events: none;
}
.logo-bar-fade-right {
  background: linear-gradient(to left, #0d0b1e 0%, transparent 100%);
  width: 80px;
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1;
  pointer-events: none;
}

/* ===== STEP CONNECTOR LINE ===== */
.step-connector {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(139, 92, 246, 0.4), rgba(245, 166, 35, 0.4), transparent);
}

/* ===== STEP NUMBER GLOW ===== */
.step-number-glow {
  box-shadow: 0 0 20px rgba(245, 166, 35, 0.4), 0 0 40px rgba(245, 166, 35, 0.15);
}

/* ===== SERVICE CARD GRADIENT BORDER ON HOVER ===== */
.service-card-glow {
  position: relative;
}
.service-card-glow::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.5), rgba(139, 92, 246, 0.5));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 300ms ease;
  pointer-events: none;
}
.service-card-glow:hover::before {
  opacity: 1;
}

/* ===== SERVICE ICON HOVER SCALE ===== */
.service-icon {
  transition: transform 200ms ease, color 200ms ease;
}
.group:hover .service-icon {
  transform: scale(1.1);
}

/* ===== AGENT CARD GLASS LIFT ===== */
.agent-card-glass {
  background: rgba(22, 20, 46, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(139, 92, 246, 0.12);
  transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
}
.agent-card-glass:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.3);
}

/* ===== AVATAR COLORED RING ===== */
.avatar-ring {
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.3), 0 0 0 5px rgba(139, 92, 246, 0.2);
}

/* ===== CTA SECTION MESH ===== */
.cta-mesh {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(139, 92, 246, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(245, 166, 35, 0.15) 0%, transparent 60%);
}

/* ===== FOOTER GRADIENT BORDER ===== */
.footer-gradient-border {
  border-top: 1px solid;
  border-image: linear-gradient(to right, transparent, rgba(245, 166, 35, 0.4), rgba(139, 92, 246, 0.4), transparent) 1;
}

/* ===== MOBILE MENU SLIDE IN ===== */
.mobile-menu-panel {
  transform: translateX(100%);
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.mobile-menu-panel.open {
  transform: translateX(0);
}

/* ===== LOGO GLOW ===== */
.logo-glow {
  text-shadow: 0 0 20px rgba(245, 166, 35, 0.4), 0 0 40px rgba(245, 166, 35, 0.2);
}

/* ===== HERO FADE UP ANIMATIONS ===== */
@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-fade-up {
  opacity: 0;
  animation: hero-fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-fade-up-1 {
  opacity: 0;
  animation: hero-fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) 120ms forwards;
}
.hero-fade-up-2 {
  opacity: 0;
  animation: hero-fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) 240ms forwards;
}

/* ===== SKIP LINK ===== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: #f5a623;
  color: #0d0b1e;
  padding: 0.5rem 1rem;
  font-weight: 600;
  border-radius: 8px;
  z-index: 9999;
  transition: top 150ms ease;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.875rem;
}
.skip-link:focus {
  top: 1rem;
}

/* ===== SELECTION COLOR ===== */
::selection {
  background: rgba(245, 166, 35, 0.3);
  color: #f0efff;
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  .blob-1, .blob-2, .blob-3,
  .scroll-indicator,
  .btn-glow-pulse,
  .reveal-step,
  .service-icon,
  .agent-card-glass,
  .hero-fade-up,
  .hero-fade-up-1,
  .hero-fade-up-2,
  .mobile-menu-panel {
    animation: none !important;
    transition: none !important;
  }
  .reveal-step {
    opacity: 1;
    transform: none;
  }
  .hero-fade-up,
  .hero-fade-up-1,
  .hero-fade-up-2 {
    opacity: 1;
  }
}
