:root {
  color-scheme: dark;
  --bg: #05060b;
  --bg-2: #090a12;
  --panel: rgba(12, 14, 24, 0.78);
  --panel-strong: rgba(14, 17, 28, 0.94);
  --card: rgba(255, 255, 255, 0.055);
  --line: rgba(162, 121, 255, 0.22);
  --line-strong: rgba(103, 217, 255, 0.36);
  --text: #f8f7ff;
  --muted: #b9b4c7;
  --soft: #89849a;
  --purple: #a855f7;
  --violet: #6d5dfc;
  --cyan: #35d6ff;
  --green: #36d399;
  --warning: #f4bf63;
  --danger: #ff6b7a;
  --radius: 18px;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.44);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(5, 6, 11, 0.86), rgba(5, 6, 11, 0.96)),
    url("assets/byteswap_site_bg.jpg") center top / cover fixed,
    #05060b;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent, black 18%, black 70%, transparent);
  animation: gridDrift 28s linear infinite;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 18%, rgba(168, 85, 247, 0.14), transparent 23%),
    radial-gradient(circle at 88% 12%, rgba(53, 214, 255, 0.10), transparent 24%),
    linear-gradient(90deg, rgba(255,255,255,0.018), transparent 18%, transparent 82%, rgba(255,255,255,0.018));
  opacity: 0.92;
}

.scroll-progress {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 100;
  width: 100%;
  height: 3px;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.035);
}

.scroll-progress span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(90deg, var(--purple), var(--cyan));
  box-shadow:
    0 0 12px rgba(168, 85, 247, 0.60),
    0 0 18px rgba(53, 214, 255, 0.36);
  transform-origin: left center;
  transition: width 90ms linear;
}

a { color: inherit; }
.shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  padding: 0 max(20px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(162, 121, 255, 0.14);
  background: rgba(5, 6, 11, 0.78);
  backdrop-filter: blur(20px);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.16);
}

.site-header::after {
  content: "";
  position: absolute;
  left: max(20px, calc((100vw - 1180px) / 2));
  right: max(20px, calc((100vw - 1180px) / 2));
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.62), rgba(53, 214, 255, 0.48), transparent);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 900;
  text-decoration: none;
}

.brand img,
.footer-brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(168, 85, 247, 0.45));
  animation: logoBreathe 5.2s ease-in-out infinite;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

nav a:hover,
nav a.active {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 22px rgba(168, 85, 247, 0.12);
  transform: translateY(-1px);
}

nav a.discord-link {
  border-color: rgba(53, 214, 255, 0.28);
  color: #dff8ff;
}

nav a.discord-link:hover {
  border-color: rgba(53, 214, 255, 0.56);
  box-shadow: 0 0 28px rgba(53, 214, 255, 0.18);
}

.home-hero {
  min-height: min(780px, calc(100vh - 76px));
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(162, 121, 255, 0.12);
  background:
    radial-gradient(circle at 78% 26%, rgba(132, 56, 255, 0.28), transparent 32%),
    radial-gradient(circle at 88% 72%, rgba(53, 214, 255, 0.14), transparent 26%),
    linear-gradient(135deg, rgba(8, 10, 19, 0.98), rgba(5, 6, 11, 0.96) 58%, rgba(4, 5, 10, 1));
  background-size: 120% 120%, 120% 120%, 100% 100%;
  animation: auroraShift 14s ease-in-out infinite alternate;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 170px;
  background: linear-gradient(to bottom, transparent, rgba(5, 6, 11, 0.96));
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 44%, rgba(255,255,255,0.05) 48%, transparent 54% 100%),
    radial-gradient(circle at 24% 72%, rgba(168,85,247,0.14), transparent 28%);
  opacity: 0.78;
  transform: translateX(-30%);
  animation: heroSweep 12s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.78fr);
  align-items: center;
  gap: clamp(34px, 6vw, 90px);
  padding: 88px 0 86px;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p { margin: 0; }

h1,
h2,
h3 { color: var(--text); }

h1 {
  max-width: 860px;
  font-size: clamp(48px, 7.6vw, 94px);
  line-height: 0.94;
}

h2 {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.02;
}

h3 { font-size: 20px; }

p {
  color: var(--muted);
  line-height: 1.62;
}

.lead {
  max-width: 700px;
  margin-top: 22px;
  font-size: 19px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary,
.secondary,
.small-button {
  position: relative;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 0 18px;
  color: var(--text);
  font: inherit;
  font-weight: 850;
  text-decoration: none;
  overflow: hidden;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.primary {
  border: 0;
  background: linear-gradient(135deg, var(--purple), var(--violet) 52%, #27c9d8);
  box-shadow: 0 20px 46px rgba(109, 93, 252, 0.34);
}

.primary::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 -85%;
  width: 65%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  transform: skewX(-18deg);
  transition: left 520ms ease;
}

.secondary,
.small-button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.primary:hover,
.secondary:hover,
.small-button:hover {
  transform: translateY(-2px);
}

.primary:hover {
  box-shadow: 0 24px 62px rgba(109, 93, 252, 0.46), 0 0 30px rgba(53, 214, 255, 0.2);
}

.primary:hover::before {
  left: 125%;
}

.secondary:hover,
.small-button:hover {
  border-color: rgba(53, 214, 255, 0.38);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
}

.hero-metrics,
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.hero-metrics {
  margin-top: 34px;
  max-width: 820px;
}

.hero-proof-panel {
  position: relative;
  isolation: isolate;
  border: 1px solid rgba(162, 121, 255, 0.22);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.026)),
    rgba(7, 9, 18, 0.72);
  box-shadow:
    0 32px 90px rgba(0, 0, 0, 0.42),
    0 0 70px rgba(132, 56, 255, 0.18);
  padding: clamp(24px, 3vw, 34px);
  overflow: hidden;
  animation: panelFloat 7s ease-in-out infinite;
}

.hero-proof-panel::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: 27px;
  background:
    radial-gradient(circle at 30% 0%, rgba(178, 71, 255, 0.2), transparent 32%),
    radial-gradient(circle at 78% 18%, rgba(53, 214, 255, 0.14), transparent 28%);
}

.proof-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.proof-kicker::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 24px rgba(53, 214, 255, 0.7);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.proof-item {
  min-width: 0;
  text-align: center;
}

.proof-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  color: #f7f4ff;
  filter: drop-shadow(0 0 18px rgba(133, 70, 255, 0.42));
  animation: iconFloat 4.8s ease-in-out infinite;
}

.proof-item:nth-child(2) .proof-icon { animation-delay: 300ms; }
.proof-item:nth-child(3) .proof-icon { animation-delay: 600ms; }

.proof-icon svg {
  width: 52px;
  height: 52px;
}

.proof-icon.fast {
  color: #943cff;
}

.proof-icon.trusted {
  color: #8d38ff;
}

.proof-icon.secure {
  color: #2878ff;
}

.proof-item h3 {
  margin-bottom: 8px;
  font-size: 22px;
}

.proof-item p {
  color: #a9a8b8;
  font-size: 14px;
  line-height: 1.45;
}

