:root {
  --bg: #070b12;
  --bg-elev: #0c121c;
  --bg-card: rgba(12, 18, 28, 0.88);
  --line: rgba(94, 234, 212, 0.18);
  --line-strong: rgba(46, 230, 197, 0.45);
  --text: #e8eef7;
  --muted: #8b9bb0;
  --accent: #2ee6c5;
  --accent-dim: rgba(46, 230, 197, 0.12);
  --blue: #5b8cff;
  --edu: #38bdf8;
  --coral: #ff7a6e;
  --amber: #f0b429;
  --violet: #a78bfa;
  --font-display: "Orbitron", "Noto Sans SC", sans-serif;
  --font-body: "IBM Plex Sans", "Noto Sans SC", sans-serif;
  --font-mono: "IBM Plex Mono", "Consolas", monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

.grid-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(46, 230, 197, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 230, 197, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.45;
}
.glow {
  position: fixed; width: 65vw; height: 45vh; top: -12%; right: -10%;
  background: radial-gradient(ellipse, rgba(46, 230, 197, 0.13), rgba(91, 140, 255, 0.05) 45%, transparent 72%);
  pointer-events: none; z-index: 0;
}

.wrap {
  position: relative; z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  margin: 0 -24px;
  padding-left: 24px;
  padding-right: 24px;
  background: rgba(7, 11, 18, 0.84);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  gap: 16px;
  flex-wrap: wrap;
}
.brand {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.brand span { color: var(--text); font-weight: 500; }
.brand-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--accent);
  padding: 6px 10px;
  font-family: var(--font-display);
  font-size: 11px;
  cursor: pointer;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13.5px;
  letter-spacing: 0.04em;
  padding: 4px 0;
  transition: color 0.2s, box-shadow 0.2s;
  position: relative;
}
.main-nav a.active,
.main-nav a:hover { color: var(--accent); }
.main-nav a.active { box-shadow: inset 0 -2px 0 var(--accent); }
.main-nav a.nav-edu {
  color: #bae6fd;
}
.main-nav a.nav-edu:hover,
.main-nav a.nav-edu.active {
  color: var(--edu);
  box-shadow: inset 0 -2px 0 var(--edu);
}
.nav-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.06em;
  padding: 1px 5px;
  margin-left: 4px;
  background: rgba(56, 189, 248, 0.16);
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: var(--edu);
  vertical-align: middle;
}

.lang {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: rgba(46, 230, 197, 0.06);
  border: 1px solid var(--line);
  padding: 6px 11px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.lang:hover {
  border-color: var(--accent);
  background: rgba(46, 230, 197, 0.14);
}

/* Typography & Common Controls */
.kicker {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 12px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}
.kicker--edu { color: var(--edu); }
.kicker--ai { color: var(--violet); }

.pulse-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 0 rgba(255, 122, 110, 0.7);
  animation: livePulse 2s infinite;
}
.pulse-dot--cyan {
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(46, 230, 197, 0.7);
}
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(46, 230, 197, 0.65); }
  70% { box-shadow: 0 0 0 8px rgba(46, 230, 197, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 230, 197, 0); }
}

h1 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.22;
  font-weight: 600;
  margin-bottom: 16px;
}
h1 em { font-style: normal; color: var(--accent); }
h1 em.em-edu { color: var(--edu); }
h1 em.em-ai { color: var(--violet); }

.lead {
  color: var(--muted);
  font-size: 15.5px;
  max-width: 680px;
  margin-bottom: 22px;
  line-height: 1.68;
}
.page-hero { padding: 44px 0 26px; }

.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 18px;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 1px solid var(--line);
  color: var(--text);
  transition: transform 0.18s, border-color 0.18s, background 0.18s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); border-color: var(--accent); }
