:root {
  --bg: #07131f;
  --bg-deep: #040c14;
  --surface: rgba(13, 31, 45, 0.78);
  --surface-solid: #0d1f2d;
  --surface-light: rgba(20, 43, 59, 0.72);
  --line: rgba(139, 211, 228, 0.13);
  --line-bright: rgba(85, 230, 255, 0.32);
  --text: #edf8fa;
  --muted: #91aab5;
  --muted-light: #bed0d6;
  --cyan: #55e6ff;
  --cyan-dark: #13bcd4;
  --green: #42e8a2;
  --green-dark: #16bd7a;
  --amber: #f6c86b;
  --danger: #ff8f79;
  --radius: 22px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(145% 115% at 50% 26%, transparent 46%, rgba(2, 8, 14, 0.5) 100%),
    radial-gradient(1150px 760px at 84% -10%, rgba(36, 174, 206, 0.22), transparent 60%),
    radial-gradient(900px 700px at -8% 12%, rgba(66, 232, 162, 0.09), transparent 62%),
    radial-gradient(1000px 900px at 104% 60%, rgba(24, 110, 178, 0.16), transparent 64%),
    radial-gradient(900px 700px at 22% 108%, rgba(17, 150, 160, 0.12), transparent 66%),
    linear-gradient(180deg, #071827 0%, #04101a 38%, #051522 68%, #071b2a 100%);
  background-attachment: fixed;
  font-family: "SF Pro Display", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

/* Ambient page texture: faint blueprint grid + soft aurora wash + film grain */
body::before {
  position: fixed;
  z-index: 0;
  inset: 0;
  background:
    radial-gradient(880px 540px at 52% -12%, rgba(85, 230, 255, 0.12), transparent 72%),
    linear-gradient(116deg, transparent 34%, rgba(85, 230, 255, 0.05) 46%, rgba(66, 232, 162, 0.04) 54%, transparent 66%),
    linear-gradient(rgba(85, 230, 255, 0.032) 1px, transparent 1px) 0 0 / 80px 80px,
    linear-gradient(90deg, rgba(85, 230, 255, 0.032) 1px, transparent 1px) 0 0 / 80px 80px;
  content: "";
  mask-image: radial-gradient(135% 100% at 50% 16%, #000 30%, transparent 82%);
  pointer-events: none;
}

body::after {
  position: fixed;
  z-index: 0;
  inset: 0;
  opacity: 0.032;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/></filter><rect width='180' height='180' filter='url(%23n)'/></svg>");
  content: "";
  mix-blend-mode: soft-light;
  pointer-events: none;
}

::selection {
  color: #041019;
  background: var(--cyan);
}

::-webkit-scrollbar {
  width: 9px;
}

::-webkit-scrollbar-track {
  background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
  border: 2px solid var(--bg-deep);
  border-radius: 10px;
  background: #294453;
}

img,
video,
canvas {
  max-width: 100%;
}

img {
  display: block;
}

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

button,
input {
  font: inherit;
}

button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
video:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

button:disabled {
  cursor: wait;
  opacity: 0.65;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
strong {
  font-weight: 650;
}

svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 18px;
  border-radius: 10px;
  color: #05131d;
  background: var(--cyan);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

#network-bg {
  position: fixed;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.ambient {
  position: fixed;
  z-index: 0;
  width: min(780px, 140vw);
  height: 780px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(110px);
  mix-blend-mode: screen;
  will-change: transform;
}

.ambient-one {
  top: -320px;
  right: -180px;
  opacity: 0.16;
  background: radial-gradient(circle, rgba(47, 206, 232, 0.85), rgba(19, 120, 150, 0.3) 46%, transparent 72%);
  animation: aurora-one 26s ease-in-out infinite alternate;
}

.ambient-two {
  bottom: -360px;
  left: -200px;
  opacity: 0.11;
  background: radial-gradient(circle, rgba(66, 232, 162, 0.7), rgba(12, 120, 90, 0.22) 46%, transparent 72%);
  animation: aurora-two 32s ease-in-out infinite alternate;
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

.container {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 112px 0;
}

.section-anchor {
  scroll-margin-top: 76px;
}

.section-heading {
  max-width: 790px;
  margin: 0 auto 54px;
  text-align: center;
}

.section-kicker {
  margin-bottom: 15px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.section-heading h2,
.equipment-copy h2,
.impact-heading h2 {
  margin-bottom: 20px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.28;
  letter-spacing: -0.035em;
}

.section-heading h2 span,
.equipment-copy h2 span,
.impact-heading h2 span {
  color: var(--cyan);
}

.section-heading p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 650;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.button svg {
  width: 18px;
  height: 18px;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #05141c;
  background: linear-gradient(120deg, var(--cyan), #65edcb);
  box-shadow: 0 12px 35px rgba(62, 222, 226, 0.18);
}

.button-primary:hover {
  box-shadow: 0 15px 45px rgba(62, 222, 226, 0.32);
}

.button-ghost {
  border-color: var(--line);
  color: var(--muted-light);
  background: rgba(255, 255, 255, 0.025);
}

.button-ghost:hover,
.button-outline:hover {
  border-color: var(--line-bright);
  background: rgba(85, 230, 255, 0.06);
}

.button-outline {
  border-color: var(--line);
  color: var(--cyan);
  background: transparent;
}

.button-small {
  min-height: 40px;
  padding: 0 16px;
  font-size: 12px;
}

.button-small svg {
  width: 15px;
  height: 15px;
}

.icon-button {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 12px;
  color: var(--muted-light);
  background: transparent;
  cursor: pointer;
}

.text-button {
  padding: 5px;
  border: 0;
  color: var(--muted);
  background: none;
  cursor: pointer;
  font-size: 12px;
}

.text-button:hover {
  color: var(--cyan);
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(66, 232, 162, 0.8);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled,
.site-header.menu-active {
  border-color: var(--line);
  background: rgba(5, 16, 25, 0.88);
  box-shadow: 0 8px 35px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(20px) saturate(140%);
}

.nav {
  display: flex;
  height: 76px;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
}

.brand img {
  filter: drop-shadow(0 0 16px rgba(85, 230, 255, 0.13));
}

.brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand strong {
  font-size: 18px;
  letter-spacing: 0.12em;
}

.brand small {
  margin-top: 5px;
  color: #6f929f;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-link {
  position: relative;
  padding: 10px 12px;
  color: var(--muted);
  font-size: 13px;
  transition: color 0.2s ease;
}

.nav-link::after {
  position: absolute;
  right: 12px;
  bottom: 3px;
  left: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
}

.nav-link.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-cta {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(85, 230, 255, 0.04);
  font-size: 12px;
}

.nav-cta svg {
  width: 14px;
  height: 14px;
}

.nav-toggle {
  display: none;
  margin-left: auto;
}

.hero {
  position: relative;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  justify-content: center;
  padding: 135px 0 85px;
  overflow: hidden;
  background:
    linear-gradient(116deg, transparent 30%, rgba(85, 230, 255, 0.07) 44%, rgba(66, 232, 162, 0.045) 52%, transparent 66%),
    radial-gradient(820px 600px at 78% 44%, rgba(29, 138, 168, 0.24), transparent 66%),
    radial-gradient(620px 480px at 2% 10%, rgba(66, 232, 162, 0.09), transparent 70%),
    radial-gradient(700px 520px at 12% 100%, rgba(17, 150, 160, 0.1), transparent 70%),
    linear-gradient(180deg, rgba(4, 12, 20, 0.02), rgba(7, 19, 31, 0.5));
}

.hero::after {
  position: absolute;
  z-index: 0;
  top: 2%;
  right: -16%;
  width: 64vw;
  max-width: 900px;
  aspect-ratio: 1;
  background:
    linear-gradient(120deg, transparent 36%, rgba(85, 230, 255, 0.1) 48%, rgba(66, 232, 162, 0.05) 56%, transparent 70%),
    radial-gradient(circle, rgba(85, 230, 255, 0.15), rgba(19, 188, 212, 0.05) 44%, transparent 68%);
  content: "";
  filter: blur(26px);
  pointer-events: none;
}

.hero::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image: linear-gradient(rgba(85, 230, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(85, 230, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 82%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  gap: 35px;
  grid-template-columns: 1.02fr 0.98fr;
}

.hero-copy {
  position: relative;
  z-index: 3;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 8px 14px;
  border: 1px solid rgba(85, 230, 255, 0.2);
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(85, 230, 255, 0.05);
  font-size: 12px;
  letter-spacing: 0.13em;
}

.hero h1 {
  margin-bottom: 24px;
  line-height: 1.15;
}

.hero h1 > span {
  display: block;
  margin-bottom: 17px;
  color: transparent;
  background: linear-gradient(110deg, #fff 10%, #a9f2ff 45%, var(--cyan) 80%);
  background-clip: text;
  font-size: clamp(58px, 7vw, 88px);
  font-weight: 750;
  letter-spacing: 0.08em;
  text-shadow: 0 0 70px rgba(85, 230, 255, 0.08);
}

.hero h1 small {
  display: block;
  color: #d9e8ed;
  font-size: clamp(23px, 2.7vw, 34px);
  font-weight: 550;
  line-height: 1.5;
  letter-spacing: 0.015em;
}

.hero-lead {
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 15px;
  line-height: 2;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-bottom: 27px;
}

.play-icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--cyan);
  background: rgba(85, 230, 255, 0.1);
}

.play-icon svg {
  width: 16px;
  height: 16px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: #74909d;
  font-size: 11px;
}

.hero-tags span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-tags span::before {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--cyan-dark);
  content: "";
}

.hero-visual {
  position: relative;
  z-index: 2;
  min-width: 0;
  padding: 34px 0;
}

.robot-stage {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid rgba(85, 230, 255, 0.2);
  border-radius: 28px;
  background:
    radial-gradient(120% 88% at 50% 64%, rgba(38, 128, 156, 0.28), transparent 62%),
    radial-gradient(70% 46% at 50% 100%, rgba(85, 230, 255, 0.1), transparent 72%),
    linear-gradient(155deg, rgba(18, 45, 63, 0.92), rgba(4, 14, 22, 0.97));
  box-shadow:
    0 42px 95px rgba(0, 0, 0, 0.46),
    0 0 0 1px rgba(255, 255, 255, 0.02),
    inset 0 1px rgba(255, 255, 255, 0.07),
    inset 0 -70px 100px rgba(0, 0, 0, 0.28);
}

.robot-stage::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image: linear-gradient(rgba(85, 230, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(85, 230, 255, 0.045) 1px, transparent 1px);
  background-size: 34px 34px;
  content: "";
  mask-image: radial-gradient(ellipse at 50% 62%, black, transparent 76%);
}

.robot-stage::after {
  position: absolute;
  z-index: 1;
  inset: 12px;
  border-radius: 18px;
  background:
    linear-gradient(rgba(85, 230, 255, 0.55), rgba(85, 230, 255, 0.55)) left top / 20px 1px no-repeat,
    linear-gradient(rgba(85, 230, 255, 0.55), rgba(85, 230, 255, 0.55)) left top / 1px 20px no-repeat,
    linear-gradient(rgba(85, 230, 255, 0.55), rgba(85, 230, 255, 0.55)) right top / 20px 1px no-repeat,
    linear-gradient(rgba(85, 230, 255, 0.55), rgba(85, 230, 255, 0.55)) right top / 1px 20px no-repeat,
    linear-gradient(rgba(85, 230, 255, 0.55), rgba(85, 230, 255, 0.55)) left bottom / 20px 1px no-repeat,
    linear-gradient(rgba(85, 230, 255, 0.55), rgba(85, 230, 255, 0.55)) left bottom / 1px 20px no-repeat,
    linear-gradient(rgba(85, 230, 255, 0.55), rgba(85, 230, 255, 0.55)) right bottom / 20px 1px no-repeat,
    linear-gradient(rgba(85, 230, 255, 0.55), rgba(85, 230, 255, 0.55)) right bottom / 1px 20px no-repeat;
  content: "";
  opacity: 0.7;
  pointer-events: none;
}

.stage-view {
  position: relative;
  display: flex;
  min-height: 344px;
  align-items: center;
  justify-content: center;
  margin: 6px 0 2px;
}

.stage-halo {
  position: absolute;
  width: 82%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(85, 230, 255, 0.2), rgba(85, 230, 255, 0.05) 46%, transparent 68%);
  filter: blur(8px);
  animation: halo-breathe 7s ease-in-out infinite;
}

.stage-ring {
  position: absolute;
  bottom: 9%;
  width: 76%;
  height: 27%;
  border: 1px solid rgba(85, 230, 255, 0.28);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(85, 230, 255, 0.16), rgba(85, 230, 255, 0.03) 58%, transparent 76%);
  box-shadow: 0 0 55px rgba(85, 230, 255, 0.16), inset 0 0 30px rgba(85, 230, 255, 0.1);
}

.stage-ring::before {
  position: absolute;
  inset: 16% 7%;
  border: 1px dashed rgba(85, 230, 255, 0.3);
  border-radius: 50%;
  content: "";
}

.stage-floor {
  position: absolute;
  z-index: 1;
  bottom: 9%;
  width: 60%;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.62), transparent 70%);
  filter: blur(7px);
}

.stage-view img {
  position: relative;
  z-index: 2;
  width: 97%;
  max-width: none;
  margin: 0;
  filter: drop-shadow(0 26px 26px rgba(0, 0, 0, 0.5)) saturate(1.06) contrast(1.02);
  animation: robot-float 6s ease-in-out infinite;
}

.stage-top,
.stage-bottom {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 17px 19px 0;
  color: #6f93a2;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.13em;
}

.stage-bottom {
  padding: 0 19px 17px;
  color: #6c8e9a;
  font-family: inherit;
  letter-spacing: 0.04em;
}

.stage-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
}

.stage-status i,
.live-label i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
  animation: pulse-dot 2s ease infinite;
}

.scan-line {
  position: absolute;
  z-index: 3;
  top: 22%;
  right: 8%;
  left: 8%;
  height: 1px;
  opacity: 0.6;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  box-shadow: 0 0 15px var(--cyan);
  animation: scan 5s ease-in-out infinite;
}

.visual-orbit {
  position: absolute;
  z-index: 0;
  border: 1px solid rgba(85, 230, 255, 0.09);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-one {
  inset: -40px -70px;
  transform: rotate(-15deg);
}

.orbit-two {
  inset: 10px -20px;
  border-style: dashed;
  transform: rotate(25deg);
}

.float-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  overflow: hidden;
  border: 1px solid rgba(85, 230, 255, 0.24);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(12, 34, 47, 0.96), rgba(6, 19, 29, 0.94));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.38), inset 0 1px rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(15px);
}

