/* === Hero Section === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: var(--z-particles);
}

.hero__bg canvas {
  width: 100%;
  height: 100%;
}

/* Ambient glow orbs */
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.4;
}

.hero__glow--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(21, 101, 192, 0.3), transparent 70%);
  top: -200px;
  right: -100px;
}

.hero__glow--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(77, 208, 225, 0.2), transparent 70%);
  bottom: -100px;
  left: -100px;
}

.hero__glow--3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(121, 134, 203, 0.15), transparent 70%);
  top: 30%;
  left: 40%;
}

.hero__inner {
  position: relative;
  z-index: var(--z-content);
  width: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--space-8);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

/* Left: Text content */
.hero__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
  background: rgba(77, 208, 225, 0.08);
  border: 1px solid rgba(77, 208, 225, 0.2);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  letter-spacing: var(--tracking-wide);
  color: var(--color-cyan);
  width: fit-content;
  animation: badge-pulse 3s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(77, 208, 225, 0); }
  50% { box-shadow: 0 0 20px 0 rgba(77, 208, 225, 0.15); }
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-cyan);
  animation: dot-blink 2s ease-in-out infinite;
}

@keyframes dot-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero__title {
  font-size: var(--text-hero);
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}

.hero__subtitle {
  font-size: var(--text-xl);
  color: var(--color-text-secondary);
  line-height: var(--leading-normal);
  max-width: 500px;
}

.hero__cta {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-4);
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  gap: var(--space-8);
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--glass-border);
}

.hero__stat-value {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: var(--color-text-primary);
}

.hero__stat-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

/* Right: Phone visual */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero__phone-glow {
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(77, 208, 225, 0.15), transparent 70%);
  filter: blur(40px);
  animation: phone-glow-pulse 4s ease-in-out infinite;
}

@keyframes phone-glow-pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 1; }
}

/* Floating elements around phone */
.hero__float {
  position: absolute;
  animation: float 6s ease-in-out infinite;
}

.hero__float--1 {
  top: 10%;
  right: 0;
  animation-delay: 0s;
}

.hero__float--2 {
  bottom: 15%;
  left: 5%;
  animation-delay: 2s;
}

.hero__float--3 {
  top: 50%;
  right: -5%;
  animation-delay: 4s;
}

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

/* Floating chip/badge */
.hero__chip {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  background: rgba(10, 22, 40, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  color: var(--color-text-secondary);
  white-space: nowrap;
  box-shadow: var(--shadow-lg);
}

.hero__chip-icon {
  font-size: var(--text-base);
}

/* === Responsive === */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: var(--space-12);
    text-align: center;
    padding: var(--space-16) var(--space-6);
  }

  .hero__content {
    align-items: center;
  }

  .hero__subtitle {
    max-width: 100%;
  }

  .hero__cta {
    justify-content: center;
  }

  .hero__stats {
    justify-content: center;
  }

  .hero__visual {
    order: -1;
  }

  .hero__float {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: calc(var(--nav-height) + var(--space-4));
  }

  .hero__inner {
    padding: var(--space-8) var(--space-4);
    gap: var(--space-8);
  }

  .hero__cta {
    flex-direction: column;
    width: 100%;
  }

  .hero__cta .btn {
    width: 100%;
    justify-content: center;
  }

  .hero__stats {
    flex-wrap: wrap;
    gap: var(--space-6);
    justify-content: center;
  }

  .hero__glow--1 {
    width: 300px;
    height: 300px;
  }

  .hero__glow--2 {
    width: 200px;
    height: 200px;
  }
}
