/* ===== HERO ===== */
#hero { text-align: center; }

#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px;
}

#hero .section-overlay {
  background: linear-gradient(180deg, rgba(10,10,15,0.4) 0%, rgba(10,10,15,0.7) 100%);
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 8vw, 96px);
  line-height: 0.95;
  letter-spacing: 4px;
  color: var(--text-primary);
  margin-bottom: 24px;
}

/* Split-char animation support */
.title-line {
  display: block;
  overflow: hidden; /* clips chars as they slide up from below */
  padding-bottom: 0.08em; /* prevent descender clipping */
  white-space: nowrap; /* prevent char spans from wrapping mid-word on font load */
}

.char {
  display: inline-block;
  will-change: transform;
}

.char-space {
  display: inline-block;
  width: 0.28em;
}

.hero-subtitle {
  font-size: 18px;
  font-weight: 300;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.hero-cta {
  display: inline-block;
  position: relative;
  overflow: hidden;
  padding: 14px 40px;
  border: 1px solid var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: box-shadow 0.3s ease, color 0.3s ease;
  z-index: 0;
}

.hero-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateX(-101%);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.hero-cta:hover::before { transform: translateX(0); }

.hero-cta:hover {
  box-shadow: 0 0 30px rgba(26, 107, 255, 0.35);
  color: #fff;
}

.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: scrollPulse 2s ease-in-out infinite;
}

.scroll-indicator .line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--text-muted), transparent);
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.5; transform: translateX(-50%) translateY(8px); }
}