.float-card::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--cyan), transparent);
  content: "";
}

.float-card svg {
  width: 23px;
  height: 23px;
  color: var(--cyan);
}

.float-card span {
  display: flex;
  flex-direction: column;
}

.float-card small {
  color: var(--muted);
  font-size: 9px;
}

.float-card strong {
  font-size: 11px;
  white-space: nowrap;
}

.float-card-one {
  top: -34px;
  right: -14px;
}

.float-card-two {
  bottom: -30px;
  left: -18px;
}

.float-card-two svg {
  color: var(--green);
}

.hero-metrics {
  position: relative;
  z-index: 3;
  display: grid;
  margin-top: 55px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(12, 28, 41, 0.56);
  backdrop-filter: blur(12px);
  grid-template-columns: repeat(4, 1fr);
}

.metric {
  position: relative;
  padding: 22px 28px;
}

.metric + .metric::before {
  position: absolute;
  top: 22%;
  bottom: 22%;
  left: 0;
  width: 1px;
  background: var(--line);
  content: "";
}

.metric strong {
  display: flex;
  align-items: baseline;
  gap: 7px;
  color: var(--text);
  font-size: 31px;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.metric em {
  color: var(--cyan);
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
}

.metric p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.scroll-hint {
  position: absolute;
  right: 28px;
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #54717e;
  font-size: 9px;
  letter-spacing: 0.18em;
  writing-mode: vertical-rl;
}

.scroll-hint i {
  position: relative;
  width: 1px;
  height: 42px;
  overflow: hidden;
  background: rgba(85, 230, 255, 0.15);
}

.scroll-hint i::after {
  position: absolute;
  top: -50%;
  left: 0;
  width: 1px;
  height: 50%;
  background: var(--cyan);
  content: "";
  animation: scroll-line 2s ease infinite;
}

.mission {
  border-top: 1px solid rgba(255, 255, 255, 0.025);
  background:
    radial-gradient(900px 560px at 12% -8%, rgba(85, 230, 255, 0.07), transparent 62%),
    radial-gradient(780px 540px at 96% 106%, rgba(66, 232, 162, 0.055), transparent 65%),
    rgba(5, 16, 26, 0.58);
}

.solution-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, 1fr);
}

.solution-card {
  position: relative;
  min-height: 300px;
  padding: 28px 25px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(18, 39, 54, 0.75), rgba(9, 24, 36, 0.55));
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.solution-card::after {
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--cyan);
  content: "";
  filter: blur(70px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.solution-card:hover {
  border-color: var(--line-bright);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);
  transform: translateY(-6px);
}

.solution-card:hover::after {
  opacity: 0.07;
}

.card-number {
  position: absolute;
  top: 22px;
  right: 23px;
  color: rgba(154, 192, 203, 0.22);
  font-family: ui-monospace, monospace;
  font-size: 12px;
}

.card-icon {
  display: flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-bottom: 27px;
  border: 1px solid rgba(85, 230, 255, 0.17);
  border-radius: 14px;
  color: var(--cyan);
  background: rgba(85, 230, 255, 0.07);
}

.solution-card:nth-child(3) .card-icon,
.solution-card:nth-child(4) .card-icon {
  color: var(--green);
  background: rgba(66, 232, 162, 0.06);
}

.solution-card h3 {
  margin-bottom: 13px;
  font-size: 19px;
}

.solution-card p {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.card-link {
  position: absolute;
  bottom: 24px;
  left: 25px;
  color: #628d9b;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.ai-section {
  background:
    radial-gradient(circle at 50% 32%, rgba(14, 116, 144, 0.1), transparent 40%),
    radial-gradient(780px 560px at 102% 90%, rgba(66, 232, 162, 0.045), transparent 64%),
    radial-gradient(680px 500px at -4% 4%, rgba(85, 230, 255, 0.05), transparent 62%),
    rgba(7, 19, 31, 0.8);
}

.ai-loop {
  display: flex;
  max-width: 1080px;
  align-items: center;
  justify-content: center;
  margin: 0 auto 40px;
}

.ai-loop > div {
  display: flex;
  min-width: 125px;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ai-loop i {
  display: flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  border: 1px solid var(--line-bright);
  border-radius: 50%;
  color: var(--cyan);
  background: rgba(85, 230, 255, 0.06);
  font-family: ui-monospace, monospace;
  font-size: 9px;
  font-style: normal;
}

.ai-loop strong {
  font-size: 12px;
}

.ai-loop small {
  margin-top: 2px;
  color: #668591;
  font-size: 9px;
}

.ai-loop > span {
  width: 45px;
  height: 1px;
  margin: 0 5px 37px;
  background: linear-gradient(90deg, rgba(85, 230, 255, 0.1), rgba(85, 230, 255, 0.45), rgba(85, 230, 255, 0.1));
}

.ai-workbench {
  overflow: hidden;
  border: 1px solid rgba(85, 230, 255, 0.18);
  border-radius: 24px;
  background: rgba(7, 21, 32, 0.94);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.32), 0 0 70px rgba(23, 153, 180, 0.04);
}

.workbench-topbar {
  display: flex;
  height: 45px;
  align-items: center;
  gap: 16px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
  color: #5e7f8c;
  background: rgba(255, 255, 255, 0.015);
  font-family: ui-monospace, monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
}

.window-dots {
  display: flex;
  gap: 5px;
}

.window-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #25414e;
}