.btn-primary {
  background: var(--accent);
  color: #041016;
  border-color: var(--accent);
  font-weight: 600;
}
.btn-primary:hover { background: #4bf0d2; }
.btn-edu {
  background: rgba(56, 189, 248, 0.16);
  color: #e0f2fe;
  border-color: rgba(56, 189, 248, 0.55);
  font-weight: 500;
}
.btn-edu:hover { border-color: var(--edu); background: rgba(56, 189, 248, 0.26); }
.btn-ghost {
  background: rgba(7, 11, 18, 0.55);
  color: var(--accent);
  border-color: rgba(46, 230, 197, 0.42);
}

/* Homepage Hero Stage */
.hero-stage {
  position: relative;
  margin: 0 -24px;
  min-height: 76vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-stage__bg {
  position: absolute; inset: 0;
  background: center/cover no-repeat;
  opacity: 0;
  transition: opacity 1.4s ease, transform 7s ease-out;
  transform: scale(1.03);
  will-change: opacity, transform;
}
.hero-stage__bg.is-on {
  opacity: 1;
  transform: scale(1);
}
.hero-stage__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 11, 18, 0.94) 0%, rgba(7, 11, 18, 0.72) 55%, rgba(7, 11, 18, 0.42) 100%),
    linear-gradient(0deg, rgba(7, 11, 18, 0.97) 0%, rgba(7, 11, 18, 0.35) 55%, rgba(7, 11, 18, 0.55) 100%);
}
.hero-hud-svg {
  position: absolute;
  right: 3%;
  top: 10%;
  width: min(460px, 44vw);
  opacity: 0.26;
  pointer-events: none;
  z-index: 1;
}
.hero-stage__content {
  position: relative; z-index: 2;
  padding: 64px 24px 44px;
  max-width: 1160px;
  margin: 0 auto;
  width: 100%;
}

/* Telemetry Metric Strip */
.telemetry-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid rgba(94, 234, 212, 0.16);
}
.telemetry-item {
  background: rgba(7, 11, 18, 0.68);
  border: 1px solid rgba(94, 234, 212, 0.2);
  padding: 12px 14px;
  backdrop-filter: blur(6px);
}
.telemetry-val {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}
.telemetry-val--ai { color: var(--violet); }
.telemetry-val--coral { color: var(--coral); }
.telemetry-val--edu { color: var(--edu); }
.telemetry-lbl {
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
}

/* Pipeline Row */
.pipe-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 22px; }
.pipe-step {
  border: 1px solid var(--line);
  background: rgba(7, 11, 18, 0.72);
  padding: 8px 12px;
  text-decoration: none;
  color: inherit;
  opacity: 0.5;
  transition: opacity 0.3s, border-color 0.3s, transform 0.2s;
}
.pipe-row.is-lit .pipe-step { opacity: 0.78; }
.pipe-step.is-on,
.pipe-step:hover { opacity: 1; border-color: rgba(46, 230, 197, 0.55); transform: translateY(-1px); }
.pipe-step code { font-family: var(--font-display); font-size: 11px; color: var(--accent); display: block; }
.pipe-step span { font-size: 12px; color: var(--muted); }
.pipe-arrow { color: var(--accent); opacity: 0.6; }

