:root {
  --bg: #07080d;
  --bg-soft: #0c0e16;
  --ink: #f4f1ea;
  --muted: #8d93a6;
  --line: rgba(244, 241, 234, 0.1);
  --purple: #9945ff;
  --green: #14f195;
  --cyan: #19d0ff;
  --serif: "Fraunces", "Times New Roman", serif;
  --sans: "Space Grotesk", "Avenir Next", sans-serif;
  --mx: 50vw;
  --my: 40vh;
  --nav-h: 84px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--sans);
  background: var(--bg);
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 12% -10%, rgba(153, 69, 255, 0.18), transparent 60%),
    radial-gradient(820px 480px at 92% 8%, rgba(20, 241, 149, 0.1), transparent 58%),
    linear-gradient(180deg, #080910 0%, #07080d 42%, #0a0c14 100%);
}

#void-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.42;
  mix-blend-mode: screen;
}

.aurora-a {
  width: 42vw;
  height: 42vw;
  left: -8vw;
  top: 8vh;
  background: radial-gradient(circle, rgba(153, 69, 255, 0.55), transparent 68%);
  animation: drift-a 22s ease-in-out infinite;
}

.aurora-b {
  width: 36vw;
  height: 36vw;
  right: -6vw;
  top: 18vh;
  background: radial-gradient(circle, rgba(20, 241, 149, 0.38), transparent 68%);
  animation: drift-b 26s ease-in-out infinite;
}

.aurora-c {
  width: 28vw;
  height: 28vw;
  left: 38vw;
  bottom: 4vh;
  background: radial-gradient(circle, rgba(25, 208, 255, 0.28), transparent 70%);
  animation: drift-c 18s ease-in-out infinite;
}

.grid-fade {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(circle at 50% 20%, #000 0%, transparent 72%);
}

.grain,
.grain::after {
  position: absolute;
  inset: 0;
}

.grain {
  opacity: 0.16;
  mix-blend-mode: overlay;
}

.grain::after {
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(2) infinite;
}

.vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, transparent 42%, rgba(0, 0, 0, 0.55) 100%);
}

.cursor-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  left: var(--mx);
  top: var(--my);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(153, 69, 255, 0.16), rgba(20, 241, 149, 0.08) 42%, transparent 70%);
  transition: opacity 0.4s ease;
}

.ticker {
  position: relative;
  z-index: 3;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 8, 13, 0.55);
  backdrop-filter: blur(16px);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  width: max-content;
  padding: 0.7rem 0;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  animation: ticker 32s linear infinite;
}

.ticker i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--green));
  box-shadow: 0 0 12px rgba(20, 241, 149, 0.5);
}

header,
main,
footer,
.toast {
  position: relative;
  z-index: 2;
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  z-index: 12;
  background: linear-gradient(90deg, var(--purple), var(--cyan), var(--green));
  box-shadow: 0 0 16px rgba(20, 241, 149, 0.45);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--nav-h);
  padding: 0 4vw;
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}

.nav.is-scrolled {
  background: rgba(7, 8, 13, 0.72);
  border-color: var(--line);
  backdrop-filter: blur(22px);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.nav-brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 0 18px rgba(153, 69, 255, 0.35);
}

.nav-brand strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
}

.nav-brand small {
  color: var(--muted);
  letter-spacing: 0.22em;
  font-size: 0.64rem;
}

.nav-links {
  display: flex;
  gap: 1.6rem;
}

.nav-links a {
  font-size: 0.86rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--purple), var(--green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.icon-chip {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.icon-chip img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.icon-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(20, 241, 149, 0.45);
  box-shadow: 0 0 18px rgba(153, 69, 255, 0.25);
}

.menu-btn {
  display: none;
  width: 38px;
  height: 38px;
  place-items: center;
  gap: 6px;
}

.menu-btn span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
}

main {
  padding: 0 4vw 6rem;
}

.hero {
  min-height: calc(100vh - 132px);
  display: grid;
  grid-template-columns: 52px 1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2.5rem 0 4rem;
}

.hero-rail {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 420px;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.2rem;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.kicker img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 560;
  line-height: 0.86;
  letter-spacing: -0.04em;
}

.hero h1 em,
.hero h1 span {
  display: block;
}

.hero h1 em {
  font-style: italic;
  font-size: clamp(4.6rem, 11vw, 8.4rem);
  background: linear-gradient(115deg, #d7b8ff 0%, #9945ff 28%, #19d0ff 62%, #14f195 100%);
  background-size: 220% 220%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sheen 8s ease-in-out infinite;
}

.hero h1 span {
  font-size: clamp(3.4rem, 8vw, 6.2rem);
  color: var(--ink);
}

.lede {
  max-width: 34rem;
  margin: 1.5rem 0 1.8rem;
  color: #c8cddb;
  font-size: 1.15rem;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 52px;
  padding: 0 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.btn-fill {
  color: #06110c;
  background: linear-gradient(120deg, var(--green), var(--cyan) 48%, #c084fc);
  background-size: 180% 180%;
  animation: sheen 7s ease-in-out infinite;
  box-shadow: 0 0 28px rgba(20, 241, 149, 0.18);
}

.btn-line {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(153, 69, 255, 0.18);
}

.ca-bar {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: min(100%, 520px);
  margin-top: 1.4rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(12, 14, 22, 0.7);
  text-align: left;
}

.ca-bar small {
  color: var(--muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.64rem;
}

.ca-bar span {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.92rem;
}

.ca-bar b {
  color: var(--green);
  font-weight: 600;
}

.hero-seal {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 520px;
  perspective: 900px;
}

.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.12);
}

.orbit-a {
  width: 78%;
  height: 78%;
  animation: spin 22s linear infinite;
}

.orbit-b {
  width: 92%;
  height: 92%;
  border-color: rgba(153, 69, 255, 0.22);
  animation: spin 34s linear infinite reverse;
}

.orbit-c {
  width: 104%;
  height: 104%;
  border-style: solid;
  border-color: transparent;
  border-top-color: rgba(20, 241, 149, 0.45);
  border-right-color: rgba(153, 69, 255, 0.25);
  animation: spin 16s linear infinite;
}

.orbit::after {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 16px var(--green);
}

.seal-ring {
  position: relative;
  width: min(390px, 72vw);
  height: min(390px, 72vw);
  border-radius: 50%;
  padding: 8px;
  transform-style: preserve-3d;
  transition: transform 0.2s ease;
  box-shadow:
    0 0 60px rgba(153, 69, 255, 0.22),
    0 0 90px rgba(20, 241, 149, 0.12);
}

.seal-ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--purple), var(--cyan), var(--green), var(--purple));
  animation: spin 10s linear infinite;
}

