:root {
  color-scheme: dark;
  --ink: #f7fbff;
  --muted: #a7b3c4;
  --line: rgba(255, 255, 255, 0.14);
  --panel: rgba(12, 18, 28, 0.78);
  --panel-solid: #101721;
  --paper: #f6f8fb;
  --paper-ink: #17202c;
  --paper-muted: #5b6778;
  --cyan: #42d7ff;
  --emerald: #43e69f;
  --amber: #ffbd5c;
  --coral: #ff6f61;
  --shadow: 0 22px 80px rgba(0, 0, 0, 0.32);
  --radius: 8px;
  --header-height: 76px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(90deg, rgba(66, 215, 255, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    #071019;
  background-size: 64px 64px;
  color: var(--ink);
  letter-spacing: 0;
}

body.modal-open {
  overflow: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 22% 10%, rgba(66, 215, 255, 0.14), transparent 28%),
    radial-gradient(circle at 76% 28%, rgba(67, 230, 159, 0.1), transparent 24%),
    linear-gradient(180deg, transparent 0%, rgba(66, 215, 255, 0.035) 42%, transparent 100%);
  transform: translate3d(0, calc(var(--scroll-y, 0) * -0.04px), 0);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: 60;
  content: "";
  pointer-events: none;
  opacity: 0.22;
  background: repeating-linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05) 0 1px,
    transparent 1px 4px
  );
  mix-blend-mode: screen;
}

button,
input,
textarea,
select {
  font: inherit;
  letter-spacing: 0;
}

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

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

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

.scroll-hud {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.scroll-hud span {
  display: block;
  width: calc(var(--scroll-progress, 0) * 100%);
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--emerald), var(--amber));
  box-shadow: 0 0 20px rgba(66, 215, 255, 0.62);
}

[hidden] {
  display: none !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  padding: 0 48px;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 16, 25, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 212px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(66, 215, 255, 0.58);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(66, 215, 255, 0.18), rgba(67, 230, 159, 0.1)),
    rgba(255, 255, 255, 0.03);
  color: var(--cyan);
  font-weight: 800;
}

.brand-copy {
  display: grid;
  line-height: 1.15;
}

.brand-copy strong {
  font-size: 18px;
}

.brand-copy small {
  color: var(--muted);
  font-size: 12px;
}

.header-arc-copy {
  flex: 0 1 350px;
  width: 350px;
  height: 56px;
  pointer-events: none;
}

.header-arc-copy svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter:
    drop-shadow(0 0 9px rgba(66, 215, 255, 0.34))
    drop-shadow(0 8px 18px rgba(0, 0, 0, 0.28));
}

.header-arc-copy text {
  fill: url("#headerArcGradient");
  stroke: rgba(1, 10, 16, 0.76);
  stroke-width: 1.35px;
  paint-order: stroke fill;
  font-family: "STKaiti", "KaiTi", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: 4px;
}

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  color: #dce7f4;
  font-size: 14px;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--cyan), var(--emerald));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.header-action,
.primary-button,
.secondary-button {
  min-height: 42px;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.header-action {
  padding: 0 18px;
  color: #06111c;
  background: var(--cyan);
  font-weight: 700;
}

.primary-button {
  padding: 0 22px;
  color: #06111c;
  background: linear-gradient(90deg, var(--cyan), var(--emerald));
  font-weight: 800;
  box-shadow: 0 12px 36px rgba(66, 215, 255, 0.18);
}

.secondary-button {
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
}

.secondary-button.light {
  color: var(--paper-ink);
  border-color: rgba(23, 32, 44, 0.18);
  background: #ffffff;
}

.header-action:hover,
.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
}

.hero {
  position: relative;
  min-height: 86svh;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 16, 25, 0.92) 0%, rgba(7, 16, 25, 0.72) 42%, rgba(7, 16, 25, 0.32) 100%),
    linear-gradient(180deg, rgba(7, 16, 25, 0.08), rgba(7, 16, 25, 0.74));
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(66, 215, 255, 0.12) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.12));
  animation: gridDrift 14s linear infinite;
}

