/* ==========================================================================
   components.css — 内容组件
   ========================================================================== */

/* ---------- 1. 传统 vs AI 原生 ---------- */
.shift {
  display: grid;
  grid-template-columns: 1fr 72px 1.08fr;
  align-items: stretch;
  gap: 0;
}

.shift__panel {
  position: relative;
  padding: clamp(26px, 3.4vw, 46px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.022);
  overflow: hidden;
}

.shift__panel--old {
  color: #8493aa;
  background: rgba(255, 255, 255, 0.014);
}

.shift__panel--old::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-45deg, transparent 0 14px, rgba(255, 255, 255, 0.012) 14px 15px);
  pointer-events: none;
}

.shift__panel--new {
  border-color: rgba(67, 232, 208, 0.22);
  background:
    radial-gradient(500px 300px at 100% 0%, rgba(90, 155, 255, 0.13), transparent 65%),
    radial-gradient(450px 300px at 0% 100%, rgba(67, 232, 208, 0.09), transparent 65%),
    rgba(255, 255, 255, 0.03);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.3);
}

.shift__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
}

.shift__panel--new .shift__badge {
  border-color: rgba(67, 232, 208, 0.28);
  background: rgba(67, 232, 208, 0.07);
  color: #8df5e4;
}

.shift__panel h3 {
  font-size: clamp(21px, 2.2vw, 28px);
  color: #c3cfe1;
}

.shift__panel--new h3 {
  color: #f2f8ff;
}

.shift__panel > p {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
}

.shift__list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.shift__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.6;
}

.shift__list li::before {
  content: "";
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  margin-top: 3px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2365748c' stroke-width='2'%3E%3Cpath d='M5 10h10'/%3E%3C/svg%3E") center / 11px no-repeat,
    rgba(255, 255, 255, 0.05);
}

.shift__panel--new .shift__list li {
  color: #ccd9ec;
}

.shift__panel--new .shift__list li::before {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2343e8d0' stroke-width='2.2'%3E%3Cpath d='M4.5 10.5l3.3 3.3L15.5 6'/%3E%3C/svg%3E") center / 12px no-repeat,
    rgba(67, 232, 208, 0.12);
}

.shift__arrow {
  display: grid;
  place-items: center;
  color: var(--cyan);
}

.shift__arrow span {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(67, 232, 208, 0.28);
  border-radius: 50%;
  background: rgba(67, 232, 208, 0.08);
  font-size: 17px;
  animation: arrowNudge 2.4s ease-in-out infinite;
}

@keyframes arrowNudge {
  0%, 100% { transform: translateX(-3px); }
  50% { transform: translateX(4px); }
}

/* ---------- 2. Bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.bento__card {
  --mx: 50%;
  --my: 0%;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: clamp(24px, 2.6vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.016));
  overflow: hidden;
  isolation: isolate;
  transition: border-color 0.4s ease, transform 0.5s var(--ease), box-shadow 0.5s ease;
}

.bento__card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(440px circle at var(--mx) var(--my), rgba(90, 175, 255, 0.14), transparent 46%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.bento__card:hover {
  border-color: rgba(120, 200, 255, 0.28);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
  transform: translateY(-4px);
}

.bento__card:hover::before {
  opacity: 1;
}

.bento__card--7 { grid-column: span 7; }
.bento__card--5 { grid-column: span 5; }
.bento__card--4 { grid-column: span 4; }
.bento__card--3 { grid-column: span 3; }
.bento__card--tall { min-height: 408px; }

.bento__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border: 1px solid rgba(120, 200, 255, 0.2);
  border-radius: 12px;
  background: rgba(90, 155, 255, 0.1);
  color: #9fd4ff;
}

.bento__icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
}

.bento__icon--teal {
  border-color: rgba(67, 232, 208, 0.22);
  background: rgba(67, 232, 208, 0.09);
  color: #7df4e2;
}

.bento__icon--violet {
  border-color: rgba(177, 140, 255, 0.22);
  background: rgba(177, 140, 255, 0.09);
  color: #cbb4ff;
}

.bento__card h3 {
  font-size: clamp(19px, 1.8vw, 23px);
  letter-spacing: -0.02em;
}

.bento__card p {
  max-width: 340px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.75;
}

.bento__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 22px;
}

.bento__meta span {
  padding: 4px 9px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  color: #93a7c4;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
}

/* agent orbit visual */
.orbit {
  position: relative;
  width: min(240px, 62%);
  aspect-ratio: 1;
  margin: 4px auto 14px;
}