.proof-footer {
  margin-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding-top: 18px;
  color: #d8d8e5;
  font-size: 14px;
  line-height: 1.55;
}

.command-surface {
  position: relative;
  isolation: isolate;
  min-height: 560px;
  border: 1px solid rgba(162, 121, 255, 0.28);
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 40%, rgba(168, 85, 247, 0.24), transparent 32%),
    radial-gradient(circle at 76% 64%, rgba(53, 214, 255, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,0.082), rgba(255,255,255,0.024)),
    rgba(7, 9, 18, 0.80);
  box-shadow:
    0 36px 110px rgba(0, 0, 0, 0.48),
    0 0 90px rgba(132, 56, 255, 0.22);
  overflow: hidden;
  padding: 26px;
  animation: panelFloat 7s ease-in-out infinite;
}

.command-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.026) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at center, black, transparent 72%);
  animation: gridDrift 16s linear infinite;
}

.command-surface::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 0 42%, rgba(255,255,255,0.08) 48%, transparent 56% 100%);
  transform: translateX(-130%);
  animation: surfaceScan 6.4s ease-in-out infinite;
}

.surface-orbit {
  position: absolute;
  inset: 70px 46px 112px;
  opacity: 0.7;
}

.surface-orbit span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(53, 214, 255, 0.18);
  border-radius: 50%;
  transform: rotate(var(--r, 0deg)) scale(var(--s, 1));
  animation: orbitSpin 18s linear infinite;
}

.surface-orbit span:nth-child(2) { --r: 62deg; --s: .72; animation-duration: 24s; animation-direction: reverse; }
.surface-orbit span:nth-child(3) { --r: -36deg; --s: .48; animation-duration: 14s; }

.surface-topline,
.surface-terminal,
.surface-row {
  position: relative;
  z-index: 2;
}

.surface-topline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}

.surface-kicker {
  display: block;
  margin-bottom: 6px;
  color: var(--soft);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.surface-topline strong {
  display: block;
  font-size: 23px;
}

.surface-status {
  border: 1px solid rgba(53, 214, 255, 0.28);
  border-radius: 999px;
  background: rgba(53, 214, 255, 0.10);
  padding: 8px 10px;
  color: #dff8ff;
  font-size: 12px;
  font-weight: 900;
}

.surface-core {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  height: 265px;
}

.surface-core img {
  width: min(210px, 56%);
  filter: drop-shadow(0 0 42px rgba(168, 85, 247, 0.42));
  animation: logoBreathe 5.2s ease-in-out infinite;
}

.surface-ring {
  position: absolute;
  border: 1px solid rgba(53, 214, 255, 0.24);
  border-radius: 50%;
  pointer-events: none;
}

.ring-one {
  width: 260px;
  height: 260px;
  animation: orbitSpin 18s linear infinite;
}

.ring-two {
  width: 190px;
  height: 190px;
  border-color: rgba(168, 85, 247, 0.28);
  animation: orbitSpin 12s linear infinite reverse;
}

.surface-rows {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 10px;
}

.surface-row {
  display: grid;
  grid-template-columns: 1fr auto 42px;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(162, 121, 255, 0.18);
  border-radius: 16px;
  background: rgba(5, 7, 14, 0.56);
  padding: 12px;
}

.surface-row span {
  color: var(--soft);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.surface-row strong {
  color: var(--text);
}

.surface-row i {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--purple), var(--cyan));
  box-shadow: 0 0 18px rgba(53, 214, 255, 0.32);
}

.surface-terminal {
  margin-top: 16px;
  border: 1px solid rgba(53, 214, 255, 0.18);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.28);
  padding: 14px;
}

.surface-terminal span {
  display: block;
  margin-bottom: 6px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.surface-terminal code {
  color: #edf7ff;
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
}

.command-strip {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 22px;
  align-items: stretch;
  margin-top: -34px;
  position: relative;
  z-index: 3;
}

.command-copy {
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(168, 85, 247, 0.18), rgba(53, 214, 255, 0.055)),
    rgba(8, 11, 22, 0.82);
  padding: clamp(24px, 3vw, 34px);
  box-shadow: 0 28px 78px rgba(0, 0, 0, 0.34);
}

.command-copy h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4.2vw, 48px);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.signal-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(162, 121, 255, 0.22);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.064), rgba(255, 255, 255, 0.026)),
    rgba(8, 11, 22, 0.82);
  padding: 20px;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.26);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.signal-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 16% 10%, rgba(53, 214, 255, 0.12), transparent 34%);
}

.signal-card:hover {
  transform: translateY(-3px);
  border-color: rgba(53, 214, 255, 0.36);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.36), 0 0 32px rgba(168, 85, 247, 0.10);
}

.signal-card span {
  display: inline-flex;
  margin-bottom: 18px;
  border: 1px solid rgba(53, 214, 255, 0.30);
  border-radius: 999px;
  background: rgba(53, 214, 255, 0.10);
  padding: 6px 9px;
  color: #dff8ff;
  font-size: 12px;
  font-weight: 950;
}

.signal-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 18px;
}

.app-preview-section {
  position: relative;
}

.app-preview-frame {
  position: relative;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 0;
  min-height: 560px;
  border: 1px solid rgba(162, 121, 255, 0.28);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.078), rgba(255,255,255,0.025)),
    rgba(6, 9, 18, 0.86);
  box-shadow:
    0 38px 118px rgba(0, 0, 0, 0.46),
    0 0 90px rgba(132, 56, 255, 0.16);
  overflow: hidden;
}

.app-preview-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 32% 18%, rgba(168, 85, 247, 0.16), transparent 30%),
    radial-gradient(circle at 88% 74%, rgba(53, 214, 255, 0.10), transparent 26%);
}

.preview-sidebar,
.preview-main {
  position: relative;
  z-index: 1;
}

.preview-sidebar {
  border-right: 1px solid rgba(162, 121, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(18, 24, 42, 0.94), rgba(7, 10, 18, 0.96)),
    rgba(5, 7, 14, 0.92);
  padding: 20px 16px;
}

.preview-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(162, 121, 255, 0.22);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(168,85,247,0.20), rgba(53,214,255,0.08));
  padding: 13px;
}

.preview-brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(168, 85, 247, 0.42));
}

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

.preview-brand strong {
  color: var(--text);
  font-size: 15px;
}

.preview-brand span {
  margin-top: 3px;
  color: var(--soft);
  font-size: 12px;
  font-weight: 800;
}

.preview-nav {
  display: grid;
  gap: 9px;
  margin-top: 22px;
}

.preview-nav span {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 10px;
  color: #b8c2d8;
  font-size: 13px;
  font-weight: 850;
}

.preview-nav span.active {
  border-color: rgba(96, 165, 250, 0.54);
  background: linear-gradient(90deg, rgba(124,58,237,0.28), rgba(35,211,195,0.10));
  color: #fff;
  box-shadow: 0 0 28px rgba(124, 58, 237, 0.18);
}