.hero-matrix {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  opacity: 0.34;
  pointer-events: none;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.32) 44%, rgba(0, 0, 0, 0.9) 100%);
}

.matrix-column {
  position: absolute;
  top: -42%;
  color: rgba(67, 230, 159, 0.74);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  line-height: 1.2;
  text-shadow: 0 0 14px rgba(67, 230, 159, 0.42);
  white-space: pre-line;
  animation: matrixFall var(--fall-duration, 9s) linear infinite;
  animation-delay: var(--fall-delay, 0s);
}

.hero-category-nav {
  position: absolute;
  top: clamp(30px, 5vw, 72px);
  left: max(24px, calc((100% - 1180px) / 2));
  z-index: 3;
  width: min(660px, calc(100% - 48px));
  padding: 14px;
  border: 1px solid rgba(18, 174, 205, 0.36);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(12, 39, 49, 0.88), rgba(7, 28, 37, 0.84)),
    rgba(6, 27, 36, 0.86);
  box-shadow:
    0 14px 44px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(111, 230, 255, 0.035) inset;
  backdrop-filter: blur(14px);
}

.category-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.category-nav-head span {
  color: rgba(184, 224, 235, 0.86);
  font-size: 11px;
  font-weight: 800;
}

.category-reset {
  min-height: 28px;
  border: 1px solid rgba(66, 226, 201, 0.48);
  border-radius: var(--radius);
  padding: 0 12px;
  color: #06161b;
  background: linear-gradient(90deg, #43dfff, #39f0ad);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 10px 28px rgba(58, 229, 203, 0.14);
}

.category-reset:hover,
.category-reset:focus-visible,
.category-reset.is-active {
  border-color: rgba(66, 226, 201, 0.7);
  color: #06111c;
  background: linear-gradient(90deg, #43dfff, #39f0ad);
  outline: none;
}

.category-pill-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.category-pill {
  min-width: 0;
  min-height: 52px;
  border: 1px solid rgba(117, 149, 158, 0.34);
  border-radius: var(--radius);
  padding: 0 12px;
  display: grid;
  align-content: center;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(30, 55, 63, 0.84), rgba(19, 41, 49, 0.88)),
    rgba(15, 36, 44, 0.82);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.035) inset;
  cursor: pointer;
  text-align: left;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.category-pill:hover,
.category-pill:focus-visible,
.category-pill.is-active {
  transform: translateY(-2px);
  border-color: rgba(66, 200, 226, 0.46);
  background:
    linear-gradient(180deg, rgba(35, 65, 73, 0.9), rgba(20, 48, 56, 0.9)),
    rgba(18, 45, 54, 0.88);
  outline: none;
}

.category-pill-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-pill-label {
  font-size: 14px;
  font-weight: 800;
}

.hero-content {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 202px 0 64px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.74fr);
  align-items: center;
  gap: 64px;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: 64px;
  line-height: 1.06;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.hero-lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: #d1ddea;
  font-size: 19px;
  line-height: 1.85;
  overflow-wrap: anywhere;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  max-width: 100%;
}

.code-console {
  position: relative;
  min-width: 0;
  border: 1px solid rgba(66, 215, 255, 0.38);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(4, 12, 17, 0.96), rgba(2, 8, 12, 0.92)),
    repeating-linear-gradient(180deg, rgba(67, 230, 159, 0.06) 0 1px, transparent 1px 26px);
  box-shadow:
    0 0 0 1px rgba(67, 230, 159, 0.08) inset,
    0 24px 90px rgba(0, 0, 0, 0.45),
    0 0 42px rgba(66, 215, 255, 0.16);
  overflow: hidden;
}

.code-console::before,
.code-console::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.code-console::before {
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, transparent, rgba(67, 230, 159, 0.14), transparent);
  height: 42%;
  animation: terminalScan 3.2s linear infinite;
  mix-blend-mode: screen;
}