/* Standard Section Blocks */
section.block { padding: 60px 0; border-top: 1px solid var(--line); }
.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.sec-head .sec-desc { margin-bottom: 0; }
.sec-label {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.sec-label--edu { color: var(--edu); }
.sec-label--ai { color: var(--violet); }
.sec-title {
  font-size: clamp(22px, 2.6vw, 28px);
  margin-bottom: 10px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.sec-desc { color: var(--muted); max-width: 660px; margin-bottom: 28px; font-size: 15px; }

/* Multi-Slide Auto-Scrolling UI & Scene Reel ([data-ui-reel]) */
.ui-reel {
  border: 1px solid rgba(46, 230, 197, 0.28);
  background: linear-gradient(180deg, #0b111b 0%, #060a11 100%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.42);
  overflow: hidden;
  position: relative;
}
.ui-reel__chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  background: rgba(5, 8, 15, 0.92);
  border-bottom: 1px solid var(--line);
  gap: 10px;
}
.ui-reel__dots {
  display: flex;
  align-items: center;
  gap: 6px;
}
.ui-reel__dots i {
  display: block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(139, 155, 176, 0.35);
}
.ui-reel__dots i:first-child { background: #ff7a6e; }
.ui-reel__dots i:nth-child(2) { background: #f0b429; }
.ui-reel__dots i:nth-child(3) { background: #2ee6c5; }
.ui-reel__win-title {
  font-family: var(--font-display);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.ui-reel__nav-btns {
  display: flex;
  gap: 4px;
}
.ui-reel__btn {
  background: rgba(46, 230, 197, 0.08);
  border: 1px solid var(--line);
  color: var(--accent);
  width: 24px; height: 22px;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
}
.ui-reel__btn:hover { border-color: var(--accent); background: rgba(46, 230, 197, 0.18); }

.ui-reel__tabs {
  display: grid;
  grid-template-columns: repeat(var(--reel-count, 3), minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: rgba(8, 13, 22, 0.9);
}
.ui-reel__tab {
  background: transparent;
  border: none;
  border-right: 1px solid rgba(94, 234, 212, 0.1);
  color: var(--muted);
  padding: 9px 10px;
  text-align: left;
  cursor: pointer;
  position: relative;
  font-family: var(--font-body);
  font-size: 12px;
  transition: color 0.2s, background 0.2s;
}
.ui-reel__tab:last-child { border-right: none; }
.ui-reel__tab strong {
  display: block;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 2px;
}
.ui-reel__tab.is-active {
  color: var(--text);
  background: rgba(46, 230, 197, 0.08);
}
.ui-reel__tab::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 2px;
  width: 0%;
  background: var(--accent);
}
.ui-reel__tab.is-active::after {
  width: 100%;
  transition: width 4.8s linear;
}
.ui-reel.is-paused .ui-reel__tab.is-active::after {
  transition: none;
}

.ui-reel__viewport {
  position: relative;
  overflow: hidden;
}
.ui-reel__track {
  display: flex;
  transition: transform 0.52s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.ui-slide {
  min-width: 100%;
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
}
.ui-slide__visual {
  position: relative;
  min-height: 230px;
  background-size: cover;
  background-position: center;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.ui-slide__visual::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7, 11, 18, 0.58) 0%, rgba(7, 11, 18, 0.88) 100%);
}
.ui-slide__top,
.ui-slide__hud {
  position: relative;
  z-index: 1;
}
.ui-slide__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.hud-pill {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.1em;
  padding: 4px 8px;
  background: rgba(7, 11, 18, 0.82);
  border: 1px solid rgba(46, 230, 197, 0.4);
  color: var(--accent);
}
.hud-pill--coral { border-color: rgba(255, 122, 110, 0.5); color: var(--coral); }
.hud-pill--amber { border-color: rgba(240, 180, 41, 0.5); color: var(--amber); }
.hud-pill--violet { border-color: rgba(167, 139, 250, 0.55); color: #ddd6fe; background: rgba(76, 29, 149, 0.35); }
.hud-pill--edu { border-color: rgba(56, 189, 248, 0.5); color: var(--edu); }

.ui-slide__hud {
  margin-top: 14px;
  background: rgba(6, 10, 17, 0.86);
  border: 1px solid rgba(94, 234, 212, 0.22);
  padding: 12px;
  backdrop-filter: blur(6px);
}
.hud-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hud-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.hud-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }

.hud-box {
  border: 1px solid rgba(94, 234, 212, 0.16);
  background: rgba(12, 18, 28, 0.85);
  padding: 7px 9px;
  font-size: 11.5px;
}
.hud-box strong {
  display: block;
  font-family: var(--font-display);
  font-size: 11px;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.hud-box span { color: var(--muted); font-size: 11px; }
.hud-box.is-hi {
  border-color: rgba(46, 230, 197, 0.65);
  background: rgba(46, 230, 197, 0.12);
}
.hud-box.is-ai {
  border-color: rgba(167, 139, 250, 0.6);
  background: rgba(167, 139, 250, 0.12);
}
.hud-box.is-ai strong { color: #c4b5fd; }

.hud-timeline {
  display: flex;
  gap: 3px;
  margin-top: 8px;
  height: 16px;
  align-items: stretch;
  background: rgba(255, 255, 255, 0.03);
  padding: 2px;
  border: 1px solid rgba(94, 234, 212, 0.14);
}
.hud-timeline i {
  display: block;
  flex: 1;
  background: rgba(46, 230, 197, 0.28);
}
.hud-timeline i.w { background: rgba(46, 230, 197, 0.75); flex: 1.4; }
.hud-timeline i.l { background: rgba(255, 122, 110, 0.72); flex: 1.1; }
.hud-timeline i.k { background: rgba(240, 180, 41, 0.8); flex: 1.6; }
.hud-timeline i.ai { background: rgba(167, 139, 250, 0.8); flex: 1.3; }

.ui-slide__caption {
  padding: 14px 16px;
  background: #070b12;
}
.ui-slide__caption h4 {
  font-size: 14.5px;
  margin-bottom: 4px;
  color: var(--text);
}
.ui-slide__caption p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

/* Multi-Sport Photo Showcase Strip */
.sport-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}
.sport-card {
  position: relative;
  height: 176px;
  border: 1px solid var(--line);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 14px;
  transition: border-color 0.25s, transform 0.25s;
}
.sport-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.sport-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(7, 11, 18, 0.94) 0%, rgba(7, 11, 18, 0.22) 65%);
}
.sport-card__body {
  position: relative; z-index: 1;
  width: 100%;
}
.sport-card__badge {
  font-family: var(--font-display);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: var(--accent);
  display: block;
  margin-bottom: 2px;
}
.sport-card__name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.sport-card__meta {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 2px;
}

/* Dual Engine Banner (Software + Education) */
.dual-engine {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.engine-panel {
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(12, 18, 28, 0.96), rgba(7, 11, 18, 0.85));
  padding: 28px 26px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.engine-panel--edu {
  border-color: rgba(56, 189, 248, 0.45);
  background: linear-gradient(165deg, rgba(12, 28, 46, 0.72), rgba(7, 11, 18, 0.92));
}
.engine-panel h3 {
  font-size: 21px;
  margin-bottom: 10px;
}
.engine-panel p {
  color: var(--muted);
  font-size: 14.5px;
  margin-bottom: 14px;
}

/* AI Architecture Diagram Wrapper */
.svg-diagram-box {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(12, 18, 28, 0.92), rgba(6, 10, 17, 0.96));
  padding: 22px;
  margin: 20px 0;
  overflow-x: auto;
}
.svg-diagram-box svg {
  width: 100%;
  height: auto;
  min-width: 680px;
  display: block;
}

/* Cards & Grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }

.mosaic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.card {
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--bg-elev), rgba(7, 11, 18, 0.6));
  padding: 22px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s;
}
a.card:hover { border-color: rgba(46, 230, 197, 0.5); transform: translateY(-2px); }
.card--edu { border-color: rgba(56, 189, 248, 0.32); }
a.card--edu:hover { border-color: var(--edu); }
.card--ai { border-color: rgba(167, 139, 250, 0.35); }

.card__photo {
  height: 138px;
  margin: -22px -22px 16px;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.card__photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(12, 18, 28, 0.86), rgba(7, 11, 18, 0.15));
}
.card__photo-tag {
  position: absolute;
  left: 14px; bottom: 10px;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.12em;
  padding: 3px 8px;
  background: rgba(7, 11, 18, 0.85);
  border: 1px solid var(--line);
  color: var(--accent);
}

.card .tag {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--blue);
  margin-bottom: 8px;
}
.card[data-accent="live"] .tag { color: var(--coral); }
.card[data-accent="analyse"] .tag { color: var(--amber); }
.card[data-accent="edit"] .tag { color: var(--violet); }
.card[data-accent="ai"] .tag { color: #c4b5fd; }
.card[data-accent="edu"] .tag { color: var(--edu); }

.card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}
.card p { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.card ul.mini { margin: 8px 0 0; padding-left: 18px; color: var(--muted); font-size: 13px; }
.card ul.mini li { margin: 4px 0; }
.more {
  display: inline-block;
  margin-top: auto;
  padding-top: 12px;
  font-size: 12px;
  color: var(--accent);
  font-family: var(--font-display);
}

/* Product Detail Layout */
.product-banner { margin-top: 0; min-height: 280px; }
.product-banner .page-hero { padding: 0; max-width: 720px; }
.product-body {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 28px 34px;
  align-items: start;
  padding: 36px 0 16px;
}
.product-body__copy.block { padding: 0; border-top: none; max-width: none; }
.product-body__copy.detail { max-width: none; }
.product-body__copy > h2:first-of-type { margin-top: 0; }
.product-body__media {
  position: sticky;
  top: 84px;
}

/* Capability Matrix Table */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: rgba(12, 18, 28, 0.72);
}
.cap-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 720px;
}
.cap-table th,
.cap-table td {
  padding: 11px 12px;
  border-bottom: 1px solid rgba(94, 234, 212, 0.12);
  text-align: center;
}
.cap-table th:first-child,
.cap-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--text);
  min-width: 170px;
}
.cap-table thead th {
  background: rgba(5, 8, 15, 0.9);
  font-family: var(--font-display);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--accent);
}
.cap-table tbody tr:hover { background: rgba(46, 230, 197, 0.04); }
.dot-main { color: var(--accent); font-weight: 700; }
.dot-sub { color: var(--amber); }
.dot-none { color: rgba(139, 155, 176, 0.38); }