.orbit__ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(120, 200, 255, 0.16);
  border-radius: 50%;
  transform: rotateX(62deg) rotateZ(-18deg);
}

.orbit__ring:nth-child(2) {
  inset: 12%;
  border-color: rgba(67, 232, 208, 0.2);
  transform: rotateX(64deg) rotateZ(40deg);
}

.orbit__ring:nth-child(3) {
  inset: 25%;
  border-color: rgba(177, 140, 255, 0.2);
  transform: rotateX(58deg) rotateZ(88deg);
}

.orbit__core {
  position: absolute;
  inset: 38%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #55e9d6 20%, #3c7dff 60%, rgba(60, 125, 255, 0.1));
  box-shadow: 0 0 40px rgba(80, 190, 255, 0.55);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  color: #03131e;
}

.orbit__dot {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9be9ff;
  box-shadow: 0 0 12px rgba(120, 220, 255, 0.9);
  offset-path: path("M120,20 C180,30 220,90 200,150 C180,210 80,230 40,180 C0,130 30,50 90,30");
  animation: orbitDot 9s linear infinite;
}

@keyframes orbitDot {
  to { offset-distance: 100%; }
}

/* skill chips visual */
.skill-stack {
  position: relative;
  display: grid;
  gap: 7px;
  margin: auto 0 8px;
}

.skill-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.025);
  color: #c8d8ee;
  font-size: 11.5px;
  transition: transform 0.45s var(--ease), border-color 0.3s ease;
}

.skill-chip em {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 8px;
  font-style: normal;
  letter-spacing: 0.08em;
}

.bento__card:hover .skill-chip:nth-child(1) { transform: translateX(4px); }
.bento__card:hover .skill-chip:nth-child(2) { transform: translateX(-3px); }
.bento__card:hover .skill-chip:nth-child(3) { transform: translateX(3px); }

/* workflow visual */
.flow {
  position: relative;
  margin: auto 0 4px;
  padding: 20px 0 8px;
}

.flow svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.flow path {
  stroke: rgba(120, 200, 255, 0.24);
  stroke-width: 1.4;
  fill: none;
}

.flow path.flow__dash {
  stroke: url("#flowGrad");
  stroke-dasharray: 5 6;
  animation: dash 2.6s linear infinite;
}

@keyframes dash {
  to { stroke-dashoffset: -44; }
}

.flow__nodes {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2px;
}

.flow__node {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(120, 200, 255, 0.24);
  border-radius: 9px;
  background: #0b1424;
  color: #9fd4ff;
  font-family: var(--mono);
  font-size: 9px;
}

.flow__node--accent {
  border-color: rgba(67, 232, 208, 0.38);
  background: rgba(67, 232, 208, 0.12);
  color: #8bf7e7;
}

/* knowledge docs */
.docs {
  position: relative;
  height: 118px;
  margin: auto 0 4px;
}

.docs span {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 74%;
  height: 84px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015));
  transform-origin: bottom center;
  transition: transform 0.5s var(--ease);
}

.docs span:nth-child(1) {
  transform: translateX(-50%) rotate(-9deg) translateY(0);
}
.docs span:nth-child(2) {
  transform: translateX(-50%) rotate(-3deg) translateY(6px);
}
.docs span:nth-child(3) {
  transform: translateX(-50%) rotate(4deg) translateY(12px);
  background:
    linear-gradient(150deg, rgba(67, 232, 208, 0.16), rgba(90, 155, 255, 0.06)),
    #0c1626;
}

.docs span:nth-child(3)::before,
.docs span:nth-child(3)::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 26%;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.22);
}
.docs span:nth-child(3)::before { top: 24px; }
.docs span:nth-child(3)::after { top: 36px; right: 44%; }

.bento__card:hover .docs span:nth-child(1) { transform: translateX(-62%) rotate(-15deg); }
.bento__card:hover .docs span:nth-child(2) { transform: translateX(-46%) rotate(-4deg) translateY(6px); }
.bento__card:hover .docs span:nth-child(3) { transform: translateX(-50%) rotate(7deg) translateY(12px); }

/* governance bars */
.gov {
  display: grid;
  gap: 8px;
  margin: auto 0 6px;
}

.gov__row {
  display: grid;
  grid-template-columns: 52px 1fr 34px;
  align-items: center;
  gap: 9px;
  color: var(--dim);
  font-size: 9.5px;
}