.code-console::after {
  inset: -1px;
  border-radius: inherit;
  background:
    linear-gradient(90deg, transparent, rgba(66, 215, 255, 0.72), transparent) top / 100% 1px no-repeat,
    linear-gradient(180deg, transparent, rgba(67, 230, 159, 0.62), transparent) right / 1px 100% no-repeat,
    linear-gradient(90deg, transparent, rgba(255, 189, 92, 0.52), transparent) bottom / 100% 1px no-repeat,
    linear-gradient(180deg, transparent, rgba(66, 215, 255, 0.58), transparent) left / 1px 100% no-repeat;
  opacity: 0.72;
  animation: borderPulse 2.6s ease-in-out infinite;
}

.console-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(90deg, rgba(67, 230, 159, 0.12), rgba(66, 215, 255, 0.06)),
    rgba(255, 255, 255, 0.04);
}

.console-dots {
  display: flex;
  gap: 8px;
}

.console-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.console-dots span:nth-child(1) {
  background: var(--coral);
}

.console-dots span:nth-child(2) {
  background: var(--amber);
}

.console-dots span:nth-child(3) {
  background: var(--emerald);
}

.console-title {
  min-width: 0;
  flex: 1;
  color: #c4f7dd;
  font-size: 12px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.console-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--emerald);
  font-size: 11px;
  font-weight: 800;
}

.console-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 16px var(--emerald);
  animation: livePulse 1.2s ease-in-out infinite;
}

.terminal-stage {
  position: relative;
  overflow: hidden;
}

.terminal-rain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  background:
    linear-gradient(90deg, transparent 0 48%, rgba(67, 230, 159, 0.22) 50%, transparent 52%),
    repeating-linear-gradient(90deg, transparent 0 24px, rgba(66, 215, 255, 0.08) 24px 25px);
  transform: translateY(var(--terminal-shift, 0));
  animation: terminalNoise 1.8s steps(6) infinite;
}

.code-console pre {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 24px;
  overflow: auto;
}

.code-console code {
  color: #d9ffe9;
  font-size: 14px;
  line-height: 1.78;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  text-shadow: 0 0 10px rgba(67, 230, 159, 0.2);
}

.term-muted {
  color: #74a0a8;
}

.term-ok {
  color: var(--emerald);
  font-weight: 800;
}

.term-warn {
  color: var(--amber);
  font-weight: 800;
}

.term-key {
  color: var(--cyan);
}

.term-string {
  color: #d8ff9a;
}

.term-num {
  color: #ffdd8a;
}

.terminal-feed {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 6px;
  padding: 0 24px 22px;
  color: rgba(191, 238, 255, 0.78);
  font-size: 12px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.terminal-feed span {
  overflow: hidden;
  width: 0;
  white-space: nowrap;
  animation: typeLog 6s steps(36) infinite;
}

.terminal-feed span:nth-child(2) {
  animation-delay: 1.2s;
}

.terminal-feed span:nth-child(3) {
  animation-delay: 2.4s;
}

.console-metrics {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
}

.console-metrics span {
  min-height: 58px;
  display: grid;
  place-items: center;
  gap: 4px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 12px;
}

.console-metrics span:last-child {
  border-right: 0;
}

.console-metrics strong {
  color: var(--cyan);
  font-size: 18px;
}

.signal-strip {
  position: relative;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 16px 24px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  color: #d9e8f5;
  font-size: 14px;
}

.signal-strip::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(66, 215, 255, 0.18), transparent);
  transform: translateX(-100%);
  animation: railSweep 4s linear infinite;
}

.signal-strip span {
  flex: 0 0 auto;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  animation: chipFloat 3.6s ease-in-out infinite;
}

.signal-strip span:nth-child(2) {
  animation-delay: 0.25s;
}

.signal-strip span:nth-child(3) {
  animation-delay: 0.5s;
}

.signal-strip span:nth-child(4) {
  animation-delay: 0.75s;
}

.signal-strip span:nth-child(5) {
  animation-delay: 1s;
}

.section {
  position: relative;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 96px 0;
}

.section::before {
  position: absolute;
  top: 54px;
  right: 0;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(66, 215, 255, 0.34), transparent);
  transform: scaleX(0.18);
  transform-origin: left;
  opacity: 0;
  transition:
    opacity 520ms ease,
    transform 760ms ease;
}