.preview-nav i {
  display: grid;
  place-items: center;
  width: 32px;
  height: 26px;
  border: 1px solid rgba(53, 214, 255, 0.24);
  border-radius: 9px;
  background: rgba(53, 214, 255, 0.08);
  color: #dff8ff;
  font-style: normal;
  font-size: 11px;
  font-weight: 950;
}

.preview-bot-status {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(54, 211, 153, 0.22);
  border-radius: 14px;
  background: rgba(54, 211, 153, 0.08);
  padding: 12px;
  color: #c7ffe4;
  font-size: 13px;
  font-weight: 900;
}

.preview-bot-status span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 18px rgba(54, 211, 153, 0.72);
  animation: statusPulse 1.9s ease-in-out infinite;
}

.preview-main {
  padding: 22px;
}

.preview-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}

.preview-topbar strong {
  display: block;
  color: var(--text);
  font-size: clamp(24px, 3vw, 34px);
}

.preview-version {
  border: 1px solid rgba(54, 211, 153, 0.26);
  border-radius: 999px;
  background: rgba(54, 211, 153, 0.08);
  padding: 8px 11px;
  color: #c7ffe4;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.preview-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.preview-stat {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(162, 121, 255, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  padding: 16px;
}

.preview-stat::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--cyan);
}

.preview-stat.payment::before { background: var(--green); }
.preview-stat.ticket::before { background: var(--cyan); }
.preview-stat.system::before { background: var(--purple); }

.preview-stat span,
.preview-stat small {
  display: block;
  color: var(--soft);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.preview-stat strong {
  display: block;
  margin: 12px 0 8px;
  color: var(--text);
  font-size: 26px;
}

.preview-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 285px;
  gap: 14px;
}

.preview-table,
.preview-notifications {
  border: 1px solid rgba(162, 121, 255, 0.18);
  border-radius: 20px;
  background: rgba(5, 7, 14, 0.50);
  overflow: hidden;
}

.preview-table-head,
.preview-row {
  display: grid;
  grid-template-columns: 1.2fr .95fr .8fr;
  gap: 12px;
  align-items: center;
  padding: 15px 16px;
}

.preview-table-head {
  background: rgba(255, 255, 255, 0.045);
  color: var(--soft);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.preview-row {
  border-top: 1px solid rgba(162, 121, 255, 0.12);
  color: #dce6f8;
}

.preview-row.active {
  background: linear-gradient(90deg, rgba(53, 214, 255, 0.16), rgba(168, 85, 247, 0.06));
  animation: rowGlow 2.8s ease-in-out infinite;
}

.preview-row strong {
  color: var(--cyan);
}

.preview-notifications {
  padding: 14px;
}

.preview-notification-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.preview-notification-head span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(53, 214, 255, 0.14);
  color: #dff8ff;
  font-weight: 950;
}

.preview-note {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 11px;
  border: 1px solid rgba(162, 121, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  padding: 12px;
  margin-top: 10px;
}

.preview-note i {
  width: 9px;
  height: 9px;
  margin-top: 5px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 16px currentColor;
}

.preview-note.success i { background: var(--green); }
.preview-note.warning i { background: var(--warning); }
.preview-note.info i { background: var(--cyan); }

.preview-note strong {
  display: block;
  color: var(--text);
  font-size: 13px;
}

.preview-note p {
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.4;
}

.metric,
.card,
.download-card,
.status-card,
.vouch-card,
.legal-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.026)),
    var(--panel);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.metric,
.card,
.download-card,
.status-card,
.vouch-card,
.legal-card,
.release-body,
.history-card {
  position: relative;
  overflow: hidden;
}

.metric::after,
.card::after,
.download-card::after,
.status-card::after,
.vouch-card::after,
.legal-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,0.07), transparent 36%);
  opacity: 0;
  transition: opacity 180ms ease;
}

.metric:hover::after,
.card:hover::after,
.download-card:hover::after,
.status-card:hover::after,
.vouch-card:hover::after,
.legal-card:hover::after {
  opacity: 1;
}

.metric:hover,
.card:hover,
.download-card:hover,
.status-card:hover,
.vouch-card:hover,
.legal-card:hover {
  transform: translateY(-3px);
  border-color: rgba(53, 214, 255, 0.34);
  box-shadow:
    0 28px 86px rgba(0, 0, 0, 0.46),
    0 0 34px rgba(132, 56, 255, 0.13);
}

.metric {
  padding: 16px;
  box-shadow: none;
}

.metric span,
.card-label {
  display: block;
  margin-bottom: 8px;
  color: var(--soft);
  font-size: 12px;
  font-weight: 860;
  text-transform: uppercase;
}

.metric strong {
  display: block;
  font-size: 19px;
}

.section {
  padding: 54px 0;
}

.section-heading {
  max-width: 790px;
  margin-bottom: 22px;
}

.section-heading p {
  margin-top: 12px;
}

.page-hero {
  padding: 84px 0 38px;
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(42px, 6vw, 76px);
}

.visual-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
  gap: clamp(26px, 5vw, 74px);
  align-items: center;
}

.hero-visual {
  position: relative;
  isolation: isolate;
  min-height: 330px;
  border: 1px solid rgba(162, 121, 255, 0.28);
  border-radius: 28px;
  background:
    radial-gradient(circle at 30% 18%, rgba(168, 85, 247, 0.18), transparent 28%),
    radial-gradient(circle at 82% 76%, rgba(53, 214, 255, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,0.072), rgba(255,255,255,0.024)),
    rgba(7, 9, 18, 0.80);
  box-shadow: 0 32px 98px rgba(0, 0, 0, 0.38), 0 0 70px rgba(132, 56, 255, 0.14);
  overflow: hidden;
  padding: 24px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.020) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(circle at center, black, transparent 76%);
}

.package-card-top,
.package-lines,
.package-checks,
.package-update-pill,
.ticket-preview-card,
.flow-path,
.session-stack,
.security-beam,
.map-core,
.map-node,
.applicant-card,
.pipeline,
.review-notes {
  position: relative;
  z-index: 2;
}

.package-visual {
  display: grid;
  align-content: center;
  gap: 18px;
}

.package-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(53, 214, 255, 0.20);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.20);
  padding: 15px;
}

.package-card-top img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.44));
}

.package-card-top span,
.package-checks span,
.ticket-preview-head span,
.ticket-preview-body span,
.session-stack span,
.applicant-card span,
.review-notes span {
  display: block;
  color: var(--soft);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.package-card-top strong,
.ticket-preview-head strong,
.ticket-preview-body strong,
.session-stack strong,
.applicant-card strong,
.review-notes strong {
  display: block;
  margin-top: 5px;
  color: var(--text);
}

.package-lines {
  display: grid;
  gap: 10px;
}

.package-lines span {
  width: var(--w);
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(168,85,247,0.62), rgba(53,214,255,0.52));
  box-shadow: 0 0 18px rgba(53, 214, 255, 0.14);
  animation: lineLoad 3.4s ease-in-out infinite;
}

.package-lines span:nth-child(2) { animation-delay: 220ms; }
.package-lines span:nth-child(3) { animation-delay: 440ms; }

.package-checks {
  display: grid;
  gap: 10px;
}