.window-dots i:first-child {
  background: #83634f;
}

.window-dots i:nth-child(2) {
  background: #55786a;
}

.demo-badge {
  margin-left: auto;
  padding: 3px 8px;
  border: 1px solid rgba(246, 200, 107, 0.16);
  border-radius: 5px;
  color: var(--amber);
  font-family: inherit;
  letter-spacing: 0.04em;
}

.ai-tabs {
  display: grid;
  padding: 12px 16px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: repeat(4, 1fr);
}

.ai-tab {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 10px 18px;
  border: 0;
  color: #6d8a96;
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s ease, background 0.2s ease;
}

.ai-tab::after {
  position: absolute;
  right: 15%;
  bottom: -1px;
  left: 15%;
  height: 2px;
  border-radius: 3px;
  background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan);
  content: "";
  opacity: 0;
}

.ai-tab svg {
  width: 23px;
  height: 23px;
}

.ai-tab span {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  font-weight: 600;
}

.ai-tab small {
  margin-top: 2px;
  color: #4c6b78;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ai-tab:hover,
.ai-tab.active {
  color: var(--cyan);
  background: linear-gradient(180deg, transparent, rgba(85, 230, 255, 0.035));
}

.ai-tab.active::after {
  opacity: 1;
}

.ai-panel[hidden] {
  display: none;
}

.simulator-layout {
  display: grid;
  min-height: 530px;
  grid-template-columns: minmax(0, 1fr) 275px;
}

.simulator-main {
  min-width: 0;
  padding: 22px;
}

.canvas-header {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 14px;
}

.canvas-header > div:not(.segmented) {
  display: flex;
  flex-direction: column;
}

.canvas-header strong {
  font-size: 12px;
}

.canvas-header small {
  color: var(--muted);
  font-size: 9px;
}

.segmented {
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.18);
}

.segmented button {
  padding: 6px 11px;
  border: 0;
  border-radius: 7px;
  color: #708c97;
  background: transparent;
  cursor: pointer;
  font-size: 10px;
  transition: color 0.2s ease, background 0.2s ease;
}

.segmented button.active {
  color: var(--cyan);
  background: rgba(85, 230, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(85, 230, 255, 0.09);
}

.live-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  font-family: ui-monospace, monospace;
  font-size: 9px;
}

.algorithm-badge,
.recommend-badge {
  padding: 4px 9px;
  border: 1px solid rgba(66, 232, 162, 0.18);
  border-radius: 6px;
  color: var(--green);
  background: rgba(66, 232, 162, 0.04);
  font-size: 9px;
}

.canvas-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(85, 230, 255, 0.13);
  border-radius: 13px;
  background: #030c12;
}

.canvas-wrap canvas {
  display: block;
  width: 100%;
  height: 100%;
}

#path-canvas {
  cursor: crosshair;
}

.canvas-corner {
  position: absolute;
  width: 25px;
  height: 25px;
  pointer-events: none;
}

.canvas-corner.top-left {
  top: 9px;
  left: 9px;
  border-top: 1px solid rgba(85, 230, 255, 0.45);
  border-left: 1px solid rgba(85, 230, 255, 0.45);
}

.canvas-corner.bottom-right {
  right: 9px;
  bottom: 9px;
  border-right: 1px solid rgba(85, 230, 255, 0.45);
  border-bottom: 1px solid rgba(85, 230, 255, 0.45);
}

.canvas-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: 13px;
  color: #63818d;
  font-size: 9px;
}

.canvas-legend > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.canvas-legend i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 2px;
}

.legend-cyan {
  background: var(--cyan);
  box-shadow: 0 0 6px rgba(85, 230, 255, 0.5);
}

.legend-amber {
  background: var(--amber);
}

.legend-green {
  background: var(--green);
}

.legend-gray {
  background: #5b6d75;
}

.legend-note {
  margin-left: auto;
}

.simulator-sidebar {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 24px 21px;
  border-left: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.013);
}

.sidebar-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 23px;
}

.sidebar-title > span {
  font-size: 13px;
  font-weight: 600;
}

.sidebar-title small {
  color: #567581;
  font-size: 8px;
}

.recognition-score {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-bottom: 21px;
  border-bottom: 1px solid var(--line);
}

.score-ring {
  display: flex;
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle at center, #0a1b28 57%, transparent 59%), conic-gradient(var(--cyan) 0deg 340deg, rgba(85, 230, 255, 0.1) 340deg);
  box-shadow: 0 0 25px rgba(85, 230, 255, 0.07);
}

.score-ring strong {
  color: var(--cyan);
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}

.score-ring small {
  font-size: 9px;
}

.recognition-score p {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
}

.recognition-score p small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 400;
  line-height: 1.6;
}

.reading-list {
  padding: 12px 0;
}

.reading-list > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 11px;
}

.reading-list span {
  color: var(--muted);
}

.reading-list strong {
  font-size: 11px;
}

.text-green {
  color: var(--green);
}

.ai-message {
  display: flex;
  gap: 10px;
  margin: 7px 0 18px;
  padding: 13px;
  border: 1px solid rgba(85, 230, 255, 0.1);
  border-radius: 11px;
  background: rgba(85, 230, 255, 0.035);
}

.ai-message svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--cyan);
}

.ai-message p {
  margin: 0;
  color: #8eabb6;
  font-size: 10px;
  line-height: 1.75;
}

.simulator-sidebar > .button {
  width: 100%;
  margin-top: auto;
}

.mission-state {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.mission-state > div {
  display: flex;
  flex-direction: column;
}

.mission-state small {
  color: var(--muted);
  font-size: 9px;
}

.mission-state strong {
  font-size: 11px;
}

.path-progress {
  margin: 24px 0;
}

.path-progress > div:first-child {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 10px;
}

.path-progress strong {
  color: var(--cyan);
}

.progress-track {
  height: 5px;
  overflow: hidden;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
}

.progress-track i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan-dark), var(--green));
  box-shadow: 0 0 10px rgba(66, 232, 162, 0.4);
  transition: width 0.15s linear;
}

.path-metrics {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
  grid-template-columns: 1fr 1fr;
}

.path-metrics > div {
  display: flex;
  flex-direction: column;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.12);
}

.path-metrics small {
  color: var(--muted);
  font-size: 9px;
}

.path-metrics strong {
  margin-top: 3px;
  color: var(--cyan);
  font-size: 20px;
  font-variant-numeric: tabular-nums;
}

.path-buttons {
  display: grid;
  gap: 8px;
  grid-template-columns: 1.2fr 1fr;
}

.path-buttons .button {
  padding-inline: 10px;
}

.simulator-sidebar > .text-button {
  align-self: center;
  margin: 8px 0;
}

.ai-message.compact {
  margin-top: auto;
  margin-bottom: 0;
}

.motion-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 292px;
}

.motion-primary {
  min-width: 0;
  padding: 22px;
}

.motion-connection {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  color: var(--green);
  font-family: ui-monospace, monospace;
  font-size: 8px;
  letter-spacing: 0.06em;
}

.motion-connection i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 9px rgba(66, 232, 162, 0.65);
}

.motion-map-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 7;
  border: 1px solid rgba(85, 230, 255, 0.15);
  border-radius: 13px;
  background: #030c12;
  box-shadow: inset 0 0 45px rgba(31, 151, 177, 0.035);
}

.motion-map-wrap canvas,
.motion-chart-wrap canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.motion-map-scale {
  position: absolute;
  right: 12px;
  bottom: 10px;
  padding: 4px 7px;
  border: 1px solid rgba(85, 230, 255, 0.09);
  border-radius: 5px;
  color: #577581;
  background: rgba(3, 12, 18, 0.72);
  font-family: ui-monospace, monospace;
  font-size: 8px;
  pointer-events: none;
}

.motion-primary-metrics {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.motion-primary-metrics > div {
  position: relative;
  display: flex;
  overflow: hidden;
  min-width: 0;
  flex-direction: column;
  padding: 14px 15px 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(85, 230, 255, 0.035), rgba(0, 0, 0, 0.1));
}

.motion-primary-metrics > div::before {
  position: absolute;
  top: 0;
  left: 15px;
  width: 25px;
  height: 1px;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(85, 230, 255, 0.45);
  content: "";
}

.motion-primary-metrics small,
.motion-readings small,
.motion-power-grid small {
  color: var(--muted);
  font-size: 9px;
}

.motion-primary-metrics strong {
  margin-top: 6px;
  color: #d9faff;
  font-family: ui-monospace, monospace;
  font-size: 23px;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  white-space: nowrap;
}

.motion-primary-metrics em,
.motion-readings em,
.motion-power-grid em {
  color: #6f939f;
  font-size: 9px;
  font-style: normal;
  font-weight: 400;
}

.motion-primary-metrics > div > span {
  margin-top: 4px;
  color: #3f606d;
  font-family: ui-monospace, monospace;
  font-size: 7px;
  letter-spacing: 0.13em;
}

.motion-sidebar {
  display: flex;
  min-width: 0;
  grid-row: 1 / span 2;
  grid-column: 2;
  flex-direction: column;
  padding: 22px 20px;
  border-left: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.013);
}

.motion-state {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px;
  border: 1px solid rgba(85, 230, 255, 0.18);
  border-radius: 12px;
  background: linear-gradient(110deg, rgba(85, 230, 255, 0.065), rgba(85, 230, 255, 0.015));
}

.motion-state > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.motion-state small {
  color: var(--muted);
  font-size: 8px;
}

.motion-state strong {
  margin-top: 3px;
  color: var(--cyan);
  font-size: 14px;
}

.motion-state > span:last-child {
  margin-left: auto;
  color: #527681;
  font-family: ui-monospace, monospace;
  font-size: 7px;
  letter-spacing: 0.06em;
}

.motion-state[data-state="moving"],
.motion-state[data-state="turning"],
.motion-state[data-state="complete"] {
  border-color: rgba(66, 232, 162, 0.2);
  background: linear-gradient(110deg, rgba(66, 232, 162, 0.065), rgba(66, 232, 162, 0.015));
}

