:root {
  color-scheme: dark;
  --bg: #000300;
  --fg: #f4fff7;
  --muted: rgba(220, 231, 224, 0.68);
  --muted-strong: rgba(240, 248, 243, 0.84);
  --green: #39ff7a;
  --green-rgb: 57, 255, 122;
  --green-soft: rgba(57, 255, 122, 0.12);
  --green-line: rgba(57, 255, 122, 0.34);
  --green-bright: #62ff35;
  --panel: rgba(0, 12, 4, 0.72);
  --panel-strong: rgba(0, 7, 3, 0.88);
  --display-font: "Orbitron", "Rajdhani", "Bahnschrift", "Segoe UI", sans-serif;
  --sans-font: "Rajdhani", "Noto Sans SC", "Microsoft YaHei UI", "PingFang SC", "Segoe UI", sans-serif;
  --mono-font: "Share Tech Mono", "Cascadia Mono", "JetBrains Mono", Consolas, monospace;
  --cn-font: "Noto Sans SC", "Microsoft YaHei UI", "PingFang SC", "Segoe UI", sans-serif;
  --page-x: clamp(28px, 2.906vw, 64px);
  --nav-h: 65px;
  --glow: 0 0 12px rgba(57, 255, 122, 0.62), 0 0 34px rgba(57, 255, 122, 0.28);
  --soft-glow: 0 0 26px rgba(57, 255, 122, 0.16);
}

@font-face {
  font-family: "Orbitron";
  src: url("fonts/orbitron-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Orbitron";
  src: url("fonts/orbitron-500.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Orbitron";
  src: url("fonts/orbitron-600.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Orbitron";
  src: url("fonts/orbitron-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Orbitron";
  src: url("fonts/orbitron-800.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 31%, rgba(57, 255, 122, 0.075), transparent 24rem),
    radial-gradient(circle at 50% 65%, rgba(57, 255, 122, 0.05), transparent 32rem),
    #000;
  color: var(--fg);
  font-family: var(--sans-font);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

#matrix {
  position: fixed;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  opacity: 0.6;
  filter: drop-shadow(0 0 5px rgba(57, 255, 122, 0.48));
  mix-blend-mode: screen;
  pointer-events: none;
}

.scanline,
.nexai-grid {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 2;
}

.scanline {
  z-index: 5;
  overflow: hidden;
  mix-blend-mode: screen;
  opacity: 1;
}

.scanline::before {
  position: absolute;
  top: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(57, 255, 122, 0.18) 40%, rgba(57, 255, 122, 0.28) 50%, rgba(57, 255, 122, 0.18) 60%, transparent 100%);
  content: "";
  animation: scanLine 9s linear infinite;
}

.nexai-grid {
  z-index: 1;
  background-image:
    linear-gradient(rgba(57, 255, 122, 0.42) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.06;
}

.shell {
  position: relative;
  z-index: 3;
  min-height: 100vh;
}

.home-shell::before,
.home-shell::after,
.shell::before {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
}

.home-shell::before {
  background:
    linear-gradient(rgba(57, 255, 122, 0.03), transparent 28%, transparent 72%, rgba(57, 255, 122, 0.025));
  opacity: 0.4;
}

.home-shell::after,
.shell::before {
  background:
    radial-gradient(ellipse at center, transparent 0 36%, rgba(0, 0, 0, 0.34) 62%, rgba(0, 0, 0, 0.82) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), #000 100%);
}

.nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(110px, 1fr) auto minmax(110px, 1fr);
  align-items: center;
  gap: clamp(18px, 2.2vw, 32px);
  min-height: var(--nav-h);
  padding: 0 clamp(28px, 3.45vw, 64px);
  border-bottom: 1px solid rgba(57, 255, 122, 0.15);
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-width: 0;
  width: max-content;
  color: var(--green);
  font-family: var(--display-font);
  font-size: clamp(0.72rem, 0.818vw, 1.125rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: var(--glow);
}

.nexai-home .nav .brand-mark {
  display: none;
}

.brand-mark {
  width: 32px;
  height: 32px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  filter:
    drop-shadow(0 0 4px rgba(57, 255, 122, 0.88))
    drop-shadow(0 0 13px rgba(57, 255, 122, 0.42));
}

.brand-mark .mark-hex,
.auth-brand .brand-mark .mark-hex {
  stroke-width: 3.4;
}

.brand-mark .mark-c,
.auth-brand .brand-mark .mark-c {
  stroke-width: 5.4;
}

.brand-word {
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 2.1vw, 40px);
  color: #99a1af;
  font-family: var(--cn-font);
  font-size: clamp(0.68rem, 0.7vw, 0.8125rem);
  font-weight: 400;
  letter-spacing: 0.15em;
}

.nav-links a {
  position: relative;
  flex: 0 0 auto;
  padding: 9px 0;
  white-space: nowrap;
  transition: color 160ms ease, text-shadow 160ms ease;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--green);
  box-shadow: 0 0 16px rgba(57, 255, 122, 0.72);
  content: "";
  opacity: 0;
  transform: scaleX(0.45);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--green);
  text-shadow: var(--glow);
}

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

.home-nav-secondary {
  display: inline-flex;
}

.login {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 77px;
  min-height: 32px;
  border: 1px solid rgba(57, 255, 122, 0.72);
  border-radius: 999px;
  padding: 0 20px;
  color: #041006;
  font-family: var(--display-font), var(--cn-font);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: #39ff7a;
  box-shadow: 0 0 9px rgba(57, 255, 122, 0.5), inset 0 0 10px rgba(255, 255, 255, 0.12);
  transition: background 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}

.login:hover,
.login.active {
  color: #020b04;
  background: #62ff35;
  box-shadow: 0 0 18px rgba(57, 255, 122, 0.64), inset 0 0 16px rgba(255, 255, 255, 0.2);
  transform: translateY(-1px) scale(1.04);
}

.cipher-user-menu {
  position: relative;
  justify-self: end;
  z-index: 30;
}

.cipher-user-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  max-width: min(220px, 26vw);
  border: 1px solid rgba(57, 255, 122, 0.42);
  border-radius: 999px;
  padding: 3px 11px 3px 4px;
  color: rgba(239, 249, 242, 0.9);
  font-family: var(--display-font), var(--cn-font);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: rgba(0, 0, 0, 0.36);
  box-shadow: inset 0 0 12px rgba(57, 255, 122, 0.08);
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}

.cipher-user-trigger:hover,
.cipher-user-menu.is-open .cipher-user-trigger {
  border-color: rgba(57, 255, 122, 0.72);
  color: #f6fff3;
  box-shadow: 0 0 16px rgba(57, 255, 122, 0.22), inset 0 0 14px rgba(57, 255, 122, 0.1);
  transform: translateY(-1px);
}

.cipher-user-avatar {
  display: grid;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 1px solid rgba(57, 255, 122, 0.28);
  border-radius: 999px;
  color: #041006;
  background: var(--green);
  box-shadow: 0 0 11px rgba(57, 255, 122, 0.38);
  font-size: 0.78rem;
  font-weight: 900;
}

.cipher-user-name {
  min-width: 0;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cipher-user-caret {
  width: 0;
  height: 0;
  border-top: 4px solid currentColor;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  opacity: 0.76;
}

.cipher-user-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  min-width: 150px;
  border: 1px solid rgba(57, 255, 122, 0.28);
  border-radius: 8px;
  padding: 6px;
  background: rgba(0, 8, 3, 0.96);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.48), 0 0 26px rgba(57, 255, 122, 0.1);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 140ms ease, transform 140ms ease;
}

.cipher-user-menu.is-open .cipher-user-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.cipher-user-dropdown a,
.cipher-user-dropdown button {
  display: flex;
  width: 100%;
  align-items: center;
  min-height: 34px;
  border: 0;
  border-radius: 6px;
  padding: 0 10px;
  color: rgba(229, 240, 233, 0.84);
  background: transparent;
  font-family: var(--cn-font);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-align: left;
  cursor: pointer;
}

.cipher-user-dropdown a:hover,
.cipher-user-dropdown button:hover {
  color: var(--green);
  background: rgba(57, 255, 122, 0.1);
}

main {
  position: relative;
}

.exhibition-section {
  position: relative;
  min-height: 100vh;
  width: 100%;
  padding: calc(var(--nav-h) + clamp(34px, 4.5vw, 74px)) var(--page-x) clamp(64px, 7.4vh, 108px);
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: max(812px, calc(100vh + 48px), 52vw);
  padding-top: max(188px, 14.836vw);
  text-align: center;
}

.hero-frame {
  pointer-events: none;
  position: absolute;
  top: max(103px, 8.803vw);
  left: 50%;
  --hero-corner-shift: clamp(42px, 4.8vw, 116px);
  width: min(1788px, 81.199vw);
  height: clamp(350px, 33.061vw, 728px);
  min-height: 0;
  border: 0;
  border-radius: 0;
  opacity: 1;
  box-shadow: none;
  transform: translateX(-50%);
}

.hero-frame span,
.corner {
  display: block;
  position: absolute;
  width: clamp(9px, 0.621vw, 14px);
  height: clamp(6px, 0.437vw, 10px);
  border-color: var(--green);
  opacity: 0.82;
  pointer-events: none;
  animation: cornerPulse 2.8s ease-in-out infinite;
}

.hero-frame span {
  border-color: var(--green);
  filter: drop-shadow(0 0 10px rgba(57, 255, 122, 0.68));
  transition:
    transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 80ms linear,
    opacity 80ms linear;
}

.hero-frame span:nth-child(1),
.top-left {
  top: 0;
  left: 0;
  border-top: 2px solid;
  border-left: 2px solid;
}

.hero-frame span:nth-child(2),
.top-right {
  top: 0;
  right: 0;
  border-top: 2px solid;
  border-right: 2px solid;
}

.hero-frame span:nth-child(3),
.bottom-left {
  bottom: 0;
  left: 0;
  border-bottom: 2px solid;
  border-left: 2px solid;
}

.hero-frame span:nth-child(4),
.bottom-right {
  right: 0;
  bottom: 0;
  border-right: 2px solid;
  border-bottom: 2px solid;
}

.hero-frame span:nth-child(1),
.hero-frame span:nth-child(2),
.hero-frame span:nth-child(3),
.hero-frame span:nth-child(4) {
  border-color: var(--green);
  color: var(--green);
}

.hero.hero-corners-active .hero-frame span,
.hero:has(.actions a:hover) .hero-frame span,
.hero:has(.actions a:focus-visible) .hero-frame span {
  animation: cornerFlashWhite 520ms linear 1;
  opacity: 1;
}

.hero.hero-corners-active .hero-frame span:nth-child(1),
.hero:has(.actions a:hover) .hero-frame span:nth-child(1),
.hero:has(.actions a:focus-visible) .hero-frame span:nth-child(1) {
  transform: translate(var(--hero-corner-shift), var(--hero-corner-shift)) !important;
}

.hero.hero-corners-active .hero-frame span:nth-child(2),
.hero:has(.actions a:hover) .hero-frame span:nth-child(2),
.hero:has(.actions a:focus-visible) .hero-frame span:nth-child(2) {
  transform: translate(calc(var(--hero-corner-shift) * -1), var(--hero-corner-shift)) !important;
}

.hero.hero-corners-active .hero-frame span:nth-child(3),
.hero:has(.actions a:hover) .hero-frame span:nth-child(3),
.hero:has(.actions a:focus-visible) .hero-frame span:nth-child(3) {
  transform: translate(var(--hero-corner-shift), calc(var(--hero-corner-shift) * -1)) !important;
}

.hero.hero-corners-active .hero-frame span:nth-child(4),
.hero:has(.actions a:hover) .hero-frame span:nth-child(4),
.hero:has(.actions a:focus-visible) .hero-frame span:nth-child(4) {
  transform: translate(calc(var(--hero-corner-shift) * -1), calc(var(--hero-corner-shift) * -1)) !important;
}

