/**
 * Home page hero carousel
 */

:root {
  --sp-hero-accent: var(--accent-color, #635bff);
  --sp-hero-accent-mid: #7c3aed;
  --sp-hero-accent-deep: #5b21b6;
  --sp-hero-accent-soft: #a78bfa;
  --sp-hero-h: clamp(460px, 72vh, 680px);
  --sp-hero-stage-ratio: 0.95;
  --sp-hero-stage-h: clamp(420px, 68vh, 646px);
}

@keyframes spHeroFadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spHeroPersonInRight {
  from {
    opacity: 0;
    transform: translateX(72px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes spHeroPersonInUp {
  from {
    opacity: 0;
    transform: translateY(72px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes spHeroPersonFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

@keyframes spHeroPersonPoint {
  0%,
  100% {
    transform: translateY(0) translateX(0);
  }

  50% {
    transform: translateY(-3px) translateX(-6px);
  }
}

@keyframes spHeroAccentIn {
  from {
    opacity: 0;
    transform: skewX(-14deg) translateX(48px);
  }

  to {
    opacity: 1;
    transform: skewX(-14deg) translateX(0);
  }
}

@keyframes spHeroSpotlightIn {
  from {
    opacity: 0;
    transform: scale(0.85);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes spHeroLineDraw {
  from {
    opacity: 0;
    stroke-dashoffset: 420;
  }

  to {
    opacity: 1;
    stroke-dashoffset: 0;
  }
}

@keyframes spHeroBgZoom {
  from {
    transform: scale(1.08);
  }

  to {
    transform: scale(1);
  }
}

@keyframes spHeroMobileRingPulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.07);
    opacity: 0.9;
  }
}

@keyframes spHeroMobileOrbDrift {
  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(10px, -8px);
  }
}

@keyframes spHeroMobileSwipe {
  0%,
  100% {
    opacity: 0.5;
    transform: translateX(-3px);
  }

  50% {
    opacity: 1;
    transform: translateX(3px);
  }
}

@keyframes spHeroMobileGlow {
  0%,
  100% {
    opacity: 0.65;
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.08);
  }
}

@keyframes spHeroMobileRingSpin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes spHeroMobileAurora {
  0%,
  100% {
    transform: translate(-8%, -6%) scale(1);
    opacity: 0.55;
  }

  50% {
    transform: translate(6%, 4%) scale(1.12);
    opacity: 0.85;
  }
}

@keyframes spHeroMobileMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes spHeroMobileShimmer {
  0% {
    transform: translateX(-120%) skewX(-18deg);
  }

  100% {
    transform: translateX(220%) skewX(-18deg);
  }
}

@keyframes spHeroMobileSparkle {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.4);
  }

  40%,
  60% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes spHeroMobileMetricFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

@keyframes spHeroBorderSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes spHeroDesktopAurora {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.55;
  }

  50% {
    transform: translate(4%, -3%) scale(1.08);
    opacity: 0.85;
  }
}

@keyframes spHeroDesktopOrbit {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes spHeroDesktopTagFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@keyframes spHeroDesktopFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes spHeroDesktopAccentGlow {
  0%,
  100% {
    box-shadow: -18px 0 48px color-mix(in srgb, var(--sp-hero-accent), transparent 78%);
  }

  50% {
    box-shadow:
      -18px 0 56px color-mix(in srgb, var(--sp-hero-accent), transparent 65%),
      0 0 40px color-mix(in srgb, var(--sp-hero-accent), transparent 82%);
  }
}

/* Mobile-only elements — hidden on desktop */
.sp-hero-mobile-aurora,
.sp-hero-mobile-showcase-glow,
.sp-hero-mobile-sparkles,
.sp-hero-mobile-marquee,
.sp-hero-mobile-metric,
.sp-hero-mobile-noise,
.sp-hero-btn-shimmer,
.sp-hero-mobile-ring--dash {
  display: none;
}

.sp-hero-mobile-showcase {
  position: relative;
}

/* Desktop-only elements — hidden on mobile/tablet */
.sp-hero-desktop-aurora,
.sp-hero-desktop-orbit,
.sp-hero-desktop-tags,
.sp-hero-desktop-float,
.sp-hero-desktop-stats,
.sp-hero-desktop-panel-glow,
.sp-hero-btn-icon--secondary {
  display: none;
}

.sp-hero-title-accent--desktop {
  display: inline;
}

.sp-hero-mobile-portal,
.sp-hero-mobile-slide-no,
.sp-hero-mobile-deco,
.sp-hero-mobile-badge,
.sp-hero-mobile-stats,
.sp-hero-mobile-swipe,
.sp-hero-btn-icon {
  display: none;
}

.sp-hero-title-accent {
  display: inline;
  background: linear-gradient(120deg, #fff 0%, var(--sp-hero-accent-soft) 45%, var(--sp-hero-accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sp-hero-carousel {
  padding: 0 !important;
  margin: 0;
  overflow: hidden;
}

section.sp-hero-carousel.section {
  padding: 0 !important;
  margin: 0 !important;
  scroll-margin-top: 118px;
  background: transparent !important;
}

.sp-hero-swiper {
  width: 100%;
  height: var(--sp-hero-h);
  min-height: var(--sp-hero-h);
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.sp-hero-swiper .swiper-wrapper {
  height: 100%;
}

.sp-hero-swiper .swiper-slide {
  height: 100% !important;
}

@media (max-width: 1199px) {
  section.sp-hero-carousel.section {
    scroll-margin-top: 100px;
  }
}

.sp-hero-slide {
  position: relative;
  height: 100%;
  min-height: var(--sp-hero-h);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow: hidden;
}

.sp-hero-slide-inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: clamp(5rem, 9vh, 6.5rem) 0 0;
}

.sp-hero-row {
  flex: 1;
  align-items: flex-end;
  margin-bottom: 0;
  width: 100%;
}

.sp-hero-copy {
  padding-bottom: 0;
}

/* Background layers — no inline styles */
.sp-hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
}

.sp-hero-slide-bg--slide-1 {
  background-image: url("../assets/img/hero-bg.jpg");
}

.sp-hero-slide-bg--slide-2 {
  background-image: url("../assets/img/hero-bg-1.jpg");
}

.swiper-slide-active .sp-hero-slide-bg {
  animation: spHeroBgZoom 7s ease forwards;
}

.sp-hero-slide-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.35));
}

