:root {
  --primary-blue: #ade8f4;
  --secondary-blue: #48cae4;
  --deep-blue: #0077b6;
  --white: #ffffff;
  --neon-cyan: #00ffff;
  --neon-glow: 0 0 10px rgba(0, 255, 255, 0.7), 0 0 20px rgba(0, 255, 255, 0.4);
}

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--white);
  color: #1a1a1a;
  overflow-x: hidden;
}

/* ============================================
   HEADER TRANSPARENT → SOLID TRANSITION
   ============================================ */
.header-transition {
  transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.header-transparent {
  background: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: none;
}

/* Make links & text white on transparent header */
.header-transparent a,
.header-transparent span,
.header-transparent button {
  color: rgba(255, 255, 255, 0.9) !important;
  transition: color 0.4s ease;
}

.header-transparent a:hover {
  color: #00ffff !important;
}

/* Neon button override in transparent mode */
.header-transparent .neon-button {
  border-color: rgba(255, 255, 255, 0.3) !important;
  color: #fff !important;
}

.header-transparent .neon-button:hover {
  border-color: #00ffff !important;
  box-shadow: inset 0 0 20px rgba(0, 255, 255, 0.3), 0 0 10px rgba(0, 255, 255, 0.4);
}

/* Scrolled / solid state */
.header-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.header-scrolled a,
.header-scrolled span {
  color: inherit !important;
  transition: color 0.4s ease;
}

.header-scrolled a:hover {
  color: #0077b6 !important;
}

.header-scrolled .neon-button {
  border-color: #00ffff !important;
  color: #fff !important;
}

/* Glassmorphism Classes */
.glass {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-dark {
  background: rgba(173, 232, 244, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 255, 255, 0.2);
}

/* Neon Effects */
.neon-text {
  color: var(--neon-cyan);
  text-shadow: 0 0 5px rgba(0, 255, 255, 0.8), 0 0 10px rgba(0, 255, 255, 0.4);
}

.neon-border {
  border: 2px solid var(--neon-cyan);
  box-shadow: var(--neon-glow);
}

.neon-button {
  transition: all 0.3s ease;
  background: transparent;
  border: 2px solid var(--neon-cyan);
  color: #000;
  box-shadow: inset 0 0 0 0 var(--neon-cyan);
}

.neon-button:hover {
  box-shadow: inset 0 0 20px rgba(0, 255, 255, 0.5), var(--neon-glow);
  color: #000;
  transform: translateY(-2px);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  animation: fadeInUp 0.8s ease forwards;
}

.reveal {
  opacity: 0;
  transition: all 1s ease-out;
}

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

/* ============================================
   PREMIUM HERO SECTION
   ============================================ */

/* Hero wrapper */
.hero-premium {
  background: #020c1b;
  min-height: 100vh;
}

/* Background image with subtle zoom animation */
.hero-bg-image {
  transform: scale(1.1);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

.hero-bg-image img {
  filter: brightness(0.3) saturate(1.3);
}

@keyframes heroZoom {
  0% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1.2);
  }
}

/* Gradient overlay */
.hero-overlay {
  background:
    linear-gradient(180deg,
      rgba(2, 12, 27, 0.6) 0%,
      rgba(0, 119, 182, 0.15) 50%,
      rgba(2, 12, 27, 0.85) 100%),
    radial-gradient(ellipse at 50% 0%, rgba(0, 255, 255, 0.08) 0%, transparent 60%);
}

/* Floating glow orbs */
.hero-orb {
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  will-change: transform;
}

.hero-orb-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 255, 255, 0.3), transparent 70%);
  top: 10%;
  left: -5%;
  animation: orbFloat1 8s ease-in-out infinite alternate;
}

.hero-orb-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 119, 182, 0.4), transparent 70%);
  bottom: 15%;
  right: -5%;
  animation: orbFloat2 10s ease-in-out infinite alternate;
}

.hero-orb-3 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(72, 202, 228, 0.25), transparent 70%);
  top: 50%;
  left: 40%;
  animation: orbFloat3 12s ease-in-out infinite alternate;
}

@keyframes orbFloat1 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(60px, 40px) scale(1.15);
  }
}

@keyframes orbFloat2 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(-50px, -60px) scale(1.2);
  }
}

@keyframes orbFloat3 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(30px, -30px) scale(0.9);
  }
}

/* Hero Reveal Animation System */
.hero-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.hero-reveal-1 {
  transition-delay: 0.2s;
}

.hero-reveal-2 {
  transition-delay: 0.4s;
}

.hero-reveal-3 {
  transition-delay: 0.7s;
}

.hero-reveal-4 {
  transition-delay: 0.9s;
}

.hero-reveal-5 {
  transition-delay: 1.1s;
}

.hero-reveal-6 {
  transition-delay: 1.4s;
}

.hero-reveal-7 {
  transition-delay: 1.8s;
}

/* Headline accent gradient text */
.hero-headline-accent {
  background: linear-gradient(135deg, #00ffff 0%, #48cae4 40%, #ade8f4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Neon glow text */
.hero-glow-text {
  text-shadow: 0 0 8px rgba(0, 255, 255, 0.5), 0 0 20px rgba(0, 255, 255, 0.2);
}

/* Glassmorphism for hero stats */
.glass-hero {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.glass-hero:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(0, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 255, 255, 0.1);
}

/* Pulse dot animation */
.hero-pulse-dot {
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {

  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(0, 255, 255, 0.5);
  }

  50% {
    opacity: 0.7;
    box-shadow: 0 0 0 6px rgba(0, 255, 255, 0);
  }
}

/* Scroll indicator animation */
.hero-scroll-dot {
  animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  50% {
    transform: translateY(14px);
    opacity: 0.3;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Hero line separator animation */
.hero-line {
  animation: lineExpand 2s ease-out 1s forwards;
  transform-origin: center;
  opacity: 0;
}

.hero-reveal.is-visible .hero-line {
  opacity: 1;
}

@keyframes lineExpand {
  0% {
    width: 0;
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/* Responsive hero adjustments */
@media (max-width: 768px) {
  .hero-orb-1 {
    width: 200px;
    height: 200px;
  }

  .hero-orb-2 {
    width: 150px;
    height: 150px;
  }

  .hero-orb-3 {
    display: none;
  }
}

/* Services Cards */
.service-card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}