.home-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.home-reveal[data-reveal="scale"] {
  transform: translateY(24px) scale(0.97);
}

.home-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.hero-shell {
  background:
    radial-gradient(circle at 74% 42%, rgba(37, 99, 235, 0.2), transparent 24%),
    radial-gradient(circle at 82% 52%, rgba(34, 211, 238, 0.12), transparent 20%),
    linear-gradient(135deg, #020617 0%, #030712 44%, #02030a 100%);
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 74% 48%, rgba(255, 255, 255, 0.04), transparent 18%),
    radial-gradient(circle at center, transparent 46%, rgba(2, 6, 23, 0.26) 74%, rgba(2, 6, 23, 0.72) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image:
    linear-gradient(transparent 0%, rgba(255, 255, 255, 0.42) 50%, transparent 100%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 3px);
  background-size: 100% 100%, 100% 4px;
  mix-blend-mode: soft-light;
  pointer-events: none;
  z-index: 1;
}

.hero-copy-panel {
  position: relative;
}

.hero-copy-panel::before {
  content: "";
  position: absolute;
  inset: -2rem 2% -2.5rem -2rem;
  border-radius: 2rem;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.24)),
    radial-gradient(circle at top left, rgba(96, 165, 250, 0.12), transparent 38%);
  border: 1px solid rgba(148, 163, 184, 0.12);
  box-shadow: 0 32px 80px rgba(2, 6, 23, 0.34);
  backdrop-filter: blur(10px);
  z-index: -1;
}

.hero-title {
  text-wrap: balance;
  word-break: keep-all;
  letter-spacing: 0.018em;
}

.hero-title-accent {
  letter-spacing: 0.012em;
}

.hero-highlights {
  width: 100%;
}

.hero-slide-tabs {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0.25rem;
  scrollbar-width: none;
}

.hero-slide-tabs::-webkit-scrollbar {
  display: none;
}

.hero-slide-chip,
.hero-slide-arrow {
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.46);
  color: #dbeafe;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.hero-slide-chip {
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font-family: 'Manrope', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  flex: 0 0 auto;
}

.hero-slide-chip:hover,
.hero-slide-arrow:hover,
.hero-slide-chip.is-active {
  border-color: rgba(125, 211, 252, 0.38);
  background: rgba(14, 165, 233, 0.16);
  color: #f8fafc;
  transform: translateY(-1px);
}

.hero-slide-chip.is-active {
  box-shadow:
    0 10px 28px rgba(14, 165, 233, 0.16),
    inset 0 0 0 1px rgba(125, 211, 252, 0.16);
}

.hero-slide-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
}

.hero-kicker {
  color: #c4f1ff;
  background: rgba(12, 22, 44, 0.66);
  border: 1px solid rgba(125, 211, 252, 0.22);
  box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.08);
}

.hero-title-accent {
  color: #8bd6ff;
  text-shadow:
    0 0 16px rgba(96, 165, 250, 0.28),
    0 0 36px rgba(34, 211, 238, 0.16);
}

.hero-subcopy {
  text-shadow: 0 1px 0 rgba(2, 6, 23, 0.3);
}

.hero-primary-button {
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 1), rgba(14, 165, 233, 0.92));
  box-shadow:
    0 16px 40px rgba(37, 99, 235, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.hero-primary-button:hover {
  transform: translateY(-1px);
  box-shadow:
    0 22px 48px rgba(37, 99, 235, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.hero-secondary-button {
  background: rgba(15, 23, 42, 0.56);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hero-secondary-button:hover {
  background: rgba(30, 41, 59, 0.72);
  border-color: rgba(125, 211, 252, 0.22);
}

@media (max-width: 639px) {
  .hero-title {
    letter-spacing: 0.024em;
  }

  .hero-title-accent {
    letter-spacing: 0.018em;
  }

  .hero-copy-panel::before {
    inset: -1rem 0 -1.25rem 0;
    border-radius: 1.75rem;
  }

  .hero-copy-panel {
    padding-inline: 0.2rem;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-primary-button,
  .hero-secondary-button {
    width: auto;
    min-width: 0;
  }

  .hero-highlights {
    max-width: none;
  }
}

.hero-cosmos {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.hero-cosmos-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  filter: saturate(1.14) contrast(1.08);
}

.hero-orb {
  animation: home-drift 16s ease-in-out infinite;
}

.hero-orb.secondary {
  animation-delay: -8s;
  animation-duration: 18s;
}

.hero-gradient-frame {
  animation: home-tilt 14s ease-in-out infinite;
  transform-origin: center;
  background:
    radial-gradient(circle at 72% 30%, rgba(56, 189, 248, 0.18), transparent 22%),
    linear-gradient(135deg, rgba(37, 99, 235, 0.14), rgba(8, 47, 73, 0.04));
  border: 1px solid rgba(96, 165, 250, 0.18);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 24px 70px rgba(2, 6, 23, 0.32);
}

.hero-visual-wrap {
  width: min(100%, 42rem);
}

@media (min-width: 1024px) {
  .hero-copy-panel {
    padding-right: 2.5rem;
  }

  .hero-highlights {
    max-width: 48rem;
  }
}

.hero-panel {
  position: relative;
  min-height: 100%;
  animation: home-float 8s ease-in-out infinite;
  background:
    linear-gradient(180deg, rgba(3, 7, 18, 0.88), rgba(2, 6, 23, 0.94)),
    radial-gradient(circle at 68% 36%, rgba(59, 130, 246, 0.16), transparent 28%);
  border: 1px solid rgba(125, 211, 252, 0.18);
  box-shadow:
    0 28px 80px rgba(2, 6, 23, 0.48),
    0 0 0 1px rgba(255, 255, 255, 0.03);
}

.hero-particle-panel {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  border-radius: inherit;
  mix-blend-mode: normal;
  background:
    linear-gradient(180deg, rgba(2, 6, 23, 0.08), rgba(2, 6, 23, 0.2));
}

.hero-particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  display: block;
}

@media (min-width: 1280px) {
  .hero-copy-panel {
    padding-right: 3.5rem;
  }

  .hero-copy-panel::before {
    inset: -2rem 0 -2.5rem -2rem;
  }

  .hero-visual-wrap {
    transform: translateX(1rem);
  }
}

.hero-logo {
  animation: home-float 9s ease-in-out infinite;
  animation-delay: -2s;
  background: rgba(2, 6, 23, 0.72);
  border: 1px solid rgba(125, 211, 252, 0.18);
  box-shadow:
    0 20px 48px rgba(2, 6, 23, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-stat {
  animation: home-float 7s ease-in-out infinite;
  animation-delay: -3s;
  background: rgba(2, 6, 23, 0.66);
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow:
    0 24px 54px rgba(2, 6, 23, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hero-stat-icon {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(34, 211, 238, 0.08));
  box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.14);
}

.capability-card {
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.capability-card:hover {
  transform: translateY(-10px);
}

.cta-shell {
  background-image:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 42%);
}

@keyframes home-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -12px, 0);
  }
}

@keyframes home-drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(18px, -20px, 0) scale(1.06);
  }
}

@keyframes home-tilt {
  0%,
  100% {
    transform: rotate(-6deg) scale(1);
  }

  50% {
    transform: rotate(-3deg) scale(1.02);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-orb,
  .hero-vignette,
  .hero-noise,
  .hero-gradient-frame,
  .hero-panel,
  .hero-particle-panel,
  .hero-logo,
  .hero-stat,
  .capability-card {
    animation: none;
    transition: none;
    transform: none;
  }
}