.package-checks div {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(54, 211, 153, 0.16);
  border-radius: 14px;
  background: rgba(54, 211, 153, 0.06);
  padding: 11px;
}

.package-checks i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 18px rgba(54, 211, 153, 0.62);
}

.package-update-pill {
  width: fit-content;
  border: 1px solid rgba(53, 214, 255, 0.24);
  border-radius: 999px;
  background: rgba(53, 214, 255, 0.09);
  padding: 9px 12px;
  color: #dff8ff;
  font-size: 12px;
  font-weight: 950;
}

.ticket-flow-visual {
  display: grid;
  align-content: center;
  gap: 22px;
}

.ticket-preview-card {
  border: 1px solid rgba(53, 214, 255, 0.24);
  border-left: 4px solid var(--cyan);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.24);
  padding: 18px;
  box-shadow: 0 0 34px rgba(53, 214, 255, 0.08);
}

.ticket-preview-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.ticket-preview-head strong {
  color: var(--cyan);
}

.ticket-preview-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.ticket-preview-body div {
  border: 1px solid rgba(162, 121, 255, 0.16);
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  padding: 12px;
}

.flow-path {
  display: grid;
  gap: 12px;
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--soft);
  font-weight: 900;
}

.flow-step i {
  width: 18px;
  height: 18px;
  border: 1px solid rgba(162, 121, 255, 0.28);
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
}

.flow-step.active i {
  border-color: rgba(54, 211, 153, 0.56);
  background: var(--green);
  box-shadow: 0 0 18px rgba(54, 211, 153, 0.44);
}

.security-visual {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 18px;
}

.lock-shell {
  position: relative;
  z-index: 2;
  width: 142px;
  height: 150px;
}

.lock-shackle {
  position: absolute;
  left: 31px;
  top: 0;
  width: 80px;
  height: 82px;
  border: 13px solid #67e8f9;
  border-bottom: 0;
  border-radius: 44px 44px 0 0;
  filter: drop-shadow(0 0 24px rgba(53, 214, 255, 0.40));
}

.lock-body {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  height: 94px;
  border: 1px solid rgba(53, 214, 255, 0.42);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(168,85,247,0.72), rgba(53,214,255,0.36));
  box-shadow: 0 0 44px rgba(168, 85, 247, 0.28);
}

.lock-body span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255,255,255,0.88);
  transform: translate(-50%, -36%);
}

.session-stack {
  width: 100%;
  display: grid;
  gap: 10px;
}

.session-stack div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(162, 121, 255, 0.16);
  border-radius: 14px;
  background: rgba(0,0,0,0.20);
  padding: 12px;
}

.security-beam {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 0 42%, rgba(53,214,255,0.10) 48%, transparent 56%);
  animation: surfaceScan 5.2s ease-in-out infinite;
}

.backend-map-visual {
  min-height: 360px;
}

.map-lines {
  position: absolute;
  inset: 18px;
  width: calc(100% - 36px);
  height: calc(100% - 36px);
  z-index: 1;
}

.map-lines path {
  fill: none;
  stroke: rgba(53, 214, 255, 0.34);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 8 10;
  animation: dashFlow 3.8s linear infinite;
}

.map-core {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 126px;
  height: 126px;
  border: 1px solid rgba(53, 214, 255, 0.28);
  border-radius: 30px;
  background: rgba(8, 11, 22, 0.86);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 48px rgba(168, 85, 247, 0.26);
}

.map-core img {
  width: 66px;
  height: 66px;
  object-fit: contain;
}

.map-core span {
  color: #dff8ff;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.map-node {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 74px;
  height: 50px;
  border: 1px solid rgba(162, 121, 255, 0.24);
  border-radius: 16px;
  background: rgba(255,255,255,0.055);
  color: var(--text);
  font-weight: 950;
  box-shadow: 0 0 26px rgba(53, 214, 255, 0.10);
}

.node-a { left: 28px; top: 38px; }
.node-b { right: 28px; top: 38px; }
.node-c { left: 28px; bottom: 38px; }
.node-d { right: 28px; bottom: 38px; }

.applicant-visual {
  display: grid;
  align-content: center;
  gap: 16px;
}

.applicant-card,
.review-notes {
  border: 1px solid rgba(162, 121, 255, 0.18);
  border-radius: 18px;
  background: rgba(0,0,0,0.22);
  padding: 16px;
}

.applicant-card p {
  margin-top: 7px;
  font-size: 13px;
}

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

.pipeline-step {
  position: relative;
  border: 1px solid rgba(162, 121, 255, 0.18);
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  padding: 12px 14px 12px 42px;
  color: var(--soft);
  font-weight: 900;
}

.pipeline-step::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(162, 121, 255, 0.34);
  border-radius: 999px;
  transform: translateY(-50%);
}

.pipeline-step.done::before,
.pipeline-step.active::before {
  border-color: rgba(54, 211, 153, 0.56);
  background: var(--green);
  box-shadow: 0 0 16px rgba(54, 211, 153, 0.38);
}

.pipeline-step.active {
  color: var(--text);
  border-color: rgba(53, 214, 255, 0.28);
  background: rgba(53, 214, 255, 0.08);
}

.grid-2,
.grid-3,
.grid-4,
.download-grid,
.status-board,
.vouch-grid,
.faq-list {
  display: grid;
  gap: 16px;
}

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3,
.status-board { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4,
.stat-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.download-grid { grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr); }
.vouch-grid,
.faq-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card,
.download-card,
.status-card,
.vouch-card,
.legal-card {
  padding: 24px;
}

.card h3,
.download-card h2,
.status-card h2,
.vouch-card h2,
.legal-card h2 {
  margin-bottom: 10px;
}

.card p + .check-list,
.download-card p + .check-list {
  margin-top: 18px;
}

.feature-icon {
  position: relative;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border: 1px solid rgba(53, 214, 255, 0.28);
  border-radius: 17px;
  background:
    radial-gradient(circle at 30% 24%, rgba(255,255,255,0.22), transparent 18%),
    linear-gradient(135deg, rgba(168,85,247,0.44), rgba(53,214,255,0.20));
  color: var(--cyan);
  box-shadow: inset 0 0 18px rgba(53, 214, 255, 0.06), 0 0 22px rgba(53, 214, 255, 0.10);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 28px;
  align-items: start;
}

.panel-stack {
  display: grid;
  gap: 12px;
}

.mini-panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  padding: 18px;
}

.mini-panel span {
  display: block;
  margin-bottom: 6px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 760;
}

.mini-panel strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 16px;
}

.check-list,
.command-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.command-list li {
  border-top: 1px solid rgba(162, 121, 255, 0.15);
  padding: 12px 0;
  color: var(--muted);
}

.command-list code {
  display: inline-flex;
  min-width: 120px;
  color: var(--text);
  font-family: Consolas, "Courier New", monospace;
}

.download-card.large {
  min-height: 380px;
}

.release-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0 2px;
}

