/* Futuristic visual layer. All motion is optional; content works without JS. */
:root {
  --bg: #060a14;
  --panel: #0b1525;
  --panel-light: #112036;
  --line: #23334b;
  --cyan: #56f0ed;
  --violet: #ad91ff;
  --muted: #aab9cd;
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
}

body {
  background:
    radial-gradient(ellipse 760px 650px at 88% 8%, #5d3dc124, transparent 75%),
    radial-gradient(ellipse 780px 620px at 5% 12%, #00dacc13, transparent 75%),
    var(--bg);
}

.site-header {
  background: #070d1be8;
  border-bottom-color: #78c5ff24;
  box-shadow: 0 8px 50px #02061245;
}

.site-header::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, #56f0ed85 35%, #a58bff85 70%, transparent 95%);
  pointer-events: none;
}

.brand img { box-shadow: 0 0 24px #20b5ff30; }
.brand-dot { text-shadow: 0 0 12px #56f0ed; }
.desktop-nav a { position: relative; }
.desktop-nav a::after {
  content: "";
  position: absolute;
  height: 1px;
  bottom: -12px;
  left: 0;
  right: 0;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { transform: scaleX(1); }

.eyebrow, .panel-kicker, .plan-heading, .pill, .image-topline, .frame-coordinate,
.feature-number, .step-number, .promise-strip b, .motion-toggle {
  font-family: var(--mono);
}
.eyebrow { color: #80f8ed; letter-spacing: 2.1px; }
.status-dot { box-shadow: 0 0 12px #56f0ed99; }
.coral { box-shadow: 0 0 10px #ff817955; }

.hero { position: relative; isolation: isolate; padding-top: 74px; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0 -30px;
  z-index: -1;
  background-image: linear-gradient(#6696d30b 1px, transparent 1px), linear-gradient(90deg, #6696d30b 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, #0008, transparent 93%);
  pointer-events: none;
}

h1 {
  font-size: clamp(3.25rem, 5.6vw, 5.6rem);
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: -.055em;
  line-height: 1.04;
  text-shadow: 0 2px 30px #91dbff0f;
}
h1 span {
  background: linear-gradient(105deg, #59f8e6 4%, #72c5ff 35%, #c1a2ff 61%, #59f8e6 94%);
  background-size: 240% 100%;
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
}
.hero-description { color: #b2c2d5; }
.hero-note { font-family: var(--mono); }
.small-line { background: var(--cyan); box-shadow: 0 0 10px #56f0ed; }
.hero-visual {
  border: 1px solid #8bcbff60;
  border-radius: 14px 58px 14px 14px;
  box-shadow: 0 0 0 6px #80c9ff04, 0 0 0 7px #90bcff14, 0 24px 80px #060515a6, 0 0 60px #6572d51c;
}
.hero-photo { filter: saturate(.78); transform: scale(1.04); }
.hero-visual::after {
  background: linear-gradient(180deg, #06142d60, #0a18341a 35%, #040c1fee 100%);
}
.visual-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: linear-gradient(#83defb1c 1px, transparent 1px), linear-gradient(90deg, #83defb1c 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, transparent 25%, #000b);
}
.scan-beam {
  position: absolute;
  z-index: 2;
  inset: 0 0 auto;
  height: 30%;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(180deg, transparent 3%, #5cf9f106 80%, #5cf9f12c 99%, #82ffff99);
  transform: translateY(-100%);
}
.image-topline { z-index: 3; top: 28px; color: #bcfffa; }
.image-topline>span:last-child { color: #8cffef; text-shadow: 0 0 12px #56f0ed99; }
.image-caption { z-index: 3; bottom: 78px; }
.image-caption p { text-shadow: 0 3px 30px #030c20; }
.image-caption>span { font-family: var(--mono); font-size: 10px; letter-spacing: 1px; color: #b4e8e9; }
.image-credit { z-index: 3; bottom: 16px; }
.frame-coordinate {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 35px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 8px;
  letter-spacing: 1.7px;
  color: #b3d7e5;
}
.frame-coordinate::before { content: ""; width: 27px; height: 2px; background: var(--cyan); box-shadow: 0 0 15px #56f0ed; }
.frame-coordinate span { margin-left: auto; color: var(--cyan); }

.button {
  border-radius: 4px 12px 4px 4px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.button-primary {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(115deg, #56eedf, #85c4ff);
  border-color: #b6fff8b3;
  color: #041823;
  box-shadow: 0 0 24px #29dded20, inset 0 1px #ffffff70;
}
.button-primary::before {
  content: "";
  position: absolute;
  inset: -50% auto -50% -80%;
  width: 55%;
  z-index: -1;
  transform: skewX(-22deg);
  background: linear-gradient(90deg, transparent, #fff9, transparent);
  pointer-events: none;
}
.button-primary:hover { background: linear-gradient(115deg, #7bfff0, #b0daff); box-shadow: 0 0 35px #38dce445, 0 6px 24px #062b4a88; }
.button-outline { border-color: #586e93; background: #839cfa07; }
.button-outline:hover { border-color: #86d3f0; background: #7f9be01a; }
.text-link>span { color: var(--cyan); transition: transform .25s ease; }
.text-link:hover>span { transform: translate(3px, -2px); }
.promise-strip { background: linear-gradient(90deg, #28cce805, #937bfc0a, #28cce805); border-color: #487ca045; }
.promise-strip b { color: #80f8ed; }

.feature-tabs button[aria-selected=true] {
  border-image: linear-gradient(90deg, var(--cyan), var(--violet)) 1;
  background: linear-gradient(0deg, #6df7ef09, transparent 80%);
}
.feature-story {
  position: relative;
  background: radial-gradient(ellipse at 100% 0, #6854b72b, transparent 65%), linear-gradient(140deg, #0d2030, #0b1222);
  border-color: #6a9bc347;
  border-radius: 6px 30px 6px 6px;
  box-shadow: inset 0 1px #81dcff14;
}
.feature-story::before {
  content: "";
  position: absolute;
  width: 3px;
  height: 40px;
  left: -1px;
  top: 30px;
  background: var(--cyan);
  box-shadow: 0 0 18px #56f0ed66;
}
.feature-number { color: #aaa6ff; }
.feature-list article { transition: transform .3s ease; }
.feature-list article:hover { transform: translateX(6px); }

.coins-section {
  overflow: clip;
  background: radial-gradient(ellipse at 0 90%, #065d6620, transparent 65%), radial-gradient(ellipse at 90% 0, #624bc023, transparent 60%), #0a1120;
  border-color: #668baf3d;
}
.coins-section::before, .coins-section::after {
  content: "";
  position: absolute;
  width: 22%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #64e5f0aa, transparent);
  pointer-events: none;
}
.coins-section::before { top: -1px; left: 9%; }
.coins-section::after { bottom: -1px; right: 9%; background: linear-gradient(90deg, transparent, #ad91ffaa, transparent); }
.coins-plan { padding: 25px 30px; border: 1px solid #5e729049; border-radius: 6px 30px 6px 6px; background: #0a1427a3; }
.step-number { display: inline-flex; align-items: center; justify-content: center; height: 35px; min-width: 35px; padding: 0; border: 1px solid #54e2e05c; border-radius: 7px; background: #56f0ed07; box-shadow: inset 0 0 16px #56f0ed08; }
.coins-plan li { gap: 21px; }
.pill-coral { color: #ffb7b6; border-color: #b57d984f; background: #8a41641a; }
.filter-button[aria-pressed=true] { background: #1c2d43; border-color: #65bbcc7d; box-shadow: inset 0 1px #6ef8ff14; }
.product-image-button { border-radius: 7px 24px 7px 7px; border-color: #75a0cb42; transition: box-shadow .3s, border-color .3s; }
.product-image-button:hover { border-color: #6df4ec99; box-shadow: 0 0 30px #5bf9ef15; }
.product-image-button .pill { border-color: #93c1df6e; background: #071323e8; color: #cdedef; }
.product-link { color: var(--cyan); }
.faq-list details[open] { border-bottom-color: #59d5e18a; }
.faq-list details[open] summary { color: #8df8ed; }
.closing { position: relative; background: radial-gradient(ellipse at 60% 0, #6256b51a, transparent 65%); }
.site-dialog { background: radial-gradient(ellipse at 90% 0, #6a50ae20, transparent 65%), #0b1727; border-color: #6491ba7a; box-shadow: 0 0 0 5px #79c9ff07, 0 24px 120px #000c; }
.site-dialog::backdrop { background: #020615d9; }

.motion-toggle {
  position: fixed;
  z-index: 25;
  bottom: 20px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 40px;
  min-width: 126px;
  padding: 10px 13px;
  font-size: 10px;
  color: #c3f6f2;
  background: #0b1529f5;
  border: 1px solid #67c5df66;
  border-radius: 5px;
  box-shadow: 0 3px 24px #0006;
}
.motion-toggle::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #8d9bb3; }
.motion-enabled .motion-toggle::before { background: var(--cyan); box-shadow: 0 0 9px var(--cyan); }
.motion-toggle:hover { border-color: var(--cyan); }
.motion-toggle:disabled { color: #b5c4d6; opacity: .85; }

/* Animation is scoped to explicit enabled state, including hover movement. */
.motion-enabled h1 span { animation: spectrum-flow 9s ease-in-out infinite alternate; }
.motion-enabled .hero-photo { animation: journey-drift 22s ease-in-out infinite alternate; }
.motion-enabled .scan-beam { animation: scan-pass 10s linear infinite; }
.motion-enabled .status-dot { animation: signal-breathe 3.6s ease-in-out infinite; }
.motion-enabled .button-primary::before { animation: button-sheen 8s ease-in-out infinite; }
.motion-enabled .coins-section::before { animation: border-trace 12s ease-in-out infinite alternate; }
.motion-enabled .coins-section::after { animation: border-trace-return 14s ease-in-out infinite alternate; }
.motion-enabled .hero-copy>.eyebrow { animation: intro-rise .8s ease-out both; }
.motion-enabled h1 { animation: intro-rise .85s .08s ease-out both; }
.motion-enabled .hero-description { animation: intro-rise .85s .18s ease-out both; }
.motion-enabled .hero-actions { animation: intro-rise .85s .28s ease-out both; }
.motion-enabled .hero-note { animation: intro-rise .85s .38s ease-out both; }
.motion-enabled .site-dialog[open] { animation: dialog-arrive .25s ease-out both; }
.motion-enabled .reveal-ready { transition: opacity .8s ease, transform .8s cubic-bezier(.16,1,.3,1); }
.motion-enabled .reveal-ready:not(.is-visible):not(:focus-within) { opacity: 0; transform: translateY(25px); }
.motion-enabled .reveal-ready.is-visible { opacity: 1; transform: none; }

@keyframes spectrum-flow { from { background-position: 0 50%; } to { background-position: 100% 50%; } }
@keyframes journey-drift { from { transform: scale(1.04) translateX(-.5%); } to { transform: scale(1.12) translateX(1.2%); } }
@keyframes scan-pass { 0% { transform: translateY(-100%); opacity: 0; } 12% { opacity: .7; } 65% { opacity: .45; } 85%,100% { transform: translateY(440%); opacity: 0; } }
@keyframes signal-breathe { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .55; transform: scale(.8); } }
@keyframes button-sheen { 0%,70% { transform: translateX(0) skewX(-22deg); } 90%,100% { transform: translateX(480%) skewX(-22deg); } }
@keyframes border-trace { from { transform: translateX(0); } to { transform: translateX(190%); } }
@keyframes border-trace-return { from { transform: translateX(0); } to { transform: translateX(-190%); } }
@keyframes intro-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes dialog-arrive { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: none; } }

/* Pausing makes every section immediately visible, without a moving exit. */
:root:not(.motion-enabled) { scroll-behavior: auto; }
:root:not(.motion-enabled) *, :root:not(.motion-enabled) *::before, :root:not(.motion-enabled) *::after {
  animation-play-state: paused !important;
  transition: none !important;
}
:root:not(.motion-enabled) .reveal-ready { opacity: 1; transform: none; }
:root:not(.motion-enabled) .button:hover,
:root:not(.motion-enabled) .feature-list article:hover,
:root:not(.motion-enabled) .text-link:hover>span,
:root:not(.motion-enabled) .product-image-button:hover img { transform: none; }
.page-hidden *, .page-hidden *::before, .page-hidden *::after { animation-play-state: paused !important; }

@media(max-width: 1100px) {
  h1 { font-size: clamp(3.2rem, 5.5vw, 5rem); }
  .coins-plan { padding: 22px; }
  .coins-layout { gap: 36px; }
}
@media(max-width: 820px) {
  h1 { font-size: clamp(3.4rem, 8.8vw, 5.5rem); }
  .hero { padding-top: 50px; }
  .hero::before { inset-inline: 0; }
  .coins-plan { padding: 21px; }
  .coins-plan li { gap: 15px; }
}
@media(max-width: 560px) {
  h1 { font-size: clamp(2.7rem, 11.1vw, 3.7rem); }
  .hero { padding-top: 42px; }
  .hero-visual { border-top-right-radius: 40px; }
  .image-caption { bottom: 72px; }
  .image-caption p { font-size: 33px; }
  .image-topline { top: 20px; }
  .frame-coordinate { left: 23px; right: 23px; font-size: 7px; }
  .coins-plan { padding: 24px 20px; }
  .motion-toggle { right: 12px; bottom: 12px; min-width: 116px; min-height: 38px; font-size: 9px; }
  .site-footer { padding-bottom: 74px; }
}
@media(prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-ready { opacity: 1 !important; transform: none !important; }
  .button:hover, .feature-list article:hover, .text-link:hover>span, .product-image-button:hover img { transform: none !important; }
}
@media(max-width: 360px) {
  .hero-actions { flex-wrap: wrap; gap: 18px; }
  .hero-actions .button, .hero-actions .text-link { white-space: nowrap; flex-shrink: 0; }
}
@media(prefers-contrast: more) {
  :root { --muted: #d5e1e8; --line: #8397a5; }
  h1 span { color: var(--cyan); background: none; }
}
