/* ============================================================
   Hero — Full-viewport intro section
   ============================================================ */

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

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

/* Animated gradient orbs */
.hero-bg::before,
.hero-bg::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: float 12s ease-in-out infinite;
}

.hero-bg::before {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--md-sys-color-primary-container) 0%, transparent 70%);
  top: -10%;
  right: -10%;
  animation-delay: 0s;
}

.hero-bg::after {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--md-sys-color-secondary-container) 0%, transparent 70%);
  bottom: -10%;
  left: -5%;
  animation-delay: -6s;
}

/* Grid pattern overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(134, 210, 230, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(134, 210, 230, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 100%);
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(30px, -20px) scale(1.05); }
  66%      { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-inline: clamp(1rem, 5vw, 4rem);
  max-width: 800px;
}

.hero-heading {
  font-family: var(--md-sys-typescale-display-font);
  font-size: var(--md-sys-typescale-display-size);
  font-weight: var(--md-sys-typescale-display-weight);
  color: var(--md-sys-color-on-surface);
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.hero-heading .accent {
  color: var(--md-sys-color-primary);
}

.hero-tagline {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  color: var(--md-sys-color-on-surface-variant);
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-cta {
  margin-top: 0.5rem;
}

/* Lottie placeholder area */
.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual lottie-player {
  width: 100%;
  max-width: 600px;
  opacity: 0.2;
}