.release-summary-grid div {
  border: 1px solid rgba(162, 121, 255, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  padding: 13px;
}

.release-summary-grid span {
  display: block;
  margin-bottom: 5px;
  color: var(--soft);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.release-summary-grid strong {
  display: block;
  color: var(--text);
  font-size: 14px;
}

.release-product-card {
  display: grid;
  gap: 18px;
}

.release-card-header {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(162, 121, 255, 0.16);
}

.release-app-icon {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border: 1px solid rgba(53, 214, 255, 0.24);
  border-radius: 20px;
  background:
    radial-gradient(circle at 38% 28%, rgba(168, 85, 247, 0.22), transparent 42%),
    rgba(0, 0, 0, 0.22);
  padding: 10px;
  filter: drop-shadow(0 0 24px rgba(168, 85, 247, 0.34));
}

.release-version-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border: 1px solid rgba(53, 214, 255, 0.30);
  border-radius: 999px;
  background: rgba(53, 214, 255, 0.10);
  padding: 0 13px;
  color: #dff8ff;
  font-size: 13px;
  font-weight: 950;
  white-space: nowrap;
  box-shadow: 0 0 24px rgba(53, 214, 255, 0.08);
}

.release-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.release-meta-grid div,
.release-checksum-card,
.release-step,
.release-safety-list div {
  border: 1px solid rgba(162, 121, 255, 0.16);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.20);
}

.release-meta-grid div {
  min-height: 86px;
  padding: 14px;
}

.release-meta-grid span,
.release-checksum-card span {
  display: block;
  margin-bottom: 7px;
  color: var(--soft);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.release-meta-grid strong {
  display: block;
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: 15px;
}

.release-checksum-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 15px;
  border-color: rgba(53, 214, 255, 0.20);
  background:
    linear-gradient(90deg, rgba(53, 214, 255, 0.06), transparent),
    rgba(0, 0, 0, 0.22);
}

.release-checksum-card strong {
  display: block;
  overflow-wrap: anywhere;
  color: #d8f8ff;
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
  line-height: 1.55;
}

.release-install-steps {
  display: grid;
  gap: 10px;
}

.release-step {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px;
}

.release-step > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(53, 214, 255, 0.26);
  border-radius: 12px;
  background: rgba(53, 214, 255, 0.09);
  color: var(--cyan);
  font-size: 12px;
  font-weight: 950;
}

.release-step strong,
.release-safety-list span {
  display: block;
  color: var(--text);
  font-weight: 850;
}

.release-step p {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.48;
}

.release-side-card {
  display: grid;
  align-content: start;
  gap: 16px;
}

.release-safety-list {
  display: grid;
  gap: 10px;
}

.release-safety-list div {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  padding: 13px;
}

.release-safety-list i {
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 18px rgba(54, 211, 153, 0.45);
}

.release-safety-list span {
  color: var(--muted);
  line-height: 1.5;
}

.release-section {
  padding-top: 12px;
}

.section-heading.compact {
  max-width: 820px;
  margin-bottom: 22px;
}

.release-timeline {
  display: grid;
  gap: 14px;
  position: relative;
}

.release-timeline::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 16px;
  bottom: 16px;
  width: 1px;
  background: linear-gradient(to bottom, rgba(168, 85, 247, 0.64), rgba(53, 214, 255, 0.2));
}

.release-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 16px;
  position: relative;
}

.release-marker {
  width: 35px;
  height: 35px;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(53, 214, 255, 0.34);
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(53, 214, 255, 0.92) 0 4px, rgba(132, 56, 255, 0.18) 5px 100%),
    #070912;
  box-shadow: 0 0 28px rgba(53, 214, 255, 0.22);
  animation: markerPulse 2.8s ease-in-out infinite;
}

.release-body {
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.062), rgba(255, 255, 255, 0.026)),
    rgba(9, 12, 24, 0.74);
  padding: 18px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.release-item:hover .release-body {
  transform: translateX(4px);
  border-color: rgba(53, 214, 255, 0.32);
  box-shadow: 0 22px 62px rgba(0, 0, 0, 0.32);
}

.platform-hero,
.security-hero {
  position: relative;
}

.platform-hero::after,
.security-hero::after {
  content: "";
  position: absolute;
  right: 0;
  top: 84px;
  width: 210px;
  height: 210px;
  background: url("assets/byteswap_v2_logo.png") center / contain no-repeat;
  opacity: 0.12;
  filter: drop-shadow(0 0 52px rgba(168, 85, 247, 0.55));
  pointer-events: none;
}

.visual-hero.platform-hero::after,
.visual-hero.security-hero::after {
  display: none;
}

.platform-map {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 0.9fr));
  gap: 16px;
}

.platform-node,
.module-card,
.security-layer,
.security-console {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(162, 121, 255, 0.22);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.064), rgba(255,255,255,0.026)),
    rgba(8, 11, 22, 0.78);
  padding: 24px;
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.30);
}

.platform-node::before,
.module-card::before,
.security-layer::before,
.security-console::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 12% 10%, rgba(53, 214, 255, 0.12), transparent 30%);
}

.node-main {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 360px;
  background:
    radial-gradient(circle at 50% 22%, rgba(168,85,247,0.24), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.026)),
    rgba(8, 11, 22, 0.82);
}

.node-label,
.platform-node span,
.security-layer span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  border: 1px solid rgba(53, 214, 255, 0.28);
  border-radius: 999px;
  background: rgba(53, 214, 255, 0.10);
  padding: 7px 10px;
  color: #dff8ff;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.platform-node h2 {
  margin-bottom: 12px;
  font-size: clamp(32px, 4.2vw, 54px);
}

.platform-node h3,
.module-card h3,
.security-layer h3 {
  margin-bottom: 10px;
}

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

.module-icon {
  position: relative;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border: 1px solid rgba(53, 214, 255, 0.28);
  border-radius: 18px;
  background:
    radial-gradient(circle at 30% 24%, rgba(255,255,255,0.26), transparent 18%),
    linear-gradient(135deg, rgba(168,85,247,0.48), rgba(53,214,255,0.22));
  box-shadow: 0 0 30px rgba(53, 214, 255, 0.12);
}

.feature-icon::before,
.feature-icon::after,
.module-icon::before,
.module-icon::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
}

.icon-ticket::before {
  inset: 14px 12px;
  border: 2px solid #eaf8ff;
  border-radius: 5px;
}

.icon-ticket::after {
  left: 18px;
  right: 18px;
  top: 25px;
  height: 2px;
  background: #eaf8ff;
  box-shadow: 0 8px 0 #eaf8ff;
}

.icon-wallet::before {
  left: 12px;
  top: 17px;
  width: 30px;
  height: 21px;
  border: 2px solid #eaf8ff;
  border-radius: 7px;
}

.icon-wallet::after {
  right: 12px;
  top: 24px;
  width: 10px;
  height: 7px;
  border-radius: 5px;
  background: #eaf8ff;
}

.icon-shield::before {
  left: 15px;
  top: 10px;
  width: 24px;
  height: 31px;
  background: #eaf8ff;
  clip-path: polygon(50% 0, 86% 14%, 86% 50%, 50% 92%, 14% 50%, 14% 14%);
}

