:root {
  --bg0: #050810;
  --bg1: #0a1020;
  --glass: rgba(18, 28, 52, 0.55);
  --stroke: rgba(94, 231, 255, 0.22);
  --cyan: #5ee7ff;
  --violet: #a78bfa;
  --magenta: #f472b6;
  --text: #e8f0ff;
  --muted: #94a3c8;
  --radius: 18px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: radial-gradient(1200px 800px at 10% 10%, rgba(94, 231, 255, 0.08), transparent 55%),
    radial-gradient(900px 600px at 90% 20%, rgba(167, 139, 250, 0.1), transparent 50%),
    radial-gradient(700px 500px at 50% 100%, rgba(244, 114, 182, 0.06), transparent 45%),
    linear-gradient(165deg, var(--bg0), var(--bg1) 40%, #060814 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  z-index: 0;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.skip {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  background: #111827;
  border-radius: 10px;
  z-index: 9999;
  outline: 2px solid var(--cyan);
}

.orb-layer {
  position: fixed;
  inset: -20%;
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
  opacity: 0.55;
}

.orb {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: screen;
  animation: floaty 18s ease-in-out infinite alternate;
}

.orb:nth-child(1) {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle at 30% 30%, var(--cyan), transparent 60%);
  left: -5%;
  top: 10%;
}

.orb:nth-child(2) {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle at 70% 40%, var(--violet), transparent 62%);
  right: -8%;
  top: 25%;
  animation-duration: 22s;
  animation-delay: -4s;
}

.orb:nth-child(3) {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle at 50% 50%, var(--magenta), transparent 55%);
  left: 35%;
  bottom: -10%;
  animation-duration: 26s;
  animation-delay: -8s;
}

@keyframes floaty {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(40px, -30px, 0) scale(1.08);
  }
}

.wrap {
  position: relative;
  z-index: 1;
  width: min(1180px, 100% - 32px);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px) saturate(140%);
  background: linear-gradient(to bottom, rgba(5, 8, 16, 0.85), rgba(5, 8, 16, 0.35));
  border-bottom: 1px solid rgba(94, 231, 255, 0.12);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: conic-gradient(from 210deg, var(--cyan), var(--violet), var(--magenta), var(--cyan));
  box-shadow: 0 0 24px rgba(94, 231, 255, 0.35);
  position: relative;
  animation: spin-slow 14s linear infinite;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 9px;
  background: #0a1020;
}

@keyframes spin-slow {
  to {
    transform: rotate(360deg);
  }
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.92rem;
  padding: 6px 10px;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s, transform 0.2s;
}

nav a:hover {
  color: var(--text);
  background: rgba(94, 231, 255, 0.08);
  transform: translateY(-1px);
}

.cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.25s ease, border-color 0.2s, background 0.2s;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transform: translateX(-60%);
  transition: transform 0.6s ease;
}

.btn:hover::before {
  transform: translateX(60%);
}

.btn-primary {
  background: linear-gradient(120deg, #22d3ee, #7c3aed 55%, #db2777);
  color: #041018;
  box-shadow: 0 12px 40px rgba(124, 58, 237, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 18px 50px rgba(34, 211, 238, 0.35);
}

.btn-ghost {
  background: rgba(15, 23, 42, 0.55);
  border-color: var(--stroke);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: rgba(94, 231, 255, 0.45);
  transform: translateY(-2px);
}

.hero {
  --par: 0;
  padding: 48px 0 28px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 28px;
  }

  nav ul {
    display: none;
  }

  .mobile-nav-toggle {
    display: inline-flex !important;
  }
}

.mobile-nav-toggle {
  display: none;
  border: 1px solid var(--stroke);
  background: rgba(15, 23, 42, 0.6);
  color: var(--text);
  border-radius: 12px;
  padding: 10px 12px;
}

.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.08;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
  transform: translateY(calc(var(--par) * -18px));
  transition: transform 0.35s ease;
}

