/* ============================================
   ARDUVEX — Hero Section
   ============================================ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 24px 80px;
}

/* ---- Floating Gradient Orbs ---- */
.hero__orbs {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

/* Orb 1 — Large blue */
.hero__orb--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(20, 102, 225, 0.35), rgba(20, 102, 225, 0) 70%);
  top: -10%;
  left: -5%;
  animation: orbFloat1 14s ease-in-out infinite alternate;
}

/* Orb 2 — Cyan */
.hero__orb--2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(34, 209, 238, 0.3), rgba(34, 209, 238, 0) 70%);
  bottom: -15%;
  right: -8%;
  animation: orbFloat2 18s ease-in-out infinite alternate;
}

/* Orb 3 — Mint, smaller */
.hero__orb--3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(123, 236, 214, 0.25), rgba(123, 236, 214, 0) 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: orbFloat3 20s ease-in-out infinite alternate;
}

/* Orb 4 — Deep blue accent */
.hero__orb--4 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(20, 102, 225, 0.2), rgba(34, 209, 238, 0.1) 50%, transparent 70%);
  top: 20%;
  right: 15%;
  animation: orbFloat4 16s ease-in-out infinite alternate;
}

@keyframes orbFloat1 {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.6;
  }
  25% {
    opacity: 0.8;
  }
  50% {
    transform: translate(80px, 60px) scale(1.15);
    opacity: 0.7;
  }
  100% {
    transform: translate(40px, 120px) scale(1.05);
    opacity: 0.6;
  }
}

@keyframes orbFloat2 {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.5;
  }
  30% {
    opacity: 0.7;
  }
  50% {
    transform: translate(-70px, -50px) scale(1.2);
    opacity: 0.6;
  }
  100% {
    transform: translate(-100px, -80px) scale(0.95);
    opacity: 0.5;
  }
}

@keyframes orbFloat3 {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.4;
  }
  50% {
    transform: translate(-30%, -60%) scale(1.3);
    opacity: 0.6;
  }
  100% {
    transform: translate(-70%, -40%) scale(1.1);
    opacity: 0.45;
  }
}

@keyframes orbFloat4 {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.4;
  }
  50% {
    transform: translate(-60px, 80px) scale(1.25);
    opacity: 0.55;
  }
  100% {
    transform: translate(30px, 40px) scale(0.9);
    opacity: 0.4;
  }
}

/* Grid/Dot Overlay Pattern */
.hero__grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: radial-gradient(rgba(20, 102, 225, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black, transparent);
}

/* Hero Content */
.hero__container {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero__title {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero__subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--color-muted);
  margin-bottom: 40px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Scroll Indicator */
.hero__scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--color-muted);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-primary), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* Mobile — smaller orbs */
@media (max-width: 768px) {
  .hero__orb--1 { width: 350px; height: 350px; filter: blur(60px); }
  .hero__orb--2 { width: 300px; height: 300px; filter: blur(60px); }
  .hero__orb--3 { width: 200px; height: 200px; filter: blur(50px); }
  .hero__orb--4 { width: 250px; height: 250px; filter: blur(50px); }
}
