/* 常青藤科技 · 公司门户
   首屏为《千里江山图》局部背景（象牙白淡罩、深色标题），下方彩色产品卡、白色内容区、纯黑页脚 */

/* ---------- 变量 ---------- */
:root {
  --bg: #FFFFFF;
  --soft: #FAF9FF;
  --soft-2: #F5F3FF;
  --ink: #0B0B0F;
  --ink-2: #2A2A33;
  --muted: #5B5B68;
  --faint: #6B6B78;
  --line: #E7E6EE;
  --line-strong: #D5D3E0;
  --violet: #6D28D9;
  --violet-2: #8B5CF6;
  --btn: #111114;
  --container: 1200px;
  --header-h: 76px;
  --radius: 20px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --font-sans: "Inter", "DM Sans", -apple-system, BlinkMacSystemFont, "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

/* ---------- 基础 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
p,
dl,
dd,
figure {
  margin: 0;
}

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

img {
  max-width: 100%;
  height: auto;
}

::selection {
  background: rgba(109, 40, 217, 0.22);
}

:focus-visible {
  outline: 2px solid var(--violet-2);
  outline-offset: 3px;
}

[id] {
  scroll-margin-top: calc(var(--header-h) + 8px);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--btn);
  color: #fff;
  font-size: 14px;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 12px;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease),
    border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--sm {
  min-height: 40px;
  padding: 0 20px;
  font-size: 14px;
}

.btn--dark {
  background: var(--btn);
  color: #fff;
}

.btn--dark:hover {
  background: #26262E;
}

.btn--outline {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink);
}

.btn--outline:hover {
  border-color: var(--ink);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

/* ---------- 页头 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: var(--header-h);
  display: flex;
  align-items: center;
  /* 首屏是深色星云：未滚动时页头白字透明底 */
  color: #F5FAF7;
  border-bottom: 1px solid transparent;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), backdrop-filter 0.25s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  color: var(--ink);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 36px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
  color: inherit;
}

.brand-mark {
  display: block;
  flex: none;
}

.brand-text {
  display: flex;
  line-height: 1.15;
}

.brand-cn {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

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

.nav a {
  position: relative;
  color: rgba(240, 247, 243, 0.68);
  font-size: 15px;
  transition: color 0.2s var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s var(--ease);
}

.nav a:hover {
  color: #FFFFFF;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.site-header.is-scrolled .nav a {
  color: var(--muted);
}

.site-header.is-scrolled .nav a:hover {
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  flex: none;
}

/* 深色首屏上按钮反相：白底墨字 */
.btn--header {
  background: #F5FAF7;
  border-color: transparent;
  color: var(--ink);
}

.btn--header:hover {
  background: #FFFFFF;
}

.site-header.is-scrolled .btn--header {
  background: var(--btn);
  border-color: transparent;
  color: #fff;
}

.site-header.is-scrolled .btn--header:hover {
  background: #26262E;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-left: auto;
  padding: 0;
  border: 1px solid rgba(245, 250, 247, 0.34);
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.menu-toggle svg {
  width: 20px;
  height: 20px;
}

.site-header.is-scrolled .menu-toggle {
  border-color: var(--line-strong);
}

/* ---------- 抽屉 ---------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  visibility: hidden;
  pointer-events: none;
}

.drawer.is-open {
  visibility: visible;
  pointer-events: auto;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 4, 30, 0.5);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}

.drawer.is-open .drawer-backdrop {
  opacity: 1;
}

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(360px, 88vw);
  padding: 22px 24px 32px;
  background: #fff;
  color: var(--ink);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.28s var(--ease);
}

.drawer.is-open .drawer-panel {
  transform: none;
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.drawer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
}

.drawer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.drawer-close svg {
  width: 18px;
  height: 18px;
}

.drawer-nav {
  display: grid;
  margin-top: 8px;
}

.drawer-nav a {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 18px;
}

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

.drawer-contact {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 2;
}

.drawer-contact strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
}

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #F5FAF7;
  /* 图片不可用时的兜底：与星云同调的深空色 */
  background:
    radial-gradient(58% 46% at 50% 46%, rgba(16, 44, 48, 0.9), transparent 72%),
    linear-gradient(180deg, #05080B 0%, #071114 58%, #0A1A1B 100%);
}

/* 背景层：一整张环状星云——青绿内圈、红色外环，环心就是文案所在的位置 */
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 原图压暗：星云要保持颜色，但白色标题得压得住环心的亮青 */
  filter: brightness(0.62) saturate(1.08);
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.9s var(--ease), visibility 0.9s var(--ease);
}

.slide.is-active {
  visibility: visible;
  opacity: 1;
}

.slide-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  transform: translateY(-2.5vh);
}