/* Education Page Tracks & Agenda */
.edu-tracks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.edu-track {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(12, 18, 28, 0.96), rgba(7, 11, 18, 0.85));
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.edu-track--short { border-top: 3px solid var(--accent); }
.edu-track--long { border-top: 3px solid var(--edu); }
.edu-track__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.edu-agenda {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}
.edu-day {
  border: 1px solid rgba(94, 234, 212, 0.16);
  background: rgba(5, 8, 15, 0.65);
  padding: 11px 13px;
}
.edu-day strong {
  font-family: var(--font-display);
  font-size: 11.5px;
  color: var(--accent);
  display: block;
  margin-bottom: 3px;
}
.edu-track--long .edu-day strong { color: var(--edu); }
.edu-day p { font-size: 13px; color: var(--muted); margin: 0; }

.chapter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.chapter-card {
  border: 1px solid var(--line);
  background: rgba(12, 18, 28, 0.82);
  padding: 16px;
}
.chapter-card--ai {
  border-color: rgba(167, 139, 250, 0.55);
  background: linear-gradient(160deg, rgba(46, 16, 101, 0.32), rgba(12, 18, 28, 0.9));
}
.chapter-num {
  font-family: var(--font-display);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}
.chapter-card--ai .chapter-num { color: #c4b5fd; }
.chapter-card h4 { font-size: 14.5px; margin-bottom: 6px; }
.chapter-card p { font-size: 12.5px; color: var(--muted); }

.rubric-bars { display: grid; gap: 10px; }
.rubric-row {
  border: 1px solid rgba(94, 234, 212, 0.16);
  background: rgba(12, 18, 28, 0.72);
  padding: 10px 14px;
}
.rubric-row__head {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 6px;
}
.rubric-row__head strong {
  font-family: var(--font-display);
  color: var(--accent);
}
.rubric-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.rubric-bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--edu));
}