.gov__bar {
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.gov__bar i {
  display: block;
  width: var(--w, 60%);
  height: 100%;
  border-radius: inherit;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s var(--ease);
  transition-delay: var(--d, 0s);
}

.bento__card.is-in .gov__bar i {
  transform: scaleX(1);
}

.gov__row em {
  color: #b6cce8;
  font-family: var(--mono);
  font-size: 9px;
  font-style: normal;
  text-align: right;
}

/* model strip */
.model-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  padding-top: 24px;
}

.model-list span {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  color: #aebed6;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.05em;
}

/* ---------- 3. 工作台演示 ---------- */
.demo-layout {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  align-items: center;
  gap: clamp(30px, 5vw, 72px);
}

.demo-copy h2 {
  margin-top: 18px;
  font-size: clamp(28px, 3.2vw, 44px);
}

.demo-copy > p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 15px;
}

.demo-tabs {
  display: grid;
  gap: 2px;
  margin-top: 32px;
}

.demo-tab {
  position: relative;
  display: grid;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 13px 14px 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #8191aa;
  text-align: left;
  transition: color 0.3s ease, padding-left 0.35s var(--ease);
}

.demo-tab span {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--dim);
}

.demo-tab b {
  font-size: 14px;
  font-weight: 550;
}

.demo-tab svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s ease, transform 0.3s var(--ease);
}

.demo-tab:hover {
  color: #cfe0f5;
}

.demo-tab.is-active {
  color: #fff;
  padding-left: 6px;
}

.demo-tab.is-active span {
  color: var(--cyan);
}

.demo-tab.is-active svg {
  opacity: 1;
  transform: none;
}

.demo-tab.is-active::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 50%;
  width: 4px;
  height: 18px;
  margin-top: -9px;
  border-radius: 3px;
  background: var(--grad);
  box-shadow: 0 0 14px rgba(67, 232, 208, 0.5);
}

.demo-tab small {
  display: block;
  margin-top: 2px;
  color: var(--dim);
  font-size: 10.5px;
  font-weight: 400;
}

/* console */
.console {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 20px;
  background: #080e19;
  box-shadow:
    0 50px 120px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(67, 232, 208, 0.04) inset,
    0 0 90px rgba(90, 155, 255, 0.08);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.7s var(--ease);
}

.console::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.08), transparent 30%);
}

.console__bar {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 46px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.025);
}

.console__dots {
  display: flex;
  gap: 5px;
}

.console__dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.console__dots i:nth-child(1) { background: #ff6b6b; opacity: 0.7; }
.console__dots i:nth-child(2) { background: #ffc46b; opacity: 0.7; }
.console__dots i:nth-child(3) { background: #43e8d0; opacity: 0.7; }

.console__url {
  flex: 1;
  padding: 4px 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.2);
  color: var(--dim);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.04em;
  text-align: center;
}

.console__live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #78e9d8;
  font-size: 9.5px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.console__live i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #43e8d0;
  box-shadow: 0 0 8px #43e8d0;
}

.console__body {
  display: grid;
  grid-template-columns: 152px minmax(0, 1fr);
  min-height: 472px;
}

.console__side {
  padding: 16px 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.16);
}

.console__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 6px 14px;
  font-size: 11px;
  font-weight: 550;
}

.console__brand i {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--grad);
  color: #031018;
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
}

.console__menu {
  display: grid;
  gap: 2px;
}

.console__menu span {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 8px;
  border-radius: 6px;
  color: #6b7b95;
  font-size: 10.5px;
}

.console__menu span::before {
  content: "";
  width: 11px;
  height: 11px;
  border: 1px solid currentColor;
  border-radius: 3px;
  opacity: 0.65;
}

.console__menu span.is-active {
  background: rgba(90, 155, 255, 0.1);
  color: #bcd8ff;
}

.console__menu span.is-active::before {
  border-color: var(--cyan);
  background: rgba(67, 232, 208, 0.16);
}

.console__side-foot {
  margin-top: 26px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  color: #657691;
  font-size: 9px;
  line-height: 1.6;
}

.console__side-foot b {
  display: block;
  color: #a7bddb;
  font-size: 10px;
  font-weight: 500;
}

.console__main {
  position: relative;
  padding: 20px 20px 16px;
  overflow: hidden;
}

.console__pane {
  display: none;
  flex-direction: column;
  min-height: 100%;
}

.console__pane.is-active {
  display: flex;
  animation: paneIn 0.55s var(--ease);
}

@keyframes paneIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

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