.icon-shield::after {
  left: 22px;
  top: 22px;
  width: 12px;
  height: 7px;
  border-left: 3px solid rgba(8, 11, 22, 0.90);
  border-bottom: 3px solid rgba(8, 11, 22, 0.90);
  transform: rotate(-45deg);
}

.icon-bolt::before {
  left: 18px;
  top: 8px;
  width: 20px;
  height: 35px;
  background: #eaf8ff;
  clip-path: polygon(48% 0, 100% 0, 68% 40%, 98% 40%, 28% 100%, 44% 54%, 12% 54%);
}

.icon-bolt::after {
  display: none;
}

.icon-lock::before {
  left: 15px;
  top: 11px;
  width: 24px;
  height: 22px;
  border: 3px solid #eaf8ff;
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
}

.icon-lock::after {
  left: 12px;
  top: 25px;
  width: 30px;
  height: 19px;
  border-radius: 7px;
  background: #eaf8ff;
  box-shadow: inset 0 0 0 9px #eaf8ff;
}

.icon-archive::before {
  left: 12px;
  top: 16px;
  width: 30px;
  height: 25px;
  border: 2px solid #eaf8ff;
  border-radius: 5px;
}

.icon-archive::after {
  left: 10px;
  top: 12px;
  width: 34px;
  height: 9px;
  border: 2px solid #eaf8ff;
  border-radius: 5px;
  background: rgba(234, 248, 255, 0.18);
  box-shadow: 12px 14px 0 -10px #eaf8ff, 16px 14px 0 -10px #eaf8ff;
}

.icon-cloud::before {
  left: 10px;
  top: 22px;
  width: 34px;
  height: 17px;
  border-radius: 999px;
  background: #eaf8ff;
}

.icon-cloud::after {
  left: 16px;
  top: 13px;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 82% 70%, transparent 0 8px, #eaf8ff 9px),
    #eaf8ff;
}

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

.security-layer {
  min-height: 240px;
}

.security-console {
  display: grid;
  gap: 12px;
}

.console-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(162, 121, 255, 0.16);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.22);
  padding: 14px;
}

.console-line span {
  color: var(--soft);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.console-line strong {
  color: var(--text);
  text-align: right;
}

.release-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.release-version {
  color: var(--text);
  font-size: 20px;
  font-weight: 900;
}

.release-badge {
  border: 1px solid rgba(168, 85, 247, 0.34);
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.12);
  padding: 6px 10px;
  color: #e8dcff;
  font-size: 12px;
  font-weight: 900;
}

.release-meta {
  margin-bottom: 10px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.checksum {
  margin: 18px 0 12px;
  padding: 14px;
  border: 1px solid rgba(53, 214, 255, 0.22);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.26);
  overflow-wrap: anywhere;
  color: #d8f8ff;
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
}

.application-form {
  display: grid;
  gap: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  color: #dce6f8;
  font-size: 13px;
  font-weight: 850;
}

.application-form input,
.application-form select,
.application-form textarea {
  width: 100%;
  border: 1px solid rgba(162, 121, 255, 0.24);
  border-radius: 12px;
  background: rgba(4, 7, 14, 0.78);
  padding: 13px 14px;
  color: var(--text);
  font: inherit;
  outline: 0;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.application-form textarea {
  min-height: 118px;
  resize: vertical;
}

.application-form input:focus,
.application-form select:focus,
.application-form textarea:focus {
  border-color: rgba(53, 214, 255, 0.54);
  background: rgba(8, 12, 24, 0.92);
  box-shadow: 0 0 0 3px rgba(53, 214, 255, 0.1);
}

.form-status {
  min-height: 24px;
  color: var(--muted);
  font-weight: 800;
}

.form-status.success { color: var(--green); }
.form-status.error { color: var(--danger); }

.steps {
  display: grid;
  gap: 12px;
  counter-reset: step;
}

.step {
  position: relative;
  padding-left: 46px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 2px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(168, 85, 247, 0.18);
  color: var(--text);
  font-weight: 900;
}

.status-ok,
.status-warn,
.status-bad,
[data-api-status],
#api-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.status-ok { color: var(--green); }
.status-warn { color: var(--warning); }
.status-bad { color: var(--danger); }

.status-ok::before,
.status-warn::before,
.status-bad::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 18px currentColor;
  animation: statusPulse 1.9s ease-in-out infinite;
}

.status-card strong {
  display: block;
  margin-top: 12px;
  overflow-wrap: anywhere;
  font-size: 22px;
}

.rating {
  display: inline-flex;
  margin-bottom: 16px;
  border: 1px solid rgba(54, 211, 153, 0.28);
  border-radius: 999px;
  background: rgba(54, 211, 153, 0.1);
  padding: 7px 10px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.premium-vouch {
  --vouch-accent: var(--cyan);
  border-color: rgba(53, 214, 255, 0.24);
  background:
    radial-gradient(circle at 12% 10%, rgba(53, 214, 255, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.072), rgba(255, 255, 255, 0.026)),
    rgba(8, 11, 22, 0.86);
  box-shadow:
    0 24px 78px rgba(0, 0, 0, 0.38),
    inset 0 0 0 1px rgba(53, 214, 255, 0.045),
    0 0 34px rgba(53, 214, 255, 0.08);
}

.premium-vouch:nth-child(2n) {
  --vouch-accent: var(--purple);
  border-color: rgba(168, 85, 247, 0.25);
  box-shadow:
    0 24px 78px rgba(0, 0, 0, 0.38),
    inset 0 0 0 1px rgba(168, 85, 247, 0.05),
    0 0 34px rgba(168, 85, 247, 0.10);
}

.premium-vouch::before {
  content: "";
  position: absolute;
  inset: 18px auto 18px 0;
  width: 4px;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(to bottom, var(--vouch-accent), rgba(168, 85, 247, 0.92));
  box-shadow: 0 0 24px rgba(53, 214, 255, 0.34);
}

.premium-vouch:nth-child(2n)::before {
  box-shadow: 0 0 24px rgba(168, 85, 247, 0.34);
}

.vouch-topline,
.vouch-badge-row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  justify-content: space-between;
}

.vouch-badge-row {
  justify-content: flex-start;
  margin-top: 18px;
}

.vouch-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid rgba(162, 121, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  padding: 0 11px;
  color: #e8e6ff;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  white-space: nowrap;
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.025);
}

.ticket-badge {
  border-color: rgba(53, 214, 255, 0.28);
  background: rgba(53, 214, 255, 0.10);
  color: #dff8ff;
}

.amount-badge {
  border-color: rgba(54, 211, 153, 0.26);
  background: rgba(54, 211, 153, 0.10);
  color: #d8fff0;
}

.rating-badge {
  border-color: rgba(244, 191, 99, 0.30);
  background: rgba(244, 191, 99, 0.10);
  color: #ffe7b3;
}

.rating-badge::before {
  content: "*****";
  margin-right: 7px;
  color: var(--warning);
  font-size: 11px;
  letter-spacing: 1px;
}

.privacy-badge {
  border-color: rgba(168, 85, 247, 0.28);
  background: rgba(168, 85, 247, 0.10);
  color: #f1e7ff;
}