/* Existing Architecture / Combos / Cases / Tiers / Tech */
.combo-grid { display: grid; gap: 12px; }
.combo {
  border: 1px solid var(--line);
  background: var(--bg-elev);
  padding: 20px 22px;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  align-items: center;
}
.combo.featured { border-color: rgba(46, 230, 197, 0.5); }
.combo-role { font-weight: 600; color: var(--accent); font-size: 14px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.06em;
  padding: 5px 10px;
  border: 1px solid var(--line);
  color: var(--accent);
  background: rgba(5, 8, 15, 0.5);
}
.chip--ai { border-color: rgba(167, 139, 250, 0.5); color: #ddd6fe; }
.chip--edu { border-color: rgba(56, 189, 248, 0.5); color: var(--edu); }

.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.case-card {
  border: 1px solid var(--line);
  background: var(--bg-elev);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s;
}
.case-card:hover { border-color: rgba(46, 230, 197, 0.5); transform: translateY(-2px); }
.case-card__cover { height: 168px; background-size: cover; background-position: center; border-bottom: 1px solid var(--line); }
.case-card__body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.case-card .meta { font-family: var(--font-display); font-size: 10.5px; letter-spacing: 0.1em; color: var(--blue); margin-bottom: 8px; }
.case-card h3 { font-size: 16px; margin-bottom: 8px; }
.case-card p { font-size: 13.5px; color: var(--muted); flex: 1; }
.case-card .foot { margin-top: 12px; font-family: var(--font-display); font-size: 10.5px; color: var(--accent); }

.case-banner {
  position: relative;
  margin: 0 -24px;
  min-height: 240px;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.case-banner__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.case-banner__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 11, 18, 0.93), rgba(7, 11, 18, 0.52)),
    linear-gradient(0deg, rgba(7, 11, 18, 0.96), transparent 55%);
}
.case-banner__content { position: relative; z-index: 1; padding: 48px 24px 32px; max-width: 1160px; margin: 0 auto; width: 100%; }