.section.is-visible::before {
  opacity: 1;
  transform: scaleX(1);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2,
.about-layout h2,
.contact-band h2,
.admin-hero h1,
.admin-panel h2 {
  margin: 0;
  color: var(--ink);
  font-size: 42px;
  line-height: 1.18;
  letter-spacing: 0;
}

.section-heading p,
.about-layout p,
.contact-band p,
.admin-hero p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 16px;
}

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

.product-card {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 0;
  background: rgba(255, 255, 255, 0.045);
  color: var(--ink);
  display: grid;
  grid-template-rows: auto 1fr;
  font: inherit;
  text-align: left;
  min-height: 100%;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.product-card,
.case-card,
.partner-card {
  position: relative;
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  transition:
    opacity 520ms ease,
    transform 520ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.section.is-visible .product-card,
.section.is-visible .case-card,
.section.is-visible .partner-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.section.is-visible .product-card:nth-child(2),
.section.is-visible .case-card:nth-child(2),
.section.is-visible .partner-card:nth-child(2) {
  transition-delay: 90ms;
}

.section.is-visible .product-card:nth-child(3),
.section.is-visible .case-card:nth-child(3),
.section.is-visible .partner-card:nth-child(3) {
  transition-delay: 180ms;
}

.section.is-visible .product-card:nth-child(4),
.section.is-visible .case-card:nth-child(4),
.section.is-visible .partner-card:nth-child(4) {
  transition-delay: 270ms;
}

.product-card::before,
.case-card::before,
.partner-card::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(135deg, rgba(66, 215, 255, 0.24), transparent 34%, rgba(67, 230, 159, 0.18));
  transition: opacity 180ms ease;
}

.product-card:hover,
.product-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(66, 215, 255, 0.42);
  background: rgba(255, 255, 255, 0.07);
  outline: none;
}

.case-card:hover,
.case-card:focus-visible,
.partner-card:hover,
.partner-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(66, 215, 255, 0.42);
  background: rgba(255, 255, 255, 0.07);
  outline: none;
}

.product-card:hover::before,
.product-card:focus-within::before,
.case-card:hover::before,
.case-card:focus-visible::before,
.partner-card:hover::before,
.partner-card:focus-visible::before {
  opacity: 1;
}

.product-card-main {
  position: relative;
  z-index: 1;
  width: 100%;
  border: 0;
  padding: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  color: inherit;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.product-card-main:focus-visible {
  outline: 2px solid rgba(66, 215, 255, 0.76);
  outline-offset: -2px;
}

.product-media-wrap {
  position: relative;
}

.media-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(66, 215, 255, 0.16), rgba(67, 230, 159, 0.1)),
    #111b27;
}

.media-frame video,
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card .media-frame {
  aspect-ratio: 4 / 3;
}

.product-card .media-frame img {
  object-position: top center;
}

.media-frame::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, 0.54)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 38px);
  opacity: 0.72;
  animation: mediaScan 3.8s linear infinite;
}

.play-chip {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  min-width: 64px;
  padding: 7px 10px;
  border-radius: var(--radius);
  background: rgba(7, 16, 25, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f7fbff;
  font-size: 12px;
}

.product-body,
.case-body {
  padding: 18px;
}

.product-meta,
.case-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag {
  border: 1px solid rgba(66, 215, 255, 0.22);
  border-radius: var(--radius);
  padding: 5px 8px;
  color: #bfeeff;
  background: rgba(66, 215, 255, 0.08);
  font-size: 12px;
}

.product-card h3,
.case-card h3,
.partner-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.35;
}

.product-card p,
.case-card p,
.partner-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
  font-size: 14px;
}

