/* ── Shell ── */
.hero-section {
  position: relative;
  min-height: 100vh;
  width: 100%;
  background: #050c2a;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

/* ── Video ── */
.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(1.15) saturate(1.08);
  transform: scale(1.02);
}

/* ── Overlays ── */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      to bottom,
      rgba(4,8,36,0.18) 0%,
      rgba(4,8,36,0.34) 50%,
      rgba(4,8,30,0.94) 100%
    );
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(27,154,214,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27,154,214,0.045) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: radial-gradient(
    ellipse 100% 100% at 50% 40%,
    black 42%,
    transparent 100%
  );
}

/* ── Glows ── */
.hero-glow-right {
  position: absolute;
  top: -10%;
  right: -10%;
  z-index: 3;
  pointer-events: none;
  width: 950px;
  height: 950px;
  background: radial-gradient(
    circle,
    rgba(27,154,214,0.22) 0%,
    transparent 68%
  );
  animation: hero-pulse-r 6s ease-in-out infinite;
}

.hero-glow-left {
  position: absolute;
  bottom: 5%;
  left: -10%;
  z-index: 3;
  pointer-events: none;
  width: 750px;
  height: 750px;
  background: radial-gradient(
    circle,
    rgba(192,244,60,0.12) 0%,
    transparent 68%
  );
  animation: hero-pulse-l 8s ease-in-out infinite;
}

.hero-glow-center {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  pointer-events: none;
  width: 1100px;
  height: 550px;
  background: radial-gradient(
    ellipse,
    rgba(27,154,214,0.09) 0%,
    transparent 72%
  );
}

@keyframes hero-pulse-r {
  0%,100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.08);
  }
}

@keyframes hero-pulse-l {
  0%,100% {
    opacity: 0.8;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

/* ── Data streams ── */
.hero-data-svg {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* ── Particles ── */
.hero-particle {
  position: absolute;
  bottom: 0;
  border-radius: 50%;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  animation: hero-rise linear infinite;
}

@keyframes hero-rise {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  8% {
    opacity: 0.8;
  }
  85% {
    opacity: 0.3;
  }
  100% {
    transform: translateY(-100vh) translateX(20px);
    opacity: 0;
  }
}

/* ── Content ── */
.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  padding: 120px 60px 90px;

  will-change: transform, opacity;
}

/* ── SVG entry ── */
.hero-svg-wrap {
  width: 100%;
  max-width: 720px;

  margin-bottom: 30px;

  position: relative;

  opacity: 0;
  transform: translateY(-28px) scale(0.97);

  transition:
    opacity 1.1s cubic-bezier(0.16,1,0.3,1),
    transform 1.1s cubic-bezier(0.16,1,0.3,1);
}

/* ── Running border wrapper ── */
.hero-logo-runner {
  position: relative;
  border-radius: 26px;
  padding: 2px;
  overflow: hidden;
  display: none;
}

.hero-logo-runner::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%) rotate(0deg);

  background: conic-gradient(
    from 0deg,
    transparent 0%,
    transparent 62%,
    rgba(27,154,214,0.55) 78%,
    rgba(192,244,60,0.38) 86%,
    rgba(27,154,214,0.30) 92%,
    transparent 100%
  );

  animation: logo-runner-spin 9s linear infinite;
}

@keyframes logo-runner-spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.hero-logo-glass {
  position: relative;
  z-index: 1;

  background: rgba(4,10,36,0.72);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 24px;

  padding: 34px 50px;

  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);

  box-shadow:
    0 0 60px rgba(27,154,214,0.18),
    0 12px 56px rgba(0,0,0,0.72),
    inset 0 1px 0 rgba(255,255,255,0.16);
}

.hero-logo-glass img {
  max-width: 100%;
  height: auto;

  filter:
    drop-shadow(0 0 20px rgba(27,154,214,0.45))
    drop-shadow(0 4px 16px rgba(0,0,0,0.5));
}

.hero-logo-subtext {
  margin: 22px 0 0;

  text-align: center;

  font-family: var(--font-space);
  font-size: 12px;
  font-weight: 500;

  letter-spacing: 0.22em;
  text-transform: uppercase;

  color: rgb(255 255 255);
  white-space: nowrap;
}

.hero-svg-in {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
}

.hero-svg-finance-link {
  position: absolute;
  top: 0;
  right: 0;

  width: 42%;
  height: 100%;

  cursor: pointer;
  z-index: 2;
}

/* ── Edition badge ── */
.hero-edition-wrap {
  opacity: 0;
  animation: heroMetaFade 0.7s 0.3s cubic-bezier(0.16,1,0.3,1) forwards;

  margin-bottom: 14px;

  width: 100%;
  max-width: 720px;

  text-align: center;
  display: none;
}

.hero-edition-label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.hero-edition-bar {
  width: 3px;
  height: 22px;
  border-radius: 2px;

  background: #c0f43c;
  flex-shrink: 0;
}

.hero-edition-num {
  font-family: var(--font-space);
  font-size: 28px;
  font-weight: 800;

  color: #ffffff;

  letter-spacing: -0.01em;
  line-height: 1;

  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}

.hero-edition-num sup {
  font-size: 12px;
  font-weight: 700;
  vertical-align: super;
  color: #c0f43c;
}

.hero-edition-divider {
  width: 1px;
  height: 18px;

  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
}

