/* ═══════════════════════════════════════
   GPS Landing — Custom Styles & Effects
   ═══════════════════════════════════════ */

/* Smooth scroll */
html { scroll-behavior: smooth; }

/* Scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: #222; border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: #444; }

/* Selection */
::selection { background: rgba(59,130,246,0.25); color: #93c5fd; }

/* ─── Glass Panel ─── */
.glass-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}

/* ─── Hero Text Gradients ─── */
.hero-gradient-text {
  background: linear-gradient(180deg, #ffffff 0%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-blue-text {
  background: linear-gradient(135deg, #93c5fd 0%, #ffffff 50%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  filter: drop-shadow(0 0 40px rgba(59, 130, 246, 0.25));
  animation: gradient-shift 6s ease-in-out infinite;
}

/* ─── Hero CTA Button ─── */
.hero-cta {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-cta:hover {
  box-shadow: 0 0 50px -10px rgba(59, 130, 246, 0.5);
  transform: scale(1.03);
}
.hero-cta-border {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59,130,246,0.6), rgba(139,92,246,0.6), rgba(59,130,246,0.6));
  opacity: 0.5;
  transition: opacity 0.4s;
}
.hero-cta:hover .hero-cta-border {
  opacity: 1;
  animation: border-rotate 3s linear infinite;
}

@keyframes border-rotate {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}

/* ─── Animated Orbs ─── */
.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  animation: orb-float 12s ease-in-out infinite;
}
.orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
  top: 10%; left: 15%;
  animation-delay: 0s;
}
.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
  top: 30%; right: 10%;
  animation-delay: -4s;
}
.orb-3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, transparent 70%);
  bottom: 20%; left: 30%;
  animation-delay: -8s;
}

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

/* ─── Nav scroll state ─── */
.nav-scrolled {
  background: rgba(0, 0, 0, 0.7) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ─── Reveal on Scroll ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── Module Cards ─── */
.module-card {
  cursor: default;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.module-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.module-card-glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s;
  background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.module-card:hover .module-card-glow {
  opacity: 1;
}

/* ─── Testimonial Cards ─── */
.testimonial-card {
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.testimonial-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.4);
}

/* ─── Stat Cards ─── */
.stat-card {
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.stat-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.4);
}

/* ─── Magnetic effect for links ─── */
.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 1px;
  background: rgba(59, 130, 246, 0.6);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-50%);
}
.nav-link:hover::after {
  width: 100%;
}

/* ─── Form Focus Glow ─── */
input:focus {
  box-shadow: 0 0 20px -5px rgba(59, 130, 246, 0.15);
}

/* ─── Floating Icons ─── */
.animate-float { animation: float 4s ease-in-out infinite; }
.animate-float-slow { animation: float 6s ease-in-out infinite; }
.animate-float-delay { animation: float 4s ease-in-out infinite; animation-delay: -2s; }

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

/* ─── Breathing Glow ─── */
.animate-breathe {
  animation: breathe 4s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { box-shadow: 0 0 60px -20px rgba(59,130,246,0.15); }
  50% { box-shadow: 0 0 80px -15px rgba(59,130,246,0.3); }
}

/* ─── Shimmer Text ─── */
.shimmer-text {
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}
@keyframes shimmer {
  0% { background-position: 200% center; }
  100% { background-position: -200% center; }
}

/* ─── Gradient Shift for Hero Blue Text ─── */
@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ─── Staggered Card Reveals ─── */
.module-card:nth-child(1) .reveal { transition-delay: 0s; }
.module-card:nth-child(2) .reveal { transition-delay: 0.1s; }
.module-card:nth-child(3) .reveal { transition-delay: 0.15s; }
.module-card:nth-child(4) .reveal { transition-delay: 0.2s; }
.module-card:nth-child(5) .reveal { transition-delay: 0.25s; }
.module-card:nth-child(6) .reveal { transition-delay: 0.3s; }
.module-card:nth-child(7) .reveal { transition-delay: 0.35s; }
.module-card:nth-child(8) .reveal { transition-delay: 0.4s; }
.module-card:nth-child(9) .reveal { transition-delay: 0.45s; }

/* ─── Border Pulse for Biblical Quote ─── */
.border-pulse {
  animation: border-pulse 3s ease-in-out infinite;
}
@keyframes border-pulse {
  0%, 100% { border-left-color: rgba(59,130,246,0.4); }
  50% { border-left-color: rgba(139,92,246,0.8); }
}

/* ─── Responsive adjustments ─── */
@media (max-width: 768px) {
  .orb { display: none; }
}
