.floating-header {
  position: sticky;
  top: 10px;
  z-index: 50;
  width: min(var(--max), calc(100% - 28px));
  margin: 10px auto 0;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 7px 8px 7px 16px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  background: rgba(4,8,16,.52);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow: 0 18px 54px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.05);
}

.mini-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 19px;
  font-weight: 850;
  letter-spacing: -.035em;
}

.mini-brand span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 22px rgba(255,106,0,.85);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.desktop-nav a {
  color: rgba(255,255,255,.66);
  text-decoration: none;
  padding: 11px 13px;
  border-radius: 999px;
  font-weight: 720;
  letter-spacing: -.01em;
}

.desktop-nav a:hover { background: rgba(255,255,255,.07); color: white; }

.icon-menu {
  display: none;
  position: relative;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  cursor: pointer;
}

.icon-menu span {
  position: absolute;
  left: 16px;
  right: 16px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
}

.icon-menu span:first-child { top: 18px; }
.icon-menu span:last-child { top: 29px; }

.hero-shell {
  position: relative;
  width: min(1120px, calc(100% - var(--edge)));
  min-height: clamp(600px, 80svh, 860px);
  margin: 0 auto;
  padding: clamp(86px, 11vw, 120px) 18px 70px;
  display: grid;
  justify-items: center;
  align-content: center;
  text-align: center;
  isolation: isolate;
  overflow: hidden;
}

.hero-shell::before {
  content: "";
  position: absolute;
  inset: 8% 1% 4%;
  z-index: -2;
  border-radius: 72px;
  background:
    radial-gradient(circle at 50% 12%, rgba(255,255,255,.12), transparent 18%),
    radial-gradient(circle at 18% 62%, rgba(255,106,0,.11), transparent 20%),
    radial-gradient(circle at 82% 32%, rgba(64,118,255,.22), transparent 24%),
    radial-gradient(circle at 52% 48%, rgba(29,72,167,.22), transparent 36%);
  filter: blur(24px);
  opacity: .98;
}

.hero-glow,
.hero-orbit-lines,
.hero-comet,
.hero-bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-glow {
  z-index: -1;
  filter: blur(18px);
}

.hero-glow-a {
  background: radial-gradient(circle at 24% 58%, rgba(255,124,30,.16), transparent 16%);
}

.hero-glow-b {
  background: radial-gradient(circle at 74% 37%, rgba(78,131,255,.22), transparent 18%);
}

.hero-orbit-lines {
  z-index: -1;
}

.hero-orbit-lines::before,
.hero-orbit-lines::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  margin: auto;
  border-top: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  opacity: .55;
}

.hero-orbit-lines::before {
  width: 120%;
  height: 300px;
  bottom: 102px;
  transform: rotate(-9deg);
  box-shadow: 0 -1px 0 rgba(255,145,49,.18), 0 -8px 30px rgba(255,145,49,.08);
}

.hero-orbit-lines::after {
  width: 118%;
  height: 520px;
  top: 16px;
  transform: rotate(-20deg);
  opacity: .28;
  border-color: rgba(103,155,255,.24);
  box-shadow: 0 -8px 40px rgba(76,129,255,.06);
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 48px;
  padding: 0 19px;
  margin: 0 0 28px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  color: rgba(255,255,255,.78);
  background: rgba(5,9,18,.50);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  font-size: 16px;
  font-weight: 680;
  letter-spacing: -.005em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

.hero-pill span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 22px rgba(255,106,0,.90);
}

.hero-title {
  margin: 0;
  color: white;
  font-size: clamp(82px, 16vw, 184px);
  line-height: .9;
  letter-spacing: -.055em;
  font-weight: 900;
  text-shadow:
    0 2px 0 rgba(255,255,255,.04),
    0 18px 58px rgba(49,98,200,.18);
}

.hero-copy {
  display: grid;
  gap: 7px;
  margin: 22px 0 0;
  color: rgba(255,255,255,.76);
  font-size: clamp(23px, 4vw, 41px);
  line-height: 1.18;
  letter-spacing: -.026em;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 38px;
}