/* 文案背后一块很软的黑晕：只压文案区域，环的外圈亮部不受影响 */
.slide-inner::before {
  content: "";
  position: absolute;
  inset: -6vh -10% -3vh;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(2, 7, 10, 0.72), rgba(2, 7, 10, 0.46) 58%, rgba(2, 7, 10, 0));
  filter: blur(34px);
}

.slide-inner > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.slide.is-active .slide-inner > * {
  opacity: 1;
  transform: none;
}

.slide.is-active .slide-inner > *:nth-child(2) { transition-delay: 0.08s; }
.slide.is-active .slide-inner > *:nth-child(3) { transition-delay: 0.16s; }

.slide-title {
  font-size: clamp(40px, 5.6vw, 80px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
  text-wrap: balance;
  color: #F7FAF6;
  /* 星云纹理碎，白色字靠一圈深色外光脱开背景 */
  text-shadow: 0 2px 26px rgba(2, 6, 10, 0.6), 0 1px 2px rgba(2, 6, 10, 0.5);
}

.slide-title em {
  font-style: normal;
  white-space: nowrap;
  /* 深底上的强调色取星云内圈的薄荷青，与品牌绿同族 */
  color: #8FE6C2;
}

.slide-sub {
  margin-top: 18px;
  color: rgba(234, 244, 239, 0.78);
  font-size: 17px;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 2px rgba(2, 6, 10, 0.6), 0 0 18px rgba(2, 6, 10, 0.55);
}

.slide .btn-row {
  justify-content: center;
  margin-top: 32px;
}

/* 中央一层很淡的黑纱托住文案；顶部压得更重一点，白字页头才读得出来 */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(48% 44% at 50% 46%, rgba(2, 7, 10, 0.3), rgba(2, 7, 10, 0.1) 60%, rgba(2, 7, 10, 0) 86%),
    linear-gradient(180deg, rgba(2, 7, 10, 0.68) 0%, rgba(2, 7, 10, 0.22) 20%, rgba(2, 7, 10, 0) 38%),
    linear-gradient(0deg, rgba(2, 7, 10, 0.36) 0%, rgba(2, 7, 10, 0) 16%);
}

/* ---------- 轮播控制：两屏文案切换，背景始终同一张画 ---------- */
.hero-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 34px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.hero-dot {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(245, 250, 247, 0.34);
  cursor: pointer;
  transition: width 0.3s var(--ease), background 0.3s var(--ease);
}

.hero-dot.is-active {
  width: 22px;
  background: rgba(245, 250, 247, 0.92);
}

.hero-dot:hover {
  background: rgba(245, 250, 247, 0.62);
}

.hero-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-left: 6px;
  padding: 0;
  border: 1px solid rgba(245, 250, 247, 0.3);
  border-radius: 50%;
  background: rgba(8, 16, 18, 0.42);
  color: #F5FAF7;
  cursor: pointer;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.hero-toggle:hover {
  background: rgba(8, 16, 18, 0.68);
  border-color: rgba(245, 250, 247, 0.6);
}

.hero-toggle svg {
  width: 12px;
  height: 12px;
}

.hero-toggle .icon-play {
  display: none;
}

.hero.is-paused .hero-toggle .icon-pause {
  display: none;
}

.hero.is-paused .hero-toggle .icon-play {
  display: block;
}

/* ---------- 区块通用 ---------- */
.section {
  padding: 118px 0;
}