.gradient-text {
  background: linear-gradient(110deg, var(--cyan), var(--violet), var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
  margin: 0 0 22px;
}

.hero-panel {
  position: relative;
  border-radius: calc(var(--radius) + 8px);
  padding: 22px;
  background: linear-gradient(145deg, rgba(94, 231, 255, 0.12), rgba(124, 58, 237, 0.1));
  border: 1px solid rgba(94, 231, 255, 0.22);
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
  animation: panel-breathe 7s ease-in-out infinite;
}

@keyframes panel-breathe {
  0%,
  100% {
    transform: perspective(900px) rotateX(6deg) rotateY(-8deg) translateY(0);
  }
  50% {
    transform: perspective(900px) rotateX(4deg) rotateY(6deg) translateY(-6px);
  }
}

.hero-panel-inner {
  border-radius: var(--radius);
  background: rgba(6, 10, 20, 0.72);
  border: 1px solid rgba(148, 163, 200, 0.12);
  padding: 18px;
  display: grid;
  gap: 14px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.stat {
  padding: 12px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(94, 231, 255, 0.1);
}

.stat b {
  display: block;
  font-size: 1.35rem;
  color: var(--cyan);
}

.stat span {
  font-size: 0.78rem;
  color: var(--muted);
}

.marquee {
  margin: 10px 0 0;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid rgba(94, 231, 255, 0.15);
  background: rgba(2, 6, 23, 0.55);
}

.marquee-track {
  display: flex;
  gap: 18px;
  padding: 10px 0;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee--rev {
  margin-top: 8px;
  border-color: rgba(167, 139, 250, 0.2);
}

.marquee--rev .marquee-track {
  animation-direction: reverse;
  animation-duration: 34s;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.marquee span {
  color: var(--muted);
  font-size: 0.85rem;
  white-space: nowrap;
}

.marquee span strong {
  color: var(--text);
}

.section {
  padding: 56px 0;
  scroll-margin-top: 90px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}

.pill {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cyan);
  border: 1px solid rgba(94, 231, 255, 0.25);
  padding: 6px 12px;
  border-radius: 999px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 1024px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

.card {
  border-radius: var(--radius);
  padding: 18px;
  background: var(--glass);
  border: 1px solid rgba(148, 163, 200, 0.14);
  backdrop-filter: blur(12px);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-6px) rotateX(2deg);
  border-color: rgba(94, 231, 255, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.slot-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.chip {
  border: 1px solid rgba(148, 163, 200, 0.2);
  background: rgba(15, 23, 42, 0.45);
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chip.is-active,
.chip:hover {
  color: var(--text);
  border-color: rgba(94, 231, 255, 0.45);
  box-shadow: 0 0 18px rgba(94, 231, 255, 0.15);
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}

.slot-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(94, 231, 255, 0.12);
  background: #0b1220;
  aspect-ratio: 3 / 4;
  transform-style: preserve-3d;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.slot-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px 120px at 50% 0%, rgba(94, 231, 255, 0.2), transparent 55%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.slot-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 22px 50px rgba(124, 58, 237, 0.25);
}

.slot-card:hover::after {
  opacity: 1;
}

.slot-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
  transition: transform 0.6s ease, filter 0.4s ease;
}

.slot-card:hover img {
  transform: scale(1.08);
  filter: saturate(1.15) contrast(1.08);
}

.slot-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 12px;
  background: linear-gradient(to top, rgba(5, 8, 16, 0.92), transparent);
  font-size: 0.82rem;
  font-weight: 600;
}

.slot-card a {
  position: absolute;
  inset: 0;
  text-decoration: none;
}

.slot-card.is-dim {
  opacity: 0.35;
  filter: grayscale(0.4);
  transform: scale(0.98);
}

.timeline {
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(148, 163, 200, 0.12);
  background: rgba(15, 23, 42, 0.35);
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #041018;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  box-shadow: 0 10px 30px rgba(34, 211, 238, 0.25);
}

.article {
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(18px, 3vw, 34px);
  background: rgba(6, 10, 20, 0.55);
  border: 1px solid rgba(94, 231, 255, 0.12);
  line-height: 1.75;
  color: #cbd5f5;
}

.article h2,
.article h3 {
  color: var(--text);
  margin-top: 1.6em;
}

.article p {
  margin: 0 0 1em;
}

.article p:last-child {
  margin-bottom: 0;
}

.faq {
  display: grid;
  gap: 10px;
}

.faq-item {
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 200, 0.14);
  background: rgba(15, 23, 42, 0.4);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  text-align: left;
  padding: 16px 18px;
  background: transparent;
  color: var(--text);
  font-weight: 700;
  border: 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.faq-q span {
  color: var(--cyan);
  transition: transform 0.25s ease;
}

.faq-item.is-open .faq-q span {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease;
}

.faq-a-inner {
  padding: 0 18px 16px;
  color: var(--muted);
  line-height: 1.65;
}

.faq-item.is-open .faq-a {
  max-height: 320px;
}

.footer {
  padding: 36px 0 48px;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid rgba(148, 163, 200, 0.12);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 900px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

.spark {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 18px var(--cyan);
  opacity: 0.35;
  animation: spark 4s ease-in-out infinite;
}

@keyframes spark {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
    opacity: 0.2;
  }
  50% {
    transform: translate3d(10px, -16px, 0);
    opacity: 0.65;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .marquee-track {
    animation: none;
  }
}