.seal-ring img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: #07080d;
}

.seal-caption {
  position: absolute;
  bottom: 12px;
  display: flex;
  justify-content: space-between;
  width: min(390px, 72vw);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  color: var(--muted);
}

section {
  padding: 5.5rem 0 0;
}

.section-head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.index {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--green);
}

.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 560;
  letter-spacing: -0.03em;
}

.section-lead {
  max-width: 36rem;
  margin-bottom: 2rem;
  color: var(--muted);
}

.head-link {
  margin-left: auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem 3rem;
}

.about-grid blockquote {
  grid-column: 1 / -1;
  max-width: 18ch;
  font-family: var(--serif);
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-style: italic;
  line-height: 1.15;
  background: linear-gradient(120deg, #fff, #c084fc 40%, #14f195);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about-copy p {
  color: #c4c9d8;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.spec-list {
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
}

.spec-list span {
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.buy-rail {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  position: relative;
}

.buy-rail::before {
  content: "";
  position: absolute;
  top: 38px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--purple), var(--cyan), var(--green), transparent);
}

.buy-step {
  position: relative;
  padding: 1.4rem 1.2rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(12, 14, 22, 0.62);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.buy-step::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.05), transparent 80%);
  transform: translateX(-120%);
  animation: sweep 7s ease-in-out infinite;
}

.step-mark {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.3rem;
}

.step-mark img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 10px;
}

.step-mark span {
  color: var(--muted);
  letter-spacing: 0.16em;
  font-size: 0.72rem;
}

.buy-step h3 {
  margin-bottom: 0.7rem;
  font-size: 1.15rem;
}

.buy-step p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1rem;
  color: var(--green);
  font-weight: 600;
}

.text-link img {
  width: 14px;
  height: 14px;
}

.chart-frame {
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: rgba(8, 10, 16, 0.85);
  box-shadow: 0 0 0 1px rgba(153, 69, 255, 0.08), 0 30px 80px rgba(0, 0, 0, 0.28);
}

.chart-hud {
  display: flex;
  justify-content: space-between;
  padding: 0.85rem 1.1rem;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.chart-frame iframe {
  width: 100%;
  height: 680px;
  border: 0;
  background: #0d1117;
}

.press-plate {
  overflow: hidden;
  border-radius: 28px;
  padding: 1px;
  border: 0;
  background: linear-gradient(120deg, rgba(153, 69, 255, 0.85), rgba(25, 208, 255, 0.55), rgba(20, 241, 149, 0.8));
  box-shadow: 0 0 50px rgba(153, 69, 255, 0.16);
}

.press-plate img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  filter: saturate(1.08) contrast(1.04);
}

.press-plate figcaption {
  padding: 1.6rem 1.6rem 1.5rem;
  border-top: 1px solid var(--line);
  background: #07080d;
}

.press-plate p {
  max-width: 28rem;
  margin-bottom: 1rem;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-style: italic;
}

.join-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 2rem 4vw 2.4rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-brand strong,
.footer-brand span {
  display: block;
}

.footer-brand strong {
  color: var(--ink);
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.footer-links {
  display: flex;
  gap: 1.2rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links img {
  width: 14px;
  height: 14px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%) translateY(16px);
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(12, 14, 22, 0.92);
  border: 1px solid var(--line);
  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  animation: rise 0.9s ease forwards;
}

.buy-step:nth-child(2) { animation-delay: 0.1s; }
.buy-step:nth-child(3) { animation-delay: 0.2s; }
.buy-step:nth-child(4) { animation-delay: 0.3s; }

@keyframes sheen {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

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

@keyframes ticker {
  to { transform: translateX(-50%); }
}

@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 1%); }
  50% { transform: translate(1%, -2%); }
  75% { transform: translate(2%, 1%); }
}

@keyframes drift-a {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(8vw, 6vh); }
}

@keyframes drift-b {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-6vw, 8vh); }
}

@keyframes drift-c {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(4vw, -7vh); }
}

@keyframes sweep {
  0%, 70% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

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

  .hero-rail,
  .buy-rail::before {
    display: none;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 0.6rem 4vw 1rem;
    background: rgba(7, 8, 13, 0.95);
    border-bottom: 1px solid var(--line);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.8rem 0;
  }

  .menu-btn {
    display: grid;
  }

  .hero-seal {
    min-height: 420px;
  }

  .chart-frame iframe {
    height: 520px;
  }

}

@media (max-width: 640px) {
  .hero h1 em {
    font-size: 3.6rem;
  }

  .nav-brand small {
    display: none;
  }

  .icon-chip {
    width: 34px;
    height: 34px;
  }

  .ca-bar {
    flex-wrap: wrap;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .chart-frame iframe {
    height: 420px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