.motion-state[data-state="moving"] strong,
.motion-state[data-state="turning"] strong,
.motion-state[data-state="complete"] strong {
  color: var(--green);
}

.motion-state[data-state="paused"] {
  border-color: rgba(246, 200, 107, 0.2);
  background: rgba(246, 200, 107, 0.035);
}

.motion-state[data-state="paused"] strong {
  color: var(--amber);
}

.motion-state[data-state="paused"] .status-dot {
  background: var(--amber);
}

.motion-progress {
  margin: 20px 0 17px;
}

.motion-progress > div:first-child {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 10px;
}

.motion-progress strong {
  color: var(--cyan);
  font-family: ui-monospace, monospace;
}

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

.motion-readings > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.13);
}

.motion-readings strong {
  margin-top: 4px;
  color: #c8f4fa;
  font-family: ui-monospace, monospace;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  white-space: nowrap;
}

.motion-power-grid {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.motion-power-grid > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(85, 230, 255, 0.02);
}

.motion-power-grid strong {
  margin-top: 4px;
  color: var(--green);
  font-family: ui-monospace, monospace;
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}

.motion-power-grid small {
  display: flex;
  justify-content: space-between;
}

.motion-power-grid small b {
  color: var(--green);
  font-family: ui-monospace, monospace;
  font-weight: 500;
}

.motion-power-grid > div > span {
  margin-top: 4px;
  color: #496975;
  font-size: 7px;
}

.motion-battery {
  overflow: hidden;
  height: 6px;
  margin-top: 10px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.065);
}

.motion-battery i {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan-dark), var(--green));
  box-shadow: 0 0 8px rgba(66, 232, 162, 0.35);
  transition: width 0.2s ease;
}

.motion-controls {
  display: grid;
  gap: 8px;
  margin-top: 17px;
  grid-template-columns: 1.25fr 1fr;
}

.motion-controls .button {
  padding-inline: 9px;
}

.motion-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 12px 0 0;
  color: #597783;
  font-size: 8px;
}

.motion-note .status-dot {
  width: 5px;
  height: 5px;
  background: var(--amber);
}

.motion-analytics {
  display: grid;
  min-width: 0;
  gap: 14px;
  padding: 0 22px 22px;
  grid-column: 1;
  grid-template-columns: minmax(0, 1.55fr) minmax(205px, 1fr);
}

.motion-chart-card,
.motion-events-card {
  min-width: 0;
  padding: 15px 16px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.12);
}

.motion-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.motion-card-header > div:first-child {
  display: flex;
  flex-direction: column;
}

.motion-card-header strong {
  font-size: 11px;
}

.motion-card-header small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 8px;
}

.motion-card-header > span {
  color: #527581;
  font-family: ui-monospace, monospace;
  font-size: 8px;
}

.motion-chart-legend {
  display: flex;
  gap: 10px;
  color: #64818c;
  font-size: 8px;
}

.motion-chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.motion-chart-legend i {
  width: 9px;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
}

.motion-chart-legend span:last-child i {
  background: var(--green);
}

.motion-chart-wrap {
  height: 164px;
  margin-top: 8px;
}

.motion-event-log {
  overflow: auto;
  max-height: 176px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  scrollbar-color: rgba(85, 230, 255, 0.18) transparent;
  scrollbar-width: thin;
}

.motion-event-log li {
  display: grid;
  gap: 9px;
  padding: 9px 0;
  border-top: 1px solid rgba(137, 190, 207, 0.07);
  grid-template-columns: 34px minmax(0, 1fr);
}

.motion-event-log li:first-child {
  border-top: 0;
}

.motion-event-log time {
  padding-top: 2px;
  color: #4e707c;
  font-family: ui-monospace, monospace;
  font-size: 8px;
}

.motion-event-log li > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.motion-event-log strong {
  color: #b7d5de;
  font-size: 9px;
  font-weight: 500;
}

.motion-event-log li:first-child strong {
  color: var(--cyan);
}

.motion-event-log li span {
  margin-top: 3px;
  color: #5d7c88;
  font-size: 8px;
  line-height: 1.55;
}

.workbench-footer {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 20px;
  border-top: 1px solid var(--line);
  color: #4f6d79;
  background: rgba(0, 0, 0, 0.1);
  font-size: 9px;
}

.workbench-footer span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #6a9487;
}

.workbench-footer i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
}

.workbench-footer p {
  margin: 0;
}

.energy-layout {
  display: grid;
  min-height: 530px;
  grid-template-columns: 0.88fr 1.12fr;
}

.energy-controls,
.energy-results {
  padding: 29px;
}

.energy-controls {
  border-right: 1px solid var(--line);
}

.panel-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 27px;
}

.panel-title > div {
  display: flex;
  flex-direction: column;
}

.panel-title span {
  font-size: 14px;
  font-weight: 600;
}

.panel-title small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
}

.panel-title > svg {
  width: 25px;
  height: 25px;
  color: var(--cyan);
}

.range-control {
  display: block;
  margin-bottom: 25px;
}

.range-control > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.range-control strong {
  color: var(--muted-light);
  font-size: 11px;
  font-weight: 500;
}

.range-control output {
  color: var(--cyan);
  font-family: ui-monospace, monospace;
  font-size: 12px;
  font-weight: 600;
}

.range-control input {
  width: 100%;
  height: 5px;
  margin: 0;
  border-radius: 5px;
  outline: none;
  background: linear-gradient(90deg, rgba(85, 230, 255, 0.5), rgba(85, 230, 255, 0.08));
  cursor: pointer;
  appearance: none;
}

.range-control input::-webkit-slider-thumb {
  width: 17px;
  height: 17px;
  border: 3px solid #0c2431;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 1px rgba(85, 230, 255, 0.5), 0 0 15px rgba(85, 230, 255, 0.3);
  appearance: none;
}

.range-control input::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 3px solid #0c2431;
  border-radius: 50%;
  background: var(--cyan);
}

.range-control > small {
  display: flex;
  justify-content: space-between;
  margin-top: 7px;
  color: #4d6b77;
  font-size: 8px;
}

.strategy-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 30px;
  padding: 14px;
  border: 1px solid rgba(66, 232, 162, 0.12);
  border-radius: 11px;
  background: rgba(66, 232, 162, 0.03);
}

.strategy-note .status-dot {
  margin-top: 6px;
}

.strategy-note p {
  margin: 0;
  color: #8daaa5;
  font-size: 10px;
  line-height: 1.75;
}

.recommend-grid {
  display: grid;
  gap: 11px;
  grid-template-columns: repeat(2, 1fr);
}

.recommend-grid > div {
  position: relative;
  display: flex;
  min-height: 104px;
  flex-direction: column;
  justify-content: center;
  padding: 15px 17px 15px 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(85, 230, 255, 0.035), rgba(255, 255, 255, 0.012));
}

.recommend-grid svg {
  position: absolute;
  top: 18px;
  left: 16px;
  width: 20px;
  height: 20px;
  color: var(--cyan);
}

.recommend-grid > div:nth-child(3) svg,
.recommend-grid > div:nth-child(4) svg {
  color: var(--green);
}

.recommend-grid small {
  color: var(--muted);
  font-size: 9px;
}

.recommend-grid strong {
  margin-top: 4px;
  color: var(--text);
  font-size: 23px;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
}

.recommend-grid em {
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
}

.energy-compare {
  margin-top: 24px;
  padding-top: 21px;
  border-top: 1px solid var(--line);
}

.compare-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 17px;
  font-size: 11px;
}

.compare-heading strong {
  color: var(--green);
  font-size: 12px;
}

.compare-row {
  display: grid;
  align-items: center;
  gap: 10px;
  margin: 11px 0;
  color: var(--muted);
  font-size: 9px;
  grid-template-columns: 82px 1fr 65px;
}

.compare-row > div {
  height: 6px;
  overflow: hidden;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
}

.compare-row i {
  display: block;
  width: 70%;
  height: 100%;
  border-radius: inherit;
  background: #647680;
  transition: width 0.35s ease;
}

.compare-row strong {
  color: var(--muted-light);
  font-size: 9px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.compare-row.optimized i {
  background: linear-gradient(90deg, var(--cyan-dark), var(--green));
}

.compare-row.optimized strong {
  color: var(--green);
}

.formula-note {
  margin: 17px 0 0;
  color: #4f6c77;
  font-size: 8px;
  line-height: 1.6;
}

.equipment-intro {
  display: grid;
  align-items: center;
  gap: 65px;
  margin-bottom: 70px;
  grid-template-columns: 1.05fr 0.95fr;
}

.equipment-photo {
  position: relative;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.025);
  box-shadow: var(--shadow);
}

.equipment-photo::before {
  position: absolute;
  z-index: -1;
  inset: 12% -8% -8% 12%;
  border-radius: 50%;
  background: rgba(34, 175, 196, 0.13);
  content: "";
  filter: blur(60px);
}

.equipment-photo img {
  width: 100%;
  aspect-ratio: 1.35;
  border-radius: 17px;
  object-fit: cover;
}

.equipment-photo > span {
  position: absolute;
  right: 27px;
  bottom: 27px;
  padding: 7px 12px;
  border: 1px solid rgba(85, 230, 255, 0.2);
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(5, 20, 29, 0.83);
  backdrop-filter: blur(10px);
  font-size: 10px;
}

.equipment-copy h2 {
  margin-bottom: 20px;
}

.equipment-copy > p {
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.check-list {
  display: grid;
  gap: 15px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
}

.check-list svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 3px;
  color: var(--green);
}

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

.subsystem-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}

.subsystem-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(14, 32, 45, 0.65);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.subsystem-card:hover {
  border-color: var(--line-bright);
  transform: translateY(-5px);
}

.subsystem-image {
  height: 220px;
  overflow: hidden;
  background: #0b1d29;
}

.subsystem-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.subsystem-card:hover img {
  transform: scale(1.04);
}