.product-body > p {
  display: -webkit-box;
  min-height: 72px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.product-card-actions {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 10px;
  padding: 0 18px 18px;
}

.product-card-actions .primary-button,
.product-card-actions .secondary-button,
.product-demo-placeholder {
  flex: 1;
  min-height: 38px;
  padding: 0 12px;
  font-size: 14px;
  box-shadow: none;
}

.product-demo-placeholder {
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
}

.product-more-wrap {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

.product-more-button {
  min-width: 180px;
}

.proof-section {
  width: 100%;
  padding: 0;
  background: var(--paper);
  color: var(--paper-ink);
}

.about-layout {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 96px 0;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.68fr);
  gap: 56px;
  align-items: center;
}

.about-layout .eyebrow {
  color: #0e899e;
}

.about-layout h2 {
  color: var(--paper-ink);
}

.about-layout p {
  color: var(--paper-muted);
}

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

.proof-item {
  min-height: 150px;
  padding: 22px;
  display: grid;
  align-content: center;
  border: 1px solid rgba(23, 32, 44, 0.1);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(14, 137, 158, 0.1), rgba(67, 230, 159, 0.08)),
    #ffffff;
}

.proof-item strong {
  color: #0d6f86;
  font-size: 42px;
  line-height: 1;
}

.proof-item span {
  margin-top: 12px;
  color: var(--paper-muted);
}

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

.case-card,
.partner-card,
.admin-row {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  overflow: hidden;
}

.case-card {
  width: 100%;
  padding: 0;
  color: var(--ink);
  cursor: pointer;
  display: block;
  font: inherit;
  text-align: left;
}

.case-card .media-frame {
  aspect-ratio: 4 / 3;
}

.case-metric {
  color: var(--amber);
  font-weight: 800;
}

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

.partner-card {
  min-height: 230px;
  padding: 20px;
  display: grid;
  align-content: start;
  gap: 16px;
}

.partner-logo {
  width: 68px;
  height: 68px;
  border: 1px solid rgba(66, 215, 255, 0.18);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(66, 215, 255, 0.14), rgba(255, 189, 92, 0.12)),
    rgba(255, 255, 255, 0.04);
  color: var(--cyan);
  font-weight: 800;
}

.partner-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.partner-category {
  margin: 0;
  color: var(--emerald);
  font-size: 13px;
  font-weight: 800;
}

.contact-band {
  margin-bottom: 80px;
  padding: 40px;
  border: 1px solid rgba(66, 215, 255, 0.18);
  border-radius: var(--radius);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  background:
    linear-gradient(90deg, rgba(66, 215, 255, 0.12), rgba(255, 189, 92, 0.08)),
    rgba(255, 255, 255, 0.04);
}

.contact-band h2 {
  max-width: 760px;
  font-size: 34px;
}

.admin-view {
  min-height: 100svh;
  background: var(--paper);
  color: var(--paper-ink);
}

.admin-hero {
  min-height: 300px;
  padding: 72px 48px 54px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  border-bottom: 1px solid rgba(23, 32, 44, 0.12);
  background:
    linear-gradient(90deg, rgba(14, 137, 158, 0.16), rgba(255, 189, 92, 0.1)),
    var(--paper);
}

.admin-hero .eyebrow,
.admin-panel .eyebrow {
  color: #0e899e;
}

.admin-hero h1,
.admin-panel h2 {
  color: var(--paper-ink);
}

.admin-hero p {
  max-width: 620px;
  color: var(--paper-muted);
}

.admin-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 42px 0 88px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
}

.admin-tabs {
  position: sticky;
  top: 24px;
  align-self: start;
  display: grid;
  gap: 10px;
}

.admin-tab {
  min-height: 46px;
  border: 1px solid rgba(23, 32, 44, 0.12);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--paper-muted);
  text-align: left;
  padding: 0 16px;
  cursor: pointer;
}

.admin-tab.is-active {
  color: #062330;
  border-color: rgba(14, 137, 158, 0.24);
  background: #dff9ff;
  font-weight: 800;
}

.admin-panel {
  display: none;
  border: 1px solid rgba(23, 32, 44, 0.12);
  border-radius: var(--radius);
  background: #ffffff;
}

.admin-panel.is-active {
  display: block;
}

