:root {
  --navy: #142d55;
  --navy-deep: #081a35;
  --yellow: #f6b500;
  --yellow-2: #ffca2c;
  --ink: #152238;
  --muted: #667085;
  --light: #f5f7fa;
  --white: #ffffff;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 72% 43%, rgba(246,181,0,.13), transparent 22%),
    linear-gradient(135deg, #fff 0%, #f7f8fa 55%, #edf0f4 100%);
}

body { overflow-x: hidden; }

.page-glow {
  position: fixed;
  width: 42vw;
  height: 42vw;
  max-width: 620px;
  max-height: 620px;
  right: -16vw;
  top: 16vh;
  border-radius: 50%;
  background: rgba(20,45,85,.06);
  filter: blur(5px);
  pointer-events: none;
}

.topbar {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 5.5vw;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  line-height: .9;
  transform: skew(-5deg);
}

.brand-main {
  color: var(--navy);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 900;
  letter-spacing: -1.5px;
}

.brand-sub {
  width: fit-content;
  margin-top: 5px;
  padding: 5px 16px 4px;
  color: var(--navy-deep);
  background: var(--yellow);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 4px;
}

.top-status {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #7a8494;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.6px;
}

.top-status span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 5px rgba(246,181,0,.12);
}

.hero {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 500px;
  gap: 4vw;
  align-items: center;
  min-height: calc(100vh - 115px);
  padding: 4vh 5.5vw 7vh;
}

.hero-copy {
  max-width: 780px;
  padding: 30px 0 30px 2vw;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 4px;
}

h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(45px, 6vw, 86px);
  line-height: .98;
  letter-spacing: -4px;
}

h1 strong {
  color: var(--yellow);
  -webkit-text-stroke: .4px var(--navy);
}

.lead {
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.8;
}

.selected-card {
  max-width: 590px;
  margin-top: 36px;
  padding: 25px 28px;
  border-left: 5px solid var(--yellow);
  background: rgba(255,255,255,.78);
  box-shadow: 0 18px 50px rgba(20,45,85,.08);
  backdrop-filter: blur(10px);
  transition: transform .35s ease;
}

.selected-card.bump { transform: translateX(8px); }

.card-label {
  color: #8993a3;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 2.5px;
}

.selected-card h2 {
  margin: 8px 0 6px;
  color: var(--navy);
  font-size: 25px;
}

.selected-card p {
  margin: 0 0 14px;
  color: #667085;
  font-size: 13px;
  line-height: 1.6;
}

.coming {
  display: inline-block;
  color: var(--navy);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.6px;
}

.mini-line {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 590px;
  margin-top: 48px;
  color: #a0a8b4;
  font-size: 8px;
  letter-spacing: 2px;
}

.mini-line span {
  height: 1px;
  flex: 1;
  background: #d7dce3;
}

.floating-menu {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 540px;
}

.menu {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  width: 310px;
  padding: 18px 0;
  margin-left: 105px;
  gap: 5px;
}

.menu-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  min-height: 67px;
  padding: 0 24px;
  border: 0;
  border-radius: 14px;
  color: #617086;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  transition: color .25s ease, background .25s ease, transform .25s ease, box-shadow .25s ease;
}

.menu-item .number {
  width: 27px;
  color: #a3aab4;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1px;
}

.menu-item:hover {
  color: var(--navy);
  background: rgba(255,255,255,.7);
  transform: translateX(-5px);
}

.menu-item.active {
  color: var(--navy);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(20,45,85,.10);
  transform: translateX(-10px);
}

.menu-item.active .number {
  color: var(--yellow);
}

.wheel-stage {
  position: absolute;
  z-index: 4;
  left: 0;
  top: 0;
  width: 190px;
  height: 190px;
  pointer-events: none;
  transition: top .55s cubic-bezier(.2,.8,.2,1), transform .55s cubic-bezier(.2,.8,.2,1);
}

.wheel-stage::after {
  content: "";
  position: absolute;
  width: 100px;
  height: 28px;
  left: 40px;
  bottom: -8px;
  background: rgba(0,0,0,.15);
  filter: blur(13px);
  border-radius: 50%;
  transform: rotate(-7deg);
  z-index: -1;
}

#wheel {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 17px 15px rgba(0,0,0,.20));
  animation: idleSpin 22s linear infinite;
  transform-origin: center;
}

.wheel-stage.spin #wheel {
  animation: selectedSpin .75s cubic-bezier(.2,.7,.2,1);
}

@keyframes idleSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes selectedSpin {
  from { transform: rotate(0deg) scale(.96); }
  50% { transform: rotate(180deg) scale(1.03); }
  to { transform: rotate(360deg) scale(1); }
}

footer {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 5.5vw 25px;
  color: #929aa7;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

@media (max-width: 1050px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 2vh;
  }

  .hero-copy {
    padding-left: 0;
    text-align: center;
    margin: auto;
  }

  .lead, .selected-card, .mini-line { margin-left: auto; margin-right: auto; }
  .mini-line { max-width: 500px; }

  .floating-menu {
    min-height: 410px;
    max-width: 580px;
    width: 100%;
    margin: -20px auto 0;
  }

  .menu { margin-left: 110px; }
  .wheel-stage { left: 0; }
}

@media (max-width: 620px) {
  .topbar { padding: 20px 22px; }
  .top-status { display: none; }

  .hero { padding: 1vh 22px 4vh; }
  h1 { font-size: clamp(42px, 14vw, 65px); letter-spacing: -3px; }
  .lead { font-size: 14px; line-height: 1.7; }

  .selected-card { padding: 21px; text-align: left; }

  .floating-menu {
    min-height: 380px;
    justify-content: flex-end;
  }

  .wheel-stage {
    width: 145px;
    height: 145px;
    left: -5px;
  }

  .menu {
    width: calc(100% - 85px);
    margin-left: 75px;
    padding: 8px 0;
  }

  .menu-item {
    min-height: 57px;
    padding: 0 14px;
    gap: 11px;
    font-size: 12px;
  }

  .menu-item.active { transform: translateX(-5px); }
  footer { flex-direction: column; text-align: center; padding: 15px 22px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  #wheel { animation: none; }
  .wheel-stage { transition: none; }
}
