/* ============================================================
   昆仑时代 KUNLUN ERA · 官网样式
   基调：留白、克制、单一强调色（DeepSeek 式）
   天擎区块：深色 + 斜切，作为重点产品的视觉高潮
   ============================================================ */

:root {
  --accent: #3d6ff0;
  --accent-soft: #7ba4ff;
  --ink: #0a0e17;
  --ink-2: #1d2635;
  --body: #5a6474;
  --muted: #8b96a8;
  --line: rgba(12, 20, 40, 0.085);
  --line-strong: rgba(12, 20, 40, 0.14);
  --bg: #f7faff;
  --deep: #061024;
  --shell: 1120px;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- 背景 ---------- */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.bg-grid {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 130%;
  background-image:
    linear-gradient(to right, rgba(20, 50, 120, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20, 50, 120, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 8%, #000 15%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 8%, #000 15%, transparent 72%);
}

.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.55;
}

.bg-blob--1 {
  width: 720px;
  height: 520px;
  top: -190px;
  left: 50%;
  transform: translateX(-58%);
  background: radial-gradient(circle, rgba(126, 166, 255, 0.55), transparent 66%);
}

.bg-blob--2 {
  width: 560px;
  height: 420px;
  top: 60px;
  left: 50%;
  transform: translateX(6%);
  background: radial-gradient(circle, rgba(168, 200, 255, 0.42), transparent 68%);
}

/* ---------- 顶栏 ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease),
    backdrop-filter 0.3s var(--ease);
}

.topbar.is-solid {
  background: rgba(247, 250, 255, 0.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.logo img { flex: none; }

.topnav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 13.5px;
  color: var(--body);
}

.topnav a {
  transition: color 0.2s var(--ease);
  white-space: nowrap;
}

.topnav a:hover { color: var(--ink); }

.topnav-cta {
  height: 34px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  font-weight: 600;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease),
    background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.topnav-cta:hover {
  border-color: rgba(61, 111, 240, 0.45);
  background: #fff;
  box-shadow: 0 8px 20px -12px rgba(16, 26, 56, 0.5);
}

/* ---------- HERO ---------- */
.hero {
  padding: 62px 0 84px;
  text-align: center;
}

.notice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 26px;
  font-size: 12.5px;
  color: var(--body);
  letter-spacing: 0.01em;
}

.notice-mark {
  font-size: 8px;
  color: var(--accent);
  transform: translateY(-1px);
}

.notice-tail { white-space: nowrap; }

.notice a {
  color: var(--accent);
  transition: transform 0.2s var(--ease);
  display: inline-block;
}

.notice a:hover { transform: translateX(3px); }

.hero-title {
  margin: 0;
  font-size: clamp(34px, 5.6vw, 64px);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.028em;
  color: var(--ink);
}

.hero-title .t1,
.hero-title .t2 { display: inline-block; }

.hero-title .t2 { white-space: nowrap; }

.orb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.9em;
  height: 0.9em;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #232a3a, #05070d 68%);
  margin: 0 0.1em;
  vertical-align: -0.1em;
  overflow: hidden;
  box-shadow: 0 6px 18px -8px rgba(5, 7, 13, 0.5);
}

.orb img {
  width: 56%;
  height: 56%;
  object-fit: contain;
}

/* 副标题大字：悬停单字变圆球 */
.poetic {
  margin: 16px 0 0;
  font-size: clamp(19px, 2.5vw, 29px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--ink-2);
}

.poetic .ch {
  position: relative;
  display: inline-block;
  transition: color 0.3s var(--ease);
  cursor: default;
}

/* 圆球：深色底 + 白色 logo，从字的位置「长」出来 */
.poetic .ch::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.16em;
  height: 1.16em;
  margin: -0.58em 0 0 -0.58em;
  border-radius: 50%;
  background-image: url("./assets/logo-white.svg"),
    radial-gradient(circle at 34% 30%, #232a3a, #05070d 68%);
  background-size: 58% 58%, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  box-shadow: 0 8px 20px -9px rgba(5, 7, 13, 0.6);
  opacity: 0;
  transform: scale(0.25) rotate(-30deg);
  transition: opacity 0.28s var(--ease),
    transform 0.44s cubic-bezier(0.18, 0.85, 0.3, 1.25);
  pointer-events: none;
}