.subsystem-image.dark-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, #132b3a, #050c12 75%);
}

.subsystem-image.dark-image img {
  width: 88%;
  height: 88%;
  object-fit: contain;
  filter: drop-shadow(0 15px 20px rgba(0, 0, 0, 0.4));
}

.subsystem-card > div:last-child {
  padding: 23px;
}

.subsystem-card span {
  color: var(--cyan);
  font-family: ui-monospace, monospace;
  font-size: 8px;
  letter-spacing: 0.12em;
}

.subsystem-card h3 {
  margin: 7px 0 10px;
  font-size: 18px;
}

.subsystem-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.video-block {
  display: grid;
  align-items: center;
  gap: 48px;
  margin-top: 100px;
  padding: 45px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(19, 42, 57, 0.72), rgba(7, 20, 31, 0.8));
  grid-template-columns: 0.7fr 1.3fr;
}

.video-copy h2 {
  margin-bottom: 17px;
  font-size: clamp(25px, 3vw, 35px);
  line-height: 1.4;
}

.video-copy > p {
  color: var(--muted);
  font-size: 12px;
}

.video-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: #64828f;
  font-size: 9px;
}

.video-frame {
  overflow: hidden;
  border: 1px solid rgba(85, 230, 255, 0.18);
  border-radius: 16px;
  background: #02070b;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.video-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.scenarios {
  background:
    radial-gradient(820px 520px at 96% -6%, rgba(66, 232, 162, 0.06), transparent 62%),
    radial-gradient(760px 520px at 4% 104%, rgba(85, 230, 255, 0.055), transparent 64%),
    rgba(5, 16, 26, 0.58);
}

.scenario-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}

.scenario-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0a1924;
}

.scenario-card > img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.scenario-card:hover > img {
  transform: scale(1.06);
}

.scenario-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 13, 20, 0.08) 10%, rgba(4, 13, 20, 0.5) 48%, rgba(4, 13, 20, 0.98) 90%);
}

.scenario-content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 28px;
}

.scenario-content > span {
  color: var(--cyan);
  font-size: 8px;
  letter-spacing: 0.16em;
}

.scenario-content h3 {
  margin: 7px 0 7px;
  font-size: 24px;
}

.scenario-content p {
  color: #a2b7bf;
  font-size: 12px;
}

.scenario-content ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.scenario-content li {
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  color: #a4b9c1;
  background: rgba(255, 255, 255, 0.035);
  font-size: 9px;
}

.impact {
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 15%, rgba(66, 232, 162, 0.09), transparent 34%),
    radial-gradient(760px 520px at 2% 96%, rgba(85, 230, 255, 0.055), transparent 62%),
    linear-gradient(180deg, rgba(7, 26, 31, 0.9), rgba(6, 20, 28, 0.94));
}

.impact::before {
  position: absolute;
  top: -180px;
  right: -100px;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(66, 232, 162, 0.07);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 60px rgba(66, 232, 162, 0.018), 0 0 0 120px rgba(66, 232, 162, 0.01);
}

.impact-heading {
  display: grid;
  align-items: end;
  gap: 50px;
  margin-bottom: 50px;
  grid-template-columns: 1.2fr 0.8fr;
}

.impact-heading h2 {
  margin-bottom: 0;
}

.impact-heading h2 span,
.impact .section-kicker {
  color: var(--green);
}

.impact-heading > p {
  margin-bottom: 7px;
  color: #8ba9a5;
  font-size: 14px;
  line-height: 1.9;
}

.impact-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, 1fr);
}

.impact-card {
  padding: 27px 24px;
  border: 1px solid rgba(111, 211, 170, 0.13);
  border-radius: var(--radius);
  background: rgba(18, 48, 48, 0.34);
}

.impact-card > svg {
  width: 26px;
  height: 26px;
  margin-bottom: 22px;
  color: var(--green);
}

.impact-card > strong {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: #d9fff0;
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.impact-card em {
  color: var(--green);
  font-size: 12px;
  font-style: normal;
}

.impact-card h3 {
  margin: 10px 0;
  font-size: 14px;
}

.impact-card p {
  margin: 0;
  color: #7e9d99;
  font-size: 11px;
  line-height: 1.8;
}

.green-loop {
  margin-top: 24px;
  padding: 28px;
  border: 1px solid rgba(111, 211, 170, 0.13);
  border-radius: var(--radius);
  background: rgba(5, 22, 26, 0.38);
}

.green-loop-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
}

.green-loop-title span {
  font-size: 13px;
  font-weight: 600;
}

.green-loop-title small {
  color: #698d86;
  font-size: 9px;
}

.green-loop-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.green-loop-steps > div {
  display: grid;
  align-items: center;
  gap: 1px 10px;
  grid-template-columns: auto 1fr;
}

.green-loop-steps i {
  display: flex;
  width: 31px;
  height: 31px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(66, 232, 162, 0.22);
  border-radius: 50%;
  color: var(--green);
  font-family: ui-monospace, monospace;
  font-size: 9px;
  font-style: normal;
  grid-row: span 2;
}

.green-loop-steps strong {
  font-size: 12px;
}

.green-loop-steps small {
  color: #6c8c87;
  font-size: 8px;
}

.green-loop-steps > svg {
  width: 18px;
  height: 18px;
  color: #355c53;
}

.data-source {
  margin: 17px 0 0;
  color: #4f716d;
  font-size: 9px;
  text-align: right;
}

.case-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}

.case-card {
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(17, 38, 52, 0.74), rgba(9, 24, 35, 0.5));
}

.case-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 23px;
}

.case-top span {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 600;
}

.case-top time {
  color: #56737f;
  font-family: ui-monospace, monospace;
  font-size: 9px;
}

.case-card h3 {
  margin-bottom: 13px;
  color: var(--muted-light);
  font-size: 15px;
  font-weight: 500;
}

.case-card h3 strong {
  display: block;
  margin-top: 4px;
  color: var(--text);
  font-size: 28px;
}

.case-card p {
  min-height: 67px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.85;
}

.case-tags {
  display: flex;
  gap: 7px;
}

.case-tags span {
  padding: 4px 8px;
  border-radius: 5px;
  color: #74939f;
  background: rgba(255, 255, 255, 0.035);
  font-size: 8px;
}

.validation-bottom {
  display: grid;
  align-items: center;
  gap: 50px;
  margin-top: 70px;
  grid-template-columns: 0.9fr 1.1fr;
}

.validation-image {
  position: relative;
}

.validation-image::before {
  position: absolute;
  inset: -12px 30px 12px -12px;
  border: 1px solid rgba(85, 230, 255, 0.13);
  border-radius: 22px;
  content: "";
}

.validation-image img {
  position: relative;
  width: 100%;
  max-height: 330px;
  border-radius: 20px;
  object-fit: cover;
}

.validation-copy > span {
  color: var(--cyan);
  font-size: 9px;
  letter-spacing: 0.16em;
}

.validation-copy h3 {
  margin: 12px 0 25px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.5;
}

.validation-stats {
  display: grid;
  gap: 15px;
  margin-bottom: 24px;
  grid-template-columns: repeat(3, 1fr);
}

.validation-stats > div {
  display: flex;
  flex-direction: column;
}

.validation-stats strong {
  color: var(--cyan);
  font-size: 32px;
  line-height: 1.3;
}

.validation-stats em {
  margin-left: 4px;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
}

.validation-stats span {
  color: var(--muted);
  font-size: 10px;
}

.validation-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

.final-cta {
  position: relative;
  padding: 35px 0 90px;
}

.final-cta-inner {
  position: relative;
  display: flex;
  min-height: 250px;
  align-items: center;
  gap: 35px;
  padding: 45px 50px;
  overflow: hidden;
  border: 1px solid rgba(85, 230, 255, 0.19);
  border-radius: 28px;
  background: radial-gradient(circle at 90% 50%, rgba(42, 169, 186, 0.17), transparent 32%), linear-gradient(120deg, rgba(18, 45, 60, 0.9), rgba(8, 26, 37, 0.9));
}

.final-cta-inner > div:not(.cta-orb) {
  position: relative;
  z-index: 2;
  margin-right: auto;
}

.final-cta-inner span {
  color: var(--cyan);
  font-size: 8px;
  letter-spacing: 0.18em;
}

.final-cta-inner h2 {
  margin: 8px 0;
  font-size: clamp(28px, 4vw, 43px);
}

.final-cta-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.final-cta-inner > .button {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
}

.cta-orb {
  position: absolute;
  right: 12%;
  bottom: -50px;
  width: 280px;
  opacity: 0.09;
  transform: rotate(-5deg);
}

.site-footer {
  padding: 35px 0;
  border-top: 1px solid var(--line);
  background: rgba(4, 13, 21, 0.92);
}

.site-footer .container {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.site-footer .container > div {
  display: flex;
  flex-direction: column;
  margin-left: auto;
  color: #4e6b77;
  font-size: 8px;
  text-align: right;
}

.assistant-launcher {
  position: fixed;
  z-index: 120;
  right: 24px;
  bottom: 24px;
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 10px;
  padding: 8px 17px 8px 12px;
  border: 1px solid rgba(85, 230, 255, 0.28);
  border-radius: 999px;
  color: var(--text);
  background: rgba(9, 30, 42, 0.94);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.35), 0 0 25px rgba(85, 230, 255, 0.08);
  backdrop-filter: blur(15px);
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.assistant-launcher:hover {
  border-color: var(--cyan);
  transform: translateY(-3px);
}

.assistant-launcher > svg {
  width: 30px;
  height: 30px;
  padding: 5px;
  border-radius: 50%;
  color: var(--cyan);
  background: rgba(85, 230, 255, 0.08);
}

.assistant-launcher > span:not(.launcher-pulse) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.25;
}

.assistant-launcher strong {
  font-size: 12px;
}

.assistant-launcher small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 8px;
}

.launcher-pulse {
  position: absolute;
  top: 3px;
  left: 33px;
  width: 7px;
  height: 7px;
  border: 2px solid #0b2532;
  border-radius: 50%;
  background: var(--green);
  box-sizing: content-box;
}