.hero-kicker,
.section-kicker {
  margin: 0;
  color: var(--green);
  font-family: var(--mono-font);
  font-size: clamp(0.5rem, 0.5vw, 0.6875rem);
  font-weight: 400;
  letter-spacing: 0.6em;
  text-transform: uppercase;
  text-shadow: var(--glow);
}

.hero-kicker span {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0;
}

.hero-kicker span::before,
.hero-kicker span::after {
  display: none;
}

.hero-kicker span::before {
  top: 0;
  left: 0;
  border-top: 2px solid;
  border-left: 2px solid;
}

.hero-kicker span::after {
  right: 0;
  bottom: 0;
  border-right: 2px solid;
  border-bottom: 2px solid;
}

.hero-title {
  display: grid;
  gap: clamp(0px, 0.363vw, 8px);
  width: min(1600px, 100%);
  margin: clamp(24px, 1.815vw, 40px) 0 0;
  font-family: var(--display-font);
  font-size: clamp(4.25rem, 6.358vw, 8.75rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.02;
  text-transform: uppercase;
}

.hero-title span {
  color: #fbfff9;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.16);
}

.hero-title strong {
  color: var(--green);
  font-weight: 900;
  text-shadow:
    0 0 18px rgba(57, 255, 122, 0.8),
    0 0 70px rgba(57, 255, 122, 0.48),
    0 0 130px rgba(57, 255, 122, 0.18);
  animation: neonPulse 3s ease-in-out infinite;
}

.hero-copy {
  max-width: min(720px, 86vw);
  margin: clamp(14px, 2vh, 24px) auto 0;
  color: rgba(210, 224, 216, 0.68);
  font-family: var(--cn-font);
  font-size: clamp(0.9rem, 1vw, 1rem);
  font-weight: 700;
  line-height: 1.7;
}

.nexai-home .hero-copy {
  display: none;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: clamp(28px, 2.542vw, 56px);
}

.primary,
.secondary,
.mini-action,
.console-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 138px;
  border: 1px solid rgba(57, 255, 122, 0.56);
  border-radius: 999px;
  padding: 0 28px;
  font-family: var(--display-font), var(--cn-font);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.primary,
.mini-action,
.console-cta {
  color: #041006;
  background: #39ff7a;
  box-shadow: 0 0 15px rgba(57, 255, 122, 0.55), inset 0 0 14px rgba(255, 255, 255, 0.14);
}

.primary span,
.console-cta span {
  margin-left: 12px;
}

.secondary {
  color: rgba(244, 255, 247, 0.86);
  background: rgba(0, 0, 0, 0.22);
  border-color: rgba(57, 255, 122, 0.4);
}

.primary:hover,
.secondary:hover,
.mini-action:hover,
.console-cta:hover {
  border-color: var(--green);
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 0 42px rgba(57, 255, 122, 0.52);
}

.secondary:hover {
  color: var(--green);
  background: rgba(57, 255, 122, 0.075);
}

.home-config-panel {
  width: min(900px, 92vw);
  margin: 28px auto 0;
  border: 1px solid rgba(57, 255, 122, 0.28);
  border-radius: 8px;
  padding: 20px;
  color: rgba(239, 247, 242, 0.82);
  background: rgba(0, 0, 0, 0.5);
}

.home-config-panel.is-iframe {
  padding: 0;
}

.home-config-panel iframe {
  display: block;
  width: 100%;
  min-height: min(68vh, 720px);
  border: 0;
  background: #000;
}

.hero-glow {
  position: absolute;
  top: max(362px, 27.819vw);
  left: 50%;
  z-index: -1;
  width: min(1157px, 52.542vw);
  height: min(578px, 44.363vw);
  border-radius: 999px;
  background: rgba(57, 255, 122, 0.1);
  opacity: 0.88;
  filter: blur(208px);
  transform: translate(-50%, -50%);
  animation: glowBreath 5s ease-in-out infinite;
}

.scroll-hint {
  position: absolute;
  right: 0;
  bottom: clamp(34px, 4.5vh, 64px);
  left: 0;
  display: grid;
  justify-items: center;
  gap: 12px;
  color: var(--green);
  font-family: var(--display-font);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: var(--glow);
}

.scroll-hint::before,
.scroll-hint::after {
  display: none;
  position: absolute;
  top: 24px;
  width: min(430px, 28vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(57, 255, 122, 0.36));
  content: none;
}

.scroll-hint::before {
  left: 0;
}

.scroll-hint::after {
  right: 0;
  transform: scaleX(-1);
}

.scroll-hint i {
  position: relative;
  width: 26px;
  height: 40px;
  border: 1px solid rgba(57, 255, 122, 0.76);
  border-radius: 999px;
  box-shadow: inset 0 0 10px rgba(57, 255, 122, 0.14), 0 0 14px rgba(57, 255, 122, 0.2);
}

.scroll-hint i::before {
  position: absolute;
  top: 9px;
  left: 50%;
  width: 3px;
  height: 7px;
  border-radius: 999px;
  background: var(--green);
  content: "";
  transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(57, 255, 122, 0.72);
  animation: scrollLineBlink 1.05s steps(1, end) infinite;
}

.section-grid {
  display: grid;
  width: min(1430px, 100%);
  margin: 0 auto;
}

.section-grid.figma-frame-shell {
  position: relative;
  border: 1px solid rgba(57, 255, 122, 0.2);
  border-radius: 0;
  background: rgba(0, 0, 0, 0.1);
  box-shadow: 0 0 40px rgba(57, 255, 122, 0.08);
}

.section-grid.figma-frame-shell > :not(.corner) {
  position: relative;
  z-index: 1;
}

.section-grid.figma-frame-shell > .corner {
  z-index: 3;
  width: 10px;
  height: 10px;
  border-color: var(--green);
  opacity: 1;
  animation: none;
  filter: drop-shadow(0 0 8px rgba(57, 255, 122, 0.72));
}

.section-grid.figma-frame-shell > .top-left {
  top: -1px;
  left: -1px;
}

.section-grid.figma-frame-shell > .top-right {
  top: -1px;
  right: -1px;
}

.section-grid.figma-frame-shell > .bottom-left {
  bottom: -1px;
  left: -1px;
}

.section-grid.figma-frame-shell > .bottom-right {
  right: -1px;
  bottom: -1px;
}

.features-grid {
  width: min(2050px, 100%);
  min-height: clamp(760px, 53.5vw, 1054px);
  grid-template-columns: 1fr;
  align-content: start;
  justify-items: center;
  gap: clamp(52px, 3.95vw, 88px);
  padding: clamp(8px, 0.9vw, 18px) clamp(22px, 3.12vw, 64px) clamp(58px, 4.7vw, 96px);
}

.features {
  padding-top: clamp(22px, 2.2vw, 46px);
}

.section-title {
  margin: 16px 0 0;
  color: #fbfffc;
  font-family: var(--cn-font);
  font-size: clamp(1.85rem, 3.1vw, 3.15rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.18;
}

.section-title span {
  color: var(--green-bright);
  text-shadow: var(--glow);
}

.nowrap {
  white-space: nowrap;
}

.section-copy {
  max-width: 500px;
  margin: 16px 0 0;
  color: var(--muted);
  font-family: var(--cn-font);
  font-size: clamp(0.88rem, 0.94vw, 0.98rem);
  font-weight: 600;
  line-height: 1.8;
}

.features .feature-copy {
  display: grid;
  justify-items: center;
  width: min(100%, 2200px);
  text-align: center;
}

.features .section-kicker {
  color: rgba(57, 255, 122, 0.6);
  font-size: clamp(0.82rem, 0.91vw, 1.25rem);
  letter-spacing: 0.275em;
  text-shadow: none;
}

.features .section-title {
  max-width: min(100%, 1500px);
  margin-top: clamp(12px, 1.35vw, 28px);
  font-size: clamp(3.35rem, 5.45vw, 7.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0.001em;
}

.features .section-title span {
  color: var(--green);
  text-shadow:
    0 0 18px rgba(57, 255, 122, 0.72),
    0 0 64px rgba(57, 255, 122, 0.34);
}

.features .section-copy {
  max-width: none;
  margin-top: clamp(24px, 2vw, 42px);
  color: rgba(224, 238, 229, 0.72);
  font-size: clamp(1rem, 1.36vw, 1.875rem);
  font-weight: 400;
  line-height: 1.42;
  text-align: center;
}

.feature-orbit {
  display: grid;
  width: min(100%, 1510px);
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  align-items: center;
  justify-content: center;
  column-gap: clamp(18px, 1.82vw, 40px);
  row-gap: clamp(30px, 3.6vw, 64px);
}

.feature-orbit .hex-showcase {
  grid-column: 1 / -1;
}

.capability-rail {
  display: contents;
  min-height: 0;
}

.capability-rail-left,
.capability-rail-right {
  justify-self: auto;
}

.capability-item {
  display: flex;
  align-items: center;
  width: min(100%, 292px);
  min-height: 60px;
  gap: 12px;
  color: #fff;
}

.capability-connector {
  display: none;
}

.capability-connector::before {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(57, 255, 122, 0.5));
  content: "";
}

.capability-connector::after {
  position: absolute;
  right: -5px;
  width: 10px;
  height: 10px;
  border: 1px solid var(--green);
  border-radius: 50%;
  background: rgba(57, 255, 122, 0.2);
  box-shadow: 0 0 8px rgba(57, 255, 122, 0.55);
  content: "";
}

.capability-icon {
  display: grid;
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  place-items: center;
  border: 1px solid rgba(57, 255, 122, 0.45);
  border-radius: 10px;
  background: rgba(57, 255, 122, 0.08);
  box-shadow:
    0 0 18px rgba(57, 255, 122, 0.12),
    inset 0 0 18px rgba(57, 255, 122, 0.035);
}

.capability-icon svg {
  width: 30px;
  height: 30px;
  color: var(--green);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.45;
  filter: drop-shadow(0 0 8px rgba(57, 255, 122, 0.62));
}

.capability-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
  font-family: var(--cn-font);
  line-height: 1.3;
}

.capability-copy strong {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.capability-copy em {
  color: #6a7282;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.capability-rail-right .capability-item {
  margin-left: 0;
}

.capability-rail-right .capability-connector {
  order: 0;
}

.capability-rail-right .capability-connector::before {
  background: linear-gradient(90deg, transparent, rgba(57, 255, 122, 0.5));
}

.dashboard-frame :is(article) {
  position: relative;
  border: 1px solid rgba(57, 255, 122, 0.2);
  background:
    linear-gradient(135deg, rgba(57, 255, 122, 0.055), transparent 44%),
    rgba(0, 7, 3, 0.58);
  box-shadow: inset 0 0 28px rgba(57, 255, 122, 0.035);
}

.hex-showcase {
  position: relative;
  grid-row: 1;
  justify-self: center;
  width: clamp(360px, 26.34vw, 580px);
  min-height: clamp(350px, 23.6vw, 520px);
  display: grid;
  place-items: center;
  overflow: visible;
  isolation: isolate;
  cursor: crosshair;
}

.hex-showcase::before,
.hex-showcase::after {
  position: absolute;
  inset: -58%;
  z-index: 1;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  content: "";
  transition: opacity 160ms ease, filter 160ms ease;
  will-change: transform, opacity;
}

.hex-showcase::before {
  background:
    radial-gradient(circle at 3% 52%, var(--green) 0 2.5px, transparent 3.7px),
    radial-gradient(circle at 13% 18%, rgba(57, 255, 122, 0.9) 0 1.6px, transparent 2.8px),
    radial-gradient(circle at 25% 88%, rgba(57, 255, 122, 0.82) 0 2px, transparent 3.2px),
    radial-gradient(circle at 44% 5%, rgba(57, 255, 122, 0.9) 0 1.5px, transparent 2.7px),
    radial-gradient(circle at 70% 13%, var(--green) 0 2.2px, transparent 3.5px),
    radial-gradient(circle at 95% 46%, rgba(57, 255, 122, 0.88) 0 1.8px, transparent 3px),
    radial-gradient(circle at 82% 89%, rgba(57, 255, 122, 0.78) 0 2.6px, transparent 4px),
    radial-gradient(circle at 53% 96%, rgba(57, 255, 122, 0.74) 0 1.4px, transparent 2.5px);
  filter: drop-shadow(0 0 10px rgba(57, 255, 122, 0.88));
}

.hex-showcase::after {
  inset: -92%;
  background:
    radial-gradient(circle at 2% 34%, rgba(57, 255, 122, 0.95) 0 1.4px, transparent 2.6px),
    radial-gradient(circle at 11% 75%, rgba(57, 255, 122, 0.78) 0 2px, transparent 3.1px),
    radial-gradient(circle at 31% 8%, rgba(57, 255, 122, 0.86) 0 1.8px, transparent 3px),
    radial-gradient(circle at 47% 91%, rgba(57, 255, 122, 0.72) 0 1.3px, transparent 2.4px),
    radial-gradient(circle at 69% 3%, rgba(57, 255, 122, 0.82) 0 1.5px, transparent 2.7px),
    radial-gradient(circle at 98% 38%, rgba(57, 255, 122, 0.88) 0 2px, transparent 3.2px),
    radial-gradient(circle at 86% 78%, rgba(57, 255, 122, 0.68) 0 2.4px, transparent 3.8px),
    radial-gradient(circle at 58% 18%, rgba(57, 255, 122, 0.8) 0 1.2px, transparent 2.3px);
  filter: drop-shadow(0 0 7px rgba(57, 255, 122, 0.75));
}

.hex-showcase:hover::before,
.hex-showcase.is-crystal-active::before {
  opacity: 1;
  animation: hexParticleSuctionWide 1.35s linear infinite;
}

.hex-showcase:hover::after,
.hex-showcase.is-crystal-active::after {
  opacity: 0.88;
  animation: hexParticleSuctionDeep 1.9s linear infinite reverse;
}

.hex-aura {
  position: absolute;
  top: 0;
  left: 50%;
  width: clamp(154px, 10.18vw, 224px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(57, 255, 122, 0.22);
  filter: blur(64px);
  transform: translateX(-50%);
}

.hex-crystal-svg {
  position: relative;
  z-index: 2;
  width: clamp(260px, 18.9vw, 416px);
  max-width: min(100%, 416px);
  height: auto;
  overflow: visible;
  filter:
    drop-shadow(0 0 20px rgba(57, 255, 122, 0.48))
    drop-shadow(0 0 70px rgba(57, 255, 122, 0.22));
  animation: crystalFloat 4.1s ease-in-out infinite;
}

.hex-crystal-svg::before {
  display: none;
}

.hex-crystal-svg .hx-orbit {
  transform-box: fill-box;
  transform-origin: center;
}

.hex-crystal-svg .hx-orbit polygon {
  fill: none;
  stroke: var(--green);
  stroke-linejoin: miter;
}

.hex-crystal-svg .hx-orbit circle {
  fill: var(--green);
}

.hex-crystal-svg .hx-orbit-outer {
  animation: hxOrbitClock 30s linear infinite;
}

.hex-crystal-svg .hx-orbit-outer polygon {
  stroke-width: 0.65;
  stroke-dasharray: 7 6;
  stroke-opacity: 0.18;
}

.hex-crystal-svg .hx-orbit-outer circle {
  fill-opacity: 0.55;
}

.hex-crystal-svg .hx-orbit-inner {
  animation: hxOrbitCounter 20s linear infinite;
}

.hex-crystal-svg .hx-orbit-inner polygon {
  stroke-width: 0.5;
  stroke-dasharray: 3 8;
  stroke-opacity: 0.12;
}

.hex-crystal-svg .hx-orbit-inner circle {
  fill-opacity: 0.35;
}

.hex-crystal-svg .facet,
.hex-crystal-svg .inner-facet {
  fill: var(--green);
  stroke: var(--green);
  stroke-linejoin: miter;
}

.hex-crystal-svg .facet {
  stroke-width: 0.8;
  stroke-opacity: 0.42;
}

.hex-crystal-svg .inner-facet {
  stroke-width: 0.5;
  stroke-opacity: 0.22;
}

.hex-crystal-svg .f1 { fill-opacity: 0.16; }
.hex-crystal-svg .f2 { fill-opacity: 0.06; }
.hex-crystal-svg .f3 { fill-opacity: 0.02; }
.hex-crystal-svg .f4 { fill-opacity: 0.02; }
.hex-crystal-svg .f5 { fill-opacity: 0.05; }
.hex-crystal-svg .f6 { fill-opacity: 0.14; }

.hex-crystal-svg .inner-facet.f1 { fill-opacity: 0.32; }
.hex-crystal-svg .inner-facet.f2 { fill-opacity: 0.12; }
.hex-crystal-svg .inner-facet.f3 { fill-opacity: 0.04; }
.hex-crystal-svg .inner-facet.f4 { fill-opacity: 0.04; }
.hex-crystal-svg .inner-facet.f5 { fill-opacity: 0.1; }
.hex-crystal-svg .inner-facet.f6 { fill-opacity: 0.28; }

.hex-crystal-svg .hx-body {
  fill: url(#hxBodyFill);
  stroke: var(--green);
  stroke-width: 1.9;
  stroke-opacity: 0.88;
  filter: url(#hxEdgeGlow);
}

.hex-crystal-svg .hx-mid-ring,
.hex-crystal-svg .hx-inner-ring {
  fill: none;
  stroke: var(--green);
}

.hex-crystal-svg .hx-mid-ring {
  stroke-width: 0.8;
  stroke-opacity: 0.28;
  filter: url(#hxMid);
}

.hex-crystal-svg .hx-inner-ring {
  stroke-width: 0.8;
  stroke-opacity: 0.42;
}

.hex-crystal-svg .hx-spokes {
  fill: none;
  stroke: var(--green);
  stroke-width: 0.4;
  stroke-opacity: 0.18;
}

.hex-crystal-svg .hx-markers circle:nth-child(odd) {
  fill: var(--green);
  fill-opacity: 0.1;
}

.hex-crystal-svg .hx-markers circle:nth-child(even) {
  fill: #000;
  stroke: var(--green);
  stroke-width: 1.3;
  stroke-opacity: 0.7;
}

.hex-crystal-svg .hx-ticks {
  opacity: 0.35;
}

.hex-crystal-svg .hx-ticks path {
  fill: none;
  stroke: var(--green);
  stroke-width: 0.8;
  stroke-linecap: square;
}

.hex-crystal-svg .hx-ticks rect {
  fill: none;
  stroke: var(--green);
  stroke-width: 0.7;
}

.hex-crystal-svg .hx-core-bloom {
  fill: url(#hxCoreFill);
  filter: url(#hxCoreBloom);
  animation: hxCoreBloom 2.8s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}

.hex-crystal-svg .hx-core {
  transform-box: fill-box;
  transform-origin: center;
  animation: hxCorePulse 2.8s ease-in-out infinite;
}

.hex-crystal-svg .hx-core polygon:first-child {
  fill: var(--green);
  fill-opacity: 0.95;
}

.hex-crystal-svg .hx-core polygon:nth-child(2) {
  fill: rgba(57, 255, 122, 0.18);
  stroke: rgba(57, 255, 122, 0.72);
  stroke-width: 1;
}

.hex-crystal-svg .hx-core line {
  stroke: rgba(57, 255, 122, 0.76);
  stroke-width: 2;
  stroke-linecap: round;
}

.hex-crystal-svg .hx-core circle {
  fill: rgba(57, 255, 122, 0.52);
}

.hex-crystal-svg .hx-flow-particles circle {
  fill: var(--green);
  fill-opacity: 0.7;
  filter: url(#hxMid);
  animation: hxParticleFlow 6s linear infinite;
}

.hex-showcase:hover .hex-crystal-svg,
.hex-showcase.is-crystal-active .hex-crystal-svg {
  animation-duration: 2.2s;
  filter:
    drop-shadow(0 0 26px rgba(57, 255, 122, 0.7))
    drop-shadow(0 0 92px rgba(57, 255, 122, 0.34));
}

.hex-showcase:hover .hex-crystal-svg .hx-orbit-outer,
.hex-showcase.is-crystal-active .hex-crystal-svg .hx-orbit-outer {
  animation-duration: 10s;
}

.hex-showcase:hover .hex-crystal-svg .hx-orbit-inner,
.hex-showcase.is-crystal-active .hex-crystal-svg .hx-orbit-inner {
  animation-duration: 7s;
}

.hex-showcase:hover .hex-crystal-svg .hx-core,
.hex-showcase:hover .hex-crystal-svg .hx-core-bloom,
.hex-showcase.is-crystal-active .hex-crystal-svg .hx-core,
.hex-showcase.is-crystal-active .hex-crystal-svg .hx-core-bloom {
  animation-duration: 1.15s;
}

.hex-showcase:hover .hex-crystal-svg .hx-flow-particles circle,
.hex-showcase.is-crystal-active .hex-crystal-svg .hx-flow-particles circle {
  animation-duration: 2.2s;
  animation-timing-function: linear;
}

.hex-crystal-svg .hx-flow-particles circle:nth-child(2) { animation-delay: -1.4s; opacity: 0.7; }
.hex-crystal-svg .hx-flow-particles circle:nth-child(3) { animation-delay: -2.8s; opacity: 0.8; }
.hex-crystal-svg .hx-flow-particles circle:nth-child(4) { animation-delay: -4.2s; opacity: 0.6; }

.hex-base {
  display: none;
}

.console-preview {
  display: grid;
  align-items: start;
  padding-top: clamp(64px, 4.55vw, 96px);
}

.console-grid {
  width: min(2074px, 100%);
  min-height: clamp(700px, 48.5vw, 1065px);
  grid-template-columns: 1fr;
  align-content: start;
  justify-items: center;
  justify-content: center;
  gap: 0;
  padding: clamp(58px, 5.1vw, 112px) clamp(22px, 3vw, 64px) clamp(24px, 2.7vw, 58px);
  background: #000;
}

.console-copy {
  display: grid;
  justify-items: center;
  width: 100%;
  min-height: clamp(136px, 11.2vw, 247px);
  align-content: start;
  padding: 0;
  text-align: center;
}

.console-copy .section-title {
  margin: 0;
  font-size: clamp(4rem, 5.45vw, 7.5rem);
  font-weight: 900;
  letter-spacing: -0.0075em;
  line-height: 0.95;
}

.console-subtitle {
  margin: clamp(20px, 1.45vw, 32px) 0 0;
  color: #fff;
  font-family: var(--cn-font);
  font-size: clamp(1.45rem, 1.82vw, 2.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.004em;
}

.console-subtitle span {
  color: var(--green);
  text-shadow:
    0 0 16px rgba(57, 255, 122, 0.62),
    0 0 48px rgba(57, 255, 122, 0.26);
}

.console-copy .section-copy {
  max-width: none;
  margin-top: clamp(18px, 1.36vw, 30px);
  color: rgba(198, 214, 204, 0.72);
  font-family: var(--mono-font);
  font-size: clamp(0.56rem, 0.5vw, 0.6875rem);
  font-weight: 400;
  letter-spacing: 0.25em;
  line-height: 1.5;
  text-transform: uppercase;
}

.console-cta {
  position: absolute;
  width: 1px;
  height: 1px;
  width: max-content;
  margin: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.dashboard-frame {
  position: relative;
  overflow: hidden;
  width: min(1670px, 100%);
  height: auto;
  min-height: clamp(430px, 31vw, 640px);
  border: 1px solid rgba(57, 255, 122, 0.3);
  border-radius: 16px;
  padding: clamp(15px, 1.09vw, 24px);
  background:
    radial-gradient(circle at 108% 70%, rgba(57, 255, 122, 0.15), transparent 12rem),
    radial-gradient(circle at -5% -18%, rgba(57, 255, 122, 0.1), transparent 12rem),
    rgba(0, 0, 0, 0.6);
  box-shadow:
    0 0 50px rgba(57, 255, 122, 0.12),
    inset 0 0 18px rgba(57, 255, 122, 0.025);
  backdrop-filter: blur(4px);
}

.dashboard-topline {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: clamp(14px, 1.09vw, 24px);
  color: var(--green);
  font-family: var(--sans-font);
  font-size: clamp(0.58rem, 0.5vw, 0.6875rem);
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.dashboard-topline span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-right: auto;
}

.dashboard-topline i,
.dashboard-topline b {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(57, 255, 122, 0.32);
}

.dashboard-topline i {
  background: var(--green);
  box-shadow: var(--glow);
  animation: neonBlink 1.8s ease-in-out infinite;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(8px, 0.73vw, 16px);
  margin-bottom: clamp(16px, 1.09vw, 24px);
}

.dashboard-stats article {
  position: relative;
  display: block;
  min-height: clamp(70px, 4.76vw, 112px);
  border: 1px solid rgba(57, 255, 122, 0.32);
  border-radius: 0;
  padding: clamp(13px, 0.73vw, 16px);
  background: rgba(0, 0, 0, 0.5);
  box-shadow: none;
}

.dashboard-stats article::before,
.dashboard-stats article::after {
  position: absolute;
  inset: -1px;
  background:
    linear-gradient(var(--green), var(--green)) left top / 10px 1px no-repeat,
    linear-gradient(var(--green), var(--green)) left top / 1px 10px no-repeat,
    linear-gradient(var(--green), var(--green)) right top / 10px 1px no-repeat,
    linear-gradient(var(--green), var(--green)) right top / 1px 10px no-repeat,
    linear-gradient(var(--green), var(--green)) left bottom / 10px 1px no-repeat,
    linear-gradient(var(--green), var(--green)) left bottom / 1px 10px no-repeat,
    linear-gradient(var(--green), var(--green)) right bottom / 10px 1px no-repeat,
    linear-gradient(var(--green), var(--green)) right bottom / 1px 10px no-repeat;
  content: "";
  opacity: 0.88;
  pointer-events: none;
}

.dashboard-stats article::after {
  opacity: 0.35;
  filter: drop-shadow(0 0 8px var(--green));
}

.dashboard-stats svg {
  display: none;
}

.dashboard-stats span,
.dashboard-stats em,
.dashboard-layout h3 {
  color: #6a7282;
  font-family: var(--mono-font), var(--cn-font);
  font-size: clamp(0.52rem, 0.45vw, 0.625rem);
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.25em;
}

.dashboard-stats strong {
  display: block;
  margin-top: clamp(6px, 0.58vw, 14px);
  color: var(--green);
  font-family: var(--display-font);
  font-size: clamp(1.35rem, 1.36vw, 1.875rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-shadow: none;
}

.dashboard-stats em {
  display: block;
  margin-top: clamp(3px, 0.3vw, 8px);
  color: rgba(57, 255, 122, 0.7);
  font-family: var(--sans-font);
  font-size: clamp(0.52rem, 0.45vw, 0.625rem);
  letter-spacing: 0.016em;
}

.dashboard-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.03fr) minmax(240px, 1fr);
  grid-template-rows: minmax(clamp(230px, 15.6vw, 300px), auto);
  grid-template-areas:
    "chart routing";
  gap: clamp(12px, 0.73vw, 16px);
  align-items: stretch;
}

.chart-panel {
  grid-area: chart;
  display: grid;
  grid-template-rows: auto minmax(0, auto);
  min-height: clamp(230px, 15.6vw, 300px);
}

.status-panel,
.routing-panel,
.log-panel {
  min-height: auto;
  overflow: hidden;
}

.status-panel {
  grid-area: status;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  column-gap: 18px;
}

.routing-panel {
  grid-area: routing;
}

.log-panel {
  grid-area: log;
}

.chart-panel,
.status-panel,
.routing-panel,
.log-panel {
  border: 1px solid rgba(57, 255, 122, 0.2);
  border-radius: 14px;
  padding: clamp(13px, 0.77vw, 17px);
  background: rgba(0, 0, 0, 0.5);
}

.dashboard-layout h3 {
  margin: 0;
  color: #99a1af;
  font-family: var(--sans-font), var(--cn-font);
  font-size: clamp(0.62rem, 0.55vw, 0.75rem);
  letter-spacing: 0.016em;
  text-shadow: none;
}

.status-panel h3 {
  grid-column: 1 / -1;
}

.chart-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.chart-range {
  display: flex;
  gap: 4px;
  font-family: var(--sans-font);
  font-size: 10px;
}

.chart-range span {
  min-width: 28px;
  border: 1px solid rgba(57, 255, 122, 0.2);
  border-radius: 4px;
  padding: 3px 7px;
  color: #6a7282;
}

.chart-range .active {
  border-color: var(--green);
  color: var(--green);
  background: rgba(57, 255, 122, 0.1);
}

.chart-panel svg {
  align-self: start;
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 620 / 250;
}

.chart-panel svg .chart-tip {
  pointer-events: none;
  transform-box: fill-box;
  transform-origin: center;
}

.chart-grid path {
  fill: none;
  stroke: var(--green-line);
  stroke-dasharray: 4 8;
  stroke-width: 1;
  opacity: 0.3;
}

.chart-axis text {
  display: none;
  fill: rgba(255, 255, 255, 0.3);
  font-family: var(--mono-font);
  font-size: 10px;
  letter-spacing: 0;
}

.chart-axis-y text {
  text-anchor: end;
}

.chart-axis-x text {
  text-anchor: middle;
}

.chart-fill {
  fill: url(#chartFill);
}

.chart-line {
  fill: none;
  stroke: var(--green);
  stroke-linecap: round;
  stroke-width: 3.2;
  filter: drop-shadow(0 0 9px rgba(57, 255, 122, 0.64));
}

.chart-line.soft {
  stroke: rgba(57, 255, 122, 0.4);
  stroke-width: 2;
}

.chart-dot {
  display: none;
}

.chart-hover-line {
  stroke: rgba(57, 255, 122, 0.42);
  stroke-dasharray: 4 6;
  stroke-width: 1;
  opacity: 0.7;
  pointer-events: none;
}

.chart-tip path {
  fill: rgba(0, 16, 5, 0.9);
  stroke: rgba(57, 255, 122, 0.5);
}

.chart-tip text {
  fill: rgba(245, 255, 248, 0.86);
  font-family: var(--mono-font);
  font-size: 12px;
}

.chart-hit-area {
  cursor: crosshair;
  fill: transparent;
  pointer-events: all;
}

.template-motion-paused *,
.template-motion-paused *::before,
.template-motion-paused *::after {
  animation-play-state: paused !important;
}

.status-panel p,
.log-panel p {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  margin: 5px 0;
  color: rgba(235, 246, 239, 0.82);
  font-size: 0.72rem;
  line-height: 1.2;
}

.status-panel span {
  width: 9px;
  height: 9px;
  border: 1px solid rgba(57, 255, 122, 0.9);
  border-radius: 50%;
  background: rgba(57, 255, 122, 0.18);
  box-shadow: 0 0 8px rgba(57, 255, 122, 0.55);
}

.status-panel em {
  margin-left: auto;
  color: var(--green);
  font-style: normal;
  white-space: nowrap;
}

.route-map {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.usage-panel {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 12px;
}

.usage-list {
  display: grid;
  gap: 12px;
  align-content: start;
}

.usage-list p {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 16px;
  margin: 0;
  color: #d1d5dc;
  font-family: var(--sans-font);
  font-size: 11px;
  line-height: 1.5;
}

.usage-list em {
  color: var(--green);
  font-style: normal;
}

.usage-list i {
  position: relative;
  overflow: hidden;
  grid-column: 1 / -1;
  height: 6px;
  border-radius: 999px;
  background: rgba(57, 255, 122, 0.1);
}

.usage-list i::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--usage);
  border-radius: inherit;
  background: var(--green);
  box-shadow: 0 0 10px rgba(57, 255, 122, 0.6);
  content: "";
  transform: scaleX(var(--usage-progress, 0));
  transform-origin: left center;
  transition: transform 1200ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.route-map > span {
  display: none;
}

.route-map b {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(62px, 0.56fr) minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(57, 255, 122, 0.28);
  border-radius: 7px;
  padding: 9px 10px;
  color: var(--green);
  font-family: var(--display-font);
  font-size: 0.63rem;
  text-align: left;
  background: rgba(0, 9, 3, 0.6);
}

.route-map b::before,
.route-map b::after {
  position: absolute;
  right: 10px;
  bottom: 6px;
  left: 10px;
  height: 2px;
  border-radius: 999px;
  content: "";
}

.route-map b::before {
  background: rgba(57, 255, 122, 0.12);
}

.route-map b::after {
  width: 40%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(57, 255, 122, 0.64);
}

.route-map b:nth-child(2)::after {
  width: 30%;
}

.route-map b:nth-child(3)::after {
  width: 30%;
}

.route-map i {
  display: none;
}

.route-map svg {
  display: none;
}

.route-map svg path:first-child {
  stroke-width: 2.6;
}

.route-map svg path:last-child {
  fill: none;
  stroke-width: 5.2;
}

.route-map div {
  display: grid;
  gap: 8px;
}

.route-map b {
  min-height: 40px;
}

.route-map em {
  color: rgba(238, 247, 241, 0.7);
  font-family: var(--cn-font);
  font-size: 0.62rem;
  font-style: normal;
  letter-spacing: 0;
}

.log-panel a {
  display: inline-flex;
  margin-top: 7px;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 800;
  text-shadow: var(--glow);
}

.log-panel p {
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  margin: 5px 0;
  font-size: 0.69rem;
  line-height: 1.25;
}

.log-panel time {
  min-width: 58px;
  color: var(--green);
  font-family: var(--mono-font);
}

.feature-summary {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 0.96vw, 21px);
  width: min(1670px, 100%);
  margin: clamp(18px, 1.9vw, 42px) auto 0;
  padding: 0;
}

.feature-summary-card {
  position: relative;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  grid-template-rows: 32px auto;
  gap: 12px;
  min-height: clamp(92px, 4.81vw, 106px);
  border: 1px solid rgba(57, 255, 122, 0.2);
  border-radius: 14px;
  padding: clamp(16px, 0.96vw, 21px);
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  box-shadow:
    inset 0 0 24px rgba(57, 255, 122, 0.035),
    0 0 0 rgba(57, 255, 122, 0);
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.feature-summary-card:hover,
.feature-summary-card:focus-visible {
  border-color: rgba(57, 255, 122, 0.48);
  background: rgba(0, 9, 3, 0.62);
  box-shadow:
    0 0 26px rgba(57, 255, 122, 0.13),
    inset 0 0 28px rgba(57, 255, 122, 0.045);
  outline: 0;
  transform: translateY(-3px);
}

.feature-summary-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(57, 255, 122, 0.45);
  border-radius: 8px;
  background: rgba(57, 255, 122, 0.1);
}

.feature-summary-icon img {
  display: block;
  width: 16px;
  height: 16px;
}

.feature-summary-card strong {
  align-self: center;
  min-width: 0;
  color: #fff;
  font-family: var(--cn-font);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.5;
  white-space: nowrap;
}

.feature-summary-card em {
  grid-column: 1 / -1;
  min-width: 0;
  overflow: hidden;
  color: #6a7282;
  font-family: var(--cn-font);
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.625;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.models {
  display: grid;
  align-items: start;
  justify-items: center;
  min-height: auto;
  min-width: 0;
  padding-top: clamp(12px, 1.4vw, 28px);
  padding-bottom: clamp(28px, 2.2vw, 40px);
  overflow-x: clip;
  overflow-y: visible;
}

.console-preview,
.models {
  min-height: auto;
}

.console-preview {
  padding-bottom: clamp(24px, 2vw, 44px);
}

.models-inner {
  width: calc(100vw - (var(--page-x) * 2));
  min-width: 0;
  margin: 0 auto;
  overflow-x: clip;
  overflow-y: visible;
  text-align: center;
}

.models-heading {
  width: min(100%, 1120px);
  margin-inline: auto;
  padding-inline: var(--page-x);
}

.models-heading h2 {
  margin: 0;
  color: var(--green);
  font-family: var(--display-font);
  font-size: clamp(1.35rem, 1.56vw, 1.875rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 0.7;
  text-shadow: var(--glow);
}

.models-heading p {
  margin: 22px 0 0;
  color: #4a5565;
  font-family: var(--mono-font);
  font-size: clamp(0.82rem, 1.04vw, 1.25rem);
  font-weight: 400;
  letter-spacing: 0.165em;
  line-height: 0.82;
  text-transform: uppercase;
}

.model-logo-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
  min-width: 0;
  margin: clamp(44px, 5.4vw, 76px) auto 0;
  padding-block: 34px 0;
  overflow-x: clip;
  overflow-y: visible;
}

.model-logo-stage::before,
.model-logo-stage::after {
  pointer-events: none;
  position: absolute;
  top: -20px;
  bottom: -20px;
  z-index: 4;
  width: clamp(44px, 12vw, 180px);
  content: "";
}

.model-logo-stage::before {
  left: 0;
  background: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.82) 35%, transparent 100%);
}

.model-logo-stage::after {
  right: 0;
  background: linear-gradient(270deg, #000 0%, rgba(0, 0, 0, 0.82) 35%, transparent 100%);
}

.model-logo-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  width: max-content;
  min-width: 0;
  max-width: none;
  will-change: transform;
  --marquee-distance: 50%;
  animation: modelMarqueeLeft 34s linear infinite;
}

.model-logo-row-right {
  animation-name: modelMarqueeRight;
}

.model-logo-stage:hover .model-logo-row,
.model-logo-stage:focus-within .model-logo-row,
.model-logo-stage.is-paused .model-logo-row {
  animation-play-state: paused;
}

.model-logo-track {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: clamp(36px, 3.48vw, 67px);
  padding-inline: clamp(18px, 1.74vw, 33.5px);
}

.model-logo-track[data-marquee-clone="true"] {
  pointer-events: none;
}

.model-logo {
  position: relative;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: var(--logo-w, 120px);
  height: var(--logo-h, 120px);
  color: var(--green);
  opacity: 0.96;
  filter:
    drop-shadow(0 0 10px rgba(57, 255, 122, 0.28))
    drop-shadow(0 0 24px rgba(57, 255, 122, 0.16));
  transition:
    opacity 220ms ease,
    filter 220ms ease,
    transform 220ms ease;
}

.model-logo:hover,
.model-logo:focus-visible,
.model-logo.is-hovered {
  z-index: 8;
  opacity: 1;
  filter:
    drop-shadow(0 0 14px rgba(57, 255, 122, 0.6))
    drop-shadow(0 0 34px rgba(57, 255, 122, 0.24));
  outline: 0;
  transform: translateY(-4px) scale(1.04);
}

.model-logo::before {
  pointer-events: none;
  position: absolute;
  left: 50%;
  bottom: calc(100% + 22px);
  z-index: 6;
  display: grid;
  place-items: center;
  width: 204px;
  height: 46px;
  border: 1px solid #123813;
  color: var(--green);
  font-family: "Inter", var(--sans-font);
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  background: rgba(0, 0, 0, 0.8);
  content: attr(data-model-name);
  opacity: 0;
  transform: translate(calc(-50% + var(--tip-shift, 0px)), 8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.model-logo::after {
  pointer-events: none;
  position: absolute;
  left: 50%;
  bottom: calc(100% + 22px);
  z-index: 7;
  width: 204px;
  height: 46px;
  background:
    linear-gradient(var(--green), var(--green)) left top / 6px 1px no-repeat,
    linear-gradient(var(--green), var(--green)) left top / 1px 6px no-repeat,
    linear-gradient(var(--green), var(--green)) right top / 6px 1px no-repeat,
    linear-gradient(var(--green), var(--green)) right top / 1px 6px no-repeat,
    linear-gradient(var(--green), var(--green)) left bottom / 6px 1px no-repeat,
    linear-gradient(var(--green), var(--green)) left bottom / 1px 6px no-repeat,
    linear-gradient(var(--green), var(--green)) right bottom / 6px 1px no-repeat,
    linear-gradient(var(--green), var(--green)) right bottom / 1px 6px no-repeat;
  content: "";
  opacity: 0;
  transform: translate(calc(-50% + var(--tip-shift, 0px)), 8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.model-logo:hover::before,
.model-logo:hover::after,
.model-logo:focus-visible::before,
.model-logo:focus-visible::after,
.model-logo.is-hovered::before,
.model-logo.is-hovered::after {
  opacity: 1;
  transform: translate(calc(-50% + var(--tip-shift, 0px)), 0);
}

.model-logo img {
  display: block;
  width: min(100%, var(--asset-w, 100%));
  max-height: min(100%, var(--asset-h, 100%));
  height: auto;
  object-fit: contain;
}

.model-logo-openai { --logo-w: 120px; --logo-h: 120px; --asset-w: 100px; --asset-h: 100px; }
.model-logo-ai { --logo-w: 120px; --logo-h: 120px; --asset-w: 100px; --asset-h: 80px; }
.model-logo-spark { --logo-w: 120px; --logo-h: 120px; --asset-w: 120px; --asset-h: 120px; }
.model-logo-orbit { --logo-w: 120px; --logo-h: 120px; --asset-w: 120px; --asset-h: 120px; }
.model-logo-dragon { --logo-w: 120px; --logo-h: 120px; --asset-w: 120px; --asset-h: 120px; }
.model-logo-star { --logo-w: 100px; --logo-h: 100px; --asset-w: 100px; --asset-h: 100px; }
.model-logo-cube { --logo-w: 90px; --logo-h: 100px; --asset-w: 90px; --asset-h: 100px; }
.model-logo-capsule { --logo-w: 120px; --logo-h: 120px; --asset-w: 120px; --asset-h: 120px; }
.model-logo-face { --logo-w: 100px; --logo-h: 100px; --asset-w: 100px; --asset-h: 100px; }
.model-logo-arch { --logo-w: 100px; --logo-h: 100px; --asset-w: 100px; --asset-h: 100px; }
.model-logo-meta { --logo-w: 100px; --logo-h: 100px; --asset-w: 100px; --asset-h: 100px; }
.model-logo-dot { --logo-w: 80px; --logo-h: 80px; --asset-w: 80px; --asset-h: 80px; }

.home-footer {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: calc(100% - (var(--page-x) * 2));
  margin: 0 auto;
  border-top: 0;
  padding: 24px 0 24px;
  color: #4a5565;
  font-family: var(--sans-font);
  text-align: left;
}

.home-footer::before {
  position: absolute;
  top: 0;
  left: calc(var(--page-x) * -1);
  width: 100vw;
  height: 1px;
  background: rgba(57, 255, 122, 0.15);
  content: "";
}

.footer-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  height: 18px;
}

.footer-brand {
  flex: 0 0 auto;
  color: var(--green);
  font-family: var(--display-font);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 18px;
  text-shadow: 0 0 10px rgba(57, 255, 122, 0.5);
}

.home-footer p,
.home-footer nav a {
  margin: 0;
  color: #4a5565;
  font-family: var(--sans-font);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.5;
  white-space: nowrap;
}

.home-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}

.home-footer nav a:hover {
  color: rgba(57, 255, 122, 0.86);
  text-shadow: 0 0 10px rgba(57, 255, 122, 0.32);
}

.auth-stage {
  position: relative;
  display: grid;
  isolation: isolate;
  grid-template-columns: minmax(170px, 250px) minmax(0, 620px) minmax(170px, 250px);
  place-content: center;
  align-items: center;
  gap: clamp(24px, 5vw, 78px);
  min-height: 100vh;
  padding: calc(var(--nav-h) + 34px) var(--page-x) 54px;
  overflow-x: clip;
}

.nexai-auth .shell::after {
  pointer-events: none;
  position: fixed;
  right: -8vw;
  bottom: -8vh;
  left: -8vw;
  z-index: -1;
  height: 48vh;
  background:
    linear-gradient(rgba(57, 255, 122, 0.16) 1px, transparent 1px) 0 0 / 56px 56px;
  opacity: 0.18;
  transform: perspective(520px) rotateX(64deg);
  transform-origin: bottom center;
  mask-image: linear-gradient(transparent 0, black 34%, black 74%, transparent 100%);
  content: "";
}

.auth-cabin {
  position: relative;
  width: min(620px, calc(100vw - (var(--page-x) * 2)));
  max-width: 100%;
  border: 1px solid rgba(57, 255, 122, 0.56);
  border-radius: 0;
  padding: clamp(34px, 4.4vw, 56px) clamp(32px, 4.6vw, 64px);
  background:
    linear-gradient(135deg, rgba(57, 255, 122, 0.09), transparent 36%),
    rgba(0, 4, 2, 0.86);
  box-shadow:
    0 0 70px rgba(57, 255, 122, 0.28),
    inset 0 0 34px rgba(57, 255, 122, 0.06);
  clip-path: polygon(0 28px, 28px 0, calc(100% - 28px) 0, 100% 28px, 100% calc(100% - 28px), calc(100% - 28px) 100%, 28px 100%, 0 calc(100% - 28px));
}

.auth-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--green);
  font-family: var(--display-font);
  font-size: clamp(0.88rem, 1vw, 1.04rem);
  font-weight: 900;
  letter-spacing: 0.36em;
  text-align: center;
  text-shadow: var(--glow);
}

.auth-brand .brand-mark {
  width: 30px;
  height: 30px;
}

.auth-cabin h1 {
  margin: 28px 0 8px;
  color: #fff;
  font-family: var(--cn-font);
  font-size: clamp(1.95rem, 2.8vw, 3.05rem);
  font-weight: 800;
  text-align: center;
}

.auth-subtitle,
.auth-footnote {
  margin: 0 0 22px;
  color: rgba(222, 232, 226, 0.58);
  font-size: 0.84rem;
  line-height: 1.65;
  text-align: center;
}

.field-line {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: rgba(231, 243, 236, 0.74);
  font-family: var(--cn-font);
  font-size: 0.84rem;
  font-weight: 700;
}

.field-line input {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(57, 255, 122, 0.28);
  border-radius: 8px;
  outline: none;
  padding: 0 15px;
  color: #f7fff9;
  background: rgba(0, 0, 0, 0.64);
  box-shadow: inset 0 0 16px rgba(57, 255, 122, 0.045);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field-line input:focus {
  border-color: rgba(57, 255, 122, 0.86);
  box-shadow: 0 0 18px rgba(57, 255, 122, 0.18), inset 0 0 18px rgba(57, 255, 122, 0.08);
}

.auth-message {
  min-height: 24px;
  margin: 4px 0 16px;
  color: rgba(232, 242, 236, 0.66);
  font-size: 0.88rem;
  line-height: 1.5;
  text-align: center;
}

.auth-message.error {
  color: #ff6874;
  text-shadow: 0 0 12px rgba(255, 80, 80, 0.3);
}

.auth-message.success {
  color: var(--green);
  text-shadow: var(--glow);
}

.auth-cabin .mini-action {
  width: 100%;
  min-height: 50px;
  cursor: pointer;
  border-color: rgba(57, 255, 122, 0.72);
  border-radius: 8px;
  color: #041006;
  background: #39ff7a;
  background-image: none;
  box-shadow:
    0 0 30px rgba(57, 255, 122, 0.26),
    inset 0 0 18px rgba(255, 255, 255, 0.18);
  text-shadow: none;
}

.mini-action:disabled {
  cursor: wait;
  opacity: 0.62;
}

.auth-footnote {
  margin: 24px 0 0;
  color: rgba(57, 255, 122, 0.54);
  font-family: var(--mono-font);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
}

.auth-status {
  display: grid;
  gap: 30px;
  color: var(--green);
  font-family: var(--mono-font);
  font-size: 0.68rem;
  letter-spacing: 0.24em;
}

.auth-status p {
  min-width: 188px;
  margin: 0;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  clip-path: none;
}

.auth-status span,
.auth-status strong {
  display: block;
}

.auth-status span {
  color: rgba(210, 224, 216, 0.44);
  font-size: 0.66rem;
}

.auth-status strong {
  margin-top: 6px;
  font-family: var(--display-font);
  text-shadow: var(--glow);
}

.fingerprint {
  justify-self: center;
  width: 102px;
  height: 132px;
  border: 1px solid rgba(57, 255, 122, 0.28);
  border-radius: 48% 48% 44% 44%;
  background:
    radial-gradient(ellipse at center, transparent 0 12px, rgba(57, 255, 122, 0.85) 13px 14px, transparent 15px 22px, rgba(57, 255, 122, 0.64) 23px 24px, transparent 25px 34px, rgba(57, 255, 122, 0.48) 35px 36px, transparent 37px),
    radial-gradient(ellipse at center, rgba(57, 255, 122, 0.08), transparent 70%);
  opacity: 0.62;
  filter: drop-shadow(0 0 14px rgba(57, 255, 122, 0.36));
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 750ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 750ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* Staggered feature capability entrance */
.capability-rail-left.reveal { transition-delay: 90ms; }
.hex-showcase.reveal { transition-delay: 160ms; }
.capability-rail-right.reveal { transition-delay: 230ms; }

/* Staggered model logo entrance */
.model-logo-stage.reveal { transition-delay: 120ms; }

.hero-frame.reveal,
.hero-frame.reveal.is-visible {
  transform: translateX(-50%);
  filter: none;
}

/* Compatibility for the supporting static pages in this template package. */
.subpage,
.product-page {
  position: relative;
  z-index: 3;
  width: min(1180px, calc(100% - (var(--page-x) * 2)));
  margin: 0 auto;
  padding: calc(var(--nav-h) + clamp(48px, 7vh, 96px)) 0 clamp(72px, 10vh, 120px);
}

.subpage-layout,
.dashboard-layout.compat,
.ranking-grid,
.dashboard-grid,
.docs-grid,
.about-grid,
.pricing-grid,
.model-shell,
.feature-grid,
.stat-strip {
  display: grid;
  gap: 18px;
}

.subpage-layout {
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  align-items: center;
}

.subpage-panel,
.theme-panel,
.content-panel,
.filter-panel,
.data-panel,
.ranking-card,
.dashboard-card,
.docs-card,
.about-card,
.price-card,
.terminal,
.signal-board {
  border: 1px solid rgba(57, 255, 122, 0.23);
  border-radius: 8px;
  background: rgba(0, 7, 3, 0.62);
  box-shadow: inset 0 0 24px rgba(57, 255, 122, 0.04);
}

.subpage-panel,
.content-panel,
.filter-panel,
.data-panel,
.ranking-card,
.dashboard-card,
.docs-card,
.about-card,
.price-card,
.terminal {
  padding: clamp(20px, 3vw, 32px);
}

.eyebrow,
.subpage-copy .eyebrow,
.product-hero .eyebrow {
  margin: 0 0 18px;
  color: var(--green);
  font-family: var(--mono-font);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-shadow: var(--glow);
}

.subpage-copy h1,
.product-hero h1,
.subpage-panel h1 {
  margin: 0;
  color: #fff;
  font-family: var(--cn-font);
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  font-weight: 800;
  line-height: 1.08;
}

.subpage-copy p,
.product-hero p,
.subpage-panel p,
.price-card p,
.ranking-card span,
.dashboard-card span,
.docs-card span,
.about-card span {
  color: var(--muted);
  font-family: var(--cn-font);
  line-height: 1.8;
}

.gradient-word,
.price-card strong,
.ranking-card strong,
.dashboard-card strong,
.docs-card strong,
.about-card strong {
  color: var(--green);
  text-shadow: var(--glow);
}

.feature-grid,
.pricing-grid,
.ranking-grid,
.dashboard-grid,
.docs-grid,
.about-grid,
.stat-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.model-shell {
  grid-template-columns: 260px minmax(0, 1fr);
}

.terminal pre,
.code-block {
  margin: 0;
  overflow: auto;
  color: #e5fff0;
  font-family: var(--mono-font);
  line-height: 1.8;
}

.theme-button,
.mini-action {
  text-transform: uppercase;
}

@keyframes scanLine {
  0% { top: -4px; }
  100% { top: 100vh; }
}

@keyframes neonPulse {
  0%,
  100% {
    text-shadow:
      0 0 18px rgba(57, 255, 122, 0.78),
      0 0 68px rgba(57, 255, 122, 0.42),
      0 0 120px rgba(57, 255, 122, 0.18);
  }
  50% {
    text-shadow:
      0 0 32px rgba(57, 255, 122, 0.95),
      0 0 102px rgba(57, 255, 122, 0.58),
      0 0 160px rgba(57, 255, 122, 0.25);
  }
}

@keyframes glowBreath {
  0%,
  100% {
    opacity: 0.65;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.13);
  }
}

@keyframes wheelDot {
  0% { opacity: 1; transform: translate(-50%, 0); }
  70% { opacity: 0; transform: translate(-50%, 11px); }
  100% { opacity: 0; transform: translate(-50%, 0); }
}

@keyframes scrollLineBlink {
  0%,
  44% {
    opacity: 1;
    box-shadow: 0 0 12px rgba(57, 255, 122, 0.86);
  }
  45%,
  100% {
    opacity: 0.16;
    box-shadow: none;
  }
}

@keyframes cornerPulse {
  0%,
  100% { opacity: 0.55; }
  50% { opacity: 1; }
}

@keyframes cornerFlashWhite {
  0%,
  16%,
  40%,
  64%,
  100% {
    border-color: var(--green);
    filter: drop-shadow(0 0 10px rgba(57, 255, 122, 0.82));
  }
  17%,
  36%,
  65%,
  84% {
    border-color: #ffffff;
    filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.96));
  }
}

@keyframes dashFlow {
  to { stroke-dashoffset: -40; }
}

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

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

@keyframes hxCoreBloom {
  0%,
  100% {
    opacity: 0.75;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.28);
  }
}

@keyframes hxCorePulse {
  0%,
  100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

@keyframes hxParticleFlow {
  0% { transform: translate(332px, 200px); }
  16% { transform: translate(266px, 314px); }
  33% { transform: translate(134px, 314px); }
  50% { transform: translate(68px, 200px); }
  66% { transform: translate(134px, 86px); }
  83% { transform: translate(266px, 86px); }
  100% { transform: translate(332px, 200px); }
}

@keyframes crystalFloat {
  0%,
  100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes modelMarqueeLeft {
  from { transform: translateX(0); }
  to { transform: translateX(calc(var(--marquee-distance) * -1)); }
}

@keyframes modelMarqueeRight {
  from { transform: translateX(calc(var(--marquee-distance) * -1)); }
  to { transform: translateX(0); }
}

@keyframes neonBlink {
  0%,
  100% { opacity: 0.55; }
  50% { opacity: 1; }
}

@media (max-width: 980px) {
  .features-grid,
  .console-grid,
  .subpage-layout,
  .model-shell {
    grid-template-columns: 1fr;
  }

  .features-grid {
    min-height: auto;
    gap: clamp(36px, 8vw, 58px);
  }

  .console-copy {
    padding-left: 0;
  }

  .console-grid {
    padding-inline: clamp(18px, 5vw, 34px);
  }

  .feature-orbit {
    width: min(100%, 760px);
    grid-template-columns: repeat(2, minmax(0, 260px));
    gap: clamp(22px, 5vw, 38px);
  }

  .capability-rail {
    display: contents;
  }

  .capability-rail-right .capability-item,
  .capability-item {
    margin: 0;
  }

  .hex-showcase {
    grid-column: 1 / -1;
    min-height: clamp(380px, 62vw, 520px);
  }

  .dashboard-layout,
  .route-map {
    grid-template-columns: 1fr;
  }

  .dashboard-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    grid-template-areas:
      "chart"
      "routing";
  }

  .chart-panel {
    grid-row: auto;
    min-height: 260px;
  }

  .chart-panel svg {
    height: auto;
    min-height: 230px;
  }

  .route-map i {
    width: 1px;
    height: 30px;
    margin: 0 auto;
    background: linear-gradient(180deg, transparent, var(--green), transparent);
  }

  .model-logo-row {
    animation-duration: 30s;
  }

  .model-logo-track {
    gap: 44px;
    padding-inline: 22px;
  }

  .model-logo-openai { --logo-w: 92px; --logo-h: 92px; --asset-w: 77px; --asset-h: 77px; }
  .model-logo-ai { --logo-w: 92px; --logo-h: 92px; --asset-w: 77px; --asset-h: 62px; }
  .model-logo-spark,
  .model-logo-orbit,
  .model-logo-dragon,
  .model-logo-capsule { --logo-w: 92px; --logo-h: 92px; --asset-w: 92px; --asset-h: 92px; }
  .model-logo-star,
  .model-logo-face,
  .model-logo-arch,
  .model-logo-meta { --logo-w: 78px; --logo-h: 78px; --asset-w: 78px; --asset-h: 78px; }
  .model-logo-cube { --logo-w: 72px; --logo-h: 78px; --asset-w: 72px; --asset-h: 78px; }
  .model-logo-dot { --logo-w: 64px; --logo-h: 64px; --asset-w: 64px; --asset-h: 64px; }

  .feature-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(860px, calc(100% - (var(--page-x) * 2)));
    margin-top: clamp(30px, 6vw, 54px);
  }
}

@media (min-width: 981px) and (max-width: 1120px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-orbit {
    grid-template-columns: minmax(214px, 280px) minmax(336px, 440px) minmax(214px, 280px);
    gap: 24px;
  }

  .capability-item {
    width: 292px;
  }

  .capability-connector {
    flex-basis: 36px;
  }

  .hex-showcase {
    min-height: 480px;
  }
}

@media (min-width: 981px) and (max-width: 1240px) {
  .console-grid {
    gap: 28px;
  }

  .console-copy .section-title {
    font-size: clamp(4rem, 7.6vw, 5.8rem);
  }

  .console-copy .section-copy {
    max-width: none;
  }

  .dashboard-frame {
    padding: 18px;
  }

  .dashboard-stats {
    gap: 10px;
  }

  .dashboard-stats article {
    min-height: 108px;
    padding: 14px;
  }

  .dashboard-stats strong {
    font-size: clamp(1.35rem, 2vw, 1.8rem);
  }

  .dashboard-layout {
    grid-template-columns: minmax(0, 1.6fr) minmax(220px, 0.74fr);
    grid-template-rows: minmax(220px, auto);
    grid-template-areas:
      "chart routing";
    gap: 10px;
  }

  .chart-panel svg {
    height: calc(100% - 33px);
    min-height: 190px;
  }
}

@media (max-width: 820px) {
  :root {
    --page-x: 20px;
    --nav-h: 116px;
  }

  #matrix {
    opacity: 0.6;
  }

  .nexai-grid {
    background-size: 96px 96px;
    opacity: 0.035;
  }

  .nav {
    grid-template-columns: minmax(0, 1fr) auto;
    align-content: center;
    column-gap: 12px;
    row-gap: 12px;
    padding-top: 14px;
    padding-bottom: 10px;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
    font-size: 0.9rem;
    letter-spacing: 0.26em;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .nav-links {
    grid-column: 1 / -1;
    grid-row: 2;
    order: 3;
    justify-content: space-between;
    gap: clamp(8px, 2.6vw, 14px);
    overflow-x: auto;
    scrollbar-width: none;
    padding: 0 0 6px;
    font-size: clamp(0.7rem, 3vw, 0.78rem);
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .login,
  .cipher-user-menu {
    grid-column: 2;
    grid-row: 1;
  }

  .login {
    min-width: 76px;
    min-height: 34px;
    padding: 0 16px;
  }

  .cipher-user-trigger {
    max-width: min(180px, 44vw);
  }

  .exhibition-section {
    min-height: auto;
    padding-top: calc(var(--nav-h) + 48px);
  }

  .hero {
    min-height: 100vh;
    padding-top: calc(var(--nav-h) + 150px);
  }

  .hero-frame {
    width: calc(100% - 42px);
    height: min(430px, 48vh);
    top: calc(var(--nav-h) + 52px);
    transform: translateX(-50%);
  }

  .hero-title {
    width: min(100%, calc(100vw - (var(--page-x) * 2)));
    font-size: clamp(2.75rem, 12.4vw, 5.15rem);
    letter-spacing: 0.02em;
    line-height: 0.98;
  }

  .actions {
    width: 100%;
    gap: 14px;
  }

  .primary,
  .secondary,
  .mini-action,
  .console-cta {
    width: min(100%, 320px);
  }

  .scroll-hint::before,
  .scroll-hint::after {
    display: none;
  }

  .scroll-hint {
    bottom: clamp(28px, 5vh, 52px);
  }

  .feature-grid,
  .pricing-grid,
  .ranking-grid,
  .dashboard-grid,
  .docs-grid,
  .about-grid,
  .stat-strip {
    grid-template-columns: 1fr;
  }

  .section-title,
  .console-copy .section-title {
    font-size: clamp(2.25rem, 9.5vw, 4.05rem);
  }

  .console-grid {
    gap: 30px;
    padding-top: 74px;
    padding-bottom: 54px;
  }

  .console-subtitle {
    font-size: clamp(1.12rem, 5.2vw, 1.45rem);
  }

  .console-copy .section-copy {
    max-width: 300px;
    font-size: 0.55rem;
    letter-spacing: 0.18em;
  }

  .dashboard-frame {
    min-height: auto;
  }

  .features .section-kicker {
    font-size: 0.72rem;
    letter-spacing: 0.22em;
  }

  .features .section-title {
    max-width: 360px;
    font-size: clamp(2.35rem, 12vw, 3.7rem);
    line-height: 1.02;
  }

  .features .section-copy {
    max-width: 350px;
    font-size: clamp(0.88rem, 4.1vw, 1rem);
    line-height: 1.65;
  }

  .capability-rail {
    display: contents;
    grid-template-columns: none;
  }

  .capability-item {
    width: min(100%, 292px);
  }

  .capability-connector {
    display: none;
  }

  .hex-showcase {
    min-height: 440px;
    width: min(100%, 360px);
  }

  .hex-crystal-svg {
    width: min(100%, 330px);
  }

  .hex-base {
    display: none;
  }

  .dashboard-frame {
    padding: 14px;
  }

  .dashboard-stats {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .dashboard-stats article {
    min-height: 82px;
    padding: 12px;
  }

  .dashboard-stats span {
    font-size: 0.62rem;
  }

  .dashboard-stats strong {
    font-size: clamp(1rem, 6.2vw, 1.34rem);
  }

  .dashboard-stats em {
    font-size: 0.56rem;
  }

  .dashboard-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    grid-template-areas:
      "chart"
      "routing";
    gap: 10px;
  }

  .dashboard-topline {
    gap: 6px;
    font-size: 0.62rem;
    letter-spacing: 0.12em;
  }

  .chart-panel svg {
    min-height: 160px;
  }

  .chart-panel {
    min-height: 260px;
  }

  .status-panel {
    grid-template-columns: 1fr;
  }

  .status-panel p,
  .log-panel p {
    margin: 5px 0;
    font-size: 0.68rem;
  }

  .status-panel,
  .log-panel {
    display: none;
  }

  .models-heading h2 {
    font-size: clamp(1.05rem, 5.2vw, 1.55rem);
    line-height: 1.12;
  }

  .models-heading p {
    max-width: min(100%, 340px);
    margin-inline: auto;
    font-size: clamp(0.68rem, 3.1vw, 0.86rem);
    letter-spacing: 0.12em;
    line-height: 1.5;
  }

  .model-logo-stage {
    gap: 22px;
    margin-top: 42px;
    padding-block: 48px 0;
  }

  .model-logo-row {
    animation-duration: 26s;
  }

  .model-logo-track {
    gap: 34px;
    padding-inline: 17px;
  }

  .model-logo-openai { --logo-w: 68px; --logo-h: 68px; --asset-w: 57px; --asset-h: 57px; }
  .model-logo-ai { --logo-w: 68px; --logo-h: 68px; --asset-w: 57px; --asset-h: 46px; }
  .model-logo-spark,
  .model-logo-orbit,
  .model-logo-dragon,
  .model-logo-capsule { --logo-w: 68px; --logo-h: 68px; --asset-w: 68px; --asset-h: 68px; }
  .model-logo-star,
  .model-logo-face,
  .model-logo-arch,
  .model-logo-meta { --logo-w: 58px; --logo-h: 58px; --asset-w: 58px; --asset-h: 58px; }
  .model-logo-cube { --logo-w: 52px; --logo-h: 58px; --asset-w: 52px; --asset-h: 58px; }
  .model-logo-dot { --logo-w: 48px; --logo-h: 48px; --asset-w: 48px; --asset-h: 48px; }

  .feature-summary {
    grid-template-columns: 1fr;
    gap: 12px;
    width: min(100%, calc(100% - (var(--page-x) * 2)));
    margin: 28px auto 58px;
  }

  .feature-summary-card {
    min-height: 96px;
    padding: 18px;
  }

  .home-footer {
    align-items: center;
    flex-direction: column;
    gap: 12px;
    width: calc(100% - (var(--page-x) * 2));
    padding: 24px 0 24px;
    text-align: center;
  }

  .footer-identity {
    justify-content: center;
  }

  .auth-stage {
    grid-template-columns: 1fr;
    gap: 22px;
    justify-items: center;
  }

  .auth-status {
    display: none;
  }
}

@media (max-width: 480px) {
  :root {
    --page-x: 18px;
  }

  .hero {
    min-height: 100svh;
    padding-top: calc(var(--nav-h) + 136px);
  }

  .hero-frame {
    width: calc(100vw - (var(--page-x) * 2));
    height: min(410px, 48vh);
    top: calc(var(--nav-h) + 46px);
  }

  .hero-title {
    font-size: clamp(2.25rem, 10.8vw, 3.2rem);
    letter-spacing: 0.02em;
    text-align: center;
  }

  .hero-title span,
  .hero-title strong {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .hero-copy {
    max-width: 330px;
  }

  .actions {
    margin-top: 30px;
  }

  .console-grid {
    padding: 54px 12px 42px;
  }

  .console-copy .section-title {
    font-size: clamp(2.35rem, 13vw, 3.2rem);
  }

  .console-subtitle {
    margin-top: 16px;
    font-size: 1.05rem;
  }

  .dashboard-frame {
    padding: 12px;
  }

  .dashboard-topline {
    letter-spacing: 0.08em;
  }

  .chart-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .chart-range span {
    min-width: 26px;
    padding-inline: 6px;
  }

  .usage-list {
    gap: 10px;
  }

  .model-logo-row {
    animation-duration: 22s;
  }

  .model-logo-stage::before,
  .model-logo-stage::after {
    width: 42px;
  }

  .model-logo-track {
    gap: 26px;
    padding-inline: 13px;
  }

  .model-logo-openai { --logo-w: 54px; --logo-h: 54px; --asset-w: 45px; --asset-h: 45px; }
  .model-logo-ai { --logo-w: 54px; --logo-h: 54px; --asset-w: 45px; --asset-h: 36px; }
  .model-logo-spark,
  .model-logo-orbit,
  .model-logo-dragon,
  .model-logo-capsule { --logo-w: 54px; --logo-h: 54px; --asset-w: 54px; --asset-h: 54px; }
  .model-logo-star,
  .model-logo-face,
  .model-logo-arch,
  .model-logo-meta { --logo-w: 46px; --logo-h: 46px; --asset-w: 46px; --asset-h: 46px; }
  .model-logo-cube { --logo-w: 42px; --logo-h: 46px; --asset-w: 42px; --asset-h: 46px; }
  .model-logo-dot { --logo-w: 38px; --logo-h: 38px; --asset-w: 38px; --asset-h: 38px; }

  .feature-summary-card {
    grid-template-columns: 30px minmax(0, 1fr);
    grid-template-rows: 30px auto;
    gap: 10px;
    min-height: 92px;
    border-radius: 12px;
    padding: 16px;
  }

  .feature-summary-icon {
    width: 30px;
    height: 30px;
  }

  .feature-summary-card strong {
    font-size: 13px;
  }

  .feature-summary-card em {
    font-size: 11px;
    line-height: 1.55;
    white-space: normal;
  }

  .features-grid {
    gap: 30px;
  }

  .feature-orbit {
    gap: 20px;
  }

  .features .section-title {
    max-width: 330px;
    font-size: clamp(2rem, 10.8vw, 2.85rem);
  }

  .features .section-copy {
    max-width: 315px;
  }

  .capability-item {
    width: min(100%, 246px);
    gap: 10px;
  }

  .capability-connector {
    flex-basis: 34px;
  }

  .capability-copy strong {
    font-size: 13px;
  }

  .capability-copy em {
    font-size: 11px;
  }

  .hero-kicker {
    letter-spacing: 0.22em;
  }

  .hero-kicker span {
    padding-inline: 20px;
  }

  .auth-cabin {
    width: calc(100vw - (var(--page-x) * 2));
    padding: 28px 22px;
  }

  .auth-brand {
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
  }

  .auth-brand span {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .auth-cabin h1 {
    margin-top: 24px;
    font-size: 2.2rem;
  }

  .auth-subtitle,
  .auth-footnote {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .auth-subtitle {
    font-size: 0.82rem;
  }
}

@media (max-width: 560px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .hero-frame {
    width: calc(100vw - (var(--page-x) * 2) - 8px);
  }

  .hero-title {
    font-size: clamp(2.25rem, 10.8vw, 3.2rem);
    letter-spacing: 0.02em;
  }

  .hero-title span,
  .hero-title strong {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .auth-cabin {
    width: calc(100vw - (var(--page-x) * 2) - 8px);
    padding: 28px 22px;
  }

  .auth-brand {
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
  }

  .auth-brand span,
  .auth-subtitle,
  .auth-footnote {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

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

  #matrix {
    opacity: 0.6;
  }

  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .hex-crystal-svg .hx-orbit,
  .hex-crystal-svg .hx-flow-particles,
  .hex-particles,
  .scanline::before {
    display: none;
  }

  .hero-glow {
    opacity: 0.42;
    filter: blur(90px);
  }
}

/* ── Hex crystal floating particles ── */
.hex-particles {
  position: absolute;
  inset: -110%;
  pointer-events: none;
  z-index: 3;
}

.hex-particles span {
  position: absolute;
  top: 50%;
  left: 50%;
  --size: 5px;
  --orbit: 152px;
  --start: 0deg;
  --orbit-duration: 8s;
  --alpha: 0.78;
  --suck-radius: clamp(440px, 34vw, 720px);
  --mid-radius: 166px;
  --core-radius: 12px;
  --suck-angle: 0deg;
  --mid-angle: 24deg;
  --end-angle: 52deg;
  --suck-duration: 1.9s;
  --suck-delay: 0s;
  width: var(--size);
  height: var(--size);
  margin: calc(var(--size) / -2) 0 0 calc(var(--size) / -2);
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(57, 255, 122, 0.95), 0 0 20px rgba(57, 255, 122, 0.55);
  opacity: var(--alpha);
  transform: rotate(var(--start)) translateX(var(--orbit));
  animation: hexParticleOrbit var(--orbit-duration) linear infinite;
  animation-delay: var(--orbit-delay, 0s);
  will-change: transform, opacity;
}

.hex-particles span:nth-child(1) { --size: 4px; --orbit: 152px; --start: 14deg; --orbit-duration: 6.2s; --suck-radius: clamp(430px, 32vw, 680px); --mid-radius: 150px; --suck-angle: 206deg; --mid-angle: 222deg; --end-angle: 248deg; --suck-duration: 1.28s; --suck-delay: -0.2s; }
.hex-particles span:nth-child(2) { --size: 6px; --orbit: 183px; --start: 86deg; --orbit-duration: 9.1s; --alpha: 0.62; --suck-radius: clamp(520px, 40vw, 760px); --mid-radius: 184px; --suck-angle: 20deg; --mid-angle: -8deg; --end-angle: -28deg; --suck-duration: 2.12s; --suck-delay: -1.4s; }
.hex-particles span:nth-child(3) { --size: 5px; --orbit: 128px; --start: 142deg; --orbit-duration: 7.6s; --alpha: 0.84; --suck-radius: clamp(390px, 31vw, 650px); --mid-radius: 132px; --suck-angle: 316deg; --mid-angle: 298deg; --end-angle: 270deg; --suck-duration: 1.56s; --suck-delay: -0.9s; }
.hex-particles span:nth-child(4) { --size: 3px; --orbit: 198px; --start: 216deg; --orbit-duration: 11.3s; --alpha: 0.56; --suck-radius: clamp(610px, 46vw, 820px); --mid-radius: 210px; --suck-angle: 114deg; --mid-angle: 132deg; --end-angle: 154deg; --suck-duration: 2.48s; --suck-delay: -1.8s; }
.hex-particles span:nth-child(5) { --size: 7px; --orbit: 168px; --start: 292deg; --orbit-duration: 8.4s; --alpha: 0.72; --suck-radius: clamp(470px, 37vw, 720px); --mid-radius: 164px; --suck-angle: 254deg; --mid-angle: 244deg; --end-angle: 214deg; --suck-duration: 1.82s; --suck-delay: -0.45s; }
.hex-particles span:nth-child(6) { --size: 4px; --orbit: 143px; --start: 338deg; --orbit-duration: 13s; --alpha: 0.64; --suck-radius: clamp(560px, 42vw, 800px); --mid-radius: 190px; --suck-angle: 62deg; --mid-angle: 86deg; --end-angle: 110deg; --suck-duration: 2.72s; --suck-delay: -2.1s; }
.hex-particles span:nth-child(7) { --size: 3px; --orbit: 118px; --start: 38deg; --orbit-duration: 5.7s; --alpha: 0.68; --suck-radius: clamp(410px, 33vw, 670px); --mid-radius: 138px; --suck-angle: 174deg; --mid-angle: 156deg; --end-angle: 124deg; --suck-duration: 1.44s; --suck-delay: -0.72s; }
.hex-particles span:nth-child(8) { --size: 8px; --orbit: 214px; --start: 268deg; --orbit-duration: 14.2s; --alpha: 0.46; --suck-radius: clamp(650px, 50vw, 900px); --mid-radius: 226px; --suck-angle: 346deg; --mid-angle: 18deg; --end-angle: 48deg; --suck-duration: 2.95s; --suck-delay: -2.35s; }
.hex-particles span:nth-child(9) { --size: 5px; --orbit: 176px; --start: 112deg; --orbit-duration: 7.9s; --alpha: 0.76; --suck-radius: clamp(490px, 38vw, 730px); --mid-radius: 172px; --suck-angle: 286deg; --mid-angle: 264deg; --end-angle: 236deg; --suck-duration: 1.68s; --suck-delay: -1.02s; }
.hex-particles span:nth-child(10) { --size: 3px; --orbit: 226px; --start: 188deg; --orbit-duration: 12.4s; --alpha: 0.54; --suck-radius: clamp(700px, 52vw, 920px); --mid-radius: 242px; --suck-angle: 138deg; --mid-angle: 118deg; --end-angle: 96deg; --suck-duration: 2.36s; --suck-delay: -0.18s; }
.hex-particles span:nth-child(11) { --size: 6px; --orbit: 134px; --start: 304deg; --orbit-duration: 6.9s; --alpha: 0.82; --suck-radius: clamp(440px, 35vw, 690px); --mid-radius: 154px; --suck-angle: 238deg; --mid-angle: 266deg; --end-angle: 296deg; --suck-duration: 1.36s; --suck-delay: -0.86s; }
.hex-particles span:nth-child(12) { --size: 4px; --orbit: 190px; --start: 352deg; --orbit-duration: 10.8s; --alpha: 0.58; --suck-radius: clamp(580px, 44vw, 820px); --mid-radius: 196px; --suck-angle: 78deg; --mid-angle: 52deg; --end-angle: 30deg; --suck-duration: 2.18s; --suck-delay: -1.7s; }
.hex-particles span:nth-child(13) { --size: 2px; --orbit: 158px; --start: 70deg; --orbit-duration: 8.8s; --alpha: 0.5; --suck-radius: clamp(530px, 41vw, 780px); --mid-radius: 178px; --suck-angle: 11deg; --mid-angle: 38deg; --end-angle: 62deg; --suck-duration: 2.6s; --suck-delay: -2.45s; }
.hex-particles span:nth-child(14) { --size: 7px; --orbit: 206px; --start: 158deg; --orbit-duration: 11.7s; --alpha: 0.7; --suck-radius: clamp(620px, 48vw, 860px); --mid-radius: 220px; --suck-angle: 160deg; --mid-angle: 186deg; --end-angle: 218deg; --suck-duration: 1.94s; --suck-delay: -0.62s; }
.hex-particles span:nth-child(15) { --size: 4px; --orbit: 122px; --start: 246deg; --orbit-duration: 6.4s; --alpha: 0.88; --suck-radius: clamp(380px, 30vw, 620px); --mid-radius: 126px; --suck-angle: 300deg; --mid-angle: 276deg; --end-angle: 252deg; --suck-duration: 1.22s; --suck-delay: -0.36s; }
.hex-particles span:nth-child(16) { --size: 5px; --orbit: 238px; --start: 326deg; --orbit-duration: 15.2s; --alpha: 0.48; --suck-radius: clamp(720px, 54vw, 960px); --mid-radius: 248px; --suck-angle: 96deg; --mid-angle: 124deg; --end-angle: 146deg; --suck-duration: 3.08s; --suck-delay: -2.75s; }
.hex-particles span:nth-child(17) { --size: 3px; --orbit: 149px; --start: 24deg; --orbit-duration: 7.3s; --alpha: 0.78; --suck-radius: clamp(460px, 36vw, 710px); --mid-radius: 158px; --suck-angle: 220deg; --mid-angle: 202deg; --end-angle: 180deg; --suck-duration: 1.74s; --suck-delay: -1.18s; }
.hex-particles span:nth-child(18) { --size: 6px; --orbit: 218px; --start: 122deg; --orbit-duration: 13.6s; --alpha: 0.6; --suck-radius: clamp(660px, 49vw, 900px); --mid-radius: 232px; --suck-angle: 332deg; --mid-angle: 306deg; --end-angle: 282deg; --suck-duration: 2.42s; --suck-delay: -1.9s; }
.hex-particles span:nth-child(19) { --size: 2px; --orbit: 170px; --start: 202deg; --orbit-duration: 9.7s; --alpha: 0.52; --suck-radius: clamp(510px, 39vw, 750px); --mid-radius: 180px; --suck-angle: 130deg; --mid-angle: 154deg; --end-angle: 176deg; --suck-duration: 2.84s; --suck-delay: -2.2s; }
.hex-particles span:nth-child(20) { --size: 8px; --orbit: 132px; --start: 280deg; --orbit-duration: 6.8s; --alpha: 0.74; --suck-radius: clamp(420px, 34vw, 680px); --mid-radius: 146px; --suck-angle: 270deg; --mid-angle: 292deg; --end-angle: 318deg; --suck-duration: 1.52s; --suck-delay: -0.58s; }
.hex-particles span:nth-child(21) { --size: 4px; --orbit: 201px; --start: 10deg; --orbit-duration: 10.4s; --alpha: 0.66; --suck-radius: clamp(600px, 47vw, 840px); --mid-radius: 214px; --suck-angle: 48deg; --mid-angle: 24deg; --end-angle: 4deg; --suck-duration: 2.06s; --suck-delay: -1.26s; }
.hex-particles span:nth-child(22) { --size: 5px; --orbit: 112px; --start: 168deg; --orbit-duration: 5.9s; --alpha: 0.86; --suck-radius: clamp(370px, 29vw, 610px); --mid-radius: 122px; --suck-angle: 186deg; --mid-angle: 212deg; --end-angle: 240deg; --suck-duration: 1.18s; --suck-delay: -0.12s; }
.hex-particles span:nth-child(23) { --size: 3px; --orbit: 244px; --start: 238deg; --orbit-duration: 16.8s; --alpha: 0.44; --suck-radius: clamp(760px, 56vw, 990px); --mid-radius: 260px; --suck-angle: 112deg; --mid-angle: 88deg; --end-angle: 66deg; --suck-duration: 3.24s; --suck-delay: -2.98s; }
.hex-particles span:nth-child(24) { --size: 6px; --orbit: 186px; --start: 318deg; --orbit-duration: 8.9s; --alpha: 0.8; --suck-radius: clamp(550px, 43vw, 790px); --mid-radius: 186px; --suck-angle: 356deg; --mid-angle: 330deg; --end-angle: 306deg; --suck-duration: 1.66s; --suck-delay: -0.96s; }

.hex-showcase:hover .hex-particles span,
.hex-showcase.is-crystal-active .hex-particles span {
  animation: hexParticleSuck var(--suck-duration) linear infinite;
  animation-delay: var(--suck-delay);
}

@keyframes hexParticleOrbit {
  from {
    transform: rotate(var(--start)) translateX(var(--orbit));
  }
  to {
    transform: rotate(calc(var(--start) + 360deg)) translateX(var(--orbit));
  }
}

@keyframes hexParticleSuck {
  0% {
    opacity: 0;
    transform: rotate(var(--suck-angle)) translateX(var(--suck-radius)) scale(0.52);
  }
  12% {
    opacity: var(--alpha);
  }
  88% {
    opacity: var(--alpha);
  }
  100% {
    opacity: 0;
    transform: rotate(var(--suck-angle)) translateX(0) scale(0.28);
  }
}

@keyframes hexParticleSuctionWide {
  0% {
    opacity: 0;
    transform: scale(1.2) rotate(0deg);
  }
  16% {
    opacity: 1;
  }
  64% {
    opacity: 0.95;
    transform: scale(0.54) rotate(20deg);
  }
  100% {
    opacity: 0;
    transform: scale(0.16) rotate(46deg);
  }
}

@keyframes hexParticleSuctionDeep {
  0% {
    opacity: 0;
    transform: scale(1.28) rotate(-18deg);
  }
  22% {
    opacity: 0.86;
  }
  72% {
    opacity: 0.72;
    transform: scale(0.46) rotate(18deg);
  }
  100% {
    opacity: 0;
    transform: scale(0.12) rotate(58deg);
  }
}

/* ── Chart line draw-in animation ── */
.chart-line:not(.soft) {
  stroke-dasharray: 2200;
  stroke-dashoffset: 2200;
  transition: stroke-dashoffset 2.4s cubic-bezier(0.22, 1, 0.36, 1) 0.4s;
}

.dashboard-frame.is-visible .chart-line:not(.soft) {
  stroke-dashoffset: 0;
}

.chart-fill {
  opacity: 0;
  transition: opacity 1.6s ease 1s;
}

.dashboard-frame.is-visible .chart-fill {
  opacity: 1;
}

/* ── Hero glow pulse enhancement ── */
.hero-glow {
  animation: glowBreath 4.5s ease-in-out infinite;
}