.detail { max-width: 780px; }
.detail h2 {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin: 28px 0 12px;
  text-transform: uppercase;
}
.detail p, .detail li { color: var(--muted); font-size: 15px; }
.detail li strong { color: var(--text); }
.feature-list { padding-left: 18px; margin: 8px 0 16px; }
.feature-list li { margin: 10px 0; }
.note {
  border-left: 2px solid var(--accent);
  padding: 12px 15px;
  background: var(--accent-dim);
  color: var(--text);
  font-size: 13.5px;
  margin: 18px 0;
}
.note--ai {
  border-left-color: var(--violet);
  background: rgba(167, 139, 250, 0.1);
}
.note--edu {
  border-left-color: var(--edu);
  background: rgba(56, 189, 248, 0.1);
}

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.is-in { opacity: 1; transform: none; }

.site-footer {
  padding: 32px 0 48px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-size: 12.5px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--accent); }
a.beian { color: var(--muted); text-decoration: none; }
a.beian:hover { color: var(--accent); }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 16px;
}
.contact-tracks { display: grid; gap: 12px; }
.contact-email {
  margin-top: 10px;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.04em;
}
.wechat-qr {
  display: block;
  margin-top: 14px;
  width: 190px;
  height: 190px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 10px;
  object-fit: contain;
}

/* Language Toggle Rules */
[data-lang-en] { display: none !important; }
html[lang="en"] [data-lang-zh] { display: none !important; }
html[lang="en"] [data-lang-en] { display: revert !important; }

/* Architecture Flow */
.arch-hero { padding-bottom: 12px; }
.arch-hero .lead { margin-bottom: 8px; }
.arch { padding: 28px 0 40px; }
.arch__flow { display: grid; gap: 10px; align-items: stretch; }
.arch__flow--fan { grid-template-columns: 1.35fr auto 1.05fr auto 0.88fr auto 0.88fr; }
.arch-stage {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(12, 18, 28, 0.95), rgba(7, 11, 18, 0.6));
  padding: 14px 12px 16px;
  min-height: 100%;
  position: relative;
}
.arch-stage::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent); opacity: 0.8;
}
.arch-stage[data-stage="analyse"]::before { background: linear-gradient(90deg, var(--amber), transparent); }
.arch-stage[data-stage="edit"]::before { background: linear-gradient(90deg, var(--violet), transparent); }
.arch-stage[data-stage="play"]::before { background: linear-gradient(90deg, var(--blue), transparent); }
.arch-stage__label {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 12px;
}
.arch-stage__nodes { display: grid; gap: 8px; }
.arch-stage__nodes--single { min-height: 140px; align-content: center; }
.arch-node {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(94, 234, 212, 0.22);
  background: rgba(5, 8, 15, 0.78);
  padding: 11px 12px;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}