.assistant-panel {
  position: fixed;
  z-index: 130;
  right: 24px;
  bottom: 94px;
  display: flex;
  width: min(390px, calc(100vw - 32px));
  height: min(590px, calc(100vh - 130px));
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(85, 230, 255, 0.22);
  border-radius: 22px;
  background: rgba(7, 23, 34, 0.98);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(22px);
}

.assistant-panel[hidden] {
  display: none;
}

.assistant-panel.opening {
  animation: assistant-in 0.25s ease-out;
}

.assistant-header {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 17px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(120deg, rgba(85, 230, 255, 0.05), transparent);
}

.assistant-avatar {
  display: flex;
  width: 39px;
  height: 39px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(85, 230, 255, 0.2);
  border-radius: 12px;
  color: var(--cyan);
  background: rgba(85, 230, 255, 0.08);
}

.assistant-avatar svg {
  width: 22px;
  height: 22px;
}

.assistant-header > div:nth-child(2) {
  display: flex;
  flex-direction: column;
}

.assistant-header strong {
  font-size: 14px;
}

.assistant-header span {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 8px;
}

.assistant-header span i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
}

.assistant-header .icon-button {
  margin-left: auto;
}

.assistant-header .icon-button svg {
  width: 19px;
  height: 19px;
}

.assistant-notice {
  padding: 7px 16px;
  color: #5d7c88;
  background: rgba(0, 0, 0, 0.12);
  font-size: 8px;
  text-align: center;
}

.assistant-messages {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
  padding: 18px 15px;
}

.message {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.message-avatar {
  display: flex;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--cyan);
  background: rgba(85, 230, 255, 0.08);
}

.message-avatar svg {
  width: 15px;
  height: 15px;
}

.message > div:last-child {
  max-width: 83%;
}

.message p {
  padding: 11px 13px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 4px 14px 14px 14px;
  color: #b1c5cc;
  background: rgba(255, 255, 255, 0.035);
  font-size: 11px;
  line-height: 1.8;
  white-space: pre-line;
}

.message time {
  display: block;
  margin-top: 4px;
  color: #4c6975;
  font-size: 7px;
}

.message.user {
  justify-content: flex-end;
}

.message.user p {
  border-color: rgba(85, 230, 255, 0.14);
  border-radius: 14px 4px 14px 14px;
  color: #d4f6fa;
  background: rgba(85, 230, 255, 0.09);
}

.message.typing p {
  display: flex;
  gap: 4px;
  padding-block: 15px;
}

.message.typing i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--muted);
  animation: typing 1s ease infinite;
}

.message.typing i:nth-child(2) {
  animation-delay: 0.15s;
}

.message.typing i:nth-child(3) {
  animation-delay: 0.3s;
}

.quick-questions {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  overflow-x: auto;
  border-top: 1px solid var(--line);
}

.quick-questions button {
  flex: 0 0 auto;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #83a2ae;
  background: transparent;
  cursor: pointer;
  font-size: 8px;
}

.quick-questions button:hover {
  border-color: var(--line-bright);
  color: var(--cyan);
}

.assistant-form {
  display: flex;
  gap: 9px;
  padding: 12px 14px 14px;
}

.assistant-form input {
  min-width: 0;
  flex: 1;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  color: var(--text);
  background: rgba(0, 0, 0, 0.17);
  font-size: 11px;
}

.assistant-form input:focus {
  border-color: var(--line-bright);
}

.assistant-form input::placeholder {
  color: #4e6d78;
}

.assistant-form button {
  display: flex;
  width: 42px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  color: #06151d;
  background: var(--cyan);
  cursor: pointer;
}

.assistant-form button svg {
  width: 18px;
  height: 18px;
}

@keyframes robot-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@keyframes halo-breathe {
  0%, 100% { opacity: 0.75; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1.04); }
}

@keyframes aurora-one {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-70px, 54px, 0) scale(1.1); }
}

@keyframes aurora-two {
  0% { transform: translate3d(0, 0, 0) scale(1.06); }
  100% { transform: translate3d(84px, -46px, 0) scale(1); }
}

@keyframes scan {
  0%, 100% { top: 24%; opacity: 0; }
  15%, 85% { opacity: 0.65; }
  50% { top: 77%; }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}

@keyframes scroll-line {
  to { top: 100%; }
}

@keyframes typing {
  0%, 100% { opacity: 0.3; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-2px); }
}

@keyframes assistant-in {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 1120px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-menu {
    position: fixed;
    top: 76px;
    right: 0;
    left: 0;
    display: grid;
    gap: 3px;
    padding: 16px 24px 22px;
    border-bottom: 1px solid var(--line);
    background: rgba(5, 16, 25, 0.98);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.3);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-menu.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-link {
    padding: 11px 12px;
    border-radius: 9px;
  }

  .nav-link.active {
    background: rgba(85, 230, 255, 0.05);
  }

  .nav-link::after {
    display: none;
  }

  .nav-cta {
    margin-left: auto;
  }

  .nav-toggle {
    order: 3;
    margin-left: 0;
  }

  .solution-grid,
  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .solution-card {
    min-height: 280px;
  }

  .simulator-layout {
    grid-template-columns: minmax(0, 1fr) 250px;
  }

  .simulator-main {
    padding: 18px;
  }

  .green-loop-steps small {
    max-width: 115px;
  }
}