.poetic .ch:hover,
.poetic .ch.is-orb { color: transparent; }

.poetic .ch:hover::after,
.poetic .ch.is-orb::after {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

/* 输入框 */
.entry {
  max-width: 660px;
  margin: 34px auto 0;
  padding: 16px 16px 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 60px -34px rgba(16, 34, 78, 0.4),
    0 2px 8px -4px rgba(16, 34, 78, 0.1);
  text-align: left;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.entry:hover {
  box-shadow: 0 30px 70px -34px rgba(16, 34, 78, 0.5),
    0 2px 8px -4px rgba(16, 34, 78, 0.1);
}

.entry-main {
  display: block;
  padding: 4px 6px 14px;
  font-size: 15px;
  color: #9aa4b6;
  transition: color 0.2s var(--ease);
}

.entry-main:hover { color: #6f7a8d; }

.entry-bar {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 12.5px;
  color: var(--ink-2);
  white-space: nowrap;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease),
    background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.chip svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  opacity: 0.62;
  flex: none;
}

.chip:hover {
  border-color: rgba(61, 111, 240, 0.38);
  background: #fdfdff;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px -12px rgba(16, 26, 56, 0.5);
}

.send {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, #5a83ff, #2f5bf0);
  box-shadow: 0 10px 22px -10px rgba(61, 111, 240, 0.85);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.send svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.send:hover {
  transform: translateY(-1px) scale(1.04);
  box-shadow: 0 14px 26px -10px rgba(61, 111, 240, 0.95);
}

/* 点击反馈 */
.chip:active,
.pill:active,
.topnav-cta:active { transform: scale(0.97); }

.send:active { transform: scale(0.94); }

.btn-brave:active { transform: translateY(0) scale(0.975); }

a:focus-visible,
button:focus-visible {
  outline: 2px solid rgba(61, 111, 240, 0.65);
  outline-offset: 3px;
  border-radius: 8px;
}

/* 药丸按钮 */
.pills {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  font-size: 12.5px;
  color: var(--ink-2);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease),
    background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.pill svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  opacity: 0.6;
  flex: none;
}

.pill:hover {
  border-color: rgba(61, 111, 240, 0.38);
  background: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px -12px rgba(16, 26, 56, 0.5);
}

/* ============================================================
   昆仑天擎 · 深色斜切区块
   ============================================================ */
.kth {
  position: relative;
  overflow: hidden;
  margin-top: 8px;
  padding: 110px 0 96px;
  background:
    radial-gradient(ellipse 90% 60% at 78% 0%, rgba(61, 111, 240, 0.28), transparent 62%),
    radial-gradient(ellipse 70% 55% at 8% 100%, rgba(35, 78, 170, 0.24), transparent 66%),
    linear-gradient(165deg, #061024 0%, #0a1a36 52%, #050e1e 100%);
  clip-path: polygon(0 46px, 100% 0, 100% 100%, 0 100%);
  color: #e9effc;
}

.kth-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* 斜向光带 */
.kth-streak {
  position: absolute;
  height: 1px;
  width: 160%;
  left: -30%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(122, 166, 255, 0.55),
    transparent
  );
  transform: rotate(-13deg);
}

.kth-streak--1 { top: 24%; opacity: 0.5; }
.kth-streak--2 { top: 52%; opacity: 0.28; }
.kth-streak--3 { top: 78%; opacity: 0.16; }

/* 巨型水印 */
.kth-mark {
  position: absolute;
  right: -40px;
  bottom: -58px;
  font: 800 220px/0.8 var(--mono);
  letter-spacing: -0.06em;
  color: rgba(255, 255, 255, 0.032);
  transform: skewX(-11deg);
  user-select: none;
}

.kth-inner { position: relative; }

.kth-head { max-width: 720px; }

.kth-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8fb0ea;
  margin-bottom: 18px;
}

.kth-label em {
  font-style: normal;
  padding: 3px 9px;
  border-radius: 5px;
  background: rgba(122, 166, 255, 0.16);
  border: 1px solid rgba(122, 166, 255, 0.32);
  color: #b9d3ff;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  transform: skewX(-9deg);
}

.kth-head h2 {
  margin: 0 0 16px;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.24;
  font-weight: 800;
  letter-spacing: -0.022em;
  color: #fff;
}

.kth-head p {
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  color: #a8b8d6;
}

.kth-head p b {
  color: #dbe7ff;
  font-weight: 600;
}

/* ---------- 三类角色 ---------- */
.roles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 46px;
}

