:root {
  --bg: #05000d;
  --panel: rgba(255, 255, 255, 0.055);
  --panel-strong: rgba(124, 58, 237, 0.16);
  --border: rgba(168, 85, 247, 0.28);
  --border-strong: rgba(192, 132, 252, 0.46);
  --text: #ffffff;
  --muted: #cfc7dc;
  --soft: #bcaee0;
  --accent: #a855f7;
  --accent-2: #7c3aed;
  --accent-3: #d8b4fe;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(circle at 75% 18%, rgba(168, 85, 247, 0.34), transparent 30%),
    radial-gradient(circle at 12% 82%, rgba(124, 58, 237, 0.24), transparent 34%),
    linear-gradient(135deg, #030008, #10001f 62%, #020005);
}

a {
  color: #ddd6fe;
}

.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.032) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.78), transparent);
}

.topbar,
.footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  text-decoration: none;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.7px;
}

.brand img,
.page-logo img {
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(168, 85, 247, .82));
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.nav-links a {
  padding: 10px 14px;
  border: 1px solid rgba(168,85,247,.22);
  border-radius: 999px;
  color: #ddd6fe;
  text-decoration: none;
  font-weight: 800;
  background: rgba(255,255,255,.04);
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  border-color: var(--border-strong);
  background: rgba(168,85,247,.16);
  box-shadow: 0 0 24px rgba(168,85,247,.22);
}

main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 180px);
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 32px 0 42px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: max-content;
  margin: 0 0 18px;
  padding: 9px 14px;
  border: 1px solid rgba(168,85,247,.38);
  border-radius: 999px;
  color: #ddd6fe;
  background: rgba(168,85,247,.12);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1,
.page-title {
  margin: 0 0 22px;
  max-width: 820px;
  font-size: clamp(48px, 8vw, 104px);
  line-height: .92;
  letter-spacing: -4px;
  background: linear-gradient(180deg, #fff, var(--accent-3), #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(25px, 3vw, 40px);
  line-height: 1.05;
  letter-spacing: -1px;
}

h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

p {
  margin-top: 0;
}

.lead {
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 23px);
}

.actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 34px 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  border-radius: 13px;
  border: 1px solid rgba(168,85,247,.55);
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(168,85,247,.58);
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  box-shadow: 0 0 30px rgba(168,85,247,.50);
}

.btn.secondary {
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(12px);
}

.quick-facts {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.quick-facts span,
.badge {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 9px 12px;
  border-radius: 999px;
  color: #ddd6fe;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(168,85,247,.22);
}

.quick-facts b {
  color: #fff;
}

.hero-logo {
  position: relative;
  min-height: 570px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.hero-logo img {
  width: min(590px, 92%);
  height: auto;
  display: block;
  filter: drop-shadow(0 0 38px rgba(168,85,247,.58));
  animation: logoFloat 3.5s ease-in-out infinite;
}

.logo-orbit {
  position: absolute;
  width: min(620px, 94%);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid rgba(168,85,247,.40);
  box-shadow: 0 0 42px rgba(168,85,247,.28), inset 0 0 70px rgba(168,85,247,.10);
}

.logo-platform {
  position: absolute;
  bottom: 9%;
  width: 54%;
  height: 34px;
  border: 2px solid rgba(168,85,247,.75);
  border-radius: 50%;
  box-shadow: 0 0 28px rgba(168,85,247,.70);
  opacity: .8;
}

@keyframes logoFloat {
  50% {
    transform: translateY(-22px) rotate(1deg) scale(1.015);
  }
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 20px 0 36px;
}

.card,
.trust-panel,
.page-card {
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--panel);
  box-shadow: inset 0 0 34px rgba(168,85,247,.04), 0 0 30px rgba(168,85,247,.08);
  backdrop-filter: blur(12px);
}

.card,
.page-card {
  padding: 24px;
}

.card {
  min-height: 210px;
}

.card-number {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  border-radius: 50%;
  color: #d8b4fe;
  font-weight: 900;
  background: rgba(168,85,247,.22);
  border: 1px solid rgba(168,85,247,.40);
}

.card p,
.page-card p,
.page-card li,
.trust-panel p {
  color: var(--muted);
}

.trust-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 4px 0 42px;
  padding: 30px;
}

.page {
  max-width: 960px;
  padding: 42px 0 54px;
}

.page-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  color: #fff;
  text-decoration: none;
  font-size: 28px;
  font-weight: 900;
}

.page-title {
  font-size: clamp(44px, 7vw, 78px);
  letter-spacing: -2.2px;
}

.muted,
.small {
  color: var(--soft);
}

.small {
  font-size: 14px;
}

.page-card {
  margin: 18px 0;
}

.page-card.highlight {
  background: linear-gradient(135deg, rgba(124,58,237,.18), rgba(255,255,255,.055));
}

.page-card.notice {
  border-left: 4px solid var(--accent);
}

ul {
  padding-left: 22px;
}

li {
  margin: 8px 0;
}

.version-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 24px 0 34px;
  border-top: 1px solid rgba(168,85,247,.18);
  color: var(--soft);
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer a {
  color: #ddd6fe;
  text-decoration: none;
  font-weight: 800;
}

@media (max-width: 980px) {
  .hero,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero-logo {
    order: -1;
    min-height: 430px;
  }

  .trust-panel,
  .footer,
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  h1,
  .page-title {
    letter-spacing: -2px;
  }
}

@media (max-width: 620px) {
  .topbar,
  .footer,
  main {
    width: min(100% - 28px, 1180px);
  }

  .nav-links,
  .actions {
    width: 100%;
  }

  .nav-links a,
  .btn {
    width: 100%;
    text-align: center;
  }

  .hero {
    padding-top: 18px;
  }

  .hero-logo {
    min-height: 340px;
  }
}