.console__top .console__title {
  font-size: 13px;
  font-weight: 550;
}

.console__top span {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.06em;
}

.chat-user {
  align-self: flex-end;
  max-width: 82%;
  padding: 10px 13px;
  border-radius: 12px 12px 3px 12px;
  background: linear-gradient(135deg, rgba(90, 155, 255, 0.3), rgba(67, 232, 208, 0.16));
  border: 1px solid rgba(120, 200, 255, 0.18);
  color: #e8f3ff;
  font-size: 11.5px;
  line-height: 1.65;
}

.chat-user .caret {
  display: inline-block;
  width: 1px;
  height: 12px;
  margin-left: 2px;
  vertical-align: -2px;
  background: #8ff3e5;
  animation: caret 0.9s step-end infinite;
}

@keyframes caret {
  50% { opacity: 0; }
}

.chat-ai {
  display: flex;
  gap: 9px;
  margin-top: 14px;
  max-width: 94%;
}

.chat-ai__avatar {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--grad);
  color: #031018;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
}

.chat-ai__body {
  flex: 1;
  min-width: 0;
}

.chat-ai__body > p {
  color: #b9c9df;
  font-size: 11px;
  line-height: 1.65;
}

.chat-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

.chat-tools span {
  padding: 3px 7px;
  border: 1px solid rgba(67, 232, 208, 0.2);
  border-radius: 4px;
  background: rgba(67, 232, 208, 0.06);
  color: #82e9da;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.03em;
}

.doc-card,
.risk-card,
.chart-card,
.flow-card {
  margin-top: 10px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
}

.doc-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.doc-card__head b {
  font-size: 10.5px;
  font-weight: 550;
  color: #dae8fa;
}

.doc-card__head em {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 7.5px;
  font-style: normal;
}

.doc-card__lines {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.doc-card__lines i {
  display: block;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
}

.doc-card__lines i:nth-child(1) { width: 42%; background: rgba(255, 255, 255, 0.18); }
.doc-card__lines i:nth-child(2) { width: 100%; }
.doc-card__lines i:nth-child(3) { width: 92%; }
.doc-card__lines i:nth-child(4) { width: 97%; }
.doc-card__lines i:nth-child(5) { width: 68%; }

.risk-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.risk-card__head b {
  font-size: 10.5px;
  color: #ffd2d7;
}

.risk-card__head span {
  color: var(--danger);
  font-family: var(--mono);
  font-size: 8px;
}

.risk-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 8px;
  padding: 7px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 9.5px;
  color: #aabdd7;
}

.risk-item > b {
  color: #ff9ba7;
  font-family: var(--mono);
  font-size: 7.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.risk-item:nth-child(3) > b { color: var(--amber); }
.risk-item:nth-child(4) > b { color: #8ab8ff; }

.risk-item small {
  display: block;
  margin-top: 2px;
  color: #687b97;
  font-size: 8.5px;
}

.chart-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}

.chart-card__head b {
  font-size: 10.5px;
  color: #dae8fa;
}

.chart-card__head span {
  color: var(--dim);
  font-size: 8px;
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 9px;
  height: 94px;
  padding-top: 6px;
}

.bars__col {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 5px;
  height: 100%;
  text-align: center;
}

.bars__col i {
  display: block;
  height: var(--h);
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, rgba(67, 232, 208, 0.9), rgba(90, 155, 255, 0.28));
  transform: scaleY(0);
  transform-origin: bottom;
  animation: barGrow 0.9s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}

@keyframes barGrow {
  to { transform: scaleY(1); }
}

.bars__col span {
  color: #7386a2;
  font-size: 7.5px;
}

.sql-line {
  margin-top: 10px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.22);
  color: #6f87a8;
  font-family: var(--mono);
  font-size: 7.5px;
  line-height: 1.5;
}

.sql-line b { color: #78e9d8; font-weight: 500; }

.flow-card {
  display: grid;
  gap: 6px;
}

.flow-card__node {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
  font-size: 9px;
  color: #a9bdd8;
}

.flow-card__node i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #43e8d0;
  box-shadow: 0 0 7px rgba(67, 232, 208, 0.8);
}

.flow-card__node em {
  margin-left: auto;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 7px;
  font-style: normal;
}

.flow-card__node--human i {
  background: var(--amber);
  box-shadow: 0 0 7px rgba(255, 196, 107, 0.7);
}

.console__input {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
}

.console__input > div {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  color: #5c6e89;
  font-size: 9.5px;
}

.console__input button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--grad);
  color: #04121a;
}