.sec-head {
  max-width: 760px;
}

.sec-head--center {
  margin: 0 auto;
  text-align: center;
}

.sec-label {
  display: block;
  color: var(--violet);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.24em;
}

.sec-head h2 {
  margin-top: 18px;
  font-size: clamp(38px, 4.8vw, 64px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.03em;
}

/* ---------- 产品 ---------- */
.section--products {
  padding-top: 96px;
  padding-bottom: 32px;
  background: linear-gradient(180deg, #F7F4FF 0%, #FFFFFF 420px);
}

.product-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 5vw, 84px);
  align-items: center;
  padding: clamp(52px, 6vw, 92px) 0;
}

.product-feature + .product-feature {
  border-top: 1px solid var(--line);
}

.product-feature--flip {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.product-feature--flip .pf-copy { order: 2; }
.product-feature--flip .pf-visual { order: 1; }

/* 文案侧 */
.pf-index {
  display: block;
  color: var(--violet);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.26em;
}

.pf-index--green { color: #2F7A54; }

.pf-name {
  margin-top: 16px;
  font-size: clamp(30px, 3.1vw, 44px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.02em;
}

.pf-en {
  margin-top: 10px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pf-value {
  margin-top: 28px;
  max-width: 26ch;
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: -0.01em;
}

.pf-desc {
  margin-top: 14px;
  max-width: 44ch;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.9;
}

/* 应用场景标签 */
.pf-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
}

.pf-tags-label {
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
}

.pf-tag {
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 12.5px;
  letter-spacing: 0.02em;
}

/* 培训考试平台的场景标签取绿色，与左侧视觉一致 */
.product-feature--flip .pf-tag {
  border-color: rgba(47, 122, 84, 0.18);
  background: rgba(62, 138, 95, 0.08);
}

.pf-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--btn);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s var(--ease);
}

.pf-link:hover { background: #000; }

.pf-arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease);
}

.pf-link:hover .pf-arrow,
.pf-link:focus-visible .pf-arrow {
  transform: translateX(4px);
}

/* 视觉侧 */
.pf-visual { position: relative; }

.pf-visual--r {
  --acc: #4F8CFF;
  --acc-soft: rgba(91, 140, 255, 0.14);
  --acc-line: rgba(120, 160, 255, 0.22);
  --ui-bg1: rgba(21, 32, 58, 0.97);
  --ui-bg2: rgba(10, 16, 32, 0.98);
  --ui-border: rgba(125, 165, 255, 0.22);
  --ui-text: #E8F0FF;
  --ui-dim: rgba(198, 216, 248, 0.62);
  --web: rgba(70, 110, 200, 0.3);
}

.pf-visual--g {
  --acc: #3E8A5F;
  --acc-soft: rgba(62, 138, 95, 0.15);
  --acc-line: rgba(110, 170, 130, 0.28);
  --ui-bg1: rgba(24, 42, 32, 0.97);
  --ui-bg2: rgba(12, 24, 18, 0.98);
  --ui-border: rgba(120, 180, 140, 0.24);
  --ui-text: #EDF7EE;
  --ui-dim: rgba(200, 222, 206, 0.66);
  --web: rgba(70, 130, 95, 0.28);
}

.pf-stage {
  position: relative;
  aspect-ratio: 640 / 540;
  border-radius: 28px;
  overflow: hidden;
  isolation: isolate;
}