.hero-edition-text {
  font-family: var(--font-space);
  font-size: 14px;
  font-weight: 600;

  color: rgba(255,255,255,0.74);

  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ── Meta ── */
.hero-meta-wrap {
  opacity: 0;
  animation: heroMetaFade 0.9s 1s cubic-bezier(0.16,1,0.3,1) forwards;

  margin: 0 0 38px;
}

@keyframes heroMetaFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-meta-inner {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 18px;
  flex-wrap: wrap;
}

.hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  font-family: var(--font-space);
  font-size: clamp(14px, 2.1vw, 22px);
  font-weight: 600;

  color: rgba(255,255,255,0.92);

  letter-spacing: 0.04em;

  text-shadow: 0 1px 10px rgba(0,0,0,0.6);
}

.hero-meta-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;

  background: rgba(255,255,255,0.24);
  flex-shrink: 0;
}

/* ── Heading ── */
.hero-hl-wrap {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 20px;

  max-width: 1200px;
  width: 100%;

  opacity: 0;
  transform: translateY(18px);

  transition:
    opacity 0.9s 0.3s cubic-bezier(0.16,1,0.3,1),
    transform 0.9s 0.3s cubic-bezier(0.16,1,0.3,1);
}

.hero-hl-in {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.hero-hl {
  font-family: var(--font-space);
  font-size: clamp(28px, 3.2vw, 64px) !important;
  font-weight: 800;

  color: #fff;

  letter-spacing: -0.02em;
  line-height: 1.08;

  width: 100%;
  text-align: center;

  text-shadow:
    0 2px 24px rgba(0,0,0,0.7),
    0 0 48px rgba(27,154,214,0.18);
}

.hero-hl-grad {
  color: #1b9ad6;
}

/* ── CTA ── */
.hero-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 16px;
  flex-wrap: wrap;

  margin-top: 38px;

  opacity: 0;
  animation: heroMetaFade 0.8s 1.4s cubic-bezier(0.16,1,0.3,1) forwards;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  min-width: 190px;

  font-family: var(--font-space);
  font-size: 14px;
  font-weight: 700;

  letter-spacing: 0.04em;

  padding: 14px 28px;
  border-radius: 100px;

  text-decoration: none;
  white-space: nowrap;

  transition:
    opacity 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}

.hero-cta:hover {
  transform: translateY(-2px);
}

.hero-cta--primary {
  background: #c0f43c;
  color: #060b24;

  box-shadow: 0 4px 20px rgba(192,244,60,0.35);
}

.hero-cta--primary:hover {
  box-shadow:
    0 0 20px rgba(192,244,60,0.65),
    0 6px 28px rgba(192,244,60,0.35);
}

.hero-cta--outline {
  background: transparent;
  color: rgba(255,255,255,0.88);

  border: 1.5px solid rgba(255,255,255,0.22);
}

.hero-cta--outline:hover {
  border-color: rgba(255,255,255,0.55);
  color: #ffffff;

  box-shadow: 0 0 16px rgba(255,255,255,0.12);
}

/* ── Gradient bridge ── */
.hero-fade-bridge {
  position: relative;
  z-index: 9;

  height: 180px;

  background: linear-gradient(
    to bottom,
    transparent 0%,
    #060b24 100%
  );

  pointer-events: none;
  margin-top: -80px;
}

/* ── Scroll cue ── */
.hero-scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;

  transform: translateX(-50%);

  z-index: 10;

  animation: scrollBounce 2.2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%,100% {
    transform: translateX(-50%) translateY(0);
    opacity: 0.5;
  }
  50% {
    transform: translateX(-50%) translateY(7px);
    opacity: 1;
  }
}

/* ── Large Screens ── */
@media (min-width: 1600px) {
  .hero-content {
    padding-top: 140px;
    padding-bottom: 100px;
  }

  .hero-svg-wrap {
    max-width: 820px;
  }

  .hero-hl {
    font-size: 72px;
    line-height: 1.05;
  }

  .hero-meta-item {
    font-size: 26px;
  }
}

/* ── Laptop ── */
@media (max-width: 1200px) {
  .hero-content {
    padding: 110px 40px 80px;
  }

  .hero-hl {
    font-size: clamp(28px, 4vw, 52px);
  }
}

/* ── Tablet ── */
@media (max-width: 900px) {
  .hero-section {
    justify-content: center;
  }

  .hero-content {
    padding: 90px 32px 70px;
  }

  .hero-svg-wrap {
    max-width: 500px;
  }

  .hero-hl {
    font-size: 38px;
  }
}

/* ── Mobile ── */
@media (max-width: 560px) {
  .hero-section {
    justify-content: center;
    min-height: 100svh;
  }

  .hero-content {
    padding: 80px 20px 56px;
  }

  .hero-svg-wrap {
    max-width: 92%;
    margin-bottom: 18px;
  }

  .hero-logo-glass {
    padding: 22px 22px;
    border-radius: 20px;
  }

  .hero-logo-subtext {
    font-size: 9px;
    letter-spacing: 0.12em;
    white-space: normal;
    line-height: 1.5;
  }

  .hero-edition-num {
    font-size: 18px;
  }

  .hero-edition-text {
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  .hero-meta-wrap {
    margin: 0 0 24px;
    padding-top: 54px;
  }

  .hero-meta-inner {
    gap: 10px;
  }

  .hero-meta-item {
    font-size: 15.5px;
    text-align: center;
  }

  .hero-hl {
    font-size: 24px;
    line-height: 1.18;
  }

  .hero-cta-row {
    flex-direction: column;
    align-items: center;

    gap: 10px;
    margin-top: 24px;
  }

  .hero-cta {
    width: 100%;
    max-width: 280px;

    font-size: 12.5px;
    padding: 12px 20px;
  }

  .hero-glow-right {
    width: 600px;
    height: 600px;
  }

  .hero-glow-left {
    width: 450px;
    height: 450px;
  }
}