.role {
  position: relative;
  display: block;
  padding: 30px 24px 22px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.062),
    rgba(255, 255, 255, 0.018)
  );
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease),
    background 0.3s var(--ease), box-shadow 0.3s var(--ease);
  overflow: hidden;
}

/* 斜切角标 */
.role::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 0;
  width: 42px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, #6f9bff, #bcd6ff);
  transform: skewX(-30deg);
  transform-origin: left;
}

.role:hover {
  transform: translateY(-5px);
  border-color: rgba(122, 166, 255, 0.42);
  background: linear-gradient(
    180deg,
    rgba(122, 166, 255, 0.13),
    rgba(255, 255, 255, 0.028)
  );
  box-shadow: 0 26px 50px -30px rgba(0, 0, 0, 0.85);
}

.role:active { transform: translateY(-1px) scale(0.995); }

.role-idx {
  position: absolute;
  right: 20px;
  top: 14px;
  font: 800 34px/1 var(--mono);
  letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.075);
  transform: skewX(-12deg);
  user-select: none;
}

.role-tag {
  display: inline-block;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: #8fb0ea;
  margin-bottom: 12px;
}

.role h3 {
  margin: 0 0 16px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
}

.role ul {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.role li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 7px;
  font-size: 13px;
  line-height: 1.62;
  color: #9fb0cd;
}

.role li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: rgba(122, 166, 255, 0.65);
  transform: skewX(-20deg);
}

.role-go {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 600;
  color: #b9d3ff;
}

.role-go em {
  font-style: normal;
  transition: transform 0.25s var(--ease);
}

.role:hover .role-go em { transform: translateX(4px); }

/* ---------- 闭环 ---------- */
.loop {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
  padding: 18px 22px;
  border-radius: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.022);
}

.loop-step {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  color: #c2d1ea;
  white-space: nowrap;
}

.loop-step i {
  font-style: normal;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: rgba(122, 166, 255, 0.18);
  border: 1px solid rgba(122, 166, 255, 0.28);
  color: #a9c8ff;
  font-size: 10.5px;
  font-weight: 700;
  transform: skewX(-10deg);
  flex: none;
}

.loop-arrow {
  flex: 1;
  min-width: 18px;
  height: 1px;
  position: relative;
  background: linear-gradient(90deg, rgba(122, 166, 255, 0.1), rgba(122, 166, 255, 0.45));
}

.loop-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: -2.5px;
  width: 6px;
  height: 6px;
  border-top: 1px solid rgba(122, 166, 255, 0.75);
  border-right: 1px solid rgba(122, 166, 255, 0.75);
  transform: rotate(45deg);
}

/* ---------- CTA ---------- */
.kth-cta {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 38px;
}

.btn-brave {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, #5a83ff, #2f5bf0);
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 16px 34px -16px rgba(61, 111, 240, 0.95);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.btn-brave svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s var(--ease);
}

.btn-brave:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px -16px rgba(61, 111, 240, 1);
}

.btn-brave:hover svg { transform: translateX(4px); }

.kth-doc {
  font-size: 13px;
  color: #8fb0ea;
  transition: color 0.2s var(--ease);
}

.kth-doc:hover { color: #cfe0ff; }

/* ============================================================
   通用浅色区块
   ============================================================ */
.band {
  padding: 84px 0;
  border-top: 1px solid var(--line);
}

.band--who { padding-bottom: 92px; }

.band-head {
  max-width: 640px;
  margin-bottom: 44px;
}

.band-label {
  display: inline-block;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.band-head h2 {
  margin: 0 0 12px;
  font-size: clamp(23px, 2.9vw, 32px);
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.022em;
}

.band-head p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--body);
}