.pf-visual--r .pf-stage {
  background:
    radial-gradient(78% 68% at 66% 16%, rgba(190, 214, 255, 0.95), rgba(226, 236, 255, 0.5) 56%, rgba(238, 243, 255, 0) 80%),
    linear-gradient(160deg, #EFF4FF 0%, #DDE8FB 54%, #CFDDF8 100%);
}

.pf-visual--g .pf-stage {
  background:
    radial-gradient(78% 68% at 34% 16%, rgba(200, 235, 210, 0.95), rgba(216, 240, 222, 0.55) 56%, rgba(238, 249, 240, 0) 80%),
    linear-gradient(160deg, #F0F8F1 0%, #DCEFE2 54%, #CBE7D4 100%);
}

.pf-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--web) 1px, transparent 1px),
    linear-gradient(90deg, var(--web) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.18;
  mask-image: radial-gradient(85% 85% at 50% 42%, #000 25%, transparent 88%);
  -webkit-mask-image: radial-gradient(85% 85% at 50% 42%, #000 25%, transparent 88%);
}

/* 功能模块 */
.pf-modules {
  position: absolute;
  inset: 0;
  display: grid;
  gap: 12px;
  padding: 24px;
  align-content: center;
}

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

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

.pf-modules-head {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
  color: var(--acc);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
}

.pf-module {
  padding: 16px 18px;
  border: 1px solid var(--ui-border);
  border-radius: 14px;
  background: linear-gradient(155deg, var(--ui-bg1), var(--ui-bg2));
  box-shadow: 0 22px 44px -24px rgba(16, 28, 70, 0.5);
  color: var(--ui-text);
  translate: calc(var(--mx, 0) * 3px) calc(var(--my, 0) * 3px);
  transition: translate 0.5s var(--ease);
}

.pf-module-idx {
  display: block;
  color: var(--acc);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
}

.pf-module h4 {
  margin: 7px 0 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.pf-module p {
  margin: 7px 0 0;
  color: var(--ui-dim);
  font-size: 11.5px;
  line-height: 1.75;
}

/* Agent 卡片压在其他模块之上，用强调色标出层次 */
.pf-module--agent {
  grid-column: 1 / -1;
  border-color: var(--acc-line);
  background:
    linear-gradient(120deg, var(--acc-soft), rgba(0, 0, 0, 0) 46%),
    linear-gradient(155deg, var(--ui-bg1), var(--ui-bg2));
}

.pf-scenes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 11px;
}

.pf-scene {
  padding: 3px 9px;
  border: 1px solid var(--acc-line);
  border-radius: 999px;
  background: var(--acc-soft);
  color: var(--ui-text);
  font-size: 11px;
  letter-spacing: 0.02em;
}

/* 培训考试：九宫格只放模块名 */
.pf-modules--3 .pf-module {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 60px;
  padding: 12px 8px;
  text-align: center;
}

.pf-modules--3 .pf-module-idx {
  letter-spacing: 0.14em;
}

.pf-module-name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ---------- 服务 ---------- */
.section--services {
  background: #fff;
}

.service-list {
  margin-top: 56px;
  border-top: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 0.9fr) minmax(0, 1.2fr);
  align-items: baseline;
  gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s var(--ease);
}

.service-row:hover {
  background: var(--soft);
}

.service-num {
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
}

.service-row h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.35;
}

.service-row p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.85;
}

/* ---------- 公司愿景 ---------- */
.vision {
  padding: 132px 0 120px;
  background: var(--soft);
  border-top: 1px solid var(--line);
}

.vision-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 88px;
}

.vision-slogan {
  margin-top: 22px;
  font-size: clamp(40px, 4.8vw, 72px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.03em;
}

.vision-slogan em {
  font-style: normal;
  background: linear-gradient(92deg, #6D28D9 0%, #DB2777 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.vision-lead {
  color: var(--ink-2);
  font-size: 17px;
  line-height: 2;
}

.vision-text {
  margin-top: 16px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.95;
}

.vision-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.vs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--line-strong);
}

.vs-num {
  color: var(--ink);
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.vs-num small {
  font-size: 26px;
  font-weight: 600;
  vertical-align: 6px;
}

.vs-label {
  color: var(--muted);
  font-size: 13px;
}

/* ---------- 页脚 ---------- */
.site-footer {
  padding: 84px 0 30px;
  background: #0B0B0D;
  color: #D4D4D8;
}

.site-footer .brand-cn {
  color: #fff;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 56px;
}

.footer-brand p {
  margin-top: 22px;
  color: #A1A1AA;
  font-size: 15px;
  line-height: 1.9;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, 1.25fr);
  gap: 32px;
}

.footer-links h4 {
  margin-bottom: 16px;
  color: #8B8F99;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
}