.premium-vouch h2 {
  position: relative;
  z-index: 1;
  margin-top: 22px;
  margin-bottom: 8px;
  font-size: 24px;
}

.premium-vouch p {
  position: relative;
  z-index: 1;
  max-width: 620px;
  color: #d6d2e4;
}

.vouch-details {
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.vouch-details div {
  display: block;
  border: 1px solid rgba(162, 121, 255, 0.15);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.18);
  padding: 12px;
}

.vouch-details dt {
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.vouch-details dd {
  text-align: left;
  font-weight: 850;
}

.promo-banner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  border: 1px solid rgba(53, 214, 255, 0.26);
  border-radius: 24px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(168, 85, 247, 0.18), rgba(53, 214, 255, 0.10)),
    rgba(9, 12, 22, 0.82);
  box-shadow:
    0 0 36px rgba(53, 214, 255, 0.12),
    inset 0 1px 0 rgba(255,255,255,0.08);
  overflow: hidden;
}

.promo-banner::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(to bottom, var(--purple), var(--cyan));
  box-shadow: 0 0 22px rgba(53, 214, 255, 0.5);
}

.promo-banner h2 {
  margin: 0 0 10px;
  max-width: 860px;
}

.promo-banner p {
  max-width: 920px;
}

.partner-hero {
  align-items: center;
}

.partner-panel {
  position: relative;
  border: 1px solid rgba(162, 121, 255, 0.24);
  border-radius: 26px;
  padding: 24px;
  min-height: 430px;
  background:
    radial-gradient(circle at 22% 18%, rgba(168,85,247,0.22), transparent 30%),
    radial-gradient(circle at 90% 20%, rgba(53,214,255,0.14), transparent 32%),
    rgba(10, 13, 24, 0.86);
  box-shadow:
    0 24px 90px rgba(0,0,0,0.38),
    0 0 44px rgba(168,85,247,0.12);
  overflow: hidden;
}

.partner-panel::after {
  content: "";
  position: absolute;
  inset: auto -18% -22% 18%;
  height: 150px;
  background: linear-gradient(90deg, rgba(168,85,247,0.24), rgba(53,214,255,0.16));
  filter: blur(40px);
  transform: rotate(-8deg);
}

.partner-card-top,
.partner-safe-list,
.partner-code-card {
  position: relative;
  z-index: 1;
}

.partner-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.partner-card-top img {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 0 28px rgba(168,85,247,0.28);
}

.partner-card-top span,
.partner-code-card span {
  display: block;
  color: var(--soft);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.partner-card-top strong {
  display: block;
  margin-top: 4px;
  font-size: 24px;
}

.partner-code-card {
  border: 1px solid rgba(53, 214, 255, 0.24);
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 24px;
  background: rgba(0,0,0,0.24);
}

.partner-code-card strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(34px, 5vw, 54px);
  letter-spacing: 0.05em;
  color: #ffffff;
}

.partner-safe-list {
  display: grid;
  gap: 12px;
}

.partner-safe-list div {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 12px;
  background: rgba(255,255,255,0.04);
}

.feature-icon-mini {
  position: relative;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(53,214,255,0.24);
  border-radius: 12px;
  background: rgba(53,214,255,0.08);
}

.feature-icon-mini::before,
.feature-icon-mini::after {
  content: "";
  position: absolute;
}

.feature-icon-mini.icon-ticket::before {
  inset: 9px 8px;
  border-width: 2px;
  border-radius: 4px;
}

.feature-icon-mini.icon-ticket::after {
  left: 11px;
  right: 11px;
  top: 16px;
  height: 2px;
  box-shadow: 0 5px 0 #eaf8ff;
}

.feature-icon-mini.icon-shield::before {
  left: 9px;
  top: 7px;
  width: 16px;
  height: 21px;
}

.feature-icon-mini.icon-shield::after {
  left: 14px;
  top: 15px;
  width: 8px;
  height: 5px;
  border-left-width: 2px;
  border-bottom-width: 2px;
}

.feature-icon-mini.icon-lock::before {
  left: 10px;
  top: 7px;
  width: 14px;
  height: 13px;
  border-width: 2px;
}

.feature-icon-mini.icon-lock::after {
  left: 8px;
  top: 18px;
  width: 18px;
  height: 12px;
  border-radius: 5px;
}

.template-box {
  min-height: 260px;
  overflow: auto;
  margin: 18px 0;
  border: 1px solid rgba(162, 121, 255, 0.18);
  border-radius: 18px;
  padding: 18px;
  background: rgba(0,0,0,0.28);
  color: #e9e6ff;
  white-space: pre-wrap;
  font: 700 13px/1.7 "Cascadia Code", "Segoe UI Mono", monospace;
}

.promo-asset-grid {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.promo-asset-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 64px;
  border: 1px solid rgba(53,214,255,0.22);
  border-radius: 18px;
  padding: 16px 18px;
  color: var(--text);
  font-weight: 900;
  background:
    linear-gradient(90deg, rgba(168,85,247,0.16), rgba(53,214,255,0.08)),
    rgba(255,255,255,0.04);
}

.promo-asset-card::after {
  content: "Download";
  color: var(--cyan);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

dl {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
}

dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(162, 121, 255, 0.15);
  padding-top: 10px;
}

dt { color: var(--soft); font-weight: 760; }
dd { margin: 0; color: var(--text); text-align: right; overflow-wrap: anywhere; }

.history-feed {
  display: grid;
  gap: 14px;
}

.history-empty,
.history-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.062), rgba(255, 255, 255, 0.026)),
    rgba(8, 11, 22, 0.78);
  padding: 18px;
}

.history-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 58px;
  gap: 18px;
  align-items: start;
  position: relative;
  overflow: hidden;
  border-left: 4px solid var(--cyan);
  box-shadow:
    0 18px 52px rgba(0, 0, 0, 0.26),
    inset 0 0 0 1px rgba(53, 214, 255, 0.045);
}

.history-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 0 38%, rgba(53, 214, 255, 0.08) 48%, transparent 58% 100%);
  transform: translateX(-120%);
}

.history-card:hover::before {
  animation: cardSweep 820ms ease;
}

.history-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}

.history-title {
  margin: 0;
  font-size: 21px;
}

.history-live {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(53, 214, 255, 0.28);
  border-radius: 999px;
  background: rgba(53, 214, 255, 0.09);
  padding: 5px 9px;
  color: #d8f8ff;
  font-size: 12px;
  font-weight: 900;
}

.history-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}

.history-arrow {
  color: var(--cyan);
  font-size: 24px;
  font-weight: 900;
  text-shadow: 0 0 20px rgba(53, 214, 255, 0.5);
}

.history-field,
.history-client,
.history-ticket {
  min-width: 0;
}

.history-field span,
.history-client span,
.history-ticket span {
  display: block;
  margin-bottom: 6px;
  color: var(--soft);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.history-field strong {
  display: block;
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: 16px;
}

.history-privacy,
.history-ticket-code {
  display: inline-flex;
  max-width: 100%;
  border: 1px solid rgba(162, 121, 255, 0.22);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.07);
  padding: 5px 8px;
  overflow-wrap: anywhere;
  color: #f1ecff;
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
  font-weight: 800;
}

