/* =========================================
   HERO
========================================== */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 15%, rgba(75, 60, 240, 0.24), transparent 22%),
    radial-gradient(circle at 80% 20%, rgba(255, 122, 26, 0.18), transparent 20%),
    radial-gradient(circle at 70% 75%, rgba(0, 191, 255, 0.15), transparent 24%),
    linear-gradient(180deg, #07111f 0%, #050c17 100%);
}

.hero-title {
  position: relative;
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 0.98;
  font-weight: 900;
  margin-bottom: 22px;
  max-width: 820px;
}

.hero-title::after {
  content: "";
  position: absolute;
  left: -20px;
  top: 20%;
  width: 70%;
  height: 60%;
  background: linear-gradient(
    90deg,
    rgba(75, 60, 240, 0.18),
    rgba(255, 122, 26, 0.16),
    rgba(0, 191, 255, 0.16)
  );
  filter: blur(42px);
  z-index: -1;
  animation: titleGlowMove 6s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes titleGlowMove {
  0% {
    transform: translateX(0) translateY(0);
  }
  100% {
    transform: translateX(24px) translateY(-8px);
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  opacity: 0.88;
  transform: scale(1.04);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(5, 12, 23, 0.45), rgba(5, 12, 23, 0.88));
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.14;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 2;
}

.hero-glow-1 {
  width: 260px;
  height: 260px;
  background: var(--indigo);
  top: 90px;
  left: -90px;
}

.hero-glow-2 {
  width: 280px;
  height: 280px;
  background: var(--deep-sky);
  right: -90px;
  bottom: 40px;
}

.hero-layout {
  position: relative;
  z-index: 3;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 42px;
  align-items: center;
  padding-top: 50px;
  padding-bottom: 90px;
}

.hero-eyebrow {
  color: var(--deep-sky);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero-title {
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 0.98;
  font-weight: 900;
  margin-bottom: 22px;
  max-width: 820px;
}

/* =========================================
   HERO WORD ROTATION
========================================== */

.rotate-word-wrap {
  position: relative;
  display: inline-block;
  min-width: 11ch;   /* prevents layout jumping */
  height: 1.2em;
  vertical-align: baseline;
}

.rotate-word {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  color: var(--pumpkin);
  white-space: nowrap;
}

.rotate-word.active {
  opacity: 1;
  transform: translateY(0);
  .rotate-word.active {
  opacity: 1;
  transform: translateY(0);
  text-shadow: 0 0 14px rgba(255,122,26,0.4);
}
}

.hero-subtitle {
  max-width: 720px;
  color: var(--text-soft);
  font-size: 1.08rem;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 30px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-trust span {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: var(--text-soft);
  font-size: 0.95rem;
  backdrop-filter: blur(8px);
}

.hero-side {
  display: grid;
  gap: 18px;
}

.hero-card,
.mini-card {
  backdrop-filter: blur(12px);
}

.hero-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-lg);
}

.hero-card::before {
  content: "";
  position: absolute;
  top: -20%;
  left: -120%;
  width: 60%;
  height: 140%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.177) 45%,
    rgba(255, 255, 255, 0) 50%,
    rgba(255, 255, 255, 0.177) 55%,
    transparent 100%
  );
  transform: rotate(12deg);
  animation: cardShine 7s ease-in-out infinite;
  pointer-events: none;
}

@keyframes cardShine {
  0% {
    left: -120%;
  }
  45% {
    left: -120%;
  }
  65% {
    left: 140%;
  }
  100% {
    left: 140%;
  }
}

.mini-label {
  color: var(--pumpkin);
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
  margin-bottom: 12px;
}

.hero-card h3 {
  font-size: 1.7rem;
  line-height: 1.18;
  margin-bottom: 20px;
}

.hero-card-list {
  display: grid;
  gap: 16px;
}

.hero-card-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.hero-card-item p {
  color: var(--text-soft);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 9px;
  background: linear-gradient(135deg, var(--pumpkin), var(--deep-sky));
  flex-shrink: 0;
}

.hero-mini-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.mini-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow-soft);
}

.mini-card strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.mini-card span {
  color: var(--text-soft);
  font-size: 0.95rem;
}

.floating-card {
  animation: floatingCard 4.5s ease-in-out infinite;
}

@keyframes floatingCard {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

/* =========================================
   SCROLL INDICATOR
========================================== */
.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0.78;
  transition: opacity 0.35s ease;
}

.scroll-indicator.hide {
  opacity: 0;
  pointer-events: none;
}

.mouse {
  width: 22px;
  height: 36px;
  border: 1.5px solid var(--pumpkin);
  border-radius: 14px;
  position: relative;
}

.wheel {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 2px;
  height: 6px;
  background: var(--pumpkin);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: wheelMove 1.8s ease-in-out infinite;
}

.scroll-text {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft);
}

@keyframes wheelMove {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }
  30% {
    opacity: 1;
  }
  60% {
    opacity: 1;
    transform: translate(-50%, 10px);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 14px);
  }
}

@media (max-width: 1100px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .hero-layout {
    padding-top: 105px;
    padding-bottom: 80px;
  }

  .hero-title {
    font-size: 2.65rem;
  }

  .typed-wrap {
    min-width: 190px;
  }

  .hero-mini-cards {
    grid-template-columns: 1fr;
  }
}