@media (max-width: 900px) {
  .section {
    padding: 90px 0;
  }

  .hero {
    padding-top: 125px;
  }

  .hero-grid {
    gap: 30px;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 690px;
    text-align: center;
    justify-self: center;
  }

  .hero h1 > span {
    font-size: 76px;
  }

  .hero-actions,
  .hero-tags {
    justify-content: center;
  }

  .hero-visual {
    width: min(640px, 92%);
    margin: 0 auto;
  }

  .hero-metrics {
    margin-top: 35px;
  }

  .scroll-hint {
    display: none;
  }

  .ai-loop > span {
    width: 20px;
  }

  .simulator-layout {
    grid-template-columns: 1fr;
  }

  .simulator-sidebar {
    display: grid;
    gap: 15px 25px;
    border-top: 1px solid var(--line);
    border-left: 0;
    grid-template-columns: repeat(2, 1fr);
  }

  .sidebar-title {
    margin: 0;
    grid-column: 1 / -1;
  }

  .recognition-score {
    padding: 0;
    border: 0;
  }

  .reading-list {
    padding: 0;
  }

  .ai-message {
    margin: 0;
  }

  .simulator-sidebar > .button {
    align-self: end;
  }

  .mission-state,
  .path-progress,
  .path-metrics,
  .path-buttons,
  .simulator-sidebar > .text-button {
    margin: 0;
  }

  .ai-message.compact {
    align-self: stretch;
  }

  .energy-layout {
    grid-template-columns: 1fr;
  }

  .energy-controls {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .equipment-intro {
    gap: 40px;
    grid-template-columns: 1fr;
  }

  .equipment-photo {
    width: min(650px, 100%);
    margin: 0 auto;
  }

  .equipment-copy {
    max-width: 650px;
  }

  .subsystem-image {
    height: 180px;
  }

  .video-block {
    gap: 30px;
    padding: 30px;
    grid-template-columns: 1fr;
  }

  .video-copy {
    max-width: 550px;
  }

  .scenario-card {
    min-height: 380px;
  }

  .scenario-content {
    padding: 22px;
  }

  .impact-heading {
    gap: 20px;
    grid-template-columns: 1fr;
  }

  .impact-heading > p {
    max-width: 600px;
  }

  .green-loop-steps {
    display: grid;
    gap: 18px;
    grid-template-columns: 1fr 1fr;
  }

  .green-loop-steps > svg {
    display: none;
  }

  .green-loop-steps small {
    max-width: none;
  }

  .case-card {
    padding: 22px;
  }

  .validation-bottom {
    gap: 35px;
  }

  .final-cta-inner {
    padding: 38px;
  }

  .site-footer .container {
    flex-wrap: wrap;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 32px, 1200px);
  }

  .section {
    padding: 76px 0;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .section-heading h2,
  .equipment-copy h2,
  .impact-heading h2 {
    font-size: 30px;
  }

  .section-heading p {
    font-size: 13px;
  }

  .nav {
    height: 68px;
  }

  .nav-menu {
    top: 68px;
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    margin-left: auto;
  }

  .brand strong {
    font-size: 16px;
  }

  .brand img {
    width: 39px;
    height: 39px;
  }

  .hero {
    min-height: auto;
    padding: 112px 0 70px;
  }

  .hero h1 > span {
    font-size: clamp(50px, 14vw, 70px);
  }

  .hero h1 small {
    font-size: 23px;
  }

  .hero-lead {
    font-size: 13px;
  }

  .hero-lead br {
    display: none;
  }

  .hero-visual {
    width: 100%;
  }

  .float-card-one,
  .float-card-two {
    display: none;
  }

  .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .metric:nth-child(3)::before {
    display: none;
  }

  .metric:nth-child(n+3) {
    border-top: 1px solid var(--line);
  }

  .solution-grid,
  .subsystem-grid,
  .scenario-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .solution-card {
    min-height: 260px;
  }

  .ai-loop {
    display: grid;
    gap: 18px 8px;
    grid-template-columns: repeat(3, 1fr);
  }

  .ai-loop > span {
    display: none;
  }

  .ai-loop > div {
    min-width: 0;
  }

  .ai-loop > div:nth-child(7) {
    grid-column: 1 / 2;
  }

  .equipment-photo::before {
    right: 0;
  }

  .ai-tabs {
    padding-inline: 7px;
  }

  .ai-tab {
    flex-direction: column;
    gap: 5px;
    padding: 13px 4px;
    text-align: center;
  }

  .ai-tab svg {
    width: 20px;
    height: 20px;
  }

  .ai-tab span {
    font-size: 11px;
  }

  .ai-tab small {
    display: none;
  }

  .workbench-topbar > span:not(.demo-badge) {
    display: none;
  }

  .demo-badge {
    margin-left: auto;
  }

  .simulator-main {
    padding: 13px;
  }

  .canvas-header {
    align-items: flex-start;
  }

  .segmented button {
    padding: 6px 8px;
    font-size: 9px;
  }

  .live-label {
    margin-top: 9px;
  }

  .canvas-wrap {
    aspect-ratio: 4 / 3;
  }

  .legend-note {
    width: 100%;
    margin-left: 0;
  }

  .simulator-sidebar {
    display: flex;
    padding: 20px;
  }

  .sidebar-title {
    margin-bottom: 5px;
  }

  .recognition-score {
    padding-bottom: 15px;
    border-bottom: 1px solid var(--line);
  }

  .reading-list {
    padding: 5px 0;
  }

  .ai-message {
    margin: 5px 0 12px;
  }

  .path-progress,
  .path-metrics {
    margin-block: 5px;
  }

  .path-buttons {
    margin-top: 5px;
  }

  .energy-controls,
  .energy-results {
    padding: 22px 18px;
  }

  .workbench-footer {
    justify-content: center;
    text-align: center;
  }

  .workbench-footer > span {
    display: none;
  }

  .subsystem-image {
    height: 240px;
  }

  .video-block {
    margin-top: 70px;
    padding: 20px;
  }

  .scenario-card {
    min-height: 410px;
  }

  .impact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .impact-card {
    padding: 22px 18px;
  }

  .green-loop-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .case-card p {
    min-height: auto;
  }

  .validation-bottom {
    grid-template-columns: 1fr;
  }

  .validation-image {
    width: calc(100% - 12px);
    margin-left: 12px;
  }

  .final-cta-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 32px 26px;
  }

  .site-footer .container {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .site-footer .container > div {
    margin-left: 0;
    text-align: left;
  }

  .assistant-launcher {
    right: 16px;
    bottom: 16px;
  }

  .assistant-panel {
    right: 16px;
    bottom: 85px;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-tags {
    gap: 7px 12px;
    font-size: 9px;
  }

  .hero-visual {
    padding-block: 30px;
  }

  .float-card {
    padding: 9px 10px;
  }

  .float-card svg {
    width: 18px;
    height: 18px;
  }

  .float-card strong {
    font-size: 9px;
  }

  .stage-top,
  .stage-bottom {
    padding-inline: 12px;
    font-size: 7px;
  }

  .stage-bottom {
    font-size: 7px;
  }

  .metric {
    padding: 18px;
  }

  .metric strong {
    font-size: 26px;
  }

  .ai-loop strong {
    font-size: 10px;
  }

  .ai-loop small {
    font-size: 7px;
  }

  .canvas-header {
    flex-direction: column;
  }

  .live-label {
    display: none;
  }

  .segmented {
    width: 100%;
  }

  .segmented button {
    flex: 1;
  }

  .canvas-legend {
    gap: 8px 12px;
  }

  .recommend-grid {
    grid-template-columns: 1fr;
  }

  .recommend-grid > div {
    min-height: 90px;
  }

  .compare-row {
    grid-template-columns: 72px 1fr 59px;
  }

  .impact-grid {
    grid-template-columns: 1fr;
  }

  .green-loop {
    padding: 22px 18px;
  }

  .green-loop-steps {
    grid-template-columns: 1fr;
  }

  .validation-stats strong {
    font-size: 27px;
  }

  .assistant-launcher > span:not(.launcher-pulse) {
    display: none;
  }

  .assistant-launcher {
    width: 58px;
    padding: 8px;
    justify-content: center;
  }

  .launcher-pulse {
    left: auto;
    right: 3px;
  }
}

@media (max-width: 1120px) {
  .motion-dashboard {
    grid-template-columns: minmax(0, 1fr) 270px;
  }

  .motion-primary-metrics strong {
    font-size: 20px;
  }
}

@media (max-width: 900px) {
  .motion-dashboard {
    grid-template-columns: 1fr;
  }

  .motion-sidebar {
    grid-row: auto;
    grid-column: auto;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .motion-readings {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .motion-analytics {
    grid-column: auto;
  }

  .motion-primary-metrics strong {
    font-size: 23px;
  }
}

@media (max-width: 720px) {
  .ai-tabs {
    grid-template-columns: repeat(2, 1fr);
  }

  .ai-tab:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .motion-primary {
    padding: 13px;
  }

  .motion-map-wrap {
    aspect-ratio: 16 / 9;
  }

  .motion-primary-metrics {
    gap: 8px;
    margin-top: 13px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .motion-sidebar {
    padding: 20px;
  }

  .motion-readings {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .motion-analytics {
    padding: 0 13px 13px;
    grid-template-columns: 1fr;
  }

  .motion-chart-wrap {
    height: 170px;
  }
}

@media (max-width: 480px) {
  .motion-primary-metrics > div {
    padding: 12px;
  }

  .motion-primary-metrics strong {
    font-size: 20px;
  }

  .motion-connection {
    font-size: 7px;
  }

  .motion-map-scale {
    right: 8px;
    bottom: 7px;
    font-size: 7px;
  }

  .motion-chart-card,
  .motion-events-card {
    padding-inline: 12px;
  }
}

@media (max-width: 360px) {
  .motion-state > span:last-child {
    display: none;
  }

  .motion-controls {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- AI algorithm stack ---------- */

.algorithms-section {
  background:
    radial-gradient(circle at 16% 6%, rgba(66, 232, 162, 0.05), transparent 32%),
    radial-gradient(900px 620px at 92% 104%, rgba(85, 230, 255, 0.05), transparent 64%),
    linear-gradient(180deg, rgba(4, 12, 20, 0.55), rgba(7, 19, 31, 0.4));
}

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

.algorithm-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px 20px 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(155deg, rgba(18, 39, 54, 0.72), rgba(8, 22, 33, 0.58));
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.algorithm-card::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(85, 230, 255, 0.55), transparent);
  content: "";
  opacity: 0;
  transition: opacity 0.3s ease;
}

.algorithm-card:hover {
  border-color: var(--line-bright);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.22);
  transform: translateY(-5px);
}

.algorithm-card:hover::after {
  opacity: 1;
}

.algorithm-index {
  position: absolute;
  top: 20px;
  right: 18px;
  color: rgba(154, 192, 203, 0.22);
  font-family: ui-monospace, monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
}

.algorithm-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.algorithm-icon {
  display: flex;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(85, 230, 255, 0.16);
  border-radius: 12px;
  color: var(--cyan);
  background: rgba(85, 230, 255, 0.06);
}

.algorithm-icon svg {
  width: 20px;
  height: 20px;
}

.algorithm-head h3 {
  margin: 1px 0 5px;
  padding-right: 30px;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.algorithm-head small {
  display: block;
  color: #5d8493;
  font-family: ui-monospace, monospace;
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.algorithm-card p {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.85;
}

.algorithm-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.algorithm-tags span {
  padding: 4px 8px;
  border: 1px solid rgba(85, 230, 255, 0.11);
  border-radius: 999px;
  color: #7d9fab;
  background: rgba(85, 230, 255, 0.035);
  font-size: 9px;
}

.algorithm-card:nth-child(3n + 2) .algorithm-icon {
  border-color: rgba(66, 232, 162, 0.16);
  color: var(--green);
  background: rgba(66, 232, 162, 0.06);
}

.algorithm-card:nth-child(3n) .algorithm-icon {
  border-color: rgba(246, 200, 107, 0.16);
  color: var(--amber);
  background: rgba(246, 200, 107, 0.05);
}

.algorithm-note {
  margin: 22px 0 0;
  color: #5f808c;
  font-size: 11px;
  text-align: center;
}

.algorithm-note a {
  color: var(--cyan);
  border-bottom: 1px solid rgba(85, 230, 255, 0.3);
}

@media (max-width: 1120px) {
  .algorithm-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .algorithm-grid {
    grid-template-columns: 1fr;
  }

  .algorithm-card {
    padding: 20px 18px;
  }
}

/* ---------- Algorithm stack upgrade ---------- */

.algorithm-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: -18px 0 20px;
}

.algorithm-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.algorithm-filter {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  font-size: 11px;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.algorithm-filter small {
  color: #5c7f8d;
  font-family: ui-monospace, monospace;
  font-size: 8px;
}

.algorithm-filter:hover {
  border-color: var(--line-bright);
  color: var(--text);
}

.algorithm-filter.active {
  border-color: transparent;
  color: #05141c;
  background: linear-gradient(120deg, var(--cyan), #65edcb);
  font-weight: 650;
}

.algorithm-filter.active small {
  color: rgba(5, 20, 28, 0.62);
}

.algorithm-hint {
  color: #5c7f8d;
  font-size: 10px;
}

.algorithm-card {
  cursor: pointer;
}

.algorithm-card:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.algorithm-card.selected {
  border-color: var(--line-bright);
  box-shadow: 0 0 0 1px rgba(85, 230, 255, 0.1), 0 24px 55px rgba(0, 0, 0, 0.24);
  background: linear-gradient(155deg, rgba(24, 58, 74, 0.88), rgba(9, 28, 40, 0.72));
}

.algorithm-card.is-hidden {
  display: none;
}

.algorithm-grid.is-filtered {
  display: flex;
  flex-wrap: wrap;
}

.algorithm-grid.is-filtered .algorithm-card {
  flex: 1 1 280px;
}

.algorithm-grid.is-filtered .algorithm-card:only-child {
  flex: 0 1 480px;
  margin-inline: auto;
}

.algorithm-detail {
  margin-top: 18px;
  padding: 24px;
  border: 1px solid var(--line-bright);
  border-radius: 22px;
  background: linear-gradient(150deg, rgba(16, 44, 58, 0.9), rgba(6, 19, 29, 0.94));
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.26);
}

.algorithm-detail[hidden] {
  display: none;
}

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

.detail-layer {
  display: inline-flex;
  margin-bottom: 9px;
  padding: 4px 9px;
  border: 1px solid rgba(85, 230, 255, 0.22);
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(85, 230, 255, 0.07);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.detail-head h3 {
  margin-bottom: 5px;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.detail-head small {
  color: #5d8493;
  font-family: ui-monospace, monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.detail-close {
  display: inline-flex;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.detail-close:hover {
  border-color: var(--line-bright);
  color: var(--text);
}

.detail-close svg {
  width: 14px;
  height: 14px;
}

.detail-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 12px;
  align-items: center;
}

.detail-step {
  min-height: 108px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(4, 12, 20, 0.35);
}

.detail-step small {
  color: #5d8493;
  font-family: ui-monospace, monospace;
  font-size: 8px;
  letter-spacing: 0.16em;
}

.detail-step strong {
  display: block;
  margin: 7px 0 6px;
  color: var(--text);
  font-size: 12px;
  line-height: 1.5;
}

.detail-step p {
  margin: 0;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.7;
}

.detail-arrow {
  color: var(--cyan);
  font-size: 15px;
}

.detail-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
}

.detail-metrics {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.detail-metrics .label {
  color: #5d8493;
  font-size: 9px;
  letter-spacing: 0.12em;
}

.detail-metrics em {
  padding: 4px 9px;
  border: 1px solid rgba(66, 232, 162, 0.18);
  border-radius: 999px;
  color: var(--green);
  background: rgba(66, 232, 162, 0.05);
  font-size: 9.5px;
  font-style: normal;
}

/* ---------- Mission evaluation & data board ---------- */

.evaluation-section {
  background:
    radial-gradient(circle at 84% 8%, rgba(246, 200, 107, 0.05), transparent 34%),
    radial-gradient(circle at 12% 72%, rgba(85, 230, 255, 0.05), transparent 32%),
    radial-gradient(820px 560px at 6% 108%, rgba(66, 232, 162, 0.05), transparent 64%),
    linear-gradient(180deg, rgba(4, 12, 20, 0.62), rgba(7, 19, 31, 0.48));
}

.eval-console {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(14, 33, 47, 0.86), rgba(6, 18, 28, 0.92));
  box-shadow: var(--shadow);
}

.eval-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}

.mission-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mission-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  font-size: 12.5px;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.mission-chip small {
  color: #5d808e;
  font-size: 9px;
}

.mission-chip:hover {
  border-color: var(--line-bright);
  color: var(--text);
}

.mission-chip.active {
  border-color: rgba(85, 230, 255, 0.55);
  color: var(--text);
  background: linear-gradient(135deg, rgba(85, 230, 255, 0.16), rgba(66, 232, 162, 0.06));
  box-shadow: inset 0 0 22px rgba(85, 230, 255, 0.06);
  font-weight: 650;
}

.mission-chip.active::before {
  width: 5px;
  height: 5px;
  align-self: center;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(85, 230, 255, 0.8);
  content: "";
}

.mission-chip.active small {
  color: var(--cyan);
}

.eval-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #6d929f;
  font-family: ui-monospace, monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
}

.eval-badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 10px rgba(246, 200, 107, 0.7);
}

.eval-layout {
  display: grid;
  grid-template-columns: 280px 1fr 320px;
  gap: 18px;
}

.eval-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.018);
}

.score-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.score-ring {
  position: relative;
  display: grid;
  width: 168px;
  height: 168px;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(from -90deg, var(--ring-color, var(--cyan)) calc(var(--value, 0) * 1%), rgba(255, 255, 255, 0.06) 0);
  box-shadow: 0 0 45px rgba(85, 230, 255, 0.1);
  transition: background 0.6s ease, box-shadow 0.6s ease;
}

.score-ring::before {
  position: absolute;
  inset: 11px;
  border-radius: 50%;
  background: #0a1b27;
  box-shadow: inset 0 0 32px rgba(0, 0, 0, 0.45);
  content: "";
}

.score-ring-inner {
  position: relative;
  display: flex;
  z-index: 1;
  flex-direction: column;
  align-items: center;
}

.score-ring strong {
  font-size: 42px;
  line-height: 1;
  letter-spacing: -0.045em;
}

.score-ring span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.16em;
}

.score-grade {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 6px 13px;
  border: 1px solid rgba(66, 232, 162, 0.25);
  border-radius: 999px;
  color: var(--green);
  background: rgba(66, 232, 162, 0.06);
  font-size: 10.5px;
}

.score-grade strong {
  font-size: 13px;
  letter-spacing: 0.04em;
}

.score-meta {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 18px;
}

.score-meta div {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(4, 12, 20, 0.3);
}

.score-meta small {
  display: block;
  margin-bottom: 5px;
  color: #5d808e;
  font-size: 9px;
}

.score-meta strong {
  font-size: 12.5px;
}

.eval-summary {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.85;
  text-align: left;
}

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

.dims-head span {
  color: var(--text);
  font-size: 12.5px;
  font-weight: 650;
}

.dims-head small {
  color: #5d808e;
  font-family: ui-monospace, monospace;
  font-size: 8px;
  letter-spacing: 0.12em;
}

.dim-row {
  margin-bottom: 16px;
}

.dim-row:last-child {
  margin-bottom: 0;
}

.dim-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
}

.dim-top span {
  color: var(--muted-light);
  font-size: 11.5px;
}

.dim-top strong {
  color: var(--cyan);
  font-family: ui-monospace, monospace;
  font-size: 11px;
}

.dim-track {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.dim-track i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan-dark), var(--cyan));
  transition: width 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.dim-row:nth-child(3) .dim-track i {
  background: linear-gradient(90deg, var(--green-dark), var(--green));
}

.dim-row:nth-child(4) .dim-track i {
  background: linear-gradient(90deg, #cfa556, var(--amber));
}

.dim-row:nth-child(5) .dim-track i {
  background: linear-gradient(90deg, #2f9db5, #7fe9ff);
}

.dims-note {
  margin: 20px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: #5d808e;
  font-size: 9.5px;
  line-height: 1.7;
}

.radar-card {
  display: flex;
  flex-direction: column;
}

.radar-card svg {
  width: 100%;
  max-width: 380px;
  height: auto;
  flex: 1;
  margin-inline: auto;
}

#eval-radar text {
  fill: #7799a5;
  font-family: inherit;
  font-size: 9px;
}

.radar-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #5d808e;
  font-size: 9px;
}

.data-board {
  margin-top: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(11, 29, 42, 0.74), rgba(5, 16, 25, 0.82));
}