/* ---------- 产品卡片 ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 26px 24px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(61, 111, 240, 0.28);
  box-shadow: 0 20px 44px -26px rgba(16, 26, 56, 0.4);
}

.card:active {
  transform: translateY(-1px) scale(0.995);
  transition-duration: 0.08s;
}

.card--key {
  border-color: rgba(61, 111, 240, 0.3);
  background: linear-gradient(180deg, #fbfcff, #fff 42%);
  box-shadow: 0 16px 40px -30px rgba(61, 111, 240, 0.7);
}

/* 重点产品：顶部一道渐变色带 */
.card--key::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3d6ff0, #84b6f7 62%, rgba(132, 182, 247, 0));
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}

.card-head img {
  flex: none;
}

.card-layer {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-family: var(--mono);
  white-space: nowrap;
}

.card-layer--key {
  padding: 3px 8px;
  border-radius: 5px;
  background: rgba(61, 111, 240, 0.1);
  color: var(--accent);
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.card h3 {
  margin: 0 0 5px;
  font-size: 18.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.card-tag {
  margin: 0 0 12px;
  font-size: 12.5px;
  color: var(--accent);
  font-weight: 500;
}

.card-desc {
  margin: 0 0 16px;
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--body);
}

.card-points {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.card-points li {
  position: relative;
  padding-left: 15px;
  margin-bottom: 7px;
  font-size: 12.5px;
  line-height: 1.62;
  color: #7b8698;
}

.card-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 2px;
  border-radius: 1px;
  background: rgba(61, 111, 240, 0.5);
  transform: skewX(-24deg);
}

.card-go {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent);
}

.card-go em {
  font-style: normal;
  transition: transform 0.25s var(--ease);
}

.card:hover .card-go em { transform: translateX(4px); }

/* ---------- 架构 ---------- */
.arch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.arch-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(23px, 2.9vw, 32px);
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.022em;
}

.arch-copy p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.82;
  color: var(--body);
}

.text-link {
  display: inline-block;
  margin-top: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent);
  transition: opacity 0.2s var(--ease);
}

.text-link:hover { opacity: 0.7; }

.layers {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.layer {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.layer:hover {
  transform: translateX(4px);
  border-color: rgba(61, 111, 240, 0.26);
  box-shadow: 0 12px 26px -20px rgba(16, 26, 56, 0.5);
}

.layer span {
  font-size: 11.5px;
  color: var(--muted);
  width: 62px;
  flex: none;
  letter-spacing: 0.04em;
}

.layer b {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

.layer i {
  margin-left: auto;
  font-style: normal;
  font-size: 10.5px;
  font-family: var(--mono);
  color: #a9b3c4;
  white-space: nowrap;
}

.layer--ghost {
  background: transparent;
  border-style: dashed;
}

.layer--ghost b {
  color: var(--body);
  font-weight: 500;
}

.layer--hero {
  border-color: rgba(61, 111, 240, 0.32);
  background: linear-gradient(100deg, #f4f8ff, #fff 62%);
  box-shadow: 0 14px 32px -24px rgba(61, 111, 240, 0.8);
}

.layer--hero b { color: var(--accent); }

/* ---------- 能力 ---------- */
.caps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px 34px;
}

.cap h3 {
  margin: 0 0 7px;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.005em;
}

.cap h3::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 9px;
  border-radius: 1px;
  background: var(--accent);
  transform: skewX(-20deg) translateY(-2px);
  opacity: 0.85;
}

.cap p {
  margin: 0;
  font-size: 13px;
  line-height: 1.72;
  color: var(--body);
}

/* ---------- 客户 ---------- */
.sols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.sol {
  padding: 22px 20px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  transition: transform 0.26s var(--ease), border-color 0.26s var(--ease),
    box-shadow 0.26s var(--ease);
}

.sol:hover {
  transform: translateY(-2px);
  border-color: rgba(61, 111, 240, 0.28);
  box-shadow: 0 16px 34px -26px rgba(16, 26, 56, 0.55);
}

.sol:active {
  transform: translateY(0) scale(0.995);
  transition-duration: 0.08s;
}

.sol > span {
  display: inline-block;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 10px;
  padding: 2px 8px;
  border-radius: 5px;
  background: rgba(61, 111, 240, 0.08);
}

.sol h3 {
  margin: 0 0 8px;
  font-size: 14.5px;
  font-weight: 700;
}

.sol p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--body);
}