.sp-hero-slide-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(8, 12, 24, 0.93) 0%, rgba(8, 12, 24, 0.8) 40%, rgba(8, 12, 24, 0.5) 66%, rgba(8, 12, 24, 0.28) 100%),
    radial-gradient(circle at 78% 18%, color-mix(in srgb, var(--sp-hero-accent), transparent 78%), transparent 42%);
}

/* Entrance animations */
.sp-hero-animate {
  opacity: 0;
}

.swiper-slide-active .sp-hero-animate--1 {
  animation: spHeroFadeUp 0.65s ease 0.15s forwards;
}

.swiper-slide-active .sp-hero-animate--2 {
  animation: spHeroFadeUp 0.7s ease 0.3s forwards;
}

.swiper-slide-active .sp-hero-animate--3 {
  animation: spHeroFadeUp 0.7s ease 0.45s forwards;
}

.swiper-slide-active .sp-hero-animate--4 {
  animation: spHeroFadeUp 0.7s ease 0.6s forwards;
}

.swiper-slide-active .sp-hero-animate--shape {
  animation: spHeroAccentIn 0.85s ease 0.35s forwards;
}

.swiper-slide-active .sp-hero-animate--spotlight {
  animation: spHeroSpotlightIn 1s ease 0.5s forwards;
}

.swiper-slide-active .sp-hero-animate--line path {
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  animation: spHeroLineDraw 1.2s ease 0.8s forwards;
}

.swiper-slide-active .sp-hero-slide--1 .sp-hero-animate--person {
  animation:
    spHeroPersonInRight 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.4s forwards,
    spHeroPersonPoint 5s ease-in-out 1.5s infinite;
}

.swiper-slide-active .sp-hero-slide--2 .sp-hero-animate--person {
  animation:
    spHeroPersonInUp 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.4s forwards,
    spHeroPersonFloat 4.5s ease-in-out 1.5s infinite;
}

/* Copy */
.sp-hero-kicker {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sp-hero-accent-soft);
  position: relative;
  padding-left: 0.85rem;
}

.sp-hero-kicker::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  bottom: 0.15em;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--sp-hero-accent-soft), var(--sp-hero-accent));
}

.sp-hero-kicker-hash {
  display: none;
}

.sp-hero-title {
  margin: 0 0 1.25rem;
  max-width: 12ch;
  font-size: clamp(2.2rem, 4.8vw, 3.75rem);
  line-height: 1.08;
  font-weight: 700;
  color: #fff;
}

.sp-hero-title .sp-hero-text--desktop {
  background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.88) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sp-hero-btn .sp-hero-text--desktop,
.sp-hero-btn .sp-hero-text--mobile {
  display: inline;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: inherit;
}

.sp-hero-text--desktop {
  display: inline;
}

.sp-hero-lead {
  margin: 0 0 2rem;
  max-width: 34rem;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.86);
}

.sp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.sp-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.75rem;
  border-radius: 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.sp-hero-btn--primary {
  background: linear-gradient(135deg, var(--sp-hero-accent) 0%, var(--sp-hero-accent-mid) 100%);
  color: #fff;
  box-shadow: 0 12px 28px color-mix(in srgb, var(--sp-hero-accent), transparent 72%);
}

.sp-hero-btn--primary:hover {
  background: linear-gradient(135deg, color-mix(in srgb, var(--sp-hero-accent), #000 8%) 0%, #6d28d9 100%);
  color: #fff;
  transform: translateY(-2px);
}

.sp-hero-btn--secondary {
  background: #fff;
  color: var(--sp-hero-accent);
}

.sp-hero-btn--secondary:hover {
  background: color-mix(in srgb, var(--sp-hero-accent), transparent 92%);
  color: var(--sp-hero-accent-mid);
  transform: translateY(-2px);
}

/* Responsive copy toggles */
.sp-hero-text--mobile {
  display: none;
}

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

/* Character stage — pinned to hero bottom */
.sp-hero-visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.sp-hero-stage {
  position: relative;
  width: min(100%, 620px);
  height: var(--sp-hero-stage-h);
  margin-inline: auto;
  margin-bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.sp-hero-accent-shape {
  position: absolute;
  top: 0;
  right: -14%;
  bottom: 0;
  width: min(46vw, 340px);
  height: auto;
  background: linear-gradient(165deg, var(--sp-hero-accent) 0%, var(--sp-hero-accent-mid) 52%, var(--sp-hero-accent-deep) 100%);
  transform: skewX(-14deg);
  /* border-radius: 0.5rem; */
  z-index: 1;
  box-shadow: -18px 0 48px color-mix(in srgb, var(--sp-hero-accent), transparent 78%);
}

.sp-hero-spotlight {
  position: absolute;
  bottom: 8%;
  left: 50%;
  width: 78%;
  height: 72%;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse at 50% 88%, rgba(255, 255, 255, 0.14) 0%, transparent 58%),
    radial-gradient(ellipse at 50% 50%, color-mix(in srgb, var(--sp-hero-accent), transparent 86%) 0%, transparent 62%);
  z-index: 2;
  pointer-events: none;
}

.sp-hero-floor {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 88%;
  height: 3px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  z-index: 3;
  pointer-events: none;
}

.sp-hero-floor::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 70%;
  height: 28px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.55) 0%, transparent 72%);
  filter: blur(10px);
}