.history-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

.history-footer img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
}

.history-side-logo {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(53, 214, 255, 0.24);
  border-radius: 16px;
  background: rgba(53, 214, 255, 0.08);
  box-shadow: 0 0 28px rgba(53, 214, 255, 0.14);
}

.history-side-logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.history-meta {
  display: grid;
  gap: 8px;
  min-width: 180px;
}

.history-meta div {
  border: 1px solid rgba(162, 121, 255, 0.16);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.045);
  padding: 10px;
}

.history-meta span {
  display: block;
  margin-bottom: 3px;
  color: var(--soft);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.history-meta strong {
  display: block;
  overflow-wrap: anywhere;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 54px auto;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(168, 85, 247, 0.24), rgba(53, 214, 255, 0.08)),
    var(--panel-strong);
  padding: 28px;
}

.cta-band h2 {
  max-width: 780px;
  margin-bottom: 10px;
  font-size: clamp(27px, 3.8vw, 42px);
}

.legal {
  padding-bottom: 54px;
}

.legal-card {
  margin-bottom: 14px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 40px 0;
  border-top: 1px solid rgba(162, 121, 255, 0.14);
}

.site-footer p {
  margin-top: 8px;
  max-width: 560px;
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 160ms ease, text-shadow 160ms ease;
}

.footer-links a:hover {
  color: var(--text);
  text-shadow: 0 0 18px rgba(53, 214, 255, 0.26);
}

.reveal-target {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 520ms ease var(--reveal-delay, 0ms),
    transform 520ms cubic-bezier(.2,.8,.2,1) var(--reveal-delay, 0ms);
}

.reveal-target.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes gridDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 72px 72px, 72px 72px; }
}

@keyframes auroraShift {
  from { background-position: 42% 34%, 72% 64%, center; }
  to { background-position: 58% 28%, 86% 72%, center; }
}

@keyframes logoBreathe {
  0%, 100% { filter: drop-shadow(0 0 14px rgba(168, 85, 247, 0.42)); transform: scale(1); }
  50% { filter: drop-shadow(0 0 22px rgba(53, 214, 255, 0.36)); transform: scale(1.025); }
}

@keyframes panelFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes markerPulse {
  0%, 100% { box-shadow: 0 0 24px rgba(53, 214, 255, 0.22); }
  50% { box-shadow: 0 0 38px rgba(53, 214, 255, 0.42); }
}

@keyframes statusPulse {
  0%, 100% { opacity: .72; transform: scale(.86); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes cardSweep {
  from { transform: translateX(-120%); }
  to { transform: translateX(120%); }
}

@keyframes heroSweep {
  0%, 100% { transform: translateX(-36%); opacity: 0.38; }
  45% { transform: translateX(20%); opacity: 0.78; }
  70% { transform: translateX(36%); opacity: 0.18; }
}

@keyframes surfaceScan {
  0%, 48%, 100% { transform: translateX(-130%); opacity: 0; }
  58% { opacity: 0.9; }
  78% { transform: translateX(130%); opacity: 0; }
}

@keyframes orbitSpin {
  from { transform: rotate(var(--r, 0deg)) scale(var(--s, 1)); }
  to { transform: rotate(calc(var(--r, 0deg) + 360deg)) scale(var(--s, 1)); }
}

@keyframes rowGlow {
  0%, 100% { box-shadow: inset 4px 0 0 rgba(53, 214, 255, 0.72); }
  50% { box-shadow: inset 4px 0 0 rgba(168, 85, 247, 0.72), 0 0 28px rgba(53, 214, 255, 0.08); }
}

@keyframes lineLoad {
  0%, 100% { transform: scaleX(0.76); opacity: 0.56; transform-origin: left; }
  50% { transform: scaleX(1); opacity: 1; transform-origin: left; }
}

@keyframes dashFlow {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -72; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
  .reveal-target {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .split,
  .app-preview-frame,
  .command-strip,
  .download-grid,
  .hero-content,
  .visual-hero {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    min-height: 280px;
  }
  .preview-sidebar {
    border-right: 0;
    border-bottom: 1px solid rgba(162, 121, 255, 0.18);
  }
  .preview-bot-status {
    position: static;
    margin-top: 18px;
  }
  .preview-workspace {
    grid-template-columns: 1fr;
  }
  .hero-proof-panel {
    max-width: 720px;
  }
  .grid-4,
  .module-grid,
  .security-layers,
  .platform-map,
  .stat-strip,
  .hero-metrics,
  .release-meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .node-main {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 260px;
  }
  .command-surface {
    min-height: 520px;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 20px;
  }
  nav { justify-content: flex-start; }
  .home-hero { min-height: auto; }
  .hero-content { padding: 58px 0 76px; }
  .proof-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .proof-item {
    display: grid;
    grid-template-columns: 62px 1fr;
    align-items: center;
    column-gap: 16px;
    text-align: left;
  }
  .proof-icon {
    margin: 0;
  }
  .history-flow {
    grid-template-columns: 1fr;
  }
  .signal-grid,
  .preview-cards,
  .release-summary-grid,
  .release-meta-grid {
    grid-template-columns: 1fr;
  }
  .release-card-header,
  .release-checksum-card {
    grid-template-columns: 1fr;
  }
  .release-version-pill {
    width: fit-content;
  }
  .app-preview-frame {
    border-radius: 22px;
  }
  .preview-main,
  .preview-sidebar {
    padding: 16px;
  }
  .preview-topbar {
    flex-direction: column;
  }
  .preview-table-head,
  .preview-row {
    grid-template-columns: 1fr;
  }
  .history-arrow {
    display: none;
  }
  .grid-2,
  .grid-3,
  .grid-4,
  .module-grid,
  .security-layers,
  .platform-map,
  .status-board,
  .hero-metrics,
  .stat-strip,
  .vouch-grid,
  .faq-list {
    grid-template-columns: 1fr;
  }
  .cta-band,
  .promo-banner,
  .history-card,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .promo-banner {
    grid-template-columns: 1fr;
  }
  .history-card {
    display: flex;
  }
  .history-meta {
    width: 100%;
  }
  .vouch-details {
    grid-template-columns: 1fr;
  }
  .vouch-topline {
    justify-content: flex-start;
  }
  .vouch-badge {
    max-width: 100%;
    white-space: normal;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .command-surface {
    min-height: auto;
  }
  .surface-core {
    height: 210px;
  }
  .surface-row {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    min-height: 260px;
    padding: 18px;
    border-radius: 22px;
  }
  .ticket-preview-body {
    grid-template-columns: 1fr;
  }
  .backend-map-visual {
    min-height: 320px;
  }
  .map-core {
    width: 108px;
    height: 108px;
  }
  .map-node {
    width: 66px;
    height: 46px;
    font-size: 12px;
  }
  .node-a { left: 16px; top: 28px; }
  .node-b { right: 16px; top: 28px; }
  .node-c { left: 16px; bottom: 28px; }
  .node-d { right: 16px; bottom: 28px; }
  .platform-hero::after,
  .security-hero::after {
    display: none;
  }
}
