/* ============================ HERO ============================ */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-start;
  padding-top: calc(var(--nav-h) - 4rem);
  padding-bottom: 5rem;
  overflow: hidden;
}

/* Soft purple radial glow behind content */
.hero-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(680px 520px at 30% 30%, rgba(157, 78, 221, 0.26), transparent 60%),
    radial-gradient(560px 480px at 78% 22%, rgba(123, 44, 191, 0.20), transparent 60%);
  pointer-events: none;
}

/* Orbital rings echoing the logo */
.hero-orbits { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-orbit {
  left: 50%; top: 40%;
  transform: translate(-50%, -50%);
  opacity: 0.13;
}
.hero-orbit.o1 { width: 460px; height: 460px; animation: spin 60s linear infinite; }
.hero-orbit.o2 { width: 720px; height: 720px; animation: spin 95s linear infinite reverse; opacity: 0.09; }
.hero-orbit.o3 { width: 1040px; height: 1040px; animation: spin 130s linear infinite; opacity: 0.06; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1080px;
  text-align: center;
  margin-inline: auto;
}

/* --- Big glowing logo --- */
.hero-logo {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  margin-bottom: -6.5rem;
}
.hero-logo img {
  position: relative;
  z-index: 1;
  width: clamp(470px, 73vw, 760px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 30px rgba(157, 78, 221, 0.55));
}
.hero-logo-glow {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(280px, 42vw, 460px);
  height: clamp(280px, 42vw, 460px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(157, 78, 221, 0.55), rgba(123, 44, 191, 0.22) 42%, transparent 70%);
  filter: blur(8px);
  z-index: 0;
  pointer-events: none;
  animation: heroLogoPulse 5s ease-in-out infinite;
}
@keyframes heroLogoPulse {
  0%, 100% { opacity: 0.85; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 1;    transform: translate(-50%, -50%) scale(1.06); }
}

/* Brand wordmark under the hero logo — matches the navbar wordmark
   (var(--font-head) + 800 weight + reused .silver-text gradient), sized up. */
.hero-wordmark {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(7.5rem, 16vw, 11rem);
  line-height: 1;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

.hero .eyebrow { font-size: 1.84rem; margin-bottom: 1.1rem; }

.hero h1 {
  margin-bottom: 1.4rem;
  text-wrap: balance;
}

.hero-sub {
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  color: var(--text-muted);
  max-width: 1000px;
  margin: 0 auto 3rem;
  text-wrap: pretty;
}

/* --- Two-column row: price pitch + form --- */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: stretch;
  text-align: center;
  max-width: 1000px;
  margin-inline: auto;
}

.hero-pitch {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.6rem;
}

/* Glowing price highlight */
.hero-price {
  position: relative;
  padding: 2rem 2rem 2.1rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(40, 22, 64, 0.6), rgba(22, 22, 29, 0.85));
  border: 1px solid rgba(157, 78, 221, 0.4);
  box-shadow: 0 22px 60px rgba(0,0,0,0.45), 0 0 50px rgba(157, 78, 221, 0.28);
  overflow: hidden;
  isolation: isolate;
}
.hero-price-orbit {
  width: 260px; height: 260px;
  top: -80px; right: -80px;
  opacity: 0.18;
  z-index: -1;
  animation: spin 70s linear infinite;
}
.hero-price-big {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(3.4rem, 7vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  filter: drop-shadow(0 4px 24px rgba(157,78,221,0.35));
}
.hero-price-label {
  display: block;
  margin-top: 0.4rem;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--purple-glow);
}
.hero-price-yearly {
  display: block;
  margin-top: 0.9rem;
  font-weight: 700;
  color: var(--text);
}

.hero-pitch .hero-trust {
  font-size: 0.98rem;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.6;
}
.hero-pitch .hero-actions { display: flex; }
.hero-pitch .hero-actions .btn { width: auto; }

/* Hero contact form card */
.hero-form { align-self: stretch; }
.hero-form-title {
  grid-column: 1 / -1;
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  margin-bottom: 0.2rem;
}

.hero-trust {
  font-size: 0.95rem;
  color: var(--text-dim);
  font-weight: 600;
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 1.4rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px; height: 42px;
  border: 2px solid var(--border-strong);
  border-radius: 14px;
}
.scroll-cue span {
  display: block;
  width: 4px; height: 8px;
  margin: 7px auto 0;
  border-radius: 2px;
  background: var(--purple-glow);
  animation: scrollCue 1.8s var(--ease) infinite;
}
@keyframes scrollCue {
  0% { opacity: 0; transform: translateY(0); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

/* --- Page-load entrance: staggered fade/slide up --- */
.hero-anim {
  opacity: 0;
  transform: translateY(26px);
  animation: heroIn 0.9s var(--ease-out) forwards;
}
.hero-logo.hero-anim        { animation-delay: 0.10s; }
.hero-wordmark.hero-anim    { animation-delay: 0.18s; }
.hero .eyebrow.hero-anim    { animation-delay: 0.25s; }
.hero h1.hero-anim          { animation-delay: 0.38s; }
.hero-sub.hero-anim         { animation-delay: 0.50s; }
.hero-grid.hero-anim        { animation-delay: 0.64s; }
.scroll-cue.hero-anim       { animation-delay: 1.1s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .hero-anim { opacity: 1; transform: none; animation: none; }
  .hero-orbit, .hero-price-orbit, .hero-logo-glow { animation: none; }
  .scroll-cue span { animation: none; }
}

/* --- Responsive --- */
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; max-width: 560px; }
  .hero-pitch { text-align: center; }
  .hero-price-orbit { display: none; }
  .scroll-cue { display: none; }
}
@media (max-width: 600px) {
  .hero { padding-top: calc(var(--nav-h) + 1.5rem); }
  .hero-price { padding: 1.6rem; }
}