.sp-hero-person-wrap {
  position: absolute;
  z-index: 4;
  inset: auto 0 0;
  margin: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.sp-hero-person-inner {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  height: 100%;
  transform-origin: bottom center;
}

.sp-hero-person {
  display: block;
  width: auto;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: bottom center;
  filter:
    drop-shadow(0 22px 36px rgba(0, 0, 0, 0.42))
    drop-shadow(0 0 28px rgba(255, 255, 255, 0.06));
  user-select: none;
  pointer-events: none;
}

/* Per-character framing */
.sp-hero-stage--pointing .sp-hero-person-wrap {
  justify-content: flex-end;
  padding-right: 2%;
}

.sp-hero-stage--pointing .sp-hero-person {
  margin-right: -2%;
}

.sp-hero-stage--laptop .sp-hero-accent-shape {
  right: -10%;
}

/* Desktop & laptop — creative hero layout */
@media (min-width: 992px) {
  :root {
    --sp-hero-h: clamp(520px, 78vh, 720px);
    --sp-hero-stage-ratio: 0.95;
  }

  .sp-hero-slide-overlay {
    background:
      linear-gradient(105deg, rgba(8, 12, 24, 0.94) 0%, rgba(8, 12, 24, 0.82) 38%, rgba(8, 12, 24, 0.45) 62%, rgba(8, 12, 24, 0.22) 100%),
      radial-gradient(circle at 82% 22%, color-mix(in srgb, var(--sp-hero-accent), transparent 70%) 0%, transparent 45%),
      radial-gradient(circle at 18% 80%, color-mix(in srgb, var(--sp-hero-accent-mid), transparent 88%) 0%, transparent 38%);
  }

  .sp-hero-desktop-aurora {
    display: block;
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
  }

  .sp-hero-desktop-aurora-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: spHeroDesktopAurora 12s ease-in-out infinite;
  }

  .sp-hero-desktop-aurora-blob--1 {
    top: -8%;
    left: -4%;
    width: 42%;
    height: 48%;
    background: color-mix(in srgb, var(--sp-hero-accent), transparent 72%);
  }

  .sp-hero-desktop-aurora-blob--2 {
    top: 18%;
    right: 8%;
    width: 32%;
    height: 38%;
    background: color-mix(in srgb, var(--sp-hero-accent-mid), transparent 78%);
    animation-delay: 2s;
  }

  .sp-hero-desktop-aurora-blob--3 {
    bottom: -6%;
    left: 28%;
    width: 28%;
    height: 32%;
    background: color-mix(in srgb, var(--sp-hero-accent-deep), transparent 82%);
    animation-delay: 4s;
  }

  .sp-hero-copy {
    order: 1;
    padding-bottom: 0;
    z-index: 4;
  }

  .sp-hero-slide-inner {
    padding-bottom: clamp(1.5rem, 3vh, 2.5rem);
    justify-content: flex-end;
  }

  .sp-hero-panel {
    margin-bottom: 0.25rem;
    position: relative;
    max-width: 36rem;
    padding: clamp(1.45rem, 2.6vw, 2rem) clamp(1.55rem, 2.8vw, 2.15rem);
    border-radius: 1.35rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.11) 0%, rgba(255, 255, 255, 0.03) 42%, rgba(10, 14, 28, 0.55) 100%),
      rgba(8, 12, 24, 0.42);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow:
      0 28px 64px rgba(0, 0, 0, 0.32),
      inset 0 1px 0 rgba(255, 255, 255, 0.12);
    overflow: hidden;
  }

  .sp-hero-panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--sp-hero-accent-deep), var(--sp-hero-accent) 40%, var(--sp-hero-accent-soft) 75%, transparent);
  }

  .sp-hero-desktop-panel-glow {
    display: block;
    position: absolute;
    top: -40%;
    left: -20%;
    width: 70%;
    height: 80%;
    background: radial-gradient(circle, color-mix(in srgb, var(--sp-hero-accent), transparent 78%) 0%, transparent 68%);
    pointer-events: none;
  }

  .sp-hero-kicker {
    margin-bottom: 0.9rem;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
  }

  .sp-hero-title {
    max-width: 14ch;
    margin-bottom: 1.1rem;
    font-size: clamp(2.15rem, 3.8vw, 3.35rem);
    line-height: 1.06;
    letter-spacing: -0.025em;
  }

  .sp-hero-text--desktop {
    display: block;
    background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.9) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  .sp-hero-title-accent--desktop {
    display: block;
    margin-top: 0.12rem;
    font-size: 1.02em;
    background: linear-gradient(120deg, #fff 0%, var(--sp-hero-accent-soft) 38%, var(--sp-hero-accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 24px color-mix(in srgb, var(--sp-hero-accent), transparent 70%));
  }

  .sp-hero-lead {
    margin-bottom: 1.25rem;
    max-width: 32rem;
    font-size: clamp(0.94rem, 1.25vw, 1.06rem);
    line-height: 1.68;
    color: rgba(255, 255, 255, 0.84);
  }

  .sp-hero-desktop-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin: 0 0 1.35rem;
    padding: 0;
    list-style: none;
  }

  .sp-hero-desktop-stats li {
    padding: 0.55rem 0.65rem;
    border-radius: 0.7rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
  }

  .sp-hero-desktop-stats li:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(167, 139, 250, 0.35);
  }

  .sp-hero-desktop-stats strong {
    display: block;
    font-size: clamp(0.98rem, 1.5vw, 1.12rem);
    line-height: 1.1;
    font-weight: 800;
    background: linear-gradient(120deg, #fff, var(--sp-hero-accent-soft));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  .sp-hero-desktop-stats span {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.58);
  }

  .sp-hero-actions {
    gap: 0.6rem;
  }

  .sp-hero-btn {
    position: relative;
    overflow: hidden;
    min-height: 2.75rem;
    padding: 0.65rem 1.35rem;
    border-radius: 0.6rem;
    font-size: 0.92rem;
    gap: 0.45rem;
  }

  .sp-hero-btn-shimmer {
    display: block;
  }

  .sp-hero-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 50%;
    font-size: 0.82rem;
    background: rgba(255, 255, 255, 0.16);
    transition: transform 0.25s ease;
  }

  .sp-hero-btn-icon--secondary {
    display: inline-flex;
    background: color-mix(in srgb, var(--sp-hero-accent), transparent 88%);
    color: var(--sp-hero-accent);
    font-size: 0.85rem;
  }

  .sp-hero-btn--primary {
    padding-right: 1.15rem;
    box-shadow:
      0 16px 36px color-mix(in srgb, var(--sp-hero-accent), transparent 68%),
      inset 0 1px 0 rgba(255, 255, 255, 0.18);
  }

  .sp-hero-btn--primary:hover .sp-hero-btn-icon {
    transform: translateX(3px);
  }

  .sp-hero-btn--secondary {
    padding-right: 1.15rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.96);
    color: var(--sp-hero-accent);
  }

  .sp-hero-btn--secondary .sp-hero-text--desktop {
    color: var(--sp-hero-accent);
  }

  .sp-hero-btn--primary .sp-hero-text--desktop {
    color: #fff;
  }

  .sp-hero-btn--secondary:hover .sp-hero-btn-icon--secondary {
    transform: scale(1.08);
  }

  .sp-hero-visual {
    order: 2;
    position: absolute;
    left: 50%;
    right: 0;
    bottom: 0;
    width: 50%;
    height: calc(100% * var(--sp-hero-stage-ratio));
    padding-left: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
    padding-right: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
    z-index: 3;
  }

  .sp-hero-desktop-orbit {
    display: block;
    position: absolute;
    left: 52%;
    bottom: 18%;
    width: min(420px, 88%);
    height: min(420px, 78%);
    transform: translateX(-50%);
    z-index: 0;
    pointer-events: none;
  }

  .sp-hero-desktop-orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(167, 139, 250, 0.22);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: spHeroDesktopOrbit 28s linear infinite;
  }

  .sp-hero-desktop-orbit-ring--2 {
    width: 82%;
    height: 82%;
    border-style: dashed;
    border-color: rgba(255, 255, 255, 0.14);
    animation-direction: reverse;
    animation-duration: 22s;
  }

  .sp-hero-stage {
    width: 100%;
    max-width: 620px;
    margin-left: auto;
    margin-right: 0;
    height: 100%;
  }

  .sp-hero-accent-shape {
    animation: spHeroDesktopAccentGlow 4s ease-in-out infinite;
    border-radius: 0.35rem;
  }

  .sp-hero-desktop-float {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    z-index: 6;
    min-width: 4.75rem;
    padding: 0.55rem 0.8rem;
    border-radius: 0.85rem;
    text-align: center;
    background: rgba(8, 12, 24, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    animation: spHeroDesktopFloat 5s ease-in-out infinite;
  }

  .sp-hero-desktop-float--1 {
    left: 0;
    bottom: 36%;
    animation-delay: 0s;
  }

  .sp-hero-desktop-float--2 {
    top: 6%;
    left: 0;
    animation-delay: 0.9s;
  }

  .sp-hero-desktop-float--3 {
    bottom: 6%;
    left: 0;
    animation-delay: 1.8s;
  }

  .sp-hero-desktop-float--2,
  .sp-hero-desktop-float--3 {
    min-width: 4.25rem;
    padding: 0.48rem 0.68rem;
  }

  .sp-hero-desktop-float--2 strong,
  .sp-hero-desktop-float--3 strong {
    font-size: 0.98rem;
  }

  .sp-hero-slide--2 .sp-hero-desktop-float--1 {
    bottom: 34%;
    left: 2%;
  }

  .sp-hero-slide--2 .sp-hero-desktop-float--2 {
    top: 10%;
    left: 0;
  }

  .sp-hero-slide--2 .sp-hero-desktop-float--3 {
    bottom: 8%;
    left: 4%;
  }

  .sp-hero-desktop-float strong {
    font-size: 1.12rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(120deg, #fff, var(--sp-hero-accent-soft));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  .sp-hero-desktop-float span {
    margin-top: 0.2rem;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
  }

  .sp-hero-desktop-tags {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
  }

  .sp-hero-desktop-tag {
    position: absolute;
    padding: 0.34rem 0.65rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    white-space: nowrap;
    max-width: calc(100% - 1rem);
    overflow: hidden;
    text-overflow: ellipsis;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(8, 12, 24, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
    animation: spHeroDesktopTagFloat 4.5s ease-in-out infinite;
  }

  .sp-hero-desktop-tag--1 { top: 4%; right: 4%; animation-delay: 0s; }
  .sp-hero-desktop-tag--2 { top: 16%; right: 0; animation-delay: 0.7s; }
  .sp-hero-desktop-tag--3 { top: 28%; right: 3%; animation-delay: 1.2s; }
  .sp-hero-desktop-tag--4 { top: 40%; right: 0; animation-delay: 0.4s; }
  .sp-hero-desktop-tag--5 { top: 52%; right: 5%; animation-delay: 1.5s; }
  .sp-hero-desktop-tag--6 { top: 64%; right: 0; animation-delay: 0.2s; }
  .sp-hero-desktop-tag--7 { top: 76%; right: 4%; animation-delay: 0.9s; }
  .sp-hero-desktop-tag--8 { top: 88%; right: 10%; animation-delay: 1.8s; }

  .sp-hero-slide--2 .sp-hero-desktop-tag--4 { top: 42%; right: 2%; }
  .sp-hero-slide--2 .sp-hero-desktop-tag--8 { top: 86%; right: 6%; }

  .sp-hero-deco-line {
    display: block;
    left: 38%;
    bottom: 18%;
    width: min(28vw, 340px);
    color: rgba(255, 255, 255, 0.55);
  }

  .sp-hero-nav {
    width: 56px;
    height: 56px;
    border-radius: 0.65rem;
    background: rgba(8, 12, 24, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  }

  .sp-hero-nav:hover {
    background: color-mix(in srgb, var(--sp-hero-accent), transparent 75%);
    border-color: rgba(167, 139, 250, 0.45);
    box-shadow: 0 8px 28px color-mix(in srgb, var(--sp-hero-accent), transparent 72%);
    transform: scale(1.05);
  }

  .sp-hero-pagination {
    bottom: 0.75rem !important;
    z-index: 12;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(8, 12, 24, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .sp-hero-pagination .swiper-pagination-bullet-active {
    width: 24px;
    border-radius: 999px;
    transform: none;
  }
}

@media (min-width: 1200px) {
  .sp-hero-title {
    max-width: 13ch;
    font-size: clamp(2.35rem, 3.5vw, 3.55rem);
  }

  .sp-hero-panel {
    max-width: 37rem;
    padding: 2.1rem 2.25rem;
  }

  .sp-hero-desktop-stats li {
    padding: 0.6rem 0.75rem;
  }

  .sp-hero-desktop-float--1 {
    left: 0;
    bottom: 38%;
    min-width: 5.25rem;
    padding: 0.65rem 0.95rem;
  }

  .sp-hero-desktop-float--2 {
    top: 5%;
    left: 0;
  }

  .sp-hero-desktop-float--3 {
    bottom: 5%;
    left: 0;
  }

  .sp-hero-desktop-float--1 strong {
    font-size: 1.22rem;
  }

  .sp-hero-desktop-float--2 strong,
  .sp-hero-desktop-float--3 strong {
    font-size: 1.05rem;
  }

  .sp-hero-slide--2 .sp-hero-desktop-float--1 {
    bottom: 36%;
    left: 2%;
  }

  .sp-hero-slide--2 .sp-hero-desktop-float--3 {
    bottom: 7%;
    left: 2%;
  }
}

.sp-hero-deco-line {
  position: absolute;
  left: 34%;
  bottom: 12%;
  width: min(34vw, 320px);
  height: auto;
  color: rgba(255, 255, 255, 0.72);
  z-index: 3;
  pointer-events: none;
}

/* Carousel controls */
.sp-hero-nav {
  width: 52px;
  height: 52px;
  margin-top: 0;
  border-radius: 0.35rem;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  backdrop-filter: blur(6px);
}

.sp-hero-nav::after {
  font-size: 1.1rem;
  font-weight: 700;
}

.sp-hero-prev {
  left: auto;
  right: calc(1.25rem + 60px);
}

.sp-hero-next {
  right: 1.25rem;
}

.sp-hero-pagination {
  bottom: 0.5rem !important;
  left: 50% !important;
  transform: translateX(-50%);
  width: auto !important;
  z-index: 12;
}

.sp-hero-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  opacity: 0.45;
  background: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}

.sp-hero-pagination .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--sp-hero-accent);
  transform: scale(1.25);
}

@media (prefers-reduced-motion: reduce) {
  .sp-hero-animate,
  .sp-hero-slide-bg,
  .sp-hero-person-inner {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .sp-hero-mobile-swipe,
  .sp-hero-btn-icon,
  .sp-hero-mobile-marquee-track,
  .sp-hero-mobile-showcase::before,
  .sp-hero-mobile-ring,
  .sp-hero-mobile-ring--dash,
  .sp-hero-mobile-glow,
  .sp-hero-mobile-aurora,
  .sp-hero-mobile-sparkle,
  .sp-hero-mobile-metric,
  .sp-hero-btn-shimmer,
  .sp-hero-desktop-aurora-blob,
  .sp-hero-desktop-orbit-ring,
  .sp-hero-desktop-tag,
  .sp-hero-desktop-float,
  .sp-hero-accent-shape {
    animation: none !important;
  }

  .swiper-slide-active .sp-hero-animate--line path {
    stroke-dashoffset: 0;
  }
}

@media (max-width: 991.98px) {
  :root {
    --sp-hero-h: auto;
    --sp-hero-stage-h: clamp(220px, 34vw, 320px);
  }

  .sp-hero-text--desktop {
    display: none;
  }

  .sp-hero-text--mobile {
    display: inline;
  }

  .sp-hero-lead .sp-hero-text--mobile {
    display: block;
  }

  .sp-hero-swiper,
  .sp-hero-swiper .swiper-wrapper,
  .sp-hero-slide {
    min-height: auto;
    height: auto;
  }

  .sp-hero-swiper .swiper-slide {
    height: auto !important;
  }

  .sp-hero-slide-inner {
    height: auto;
    min-height: 0;
    padding: calc(4.75rem + env(safe-area-inset-top, 0)) 0 1.25rem;
  }

  .sp-hero-slide-overlay {
    background:
      linear-gradient(165deg, rgba(8, 12, 24, 0.94) 0%, rgba(8, 12, 24, 0.82) 48%, rgba(8, 12, 24, 0.62) 100%),
      radial-gradient(circle at 88% 12%, color-mix(in srgb, var(--sp-hero-accent), transparent 72%), transparent 38%);
  }

  .sp-hero-row {
    position: relative;
    align-items: stretch !important;
  }

  .sp-hero-copy {
    padding-bottom: 0;
    z-index: 3;
  }

  .sp-hero-panel {
    position: relative;
    padding: 1.15rem 1rem 1rem;
    padding-right: clamp(7.5rem, 36vw, 10.5rem);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 100%),
      rgba(12, 18, 34, 0.58);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow:
      0 18px 40px rgba(0, 0, 0, 0.28),
      inset 0 1px 0 rgba(255, 255, 255, 0.08);
    overflow: hidden;
  }

  .sp-hero-panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--sp-hero-accent) 0%, var(--sp-hero-accent-mid) 55%, var(--sp-hero-accent-soft) 100%);
  }

  .sp-hero-kicker {
    margin-bottom: 0.55rem;
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    line-height: 1.35;
  }

  .sp-hero-title {
    margin-bottom: 0.65rem;
    max-width: none;
    font-size: clamp(1.45rem, 5.2vw, 2rem);
    line-height: 1.12;
  }

  .sp-hero-lead {
    margin-bottom: 0.95rem;
    max-width: none;
    font-size: 0.88rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.84);
  }

  .sp-hero-actions {
    gap: 0.55rem;
  }

  .sp-hero-btn {
    flex: 1 1 calc(50% - 0.3rem);
    min-height: 2.65rem;
    padding: 0.55rem 0.85rem;
    font-size: 0.82rem;
  }

  .sp-hero-visual {
    position: absolute;
    top: 0.35rem;
    right: 0.35rem;
    width: clamp(7.5rem, 36vw, 10.5rem);
    height: clamp(9.5rem, 42vw, 13rem);
    margin: 0;
    padding: 0;
    z-index: 4;
    pointer-events: none;
    flex: none;
    max-width: none;
  }

  .sp-hero-stage {
    width: 100%;
    height: 100%;
    margin: 0;
  }

  .sp-hero-accent-shape {
    top: 8%;
    right: -8%;
    bottom: auto;
    width: 72%;
    height: 78%;
    opacity: 0.92;
  }

  .sp-hero-spotlight,
  .sp-hero-floor {
    display: none;
  }

  .sp-hero-stage--pointing .sp-hero-person-wrap {
    padding-right: 0;
  }

  .sp-hero-stage--pointing .sp-hero-person {
    margin-right: -4%;
  }

  .sp-hero-deco-line {
    display: none;
  }

  .sp-hero-nav {
    display: none;
  }

  .sp-hero-pagination {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    transform: none;
    display: flex;
    justify-content: center;
    gap: 0.35rem;
    margin-top: 0.85rem;
    padding-bottom: 0.25rem;
  }

  .sp-hero-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
  }
}