.admin-panel-head {
  padding: 24px;
  border-bottom: 1px solid rgba(23, 32, 44, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.admin-panel h2 {
  font-size: 30px;
}

.storage-note {
  align-self: start;
  border-radius: var(--radius);
  background: #eef4f7;
  color: var(--paper-muted);
  padding: 7px 10px;
  font-size: 12px;
}

.editor-form {
  padding: 24px;
  display: grid;
  gap: 18px;
}

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

.editor-form label {
  display: grid;
  gap: 8px;
  color: #2a3544;
  font-size: 14px;
  font-weight: 700;
}

.editor-form input,
.editor-form textarea,
.editor-form select {
  width: 100%;
  border: 1px solid rgba(23, 32, 44, 0.16);
  border-radius: var(--radius);
  background: #f9fbfd;
  color: var(--paper-ink);
  padding: 12px 13px;
  outline: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.editor-form textarea {
  min-height: 112px;
  resize: vertical;
}

.editor-form input:focus,
.editor-form textarea:focus,
.editor-form select:focus {
  border-color: #0e899e;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(14, 137, 158, 0.1);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.form-submit {
  justify-self: start;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: #0d6f86;
  font-weight: 700;
}

.admin-list {
  display: grid;
  gap: 12px;
  padding: 0 24px 24px;
}

.admin-row {
  padding: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  border-color: rgba(23, 32, 44, 0.1);
  background: #f9fbfd;
}

.admin-row-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-row h3 {
  margin: 0 0 6px;
  color: var(--paper-ink);
  font-size: 17px;
}

.admin-row p {
  margin: 0;
  color: var(--paper-muted);
  line-height: 1.6;
  font-size: 13px;
}

.danger-button {
  min-height: 38px;
  border: 1px solid rgba(255, 111, 97, 0.28);
  border-radius: var(--radius);
  color: #a32820;
  background: #fff0ee;
  cursor: pointer;
  padding: 0 13px;
}

.small-button {
  min-height: 38px;
  padding: 0 13px;
  color: #253245;
  border-color: rgba(23, 32, 44, 0.16);
  background: #ffffff;
}

.empty-state {
  padding: 20px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
}

.admin-list .empty-state {
  color: var(--paper-muted);
  border-color: rgba(23, 32, 44, 0.16);
  background: #f9fbfd;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 8, 13, 0.74);
  backdrop-filter: blur(10px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  max-height: min(86svh, 920px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: #0e1620;
  box-shadow: var(--shadow);
}

.modal-close {
  position: sticky;
  top: 12px;
  float: right;
  z-index: 2;
  width: 40px;
  height: 40px;
  margin: 12px 12px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.modal-content {
  padding: 28px;
}

.modal-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  background: #111b27;
}

.modal-media video,
.modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-title-row {
  margin: 24px 0 18px;
  display: grid;
  gap: 10px;
}

.modal-title-row h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1.18;
}

.modal-summary {
  color: var(--muted);
  line-height: 1.8;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.rich-content {
  margin-top: 24px;
  color: #d7e2ee;
  line-height: 1.82;
}

.rich-content h2,
.rich-content h3 {
  color: var(--ink);
  margin: 24px 0 10px;
}

.rich-content p {
  margin: 0 0 12px;
}

.rich-content ul {
  margin: 0 0 14px 20px;
  padding: 0;
}

.rich-content a {
  color: var(--cyan);
  text-decoration: underline;
}

.media-gallery {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.media-gallery img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  background: #111b27;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.attachment-list {
  margin-top: 24px;
  display: grid;
  gap: 10px;
}

.attachment-list a {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: #dff5ff;
  background: rgba(255, 255, 255, 0.04);
}

.bootstrap-error {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 200;
  max-width: min(680px, calc(100% - 32px));
  transform: translateX(-50%);
  border: 1px solid rgba(255, 111, 97, 0.36);
  border-radius: var(--radius);
  padding: 12px 16px;
  background: #fff0ee;
  color: #8e211a;
  box-shadow: var(--shadow);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 500ms ease,
    transform 500ms ease;
}

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

@keyframes gridDrift {
  from {
    background-position: 0 0, 0 0;
  }

  to {
    background-position: 72px 72px, 72px 72px;
  }
}

@keyframes matrixFall {
  from {
    transform: translateY(-12%);
  }

  to {
    transform: translateY(168%);
  }
}

@keyframes terminalScan {
  from {
    transform: translateY(-118%);
  }

  to {
    transform: translateY(258%);
  }
}

@keyframes borderPulse {
  0%,
  100% {
    opacity: 0.42;
  }

  50% {
    opacity: 1;
  }
}

@keyframes livePulse {
  0%,
  100% {
    transform: scale(0.82);
    opacity: 0.62;
  }

  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@keyframes terminalNoise {
  from {
    background-position: 0 0, 0 0;
  }

  to {
    background-position: 80px 22px, 42px 0;
  }
}

@keyframes typeLog {
  0%,
  8% {
    width: 0;
  }

  34%,
  86% {
    width: 100%;
  }

  100% {
    width: 0;
  }
}

@keyframes railSweep {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(100%);
  }
}

@keyframes chipFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

@keyframes mediaScan {
  from {
    background-position: 0 0, 0 0;
  }

  to {
    background-position: 0 0, 38px 0;
  }
}

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

@media (max-width: 980px) {
  .site-header {
    height: auto;
    min-height: var(--header-height);
    padding: 14px 24px;
    flex-wrap: wrap;
  }

  .brand {
    min-width: auto;
  }

  .header-arc-copy {
    order: 2;
    flex: 0 1 300px;
    width: 300px;
    height: 50px;
  }

  .header-arc-copy text {
    font-size: 24px;
    letter-spacing: 3px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: auto;
  }

  .hero-category-nav {
    position: relative;
    top: auto;
    left: auto;
    width: min(100% - 48px, 660px);
    margin: 8px auto 0;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 34px 0 48px;
  }

  .hero h1 {
    font-size: 46px;
  }

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

  .product-grid,
  .case-grid,
  .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-layout,
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-tabs {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-band,
  .admin-hero {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 12px 16px;
    gap: 12px;
  }

  .header-action {
    padding: 0 14px;
  }

  .header-arc-copy {
    flex: 1 1 170px;
    width: min(190px, calc(100vw - 176px));
    height: 42px;
  }

  .header-arc-copy text {
    font-size: 27px;
    letter-spacing: 2px;
  }

  .hero-content,
  .section,
  .about-layout,
  .admin-shell {
    width: min(100% - 32px, 1180px);
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
    min-width: 0;
    white-space: normal;
    text-align: center;
  }

  .code-console pre {
    padding: 18px;
  }

  .code-console code {
    font-size: 12px;
  }

  .console-title {
    max-width: 190px;
  }

  .console-metrics {
    grid-template-columns: 1fr;
  }

  .console-metrics span {
    min-height: 44px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .signal-strip {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .hero-category-nav {
    width: min(100% - 32px, 660px);
    padding: 12px;
  }

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

  .category-pill {
    min-height: 44px;
    padding: 0 10px;
  }

  .category-pill-label {
    font-size: 13px;
  }

  .section {
    padding: 68px 0;
  }

  .section-heading h2,
  .about-layout h2,
  .admin-hero h1 {
    font-size: 34px;
  }

  .product-grid,
  .case-grid,
  .partner-grid,
  .proof-grid,
  .form-grid,
  .media-gallery {
    grid-template-columns: 1fr;
  }

  .proof-item {
    min-height: 118px;
  }

  .contact-band {
    padding: 26px;
  }

  .contact-band h2 {
    font-size: 28px;
  }

  .admin-hero {
    padding: 54px 24px 42px;
  }

  .admin-tabs {
    grid-template-columns: 1fr;
  }

  .admin-panel-head,
  .admin-row {
    grid-template-columns: 1fr;
  }

  .admin-panel-head {
    flex-direction: column;
  }

  .modal {
    padding: 12px;
  }

  .modal-content {
    padding: 20px;
  }

  .modal-title-row h2 {
    font-size: 28px;
  }
}
