/* ==========================================================================
   FEEDER — HERO
   ========================================================================== */

.hero {
  position: relative;
  height: 100svh;
  display: flex;
  align-items: center;
  overflow: clip;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(139, 92, 246, 0.14), transparent 60%), var(--bg-950);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.9;
  transform: scale(1.08);
  will-change: transform;
}

.hero-canvas canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(3, 5, 10, 0.1) 0%, rgba(3, 5, 10, 0.35) 60%, var(--bg-950) 100%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-8);
  padding-block: var(--sp-9);
}

.hero-content {
  max-width: 900px;
}

.hero-badge {
  margin-bottom: var(--sp-6);
}

.hero h1 {
  font-size: clamp(var(--fs-4xl), 6.4vw, var(--fs-6xl));
  color: var(--text-primary);
  margin-bottom: var(--sp-6);
}

.hero h1 .accent-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  max-width: 620px;
  font-size: clamp(var(--fs-md), 1.4vw, var(--fs-lg));
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--sp-7);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  flex-wrap: wrap;
  margin-bottom: var(--sp-9);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-7);
}

.hero-trust-item {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.hero-trust-item .num {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 600;
  color: var(--text-primary);
}

.hero-trust-item .label {
  font-size: var(--fs-xs);
  color: var(--text-tertiary);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
}

.scroll-cue {
  position: absolute;
  bottom: var(--sp-6);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  color: var(--text-tertiary);
  font-size: var(--fs-2xs);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
}

.scroll-cue-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--text-tertiary), transparent);
  overflow: hidden;
  position: relative;
}

.scroll-cue-line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent-cyan);
  animation: scrollCueDrop 2.2s ease-in-out infinite;
}

@keyframes scrollCueDrop {
  0% { top: -100%; }
  60% { top: 100%; }
  100% { top: 100%; }
}

/* ---------- Cinematic intro overlay ---------- */
.hero-intro {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background: #000;
  pointer-events: none;
}

.no-js .hero-intro {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero-intro {
    display: none;
  }
}

.hero-intro-glow {
  width: 44vmax;
  height: 44vmax;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.55), rgba(124, 58, 237, 0.18) 45%, transparent 72%);
  filter: blur(30px);
  opacity: 0;
  transform: scale(0.35);
}

.hero-intro-phrase {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 0 var(--sp-6);
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.2vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  opacity: 0;
}

.hero-intro-logo {
  position: relative;
  z-index: 1;
  width: clamp(140px, 16vw, 220px);
  height: auto;
  opacity: 0;
  filter: blur(16px) drop-shadow(0 0 40px rgba(168, 85, 247, 0.55));
  transform: scale(0.82);
}

@media (max-width: 640px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .scroll-cue { display: none; }
}