/* Tablet — side-by-side panel + character */
@media (min-width: 768px) and (max-width: 991.98px) {
  :root {
    --sp-hero-stage-h: clamp(280px, 38vw, 360px);
  }

  .sp-hero-mobile-showcase {
    padding: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    overflow: visible;
  }

  .sp-hero-mobile-showcase::before,
  .sp-hero-mobile-showcase-glow,
  .sp-hero-mobile-sparkles,
  .sp-hero-mobile-marquee,
  .sp-hero-mobile-aurora {
    display: none !important;
  }

  .sp-hero-panel {
    margin-top: 0;
  }

  .sp-hero-copy {
    order: 1;
  }

  .sp-hero-visual {
    order: 2;
  }

  .sp-hero-slide-inner {
    padding-bottom: 1.75rem;
  }

  .sp-hero-row {
    flex-direction: row;
    align-items: flex-end !important;
    gap: 1rem !important;
  }

  .sp-hero-copy {
    flex: 1 1 58%;
    width: 58%;
    max-width: 58%;
  }

  .sp-hero-panel {
    padding: 1.35rem 1.25rem 1.2rem;
    padding-right: 1.25rem;
    min-height: calc(var(--sp-hero-stage-h) - 1rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .sp-hero-kicker {
    font-size: 0.68rem;
  }

  .sp-hero-title {
    font-size: clamp(1.75rem, 3.4vw, 2.15rem);
  }

  .sp-hero-lead {
    font-size: 0.95rem;
    margin-bottom: 1.1rem;
  }

  .sp-hero-btn {
    flex: 0 1 auto;
    min-width: 7.5rem;
    font-size: 0.88rem;
  }

  .sp-hero-visual {
    position: relative;
    top: auto;
    right: auto;
    flex: 0 0 42%;
    width: 42%;
    max-width: 42%;
    height: var(--sp-hero-stage-h);
    align-self: flex-end;
  }

  .sp-hero-accent-shape {
    top: 0;
    right: -10%;
    bottom: 0;
    width: min(48vw, 240px);
    height: auto;
  }

  .sp-hero-spotlight {
    display: block;
    opacity: 0.85;
  }

  .sp-hero-floor {
    display: block;
  }

  .sp-hero-pagination {
    position: absolute !important;
    bottom: 1rem !important;
    left: 50% !important;
    transform: translateX(-50%);
    margin-top: 0;
  }
}

@media (max-width: 767.98px) {
  .sp-hero-slide-inner {
    padding: calc(4.2rem + env(safe-area-inset-top, 0)) 0.65rem 0.85rem;
  }

  .sp-hero-slide-overlay {
    background:
      linear-gradient(180deg, rgba(8, 12, 24, 0.45) 0%, rgba(8, 12, 24, 0.9) 55%, rgba(8, 12, 24, 0.98) 100%),
      radial-gradient(circle at 50% -10%, color-mix(in srgb, var(--sp-hero-accent), transparent 62%) 0%, transparent 55%);
  }

  .sp-hero-mobile-aurora {
    display: block;
    position: absolute;
    inset: -20% -10% auto;
    height: 55%;
    background:
      radial-gradient(ellipse at 30% 40%, color-mix(in srgb, var(--sp-hero-accent), transparent 70%) 0%, transparent 55%),
      radial-gradient(ellipse at 72% 28%, color-mix(in srgb, var(--sp-hero-accent-mid), transparent 78%) 0%, transparent 48%);
    filter: blur(28px);
    animation: spHeroMobileAurora 9s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
  }

  .sp-hero-mobile-showcase {
    position: relative;
    padding: 0.45rem;
    border-radius: 1.45rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03));
    box-shadow:
      0 28px 60px rgba(0, 0, 0, 0.38),
      inset 0 1px 0 rgba(255, 255, 255, 0.12);
    overflow: hidden;
    isolation: isolate;
  }

  .sp-hero-mobile-showcase::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: inherit;
    background: conic-gradient(
      from 0deg,
      var(--sp-hero-accent-soft),
      var(--sp-hero-accent),
      var(--sp-hero-accent-deep),
      transparent 40%,
      var(--sp-hero-accent-soft)
    );
    -webkit-mask:
      linear-gradient(#fff 0 0) content-box,
      linear-gradient(#fff 0 0);
    mask:
      linear-gradient(#fff 0 0) content-box,
      linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: spHeroBorderSpin 8s linear infinite;
    pointer-events: none;
    z-index: 0;
    opacity: 0.85;
  }

  .sp-hero-mobile-showcase-glow {
    display: block;
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 50% 0%, rgba(99, 91, 255, 0.22) 0%, transparent 52%),
      radial-gradient(circle at 100% 100%, rgba(124, 58, 237, 0.14) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
  }

  .sp-hero-mobile-sparkles {
    display: block;
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 5;
  }

  .sp-hero-mobile-sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 8px rgba(167, 139, 250, 0.9);
    animation: spHeroMobileSparkle 3s ease-in-out infinite;
  }

  .sp-hero-mobile-sparkle--1 { top: 12%; left: 8%; animation-delay: 0s; }
  .sp-hero-mobile-sparkle--2 { top: 22%; right: 14%; animation-delay: 0.6s; }
  .sp-hero-mobile-sparkle--3 { top: 48%; left: 4%; animation-delay: 1.1s; }
  .sp-hero-mobile-sparkle--4 { top: 62%; right: 8%; animation-delay: 0.3s; }
  .sp-hero-mobile-sparkle--5 { bottom: 28%; left: 18%; animation-delay: 1.8s; }
  .sp-hero-mobile-sparkle--6 { bottom: 18%; right: 22%; animation-delay: 0.9s; }
  .sp-hero-mobile-sparkle--7 { top: 8%; left: 42%; animation-delay: 2.1s; width: 3px; height: 3px; }
  .sp-hero-mobile-sparkle--8 { bottom: 38%; right: 38%; animation-delay: 1.4s; width: 3px; height: 3px; }

  .sp-hero-row {
    position: relative;
    z-index: 2;
    flex-direction: column;
    gap: 0 !important;
    margin: 0 !important;
  }

  .sp-hero-copy {
    width: 100%;
    max-width: 100%;
    order: 2;
  }

  .sp-hero-visual {
    position: relative;
    top: auto;
    right: auto;
    order: 1;
    width: 100%;
    max-width: 100%;
    height: clamp(10.5rem, 46vw, 13.5rem);
    margin: 0;
    padding: 0.65rem 0.5rem 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    pointer-events: none;
  }

  .sp-hero-mobile-portal {
    display: block;
    position: absolute;
    left: 50%;
    bottom: 0.15rem;
    width: min(68vw, 260px);
    height: min(68vw, 260px);
    transform: translateX(-50%);
    z-index: 1;
    pointer-events: none;
  }

  .sp-hero-mobile-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 88%;
    height: 88%;
    border-radius: 50%;
    border: 1px solid rgba(167, 139, 250, 0.45);
    transform: translate(-50%, -50%);
    animation: spHeroMobileRingPulse 4s ease-in-out infinite;
  }

  .sp-hero-mobile-ring--2 {
    width: 100%;
    height: 100%;
    border-color: rgba(99, 91, 255, 0.28);
    animation-delay: 0.8s;
  }

  .sp-hero-mobile-ring--dash {
    display: block;
    width: 94%;
    height: 94%;
    border: 1px dashed rgba(255, 255, 255, 0.22);
    animation: spHeroMobileRingSpin 18s linear infinite;
  }

  .sp-hero-mobile-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 68%;
    height: 68%;
    border-radius: 50%;
    background:
      radial-gradient(circle, color-mix(in srgb, var(--sp-hero-accent), transparent 55%) 0%, transparent 72%);
    transform: translate(-50%, -50%);
    animation: spHeroMobileGlow 3.5s ease-in-out infinite;
  }

  .sp-hero-mobile-metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    left: 0.65rem;
    bottom: 1.25rem;
    z-index: 6;
    min-width: 4.25rem;
    padding: 0.45rem 0.55rem;
    border-radius: 0.85rem;
    text-align: center;
    background: rgba(8, 12, 24, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
    animation: spHeroMobileMetricFloat 4s ease-in-out infinite;
  }

  .sp-hero-mobile-metric strong {
    font-size: 1rem;
    line-height: 1;
    font-weight: 800;
    background: linear-gradient(120deg, #fff, var(--sp-hero-accent-soft));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  .sp-hero-mobile-metric span {
    margin-top: 0.15rem;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
  }

  .sp-hero-mobile-slide-no {
    display: flex;
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 6;
    align-items: baseline;
    gap: 0.1rem;
    padding: 0.3rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #fff;
    background: rgba(8, 12, 24, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .sp-hero-mobile-slide-no span {
    font-size: 0.58rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
  }

  .sp-hero-stage {
    position: relative;
    z-index: 3;
    width: min(62vw, 230px);
    height: 100%;
    margin: 0 auto;
  }

  .sp-hero-accent-shape {
    top: 10%;
    right: 50%;
    bottom: auto;
    width: 76%;
    height: 74%;
    transform: translateX(50%) skewX(-10deg);
    border-radius: 1.5rem;
    opacity: 0.96;
    box-shadow: 0 18px 40px color-mix(in srgb, var(--sp-hero-accent), transparent 72%);
  }

  .sp-hero-panel {
    position: relative;
    margin-top: -0.65rem;
    padding: 1.05rem 0.95rem 0.95rem;
    border-radius: 1.15rem 1.15rem 1rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
      linear-gradient(160deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 42%, rgba(10, 14, 28, 0.88) 100%),
      rgba(8, 12, 24, 0.78);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    overflow: hidden;
  }

  .sp-hero-panel::before {
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--sp-hero-accent) 25%, var(--sp-hero-accent-soft) 75%, transparent);
  }

  .sp-hero-mobile-deco {
    display: block;
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    border-radius: inherit;
  }

  .sp-hero-mobile-noise {
    display: block;
    position: absolute;
    inset: 0;
    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='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }

  .sp-hero-mobile-grid {
    position: absolute;
    inset: 0;
    opacity: 0.12;
    background-image:
      linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 20px 20px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent 90%);
  }

  .sp-hero-mobile-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(18px);
    animation: spHeroMobileOrbDrift 6s ease-in-out infinite;
  }

  .sp-hero-mobile-orb--1 {
    top: -12%;
    right: -8%;
    width: 5.5rem;
    height: 5.5rem;
    background: color-mix(in srgb, var(--sp-hero-accent), transparent 55%);
  }

  .sp-hero-mobile-orb--2 {
    bottom: 8%;
    left: -6%;
    width: 4rem;
    height: 4rem;
    background: color-mix(in srgb, var(--sp-hero-accent-mid), transparent 62%);
    animation-delay: 1.2s;
  }

  .sp-hero-mobile-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.45rem;
  }

  .sp-hero-mobile-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--sp-hero-accent-soft);
    background: rgba(99, 91, 255, 0.18);
    border: 1px solid rgba(167, 139, 250, 0.35);
  }

  .sp-hero-kicker {
    margin-bottom: 0;
    padding-left: 0;
    max-width: none;
    font-size: 0.56rem;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.68);
  }

  .sp-hero-kicker::before {
    display: none;
  }

  .sp-hero-kicker-hash {
    display: inline;
    margin-right: 0.2rem;
    color: var(--sp-hero-accent-soft);
  }

  .sp-hero-title {
    margin-bottom: 0.5rem;
    max-width: none;
    font-size: clamp(1.62rem, 7.4vw, 2rem);
    line-height: 1.06;
    letter-spacing: -0.03em;
  }

  .sp-hero-text--mobile {
    display: block;
  }

  .sp-hero-title-accent {
    display: block;
    margin-top: 0.08rem;
    font-size: 1.08em;
    background: linear-gradient(120deg, #fff 0%, var(--sp-hero-accent-soft) 40%, var(--sp-hero-accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 18px color-mix(in srgb, var(--sp-hero-accent), transparent 65%));
  }

  .sp-hero-lead {
    margin-bottom: 0.7rem;
    font-size: 0.84rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.78);
  }

  .sp-hero-mobile-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.38rem;
    margin: 0 0 0.8rem;
    padding: 0;
    list-style: none;
  }

  .sp-hero-mobile-stats li {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.32rem 0.58rem;
    border-radius: 0.55rem;
    font-size: 0.66rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.12);
  }

  .sp-hero-mobile-stats li i {
    font-size: 0.72rem;
    color: var(--sp-hero-accent-soft);
  }

  .sp-hero-actions {
    flex-direction: column;
    gap: 0.48rem;
  }

  .sp-hero-btn {
    position: relative;
    overflow: hidden;
    flex: none;
    width: 100%;
    min-height: 2.75rem;
    padding: 0.65rem 1rem;
    font-size: 0.84rem;
    border-radius: 0.7rem;
  }

  .sp-hero-btn-shimmer {
    display: block;
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.28) 50%, transparent 65%);
    transform: translateX(-120%) skewX(-18deg);
    animation: spHeroMobileShimmer 3.2s ease-in-out infinite;
    pointer-events: none;
  }

  .sp-hero-btn--primary {
    justify-content: space-between;
    box-shadow:
      0 14px 32px color-mix(in srgb, var(--sp-hero-accent), transparent 70%),
      inset 0 1px 0 rgba(255, 255, 255, 0.15);
  }

  .sp-hero-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 50%;
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.18);
    transition: transform 0.25s ease;
  }

  .sp-hero-btn--primary:hover .sp-hero-btn-icon,
  .sp-hero-btn--primary:focus-visible .sp-hero-btn-icon {
    transform: translateX(3px);
  }

  .sp-hero-btn--secondary {
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    border: 1px dashed rgba(255, 255, 255, 0.28);
  }

  .sp-hero-btn--secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-style: solid;
  }

  .sp-hero-mobile-marquee {
    display: block;
    position: relative;
    z-index: 2;
    margin-top: 0.55rem;
    padding: 0.45rem 0;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  }

  .sp-hero-mobile-marquee-track {
    display: flex;
    width: max-content;
    gap: 0.55rem;
    animation: spHeroMobileMarquee 22s linear infinite;
  }

  .sp-hero-mobile-marquee span {
    flex-shrink: 0;
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .sp-hero-mobile-swipe {
    display: flex;
    justify-content: center;
    margin: 0.65rem 0 0;
    padding: 0;
  }

  .sp-hero-mobile-swipe-track {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: spHeroMobileSwipe 2.4s ease-in-out infinite;
  }

  .sp-hero-mobile-swipe-track i {
    font-size: 0.72rem;
    opacity: 0.7;
  }

  .sp-hero-pagination {
    margin-top: 0.55rem;
    padding: 0.35rem 0.65rem;
    width: fit-content !important;
    margin-inline: auto;
    border-radius: 999px;
    background: rgba(8, 12, 24, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .sp-hero-pagination .swiper-pagination-bullet {
    width: 7px;
    height: 7px;
    margin: 0 3px !important;
    opacity: 0.4;
  }

  .sp-hero-pagination .swiper-pagination-bullet-active {
    width: 22px;
    border-radius: 999px;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 575.98px) {
  .sp-hero-slide-inner {
    padding-inline: 0.5rem;
  }

  .sp-hero-mobile-showcase {
    padding: 0.38rem;
    border-radius: 1.25rem;
  }

  .sp-hero-visual {
    height: clamp(9.75rem, 50vw, 12.5rem);
  }

  .sp-hero-stage {
    width: min(70vw, 210px);
  }

  .sp-hero-panel {
    padding: 0.95rem 0.85rem 0.85rem;
  }

  .sp-hero-title {
    font-size: clamp(1.48rem, 7.5vw, 1.78rem);
  }

  .sp-hero-lead {
    font-size: 0.8rem;
  }

  .sp-hero-mobile-stats li {
    font-size: 0.62rem;
  }

  .sp-hero-btn {
    min-height: 2.6rem;
    font-size: 0.8rem;
  }

  .sp-hero-mobile-metric {
    left: 0.5rem;
    bottom: 1rem;
    min-width: 3.85rem;
    padding: 0.38rem 0.48rem;
  }

  .sp-hero-mobile-metric strong {
    font-size: 0.92rem;
  }
}

@media (max-width: 380px) {
  .sp-hero-visual {
    height: clamp(9rem, 54vw, 11rem);
  }

  .sp-hero-mobile-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .sp-hero-mobile-stats {
    gap: 0.28rem;
  }

  .sp-hero-mobile-stats li {
    padding-inline: 0.42rem;
  }

  .sp-hero-mobile-swipe-track span {
    font-size: 0.62rem;
  }
}
