:root {
  --bg: #f4f7fc;
  --bg-soft: #ffffff;
  --bg-dark: #0b111b;
  --text: #0f1a2b;
  --text-soft: #4f5f7a;
  --line: #dfe6f2;
  --primary: #1f5eff;
  --primary-soft: #e8efff;
  --radius: 18px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  min-height: 100%;
  background:
    radial-gradient(1200px 500px at 100% -12%, #dde8ff 0%, transparent 62%),
    var(--bg);
  color: var(--text);
  font-family: "Inter", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.is-loading {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 150;
  height: 72px;
  color: #eef4ff;
  background: linear-gradient(
    180deg,
    rgba(8, 13, 22, 0.74) 0%,
    rgba(8, 13, 22, 0.58) 100%
  );
  border-bottom: 1px solid rgba(169, 188, 223, 0.24);
  box-shadow: 0 10px 26px rgba(3, 8, 16, 0.26);
  backdrop-filter: blur(10px);
  transition: 0.3s ease;
}

.topbar--scrolled {
  background: linear-gradient(
    180deg,
    rgba(7, 11, 19, 0.86) 0%,
    rgba(7, 11, 19, 0.78) 100%
  );
  border-color: rgba(176, 197, 235, 0.32);
  box-shadow: 0 14px 30px rgba(4, 9, 18, 0.36);
  backdrop-filter: blur(14px);
}

.topbar__inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f4f8ff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.brand__mark {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: conic-gradient(from 180deg, #113ca8, #2875ff, #9ec2ff, #113ca8);
  box-shadow: inset 0 0 0 3px #fff;
}

.topbar__nav {
  display: flex;
  gap: 26px;
  color: rgba(230, 239, 255, 0.9);
  font-size: 0.93rem;
  font-weight: 600;
}

.topbar__nav a {
  opacity: 0.9;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.topbar__nav a:hover {
  opacity: 1;
  color: #ffffff;
}

.btn {
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 11px 18px;
  font-size: 0.9rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.22s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 20px rgba(31, 94, 255, 0.25);
}

.btn--secondary {
  background: var(--bg-soft);
  color: var(--text);
  border-color: var(--line);
}

.hero {
  padding-top: 130px;
  padding-bottom: 84px;
}

.eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #627694;
  font-weight: 700;
}

.hero h1,
.section h3 {
  margin-top: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.04;
  text-wrap: balance;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 4.2rem);
  max-width: 22ch;
}

.hero__copy,
.section__copy {
  margin-top: 14px;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.58;
  color: var(--text-soft);
  max-width: 62ch;
}

.hero__actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.sequence {
  position: relative;
  width: 100%;
  overflow: clip;
}

.sequence--light {
  min-height: 380vh;
}

.sequence--mid {
  min-height: 245vh;
}

.sequence--dark {
  min-height: 370vh;
}

.sequence__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  background: #0a0f17;
  isolation: isolate;
}

.sequence__stage canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.sequence__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(100% 74% at 50% 45%, transparent 48%, rgba(3, 7, 12, 0.46) 100%),
    linear-gradient(180deg, rgba(5, 8, 14, 0.1), rgba(5, 8, 14, 0.72));
}

.sequence__meta {
  position: absolute;
  top: 88px;
  left: clamp(10px, 2vw, 22px);
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sequence__meta span {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: #e8eefc;
  background: rgba(15, 23, 38, 0.72);
  border: 1px solid rgba(186, 207, 244, 0.36);
  border-radius: 999px;
  padding: 8px 11px;
}

.sequence__chip {
  position: absolute;
  right: clamp(10px, 2vw, 22px);
  top: 88px;
  z-index: 4;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: #e8eefc;
  background: rgba(15, 23, 38, 0.72);
  border: 1px solid rgba(186, 207, 244, 0.36);
  border-radius: 999px;
  padding: 8px 11px;
}

.overlay {
  position: absolute;
  z-index: 3;
  width: min(44ch, 84vw);
  opacity: 0;
  pointer-events: none;
  color: #f5f8ff;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.72);
}

.overlay h2 {
  margin-top: 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.9rem, 5.2vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.overlay p {
  margin-top: 10px;
  line-height: 1.5;
  font-size: clamp(0.96rem, 1.44vw, 1.18rem);
  color: #e3eaf9;
}

.overlay__eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  color: #d6e2fb;
}

.overlay--center {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.overlay--left {
  left: clamp(12px, 5vw, 86px);
  top: 28%;
  transform: translateY(-50%);
}

.overlay--right {
  right: clamp(12px, 5vw, 86px);
  top: 28%;
  transform: translateY(-50%);
  text-align: right;
}

.overlay--right p {
  margin-left: auto;
}

.overlay--bottom {
  left: 50%;
  bottom: 11%;
  transform: translateX(-50%);
  text-align: center;
}

.sequence__progress {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  width: min(92vw, 720px);
  height: 3px;
  border-radius: 999px;
  background: rgba(186, 207, 244, 0.3);
  overflow: hidden;
  z-index: 4;
}

.sequence__progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: left;
  transform: scaleX(0);
  background: linear-gradient(90deg, #9fc0ff, #ffffff);
}

.section {
  padding-block: 96px;
}

.info-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.info-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
}

.info-card h4 {
  margin-top: 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem;
  line-height: 1.1;
}

.info-card p {
  margin-top: 8px;
  color: var(--text-soft);
  line-height: 1.5;
  font-size: 0.95rem;
}

.info-card .btn {
  margin-top: 14px;
}

.spec-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.spec-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
}

.spec-card h4 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.06rem;
}

.spec-card p {
  margin-top: 8px;
  color: var(--text-soft);
  line-height: 1.5;
  font-size: 0.94rem;
}

.section--grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: end;
  gap: clamp(18px, 3vw, 42px);
}

.price-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.price-card__price {
  margin-top: 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  line-height: 0.95;
}

.price-card__copy {
  margin-top: 10px;
  color: var(--text-soft);
  line-height: 1.52;
  margin-bottom: 18px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 26px;
}

.stat-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 18px;
}

.stat-card h4 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.4rem, 2.7vw, 2.2rem);
  line-height: 0.98;
}

.stat-card p {
  margin-top: 8px;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.reserve-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer {
  padding-block: 22px 44px;
  border-top: 1px solid var(--line);
  color: #6a7c98;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background: rgba(245, 248, 253, 0.94);
  transition: opacity 0.45s ease;
}

.loader--hidden {
  opacity: 0;
  pointer-events: none;
}

.loader__card {
  width: min(540px, 84vw);
  text-align: center;
}

.loader__title {
  font-size: 0.86rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #52627f;
  font-weight: 700;
}

.loader__track {
  margin-top: 12px;
  height: 7px;
  width: 100%;
  border-radius: 999px;
  background: #d9e4f6;
  overflow: hidden;
}

.loader__track span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #6393ff, #1f5eff);
  transition: width 0.1s linear;
}

.loader__text {
  margin-top: 9px;
  color: #52627f;
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
}

@media (max-width: 1040px) {
  .topbar__nav {
    display: none;
  }

  .section--grid {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .spec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .sequence--light {
    min-height: 345vh;
  }

  .sequence--mid {
    min-height: 225vh;
  }

  .sequence--dark {
    min-height: 340vh;
  }

  .overlay {
    width: min(36ch, 88vw);
  }

  .overlay--left,
  .overlay--right {
    top: 24%;
  }

  .overlay--left {
    left: 12px;
  }

  .overlay--right {
    right: 12px;
  }

  .overlay--bottom {
    bottom: 13%;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .spec-grid {
    grid-template-columns: 1fr;
  }
}