.brave-line {
  margin: 58px 0 0;
  text-align: center;
  font-size: clamp(17px, 2.1vw, 23px);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.6;
  color: var(--ink-2);
}

.brave-line::before,
.brave-line::after {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 26px;
  height: 1px;
  margin: 0 15px;
  background: linear-gradient(90deg, transparent, rgba(61, 111, 240, 0.5));
}

.brave-line::after {
  background: linear-gradient(90deg, rgba(61, 111, 240, 0.5), transparent);
}

.trusted {
  margin: 56px 0 18px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.trusted-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 38px;
}

.trusted-row span {
  font-size: 14px;
  font-weight: 600;
  color: #9aa4b6;
  opacity: 0.75;
  transition: color 0.2s var(--ease), opacity 0.2s var(--ease);
}

.trusted-row span:hover { color: var(--ink-2); opacity: 1; }

/* ---------- 页脚 ---------- */
.foot {
  border-top: 1px solid var(--line);
  padding: 34px 0;
}

.foot-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.logo--sm { font-size: 13.5px; gap: 7px; }

.foot-links {
  display: flex;
  gap: 22px;
  font-size: 12.5px;
  color: var(--body);
}

.foot-links a { transition: color 0.2s var(--ease); }
.foot-links a:hover { color: var(--ink); }

.foot-copy {
  margin: 0 0 0 auto;
  font-size: 11.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 12px;
}

.foot-copy a { transition: color 0.2s var(--ease); }
.foot-copy a:hover { color: var(--body); }

/* ---------- 入场动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1000px) {
  .roles { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .sols { grid-template-columns: repeat(2, 1fr); }
  .arch { grid-template-columns: 1fr; gap: 36px; }
  .caps { grid-template-columns: repeat(2, 1fr); }
  .kth-mark { font-size: 150px; }
}

@media (max-width: 720px) {
  .shell { padding: 0 18px; }
  .topbar-inner { height: 58px; }
  .topnav { gap: 14px; font-size: 12.5px; }
  .topnav a:not(.topnav-cta) { display: none; }
  .topnav-cta { height: 32px; padding: 0 13px; font-size: 12.5px; }

  .hero { padding: 42px 0 60px; }
  .notice { font-size: 11.5px; line-height: 1.6; display: block; margin-bottom: 20px; }
  .notice-mark { display: none; }
  .topbar.is-solid { background: rgba(247, 250, 255, 0.92); }
  .hero-title { font-size: clamp(30px, 8.6vw, 42px); }
  .poetic { margin-top: 12px; font-size: 17px; letter-spacing: 0.02em; }

  .entry { margin-top: 26px; padding: 14px 14px 12px; border-radius: 18px; }
  .entry-main { font-size: 13.5px; padding-bottom: 12px; }
  .chip { height: 30px; padding: 0 10px; font-size: 11.5px; }
  .send { width: 34px; height: 34px; }

  .kth { padding: 76px 0 66px; clip-path: polygon(0 24px, 100% 0, 100% 100%, 0 100%); }
  .kth-head h2 { font-size: 24px; }
  .kth-head p { font-size: 13.5px; }
  .role { padding: 26px 20px 20px; }
  .loop { gap: 10px; padding: 16px; }
  .loop-arrow { display: none; }
  .loop-step { font-size: 12px; }
  .kth-cta { gap: 16px; margin-top: 30px; }
  .btn-brave { height: 44px; padding: 0 20px; font-size: 13.5px; width: 100%; justify-content: center; }

  .band { padding: 58px 0; }
  .band-head { margin-bottom: 32px; }
  .caps { grid-template-columns: 1fr; gap: 20px; }
  .sols { grid-template-columns: 1fr; }
  .brave-line { margin-top: 44px; }
  .brave-line::before, .brave-line::after { display: none; }
  .trusted { margin-top: 40px; }
  .trusted-row { gap: 10px 22px; }
  .trusted-row span { font-size: 12.5px; }

  .foot-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .foot-copy { margin-left: 0; flex-wrap: wrap; }
}