.arch-node:hover {
  border-color: rgba(46, 230, 197, 0.55);
  transform: translateY(-2px);
  background: rgba(12, 18, 28, 0.95);
}
.arch-node__name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-bottom: 4px;
}
.arch-node__ai {
  font-size: 9px;
  padding: 1px 5px;
  border: 1px solid rgba(167, 139, 250, 0.55);
  color: #ddd6fe;
  background: rgba(109, 40, 217, 0.28);
}
.arch-node[data-accent="live"] .arch-node__name { color: var(--coral); }
.arch-node[data-accent="tag"] .arch-node__name { color: var(--blue); }
.arch-node[data-accent="analyse"] .arch-node__name { color: var(--amber); }
.arch-node[data-accent="edit"] .arch-node__name { color: var(--violet); }
.arch-node[data-accent="assist"] .arch-node__name { color: #7dd3c0; }
.arch-node[data-accent="ai"] .arch-node__name { color: #c4b5fd; }
.arch-node__role { display: block; font-size: 12px; color: var(--muted); }
.arch-arrow { display: flex; align-items: center; justify-content: center; color: var(--accent); min-width: 24px; opacity: 0.85; }
.arch-arrow__head { font-family: var(--font-display); font-size: 20px; line-height: 1; }
.arch-bridge {
  display: grid;
  grid-template-columns: 1.35fr auto 1.05fr auto 0.88fr auto 0.88fr;
  gap: 10px;
  margin: 2px 0 0;
  height: 26px;
}
.arch-bridge span { display: block; }
.arch-bridge span.on {
  width: 1px; height: 100%; margin: 0 auto;
  background: linear-gradient(180deg, rgba(46, 230, 197, 0.55), rgba(46, 230, 197, 0.12));
}
.arch-hub__plate {
  border: 1px solid rgba(46, 230, 197, 0.35);
  background:
    linear-gradient(180deg, rgba(46, 230, 197, 0.11), rgba(12, 18, 28, 0.94) 45%, rgba(7, 11, 18, 0.98)),
    repeating-linear-gradient(90deg, transparent, transparent 24px, rgba(46, 230, 197, 0.04) 24px, rgba(46, 230, 197, 0.04) 25px);
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.arch-hub__edu {
  margin-top: 12px;
  border: 1px solid rgba(56, 189, 248, 0.38);
  background: linear-gradient(90deg, rgba(14, 116, 144, 0.22), rgba(12, 18, 28, 0.92));
  padding: 16px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.arch-hub__title {
  display: flex; align-items: baseline; gap: 12px; margin-bottom: 0; flex-wrap: wrap;
  font-size: 13.5px; color: var(--muted); letter-spacing: 0.08em;
}
.arch-hub__code { font-family: var(--font-display); font-size: 17px; letter-spacing: 0.1em; color: var(--accent); }
.arch-hub__link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.arch-hub__link:hover { text-decoration: underline; }

/* Tiers & Tech */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: stretch; }
.tier {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(12, 18, 28, 0.95), rgba(7, 11, 18, 0.6));
  padding: 22px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.tier--featured {
  border-color: rgba(46, 230, 197, 0.58);
  box-shadow: 0 0 0 1px rgba(46, 230, 197, 0.08), 0 18px 40px rgba(0, 0, 0, 0.3);
}
.tier--edu {
  border-color: rgba(56, 189, 248, 0.45);
}
.tier__badge {
  position: absolute; top: 14px; right: 14px;
  font-family: var(--font-display); font-size: 10px; letter-spacing: 0.12em;
  color: #041016; background: var(--accent); padding: 4px 8px; font-weight: 700;
}
.tier__badge--edu { background: var(--edu); }
.tier__level { font-family: var(--font-display); font-size: 12px; letter-spacing: 0.16em; color: var(--accent); margin-bottom: 6px; }
.tier--edu .tier__level { color: var(--edu); }
.tier__head h3 { font-size: 18px; margin-bottom: 8px; line-height: 1.3; }
.tier__for { font-size: 13px; color: var(--muted); }
.tier__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; flex: 1; }
.tier__list li { display: flex; flex-direction: column; gap: 2px; padding-bottom: 10px; border-bottom: 1px solid rgba(94, 234, 212, 0.12); }
.tier__list li:last-child { border-bottom: none; padding-bottom: 0; }
.tier__list a, .tier__list strong { font-family: var(--font-display); font-size: 13px; letter-spacing: 0.03em; color: var(--text); text-decoration: none; }
.tier__list a:hover { color: var(--accent); }
.tier__list span { font-size: 12px; color: var(--muted); }
.tier .chips { margin-top: auto; }

.tech-overview { padding: 28px 0 36px; }
.tech-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.tech-tile {
  position: relative;
  display: flex; flex-direction: column; gap: 6px;
  padding: 18px 16px 16px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(12, 18, 28, 0.95), rgba(7, 11, 18, 0.58));
  text-decoration: none; color: inherit; min-height: 136px;
  transition: border-color 0.2s, transform 0.2s;
}
.tech-tile:hover { border-color: rgba(46, 230, 197, 0.5); transform: translateY(-2px); }
.tech-tile--feat { border-color: rgba(46, 230, 197, 0.48); }
.tech-tile--ai { border-color: rgba(167, 139, 250, 0.52); }
.tech-tile__badge {
  position: absolute; top: 12px; right: 12px;
  font-family: var(--font-display); font-size: 9px; letter-spacing: 0.1em;
  color: #041016; background: var(--accent); padding: 3px 7px; font-weight: 700;
}
.tech-tile__badge--ai { background: var(--violet); color: #0f0720; }
.tech-tile__n { font-family: var(--font-display); font-size: 11px; letter-spacing: 0.16em; color: var(--accent); }
.tech-tile--ai .tech-tile__n { color: #c4b5fd; }
.tech-tile__name { font-size: 15px; line-height: 1.35; font-weight: 600; }
.tech-tile__role { font-size: 12px; color: var(--muted); margin-top: auto; }
.tech-detail { padding: 34px 0; border-top: 1px solid var(--line); max-width: 820px; }
.tech-detail__en { font-family: var(--font-display); font-size: 10px; letter-spacing: 0.12em; color: var(--blue); margin-bottom: 8px; }
.tech-detail h2 { font-size: 21px; margin-bottom: 10px; }
.tech-detail__lead { color: var(--text); font-size: 15.5px; margin-bottom: 14px; max-width: 680px; }
.tech-close { padding: 48px 0 16px; border-top: 1px solid var(--line); }
.tech-close__line { font-family: var(--font-display); font-size: clamp(16px, 2.3vw, 22px); letter-spacing: 0.05em; color: var(--accent); margin-bottom: 12px; }
.tech-close__note { color: var(--muted); font-size: 13px; max-width: 680px; margin-bottom: 22px; }

/* Responsive */
@media (max-width: 980px) {
  .telemetry-bar, .sport-strip, .chapter-grid, .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .dual-engine, .edu-tracks, .product-body, .contact-grid, .grid-3, .mosaic, .tier-grid { grid-template-columns: 1fr; }
  .product-body__media { position: static; }
  .arch__flow--fan { grid-template-columns: 1fr; }
  .arch-arrow { transform: rotate(90deg); min-height: 24px; }
  .arch-bridge { display: none; }
}
@media (max-width: 740px) {
  .nav-toggle { display: inline-block; }
  .main-nav {
    display: none;
    width: 100%;
    padding-top: 10px;
    border-top: 1px solid var(--line);
    gap: 12px 16px;
  }
  .main-nav.is-open { display: flex; }
  .case-grid, .grid-2, .grid-4, .hud-grid-3, .hud-grid-4 { grid-template-columns: 1fr; }
  .combo { grid-template-columns: 1fr; gap: 6px; }
  .hero-hud-svg { display: none; }
}
