/* css/hero.css */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero__bg-wrapper {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  transform-origin: center;
}

.hero__bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transform: scale(1.1);
}

.hero__zoom-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-origin: center;
  overflow: hidden;
  /* Removed will-change to prevent backdrop-filter bugs on Safari returning from scroll */
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%),
              linear-gradient(to bottom, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 100%);
}

.hero__content {
  text-align: center;
  max-width: 900px;
  position: relative;
  z-index: 10;
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.45) 0%, rgba(248, 250, 252, 0.25) 100%);
  backdrop-filter: blur(8px) saturate(1.2);
  -webkit-backdrop-filter: blur(8px) saturate(1.2);
  padding: 4.5rem 3.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 40px 100px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero__content:hover {
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.65) 0%, rgba(248, 250, 252, 0.45) 100%);
  backdrop-filter: blur(12px) saturate(1.4);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  border-color: rgba(255, 255, 255, 1);
  transform: translateY(-5px);
  box-shadow: 0 50px 120px rgba(15, 23, 42, 0.12);
}

/* Removed blue border glow and blur */


.hero__badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background-color: #fff;
  border: 1px solid rgba(15, 23, 42, 0.15); /* sleek slate border */
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary); /* slate instead of bright cyan */
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.05);
}

.hero__title {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero__word {
  display: inline-block;
}

.hero__subtitle {
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  max-width: 650px;
  margin: 0 auto 3rem;
  color: var(--text-secondary);
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  opacity: 0.7;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background-color: var(--text-muted);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background-color: var(--accent-primary);
  animation: scrollLine 2s infinite ease-in-out;
}

@keyframes scrollLine {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(200%); }
}

/* Removed large ambient blue blobs */

@media (max-width: 968px) {
  .hero {
    padding-top: 60px;
  }
  .hero__content {
    padding: 2.5rem 1.5rem;
    max-width: 92%;
    margin: 0 auto;
  }
  .hero__title {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  .hero__subtitle {
    font-size: 1rem;
    margin: 0 auto 2rem;
  }
  .hero__badge {
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
    margin-bottom: 1.5rem;
  }
  .hero__scroll-indicator {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    margin-top: 2rem;
    padding-bottom: 1rem;
  }
}