.btn {
  min-height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 32px;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  font-weight: 850;
  font-size: 18px;
  line-height: 1;
  letter-spacing: -.015em;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.btn-orange {
  color: white;
  background: linear-gradient(135deg, #ff9d36, #ff6500 62%, #bd4c00);
  box-shadow: 0 0 0 1px rgba(255,255,255,.18) inset, 0 0 24px rgba(255,106,0,.32), 0 20px 52px rgba(255,106,0,.26);
}

.btn-ghost {
  color: white;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 18px 44px rgba(0,0,0,.14);
  backdrop-filter: blur(16px);
}

.btn-navy {
  color: white;
  background: linear-gradient(180deg, rgba(6,29,72,.94), rgba(1,14,42,.96));
  border: 1px solid rgba(54,128,255,.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 18px 44px rgba(0,0,0,.18);
}

.btn-light {
  width: 100%;
  color: #06101f;
  background: white;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 18px 44px rgba(0,0,0,.18);
  text-transform: uppercase;
  letter-spacing: .12em;
}

@media (hover: hover) {
  .btn:hover { transform: translateY(-1px); }
  .btn-orange:hover { box-shadow: 0 0 0 1px rgba(255,255,255,.2) inset, 0 0 30px rgba(255,106,0,.38), 0 26px 58px rgba(255,106,0,.30); }
}

.hero-bubbles {
  z-index: -1;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.10);
  background: radial-gradient(circle at 35% 32%, rgba(255,255,255,.32), rgba(255,255,255,.08) 44%, rgba(255,255,255,.01) 74%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 24px 46px rgba(0,0,0,.22);
  backdrop-filter: blur(8px);
  animation: floatBubble 8s ease-in-out infinite;
}

.bubble-1 { width: 15px; height: 15px; top: 30%; left: 22%; animation-delay: .2s; }
.bubble-2 { width: 18px; height: 18px; top: 67%; left: 28%; animation-delay: 1s; }
.bubble-3 { width: 12px; height: 12px; top: 18%; right: 28%; animation-delay: 1.7s; }
.bubble-4 { width: 16px; height: 16px; top: 63%; right: 24%; animation-delay: 2.2s; }
.bubble-5 { width: 10px; height: 10px; top: 74%; right: 46%; animation-delay: 2.8s; }

.hero-comet {
  width: min(660px, 88vw);
  height: 130px;
  left: 50%;
  right: auto;
  top: calc(100% - 185px);
  transform: translateX(-50%);
  z-index: 1;
}

.comet-trail {
  position: absolute;
  inset: 0;
}

.comet-trail::before {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: 28px;
  height: 74px;
  border-top: 1.5px solid rgba(255, 212, 170, .62);
  border-radius: 50%;
  transform: rotate(-7deg);
  box-shadow: 0 -2px 22px rgba(255,153,64,.22);
}

.comet-dot {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff 0 30%, #ffe1b7 60%, #ffd08d 100%);
  box-shadow: 0 0 0 4px rgba(255,255,255,.12), 0 0 18px rgba(255,240,211,.95), 0 0 40px rgba(255,153,64,.50), 0 0 64px rgba(76,129,255,.20);
  animation: moveComet 7.6s ease-in-out infinite;
}

.comet-dot::after {
  content: "";
  position: absolute;
  right: 11px;
  top: 50%;
  width: 58px;
  height: 2px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,236,212,.65));
  filter: blur(.5px);
}

@keyframes moveComet {
  0%   { left: 19%; top: 22px; transform: scale(.95); }
  18%  { left: 30%; top: 40px; transform: scale(1); }
  42%  { left: 47%; top: 70px; transform: scale(1.12); }
  66%  { left: 68%; top: 82px; transform: scale(1.04); }
  82%  { left: 81%; top: 74px; transform: scale(1); }
  100% { left: 19%; top: 22px; transform: scale(.95); }
}

@media (max-width: 760px) {
  .floating-header {
    display: none;
  }

  .icon-menu {
    display: inline-flex;
  }

  .hero-shell {
    width: calc(100% - 24px);
    min-height: auto;
    padding: 72px 14px 56px;
  }

  .hero-shell::before {
    inset: 6% 0 0;
    border-radius: 56px;
  }

  .hero-orbit-lines::before {
    width: 138%;
    bottom: 86px;
    height: 180px;
    left: -19%;
    right: -19%;
  }

  .hero-orbit-lines::after {
    width: 130%;
    height: 300px;
    top: 36px;
    left: -15%;
    right: -15%;
  }

  .hero-pill {
    min-height: 44px;
    padding-inline: 16px;
    margin-bottom: 22px;
    font-size: 14px;
  }

  .hero-title {
    font-size: clamp(64px, 22vw, 96px);
    letter-spacing: -.058em;
  }

  .hero-copy {
    gap: 5px;
    margin-top: 18px;
    font-size: clamp(17px, 5.8vw, 26px);
  }

  .hero-actions {
    gap: 14px;
    margin-top: 28px;
  }

  .btn {
    min-height: 58px;
    padding-inline: 24px;
    font-size: 16px;
  }

  .hero-comet {
    width: 96%;
    height: 110px;
    top: calc(100% - 154px);
  }

  .comet-trail::before {
    left: 3%;
    right: 3%;
    bottom: 24px;
    height: 58px;
  }

  .comet-dot {
    width: 18px;
    height: 18px;
    box-shadow: 0 0 0 4px rgba(255,255,255,.14), 0 0 24px rgba(255,240,211,.98), 0 0 52px rgba(255,153,64,.56), 0 0 86px rgba(76,129,255,.28);
  }

  .comet-dot::after {
    width: 42px;
  }
}