.console__input button svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}

/* ---------- 4. 架构 ---------- */
.arch-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 30px;
  margin-bottom: 46px;
}

.arch-head h2 {
  margin-top: 16px;
  font-size: clamp(32px, 4.2vw, 56px);
  max-width: 760px;
}

.arch-head p {
  max-width: 330px;
  color: var(--muted);
  font-size: 14px;
}

.arch-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  gap: clamp(24px, 4vw, 60px);
  align-items: start;
}

.arch-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  transform: perspective(1200px) rotateX(7deg);
  transform-style: preserve-3d;
}

.arch-layer {
  --accent: #5a9bff;
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: calc(72% + var(--i, 0) * 5.6%);
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--accent) 11%, transparent), rgba(255, 255, 255, 0.015));
  text-align: left;
  transition: transform 0.5s var(--ease), border-color 0.4s ease,
    box-shadow 0.4s ease, background-color 0.4s ease;
  transform-style: preserve-3d;
}

.arch-layer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 14px;
  right: 14px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.55;
}

.arch-layer:hover,
.arch-layer.is-active {
  transform: translateX(10px) translateZ(24px);
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32), 0 0 0 1px color-mix(in srgb, var(--accent) 14%, transparent);
}

.arch-layer.is-active {
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--accent) 22%, transparent), rgba(255, 255, 255, 0.025));
}

.arch-layer__no {
  color: color-mix(in srgb, var(--accent) 82%, white);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.05em;
}

.arch-layer__title {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.arch-layer__title b {
  font-size: 14px;
  font-weight: 550;
  letter-spacing: 0.01em;
}

.arch-layer__title small {
  color: var(--dim);
  font-size: 9.5px;
  letter-spacing: 0.03em;
}

.arch-layer__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
  max-width: 210px;
}

.arch-layer__tags span {
  padding: 2px 6px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 3px;
  color: #8497b3;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.02em;
}

.arch-detail {
  position: sticky;
  top: calc(var(--header-h) + 30px);
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(300px 240px at 100% 0%, rgba(90, 155, 255, 0.12), transparent 65%),
    rgba(255, 255, 255, 0.025);
  min-height: 350px;
}

.arch-detail {
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.arch-detail.is-switching {
  opacity: 0.3;
  transform: translateY(5px);
}

.arch-detail__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}

.arch-detail__index {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
  font-family: var(--mono);
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.arch-detail__tag {
  padding: 4px 9px;
  border: 1px solid rgba(67, 232, 208, 0.24);
  border-radius: 99px;
  color: #8cefdf;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.arch-detail h3 {
  font-size: 26px;
  letter-spacing: -0.025em;
}

.arch-detail > p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.8;
}

.arch-detail__list {
  display: grid;
  gap: 9px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.arch-detail__list li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #b8c9df;
  font-size: 12px;
}

.arch-detail__list li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 7px rgba(67, 232, 208, 0.8);
}

.arch-detail__foot {
  margin-top: 24px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
}

/* ---------- 5. 安全 ---------- */
.security-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(30px, 6vw, 90px);
}

.security-copy h2 {
  margin-top: 18px;
  font-size: clamp(32px, 4vw, 54px);
  letter-spacing: -0.035em;
}

.security-copy > p {
  max-width: 520px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 15px;
}

.security-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 32px;
}

.security-list li {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.security-list li:hover {
  border-color: rgba(67, 232, 208, 0.24);
  background: rgba(67, 232, 208, 0.04);
}

.security-list b {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 550;
}

.security-list b::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--grad);
}

.security-list small {
  display: block;
  margin-top: 5px;
  color: var(--dim);
  font-size: 11px;
  line-height: 1.6;
}

.shield {
  position: relative;
  width: min(100%, 480px);
  aspect-ratio: 1;
  margin-inline: auto;
  display: grid;
  place-items: center;
}

.shield::before {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(90, 155, 255, 0.16), transparent 65%);
  filter: blur(20px);
}

.shield__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(120, 200, 255, 0.12);
}

.shield__ring--1 {
  inset: 3%;
  border-style: dashed;
  animation: ringSpin 60s linear infinite;
}

.shield__ring--2 {
  inset: 15%;
  border-color: rgba(67, 232, 208, 0.16);
  animation: ringSpin 38s linear infinite reverse;
}

.shield__ring--2::before,
.shield__ring--2::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px rgba(67, 232, 208, 0.9);
}