.footer-links a,
.footer-links span {
  display: block;
  color: #D4D4D8;
  font-size: 13.5px;
  line-height: 2.1;
}

.footer-links a:hover {
  color: #fff;
}

.footer-links span {
  color: #A1A1AA;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 72px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #8B8F99;
  font-size: 12px;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
}

.footer-legal a:hover {
  color: #fff;
}

.footer-bottom > span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
}

/* ---------- 404 ---------- */
.page-404 {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
}

.page-404 main {
  display: flex;
  flex: 1 0 auto;
  align-items: center;
  padding-top: var(--header-h);
}

.notfound {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 80px 0;
  text-align: center;
}

.notfound .code {
  font-family: var(--font-mono);
  font-size: clamp(84px, 12vw, 148px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(96deg, #6D28D9, #DB2777);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.notfound h1 {
  margin-top: 20px;
  font-size: 30px;
}

.notfound p {
  margin-top: 12px;
  color: var(--muted);
}

.notfound .btn-row {
  justify-content: center;
  margin-top: 28px;
}

.site-footer--slim {
  padding-top: 44px;
}

.site-footer--slim .footer-bottom {
  margin-top: 0;
}

/* ---------- 滚动显现 ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

.js .reveal-delay-1 { transition-delay: 0.08s; }
.js .reveal-delay-2 { transition-delay: 0.16s; }
.js .reveal-delay-3 { transition-delay: 0.24s; }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .nav {
    display: none;
  }

  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .product-feature {
    gap: 36px;
  }

  /* 视觉列变窄后卡片排不下，舞台改按内容撑高 */
  .pf-stage {
    aspect-ratio: auto;
  }

  .pf-modules {
    position: relative;
    inset: auto;
  }

  .service-row {
    grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 24px;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: 100svh;
  }

  .hero-controls {
    bottom: 24px;
  }

  .section {
    padding: 88px 0;
  }

  .product-feature {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 56px 0;
  }

  .product-feature--flip .pf-copy { order: 1; }
  .product-feature--flip .pf-visual { order: 2; }

  .pf-value { max-width: none; }
  .pf-desc { max-width: 56ch; }

  .pf-visual {
    width: 100%;
    max-width: 580px;
    margin: 0 auto;
  }

  .pf-modules {
    gap: 10px;
    padding: 18px;
  }

  .pf-module {
    padding: 14px 15px;
  }

  .pf-module h4 { font-size: 13.5px; }
  .pf-module p { font-size: 11px; }
  .pf-modules--3 .pf-module { min-height: 54px; }
  .pf-module-name { font-size: 12px; }

  .service-row {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 8px 20px;
    row-gap: 6px;
  }

  .service-row p {
    grid-column: 2;
  }

  .vision {
    padding: 92px 0 88px;
  }

  .vision-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 20px;
  }

  .slide-title {
    font-size: clamp(26px, 6.6vw, 36px);
    letter-spacing: -0.04em;
  }

  .slide-sub {
    font-size: 14.5px;
  }

  .sec-head h2 {
    font-size: clamp(30px, 9vw, 38px);
  }

  .pf-name {
    font-size: clamp(26px, 7.6vw, 32px);
  }

  .pf-en {
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  .pf-value {
    margin-top: 20px;
    font-size: 17px;
  }

  .pf-desc {
    font-size: 14px;
    line-height: 1.85;
  }

  .pf-stage {
    border-radius: 20px;
  }

  .pf-modules {
    gap: 8px;
    padding: 14px;
  }

  .pf-module {
    padding: 12px 13px;
  }

  .pf-module h4 { font-size: 12.5px; }
  .pf-module p { font-size: 10.5px; line-height: 1.7; }

  .pf-modules--3 .pf-module {
    min-height: 52px;
    padding: 10px 6px;
  }

  .pf-module-name { font-size: 11.5px; }

  .service-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .service-row p {
    grid-column: 1;
  }

  .service-row h3 {
    font-size: 20px;
  }

  .vs-num {
    font-size: 40px;
  }

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- 减少动态 ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