.board-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.board-head span {
  color: var(--cyan);
  font-family: ui-monospace, monospace;
  font-size: 8.5px;
  letter-spacing: 0.2em;
}

.board-head h3 {
  margin-top: 6px;
  font-size: 21px;
  letter-spacing: -0.02em;
}

.board-legend {
  display: flex;
  gap: 16px;
  color: var(--muted);
  font-size: 10px;
}

.board-legend i {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  border-radius: 2px;
}

.board-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.board-kpi {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
}

.board-kpi small {
  display: block;
  margin-bottom: 7px;
  color: #5d808e;
  font-size: 9px;
  letter-spacing: 0.08em;
}

.board-kpi strong {
  font-size: 23px;
  letter-spacing: -0.035em;
}

.board-kpi strong em {
  margin-left: 4px;
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0;
}

.board-kpi strong.green {
  color: var(--green);
}

.board-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 18px;
  margin-top: 18px;
}

.board-chart {
  padding: 16px 16px 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(4, 12, 20, 0.3);
}

.board-chart-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.board-chart-head strong {
  display: block;
  font-size: 12px;
}

.board-chart-head small {
  display: block;
  margin-top: 4px;
  color: #5d808e;
  font-size: 9px;
}

.board-chart-head > span {
  color: #5d808e;
  font-family: ui-monospace, monospace;
  font-size: 9px;
}

.board-chart-wrap {
  position: relative;
  height: 230px;
  margin-top: 8px;
}

.board-chart-wrap canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.board-compare {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(4, 12, 20, 0.3);
}

.compare-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
}

.compare-top span {
  color: var(--muted-light);
  font-size: 11px;
}

.compare-top b {
  color: var(--green);
  font-family: ui-monospace, monospace;
  font-size: 9.5px;
  font-weight: 600;
}

.compare-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.compare-bars i {
  display: block;
  height: 5px;
  border-radius: 999px;
  background: #435b66;
  transition: width 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.compare-bars i.actual {
  background: linear-gradient(90deg, var(--cyan-dark), var(--cyan));
  box-shadow: 0 0 12px rgba(85, 230, 255, 0.18);
}

.eval-source {
  margin: 18px 0 0;
  color: #5d808e;
  font-size: 10px;
  text-align: center;
}

@media (max-width: 1000px) {
  .eval-layout {
    grid-template-columns: 280px 1fr;
  }

  .radar-card {
    grid-column: 1 / -1;
  }

  .board-grid {
    grid-template-columns: 1fr;
  }

  .board-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .algorithm-toolbar {
    margin-top: -8px;
  }

  .algorithm-hint {
    display: none;
  }

  .detail-flow {
    grid-template-columns: 1fr;
  }

  .detail-arrow {
    text-align: center;
    transform: rotate(90deg);
  }

  .eval-console {
    padding: 18px;
  }

  .eval-layout {
    grid-template-columns: 1fr;
  }

  .radar-card {
    grid-column: auto;
  }

  .board-kpis {
    grid-template-columns: 1fr 1fr;
  }

  .board-compare {
    grid-template-columns: 1fr;
  }

  .data-board {
    padding: 18px;
  }

  .eval-card {
    padding: 18px;
  }
}

@media (max-width: 720px) {
  .algorithm-grid.is-filtered .algorithm-card,
  .algorithm-grid.is-filtered .algorithm-card:only-child {
    flex: 1 1 100%;
  }
}

/* Longer project name: keep the hero title on one line */
.hero h1 > span {
  font-size: clamp(40px, 5.4vw, 68px);
  letter-spacing: 0.03em;
}

@media (max-width: 380px) {
  .hero h1 > span {
    font-size: 36px;
    letter-spacing: 0.02em;
  }
}