.shield__ring--2::before { top: 12%; left: 12%; }
.shield__ring--2::after { bottom: 10%; right: 16%; background: var(--violet); box-shadow: 0 0 14px rgba(177, 140, 255, 0.9); }

.shield__ring--3 {
  inset: 28%;
  border-color: rgba(177, 140, 255, 0.18);
}

.shield__core {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 34%;
  background:
    linear-gradient(145deg, rgba(67, 232, 208, 0.18), rgba(90, 155, 255, 0.14) 55%, rgba(177, 140, 255, 0.16)),
    #08111f;
  box-shadow:
    0 0 70px rgba(67, 232, 208, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.shield__core svg {
  width: 42%;
  height: 42%;
  stroke: #b9f7ee;
  stroke-width: 1.35;
  fill: none;
}

.shield__chip {
  position: absolute;
  z-index: 3;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 7px;
  background: rgba(7, 13, 24, 0.78);
  color: #c4d8ee;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  backdrop-filter: blur(8px);
  animation: floatY 8s ease-in-out infinite;
}

.shield__chip--a { top: 9%; left: 16%; }
.shield__chip--b { top: 17%; right: 5%; animation-delay: -2s; }
.shield__chip--c { bottom: 16%; left: 2%; animation-delay: -4s; }
.shield__chip--d { bottom: 8%; right: 12%; animation-delay: -6s; }

/* ---------- 6. 指标 ---------- */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
}

.metrics li {
  padding: 34px 26px;
  border-left: 1px solid var(--line);
}

.metrics li:first-child {
  border-left: 0;
  padding-left: 0;
}

.metrics b {
  display: block;
  font-size: clamp(38px, 4.4vw, 62px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.metrics b em {
  font-family: var(--mono);
  font-size: 13px;
  font-style: normal;
  letter-spacing: 0;
  margin-left: 4px;
}

.metrics span {
  display: block;
  margin-top: 12px;
  color: #aebed6;
  font-size: 13px;
}

.metrics small {
  display: block;
  margin-top: 3px;
  color: #70819d;
  font-size: 10.5px;
}

/* ---------- 7. CTA ---------- */
.cta-section {
  padding: 20px 0 clamp(70px, 9vw, 120px);
}

.cta-panel {
  --mx: 50%;
  --my: 50%;
  position: relative;
  padding: clamp(46px, 7vw, 92px) clamp(24px, 5vw, 80px);
  border: 1px solid rgba(120, 200, 255, 0.2);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(700px circle at var(--mx) var(--my), rgba(67, 232, 208, 0.13), transparent 42%),
    radial-gradient(600px 340px at 90% 0%, rgba(177, 140, 255, 0.16), transparent 60%),
    radial-gradient(600px 340px at 0% 100%, rgba(90, 155, 255, 0.15), transparent 60%),
    #070d18;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000, transparent 72%);
}

.cta-panel h2 {
  margin-top: 18px;
  font-size: clamp(30px, 5.2vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.cta-panel h2 .grad-text {
  display: inline-block;
}

.cta-panel > p {
  max-width: 600px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 15px;
  text-wrap: balance;
}

.cta-panel__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.cta-panel__note {
  display: block;
  margin-top: 26px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
}

/* ---------- 8. Footer ---------- */
.site-footer {
  position: relative;
  padding: 66px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: #03060c;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) repeat(3, minmax(0, 0.8fr));
  gap: 36px;
  padding-bottom: 52px;
}

.footer-brand p {
  max-width: 330px;
  margin-top: 20px;
  color: #70819d;
  font-size: 12.5px;
  line-height: 1.8;
}

.footer-brand small {
  display: block;
  margin-top: 18px;
  color: #70819d;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.16em;
}

.footer-col h3 {
  margin-bottom: 16px;
  color: #d4e2f4;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-col ul {
  display: grid;
  gap: 9px;
}

.footer-col a,
.footer-col li {
  color: #6b7c96;
  font-size: 12.5px;
  line-height: 1.7;
  transition: color 0.25s ease;
}

.footer-col a:hover {
  color: var(--cyan);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #70819d;
  font-size: 11px;
}

.footer-bottom ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom a:hover {
  color: #9fb3cf;
}

.footer-word {
  position: absolute;
  left: 50%;
  bottom: -0.22em;
  transform: translateX(-50%);
  z-index: 0;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.045);
  font-family: var(--mono);
  font-size: clamp(90px, 18vw, 260px);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.footer-grid,
.footer-bottom {
  position: relative;
  z-index: 1;
}
