/* =====================================================
   璇界AI 官网原型 — 白底商务风 · 紫金品牌体系
   配色源自 logo/1.svg 渐变：
   紫 #8E34D0→#54108B · 金 #FDB524→#FFD77C
   ===================================================== */
:root {
  /* 品牌色 */
  --purple: #6B1FA8;
  --purple-bright: #8E34D0;
  --purple-deep: #490C7D;
  --purple-ink: #3A0A63;
  --gold: #D58F24;
  --gold-text: #C67D1E;
  --gold-bright: #FDB524;
  --gold-light: #FFD77C;

  /* 中性色（白底商务） */
  --bg: #ffffff;
  --bg-tint: #F9F7FC;
  --bg-card: #ffffff;
  --text: #1A1625;
  --text-muted: #6B6580;
  --line: #ECE8F3;
  --line-strong: #DDD5EA;

  /* 渐变 */
  --grad-purple: linear-gradient(135deg, #8E34D0, #54108B);
  --grad-gold: linear-gradient(135deg, #FDB524, #D58F24);
  --grad-text: linear-gradient(120deg, #8E34D0, #6B1FA8 55%, #C67D1E);

  /* 布局 */
  --max: 1180px;
  --header-h: 72px;
  --font: "Noto Sans SC", "Sora", system-ui, sans-serif;
  --font-display: "Sora", "Noto Sans SC", system-ui, sans-serif;
  --space: clamp(1.25rem, 3.5vw, 2rem);
  --radius: 12px;
  --shadow-sm: 0 2px 10px rgba(73, 12, 125, 0.06);
  --shadow-md: 0 10px 32px rgba(73, 12, 125, 0.10);
  --shadow-lg: 0 24px 60px rgba(73, 12, 125, 0.14);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.28;
  font-weight: 650;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--text);
}

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.88em;
}

/* ============ 通用 ============ */
.kicker {
  margin: 0 0 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.kicker::before {
  content: "\2726 ";
  color: var(--gold-bright);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 3.75rem) var(--space);
}

.section-tint {
  max-width: none;
  background: var(--bg-tint);
  padding-inline: 0;
}

.section-tint > * {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--space);
}

.section-head { margin-bottom: 2.4rem; max-width: 52rem; }
.section-head h2 {
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  margin-bottom: 0.7rem;
  white-space: nowrap;
}
.section-head p { margin: 0; color: var(--text-muted); }

.section-head-center {
  text-align: center;
  max-width: none;
  margin-inline: auto;
}
.section-head-center p { max-width: 36rem; margin-inline: auto; }

.lead { font-size: 1.02rem; }

/* 渐变文字 */
.grad-text {
  font-style: normal;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============ 按钮 ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 46px;
  padding: 0 1.35rem;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
}

.btn-sm { min-height: 38px; padding: 0 1.05rem; font-size: 0.88rem; }

.btn-primary {
  background: var(--grad-purple);
  color: #fff;
  box-shadow: 0 6px 20px rgba(107, 31, 168, 0.28);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(107, 31, 168, 0.36);
}

.btn-gold {
  background: var(--grad-gold);
  color: #2A1B00;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(213, 143, 36, 0.30);
}
.btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(213, 143, 36, 0.40);
}

.btn-star { color: #FFF6DE; }

/* ============ Header ============ */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 24px rgba(73, 12, 125, 0.06);
}

.header-inner {
  max-width: var(--max);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--space);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.56rem;
  letter-spacing: -0.01em;
  flex-shrink: 0;
  z-index: 2;
  color: var(--text);
}

.brand img { width: 38px; height: 38px; }

.nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  margin-left: auto;
  margin-right: 0.5rem;
}

.nav a {
  font-size: 0.92rem;
  color: var(--text-muted);
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.2s;
}

.nav a:hover,
.nav a.is-active { color: var(--purple); }

.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 10px;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  margin-left: auto;
  z-index: 2;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4.5px) rotate(-45deg);
}

/* ============ Hero ============ */
.hero {
  padding: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem)) var(--space) clamp(3rem, 6vw, 4.5rem);
  background:
    radial-gradient(ellipse 55% 50% at 78% 40%, rgba(142, 52, 208, 0.07), transparent 60%),
    radial-gradient(ellipse 42% 36% at 15% 75%, rgba(253, 181, 36, 0.08), transparent 55%),
    var(--bg);
}

.hero-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero-eyebrow {
  margin: 0 0 1.1rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--purple);
}

.hero-copy h1 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin-bottom: 1.25rem;
}

.hero-desc {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  font-size: 1.02rem;
  max-width: 34rem;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.6rem;
}

.chip {
  font-size: 0.82rem;
  color: var(--purple-deep);
  background: rgba(142, 52, 208, 0.07);
  border: 1px solid rgba(142, 52, 208, 0.18);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.7rem;
}

.partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.95rem 0.4rem 0.7rem;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.partner-badge img { height: 22px; width: auto; }

/* Hero 视觉 */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-logo-wrap {
  position: relative;
  width: min(420px, 88vw);
  aspect-ratio: 1;
}

.hero-glow {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(142, 52, 208, 0.10), rgba(253, 181, 36, 0.06) 55%, transparent 72%);
  animation: hero-pulse 6s ease-in-out infinite;
}

.hero-logo {
  position: absolute;
  inset: 30%;
  width: 40%;
  height: auto;
  filter: drop-shadow(0 12px 36px rgba(73, 12, 125, 0.18));
}

.orbit-node {
  position: absolute;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(142, 52, 208, 0.22);
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 0.68rem;
  color: var(--purple-deep);
  line-height: 1.25;
  font-weight: 500;
  box-shadow: var(--shadow-md);
}

.orbit-node.n1 { top: 2%; left: 50%; transform: translateX(-50%); }
.orbit-node.n2 { top: 22%; left: 0; }
.orbit-node.n3 { bottom: 18%; left: 4%; }
.orbit-node.n4 { top: 22%; right: 0; }
.orbit-node.n5 { bottom: 18%; right: 4%; }

.orbit-caption {
  margin: 1.25rem 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

@keyframes hero-pulse {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

/* ============ 核心判断：五环节链路 ============ */
#judgement { padding-bottom: clamp(2.5rem, 5vw, 3.5rem); }

.chain {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.7rem;
  counter-reset: chain;
}

.chain-item {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1rem 1.1rem;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.chain-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(142, 52, 208, 0.3);
}

/* 链路箭头 */
.chain-item:not(:last-child)::after {
  content: "\2192";
  position: absolute;
  right: -0.72rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  width: 1.1rem;
  text-align: center;
  color: var(--gold);
  font-weight: 700;
  font-size: 1.05rem;
}

.chain-num {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 0.75rem;
  border-radius: 50%;
  background: var(--grad-purple);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
}

.chain-item:nth-child(5) .chain-num { background: var(--grad-gold); color: #2A1B00; }

.chain-item strong {
  display: block;
  font-size: 0.98rem;
  margin-bottom: 0.3rem;
  color: var(--text);
  white-space: nowrap;
}

.chain-item > span:last-child {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.55;
  display: block;
}

/* 痛点破解徽标 */
.chain-solve {
  display: inline-block;
  margin: 0.15rem 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold-text);
  background: rgba(253, 181, 36, 0.12);
  border: 1px solid rgba(213, 143, 36, 0.25);
  border-radius: 999px;
  padding: 0.12rem 0.6rem;
  line-height: 1.5;
}

/* ============ 四层底座 ============ */
/* ============ 四层底座：3D 透视堆叠 ============ */
.stack3d {
  perspective: 1400px;
  max-width: 56rem;
  display: grid;
  gap: 0.55rem;
}

.stack3d-layer {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.15rem;
  background: linear-gradient(180deg, #ffffff 0%, #F7F4FB 100%);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.05rem 1.3rem;
  transform: rotateX(9deg);
  transform-style: preserve-3d;
  box-shadow:
    0 1px 0 rgba(142, 52, 208, 0.06),
    0 14px 28px -14px rgba(73, 12, 125, 0.22);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s, border-color 0.3s;
}

/* 板材厚度：底部深色棱线 */
.stack3d-layer::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: -6px;
  height: 7px;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(180deg, rgba(73, 12, 125, 0.16), rgba(73, 12, 125, 0));
  z-index: -1;
}

/* 金字塔宽度：顶层窄 → 底层宽 */
.layer-04 { width: 82%; margin-inline: auto; }
.layer-03 { width: 88%; margin-inline: auto; }
.layer-02 { width: 94%; margin-inline: auto; }
.layer-01 { width: 100%; }

/* 层级色阶：底座深紫 → 业务层金色 */
.stack3d-num {
  flex-shrink: 0;
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  color: #fff;
  background: var(--grad-purple);
  box-shadow: 0 4px 10px rgba(73, 12, 125, 0.28);
}

.layer-03 .stack3d-num { background: linear-gradient(135deg, #9B4FD8, #6B1FA8); }
.layer-02 .stack3d-num { background: linear-gradient(135deg, #B368E5, #8E34D0); }
.layer-04 .stack3d-num {
  background: var(--grad-gold);
  color: #2A1B00;
  box-shadow: 0 4px 10px rgba(213, 143, 36, 0.32);
}

.stack3d-body h3 { font-size: 1.04rem; margin-bottom: 0.15rem; }
.stack3d-body p { margin: 0; font-size: 0.85rem; color: var(--text-muted); }

/* 顶层（业务出口）描金提示价值最高 */
.layer-04 {
  border-color: rgba(213, 143, 36, 0.35);
  background: linear-gradient(180deg, #FFFDF7 0%, #FBF6EA 100%);
}

/* hover 抬升 */
.stack3d-layer:hover {
  transform: rotateX(9deg) translateZ(14px) translateY(-2px);
  box-shadow:
    0 1px 0 rgba(142, 52, 208, 0.08),
    0 22px 40px -14px rgba(73, 12, 125, 0.3);
  border-color: rgba(142, 52, 208, 0.32);
}

.layer-04:hover { border-color: rgba(213, 143, 36, 0.5); }

/* ============ 落地难题 ============ */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  margin-bottom: 2rem;
}

.pain-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.3rem;
  transition: transform 0.25s, box-shadow 0.25s;
}

.pain-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.pain-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: rgba(142, 52, 208, 0.22);
  display: block;
  margin-bottom: 0.4rem;
}

.pain-card h3 { font-size: 1.02rem; margin-bottom: 0.4rem; }
.pain-card p { margin: 0; font-size: 0.87rem; color: var(--text-muted); }

.pain-cta {
  margin: 0;
  text-align: center;
  font-size: 1.05rem;
  color: var(--text);
}

.pain-cta strong {
  color: var(--purple);
  background: linear-gradient(180deg, transparent 62%, rgba(253, 181, 36, 0.35) 62%);
  padding: 0 0.1em;
}

/* ============ 产品与服务 ============ */
.product-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(142, 52, 208, 0.25);
}

.product-card--full { grid-column: 1 / -1; }

.badge-purple {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #fff;
  background: linear-gradient(135deg, #8E34D0, #54108B);
  border-radius: 999px;
  padding: 0.28rem 0.8rem;
}

/* Token工厂高亮卡 */
.product-card--highlight {
  border: 1.5px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, #8E34D0, #FDB524) border-box;
  position: relative;
}

.product-card--highlight:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(142, 52, 208, 0.16);
}

.product-head {
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
}

.card-icon {
  width: 42px;
  height: 42px;
  color: var(--purple);
  flex-shrink: 0;
}

.card-icon svg { width: 100%; height: 100%; }

.product-head h3 { font-size: 1.08rem; margin-bottom: 0.25rem; }
.product-sub { margin: 0; font-size: 0.86rem; color: var(--text-muted); }

/* Token工厂 六宫格特性卡（图标+标题+描述） */
.token-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

.token-grid li {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.85rem 0.95rem;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.token-grid li:hover {
  transform: translateY(-2px);
  border-color: rgba(213, 143, 36, 0.4);
  box-shadow: 0 8px 18px rgba(213, 143, 36, 0.12);
}

.token-ico {
  width: 30px;
  height: 30px;
  margin-bottom: 0.15rem;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  color: var(--purple);
  background: rgba(142, 52, 208, 0.08);
}

.token-ico svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
}

.token-grid li:nth-child(even) .token-ico {
  color: var(--gold-text);
  background: rgba(253, 181, 36, 0.12);
}

.token-grid strong {
  font-size: 0.88rem;
  color: var(--text);
  font-weight: 600;
}

.token-grid li > span:last-child {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.badge-gold {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #7A4E00;
  background: linear-gradient(135deg, #FFD77C, #FDB524);
  border-radius: 999px;
  padding: 0.28rem 0.75rem;
}

/* 云服务步骤链 */
.step-list { display: grid; gap: 0.55rem; }

.step-list li {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  background: var(--bg-tint);
  border-radius: 8px;
  padding: 0.6rem 0.9rem;
  border-left: 3px solid var(--purple-bright);
}

.step-list strong { font-size: 0.9rem; color: var(--text); }
.step-list span { font-size: 0.8rem; color: var(--text-muted); }

/* 特性网格 */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
}

.feature-grid li {
  font-size: 0.85rem;
  color: var(--text);
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.55rem 0.8rem;
  text-align: center;
}

.feature-grid--wide { grid-template-columns: repeat(2, 1fr); }

.feature-grid--wide li {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.feature-grid--wide strong { font-size: 0.88rem; }
.feature-grid--wide span { font-size: 0.78rem; color: var(--text-muted); }

/* Token工厂 CTA 行 */
.product-cta-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 0.25rem;
}

.api-domain code {
  color: var(--purple-deep);
  background: rgba(142, 52, 208, 0.07);
  border: 1px solid rgba(142, 52, 208, 0.16);
  border-radius: 6px;
  padding: 0.3rem 0.65rem;
  font-weight: 600;
}

.product-note {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  border-top: 1px dashed var(--line-strong);
  padding-top: 0.8rem;
}

/* 组件网格 */
.comp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}

.comp-grid li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.86rem;
  color: var(--text);
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
}

.comp-grid li span {
  color: var(--gold-text);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
}

/* ============ 边缘硬件产品 ============ */
#hardware { padding-top: clamp(2.5rem, 5vw, 3.5rem); }

/* 主卡：左大图 + 右文字 + 右下双面板缩图 */
.hw-product {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.hw-product::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 100% 0%, rgba(142, 52, 208, 0.05), transparent 55%);
  pointer-events: none;
}

.hw-product-img {
  margin: 0;
  background: linear-gradient(135deg, #F9F7FC 0%, #FFF 100%);
  border-radius: 12px;
  padding: 1.6rem 1rem;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
}

.hw-product-img img {
  width: 100%;
  max-width: 380px;
  height: auto;
  filter: drop-shadow(0 18px 40px rgba(73, 12, 125, 0.22));
}

.hw-product-body { position: relative; z-index: 1; }

.hw-tag {
  display: inline-block;
  margin: 0 0 0.6rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold-text);
  background: linear-gradient(135deg, rgba(253, 181, 36, 0.18), rgba(213, 143, 36, 0.10));
  border: 1px solid rgba(213, 143, 36, 0.25);
  border-radius: 6px;
  padding: 0.25rem 0.7rem;
  font-family: var(--font-display);
}

.hw-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.hw-tags .hw-tag { margin-bottom: 0; }

/* 信创徽章 */
.xc-badge {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  background: linear-gradient(135deg, #C0221F, #8E1412);
  border-radius: 6px;
  padding: 0.28rem 0.7rem;
  box-shadow: 0 3px 10px rgba(192, 34, 31, 0.28);
}

.hw-product-body h3 { font-size: 1.5rem; margin-bottom: 0.7rem; line-height: 1.35; }

.hw-desc {
  margin: 0 0 1.2rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* 前面板/后面板 缩图（紧凑双图） */
.hw-panes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.hw-panes figure {
  margin: 0;
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.7rem;
  display: grid;
  place-items: center;
  transition: transform 0.2s, border-color 0.2s;
}

.hw-panes figure:hover {
  transform: translateY(-2px);
  border-color: rgba(142, 52, 208, 0.3);
}

.hw-panes img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 6px 16px rgba(73, 12, 125, 0.15));
}

.hw-panes figcaption {
  margin-top: 0.5rem;
  font-size: 0.76rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* 尺寸规格：左图右表 简洁版 */
.hw-spec {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(1.6rem, 3.5vw, 2.4rem);
  box-shadow: var(--shadow-sm);
}

.hw-spec-figure {
  margin: 0;
  background: var(--bg-tint);
  border-radius: 12px;
  padding: 1.4rem 1rem;
  display: grid;
  place-items: center;
}

.hw-spec-figure img {
  width: 100%;
  max-width: 360px;
  height: auto;
  filter: drop-shadow(0 10px 24px rgba(73, 12, 125, 0.16));
}

.hw-spec-figure figcaption {
  margin-top: 0.6rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.hw-spec-list {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem 1.5rem;
}

.hw-spec-list > div {
  border-left: 2px solid var(--gold);
  padding-left: 0.85rem;
}

.hw-spec-list dt {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}

.hw-spec-list dd {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.45;
}

/* ============ 部署方式 ============ */
.deploy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}

.deploy-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.3rem;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
}

.deploy-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.deploy-num {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 0.8rem;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  color: var(--gold-text);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
}

.deploy-card h3 { font-size: 1.02rem; margin-bottom: 0.35rem; }
.deploy-card p { margin: 0; font-size: 0.85rem; color: var(--text-muted); }

/* ============ 行业解决方案 ============ */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.industry-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  transition: transform 0.25s, box-shadow 0.25s;
}

.industry-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.industry-tag {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--purple);
  background: rgba(142, 52, 208, 0.07);
  border-radius: 999px;
  padding: 0.25rem 0.8rem;
  align-self: flex-start;
}

.industry-card h3 { font-size: 1.12rem; }

.industry-card p { margin: 0; font-size: 0.86rem; color: var(--text-muted); }

.industry-card p strong {
  display: block;
  font-size: 0.72rem;
  color: var(--gold-text);
  letter-spacing: 0.08em;
  margin-bottom: 0.15rem;
}

.industry-combo {
  background: var(--bg-tint);
  border-radius: 8px;
  padding: 0.6rem 0.9rem;
}

/* ============ 客户案例 ============ */
.case-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}

.case-feature {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}

.case-feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.case-feature-img {
  margin: 0;
  aspect-ratio: 1672 / 941;
  overflow: hidden;
  background: #F4F1F9;
}

.case-feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-feature-body {
  padding: 1.3rem 1.3rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.case-tag {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gold-text);
}

.case-feature h3 { font-size: 1.02rem; line-height: 1.45; }

.case-meta { margin: 0; display: grid; gap: 0.55rem; }

.case-meta dt {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--purple);
}

.case-meta dd { margin: 0 0 0 0; font-size: 0.82rem; color: var(--text-muted); line-height: 1.55; }

.case-text-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}

.case-mini {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.2rem;
  transition: transform 0.25s, box-shadow 0.25s;
}

.case-mini:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.case-mini h4 { font-size: 0.95rem; margin-bottom: 0.4rem; line-height: 1.45; }
.case-mini p { margin: 0; font-size: 0.82rem; color: var(--text-muted); }

/* ============ 交付与保障 ============ */
#process .section-head { margin-bottom: 1.8rem; }

/* 承诺四卡 */
.assure-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  margin-bottom: 2.4rem;
}

.assure-card {
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}

.assure-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.assure-card .card-icon {
  width: 36px;
  height: 36px;
  color: var(--purple);
}

.assure-card h3 { font-size: 0.98rem; margin-bottom: 0.15rem; }
.assure-card p { margin: 0; font-size: 0.84rem; color: var(--text-muted); line-height: 1.6; }

/* ============ 实施保障 ============ */
.process-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.1rem;
  position: relative;
  margin-bottom: 1.6rem;
}

.process-list::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 9%;
  right: 9%;
  height: 2px;
  background: linear-gradient(90deg, var(--purple-bright), var(--gold));
  opacity: 0.25;
  pointer-events: none;
}

.process-list li {
  position: relative;
  text-align: center;
  padding-top: 0.25rem;
}

.process-num {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-purple);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.9rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 14px rgba(107, 31, 168, 0.25);
}

.process-list li:nth-child(5) .process-num {
  background: var(--grad-gold);
  color: #2A1B00;
}

.process-list h3 { font-size: 1.02rem; margin-bottom: 0.35rem; }
.process-list p { margin: 0; font-size: 0.82rem; color: var(--text-muted); }

.process-cta {
  margin: 0;
  text-align: center;
  font-size: 1.02rem;
}

.process-cta strong { color: var(--purple); }

/* ============ 合作方式 ============ */
.coop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.coop-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}

.coop-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.coop-num {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 0 auto;
  border-radius: 12px;
  background: var(--bg-tint);
  border: 1px solid var(--line-strong);
  color: var(--purple);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

.coop-card h3 { font-size: 1.08rem; }
.coop-card p { margin: 0; font-size: 0.87rem; color: var(--text-muted); flex: 1; }

.coop-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--purple);
  font-size: 0.88rem;
  font-weight: 500;
  justify-content: center;
}

.coop-link:hover { color: var(--purple-bright); }

.coop-link span { transition: transform 0.2s; display: inline-block; }
.coop-link:hover span { transform: translateX(3px); }

/* ============ 联系我们 ============ */
.qr-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.qr-card {
  margin: 0;
  width: min(240px, 100%);
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.2rem;
  box-shadow: var(--shadow-sm);
}

.qr-frame {
  width: 200px;
  height: 200px;
  margin: 0 auto 1rem;
  padding: 12px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.qr-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-frame-sm {
  width: 96px;
  height: 96px;
  padding: 6px;
  margin-bottom: 0.55rem;
  border-radius: 8px;
}

.qr-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.qr-card strong { font-family: var(--font-display); font-size: 1.05rem; }
.qr-card span { font-size: 0.85rem; color: var(--text-muted); }

/* ============ Footer ============ */
.site-footer {
  background: var(--purple-deep);
  color: rgba(255, 255, 255, 0.78);
  padding: 3.2rem var(--space) 1.5rem;
}

.footer-top {
  max-width: var(--max);
  margin: 0 auto 2rem;
  display: grid;
  grid-template-columns: 1.3fr 1.5fr auto;
  gap: 2rem;
  align-items: start;
}

.footer-brand {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.footer-brand img {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #fff;
}

.footer-brand span {
  display: block;
  font-size: 0.85rem;
  margin: 0.2rem 0;
}

.footer-brand em {
  display: block;
  font-style: normal;
  font-size: 0.78rem;
  color: var(--gold-light);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.footer-cols h4 {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  color: #fff;
}

.footer-cols a {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: 0.45rem;
}

.footer-cols a:hover { color: var(--gold-light); }

.footer-qr-pair {
  display: flex;
  gap: 1.25rem;
  justify-content: flex-end;
}

.footer-qr { text-align: center; }

.footer-qr p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.4;
}

.footer-qr .qr-frame { border-color: rgba(255, 255, 255, 0.15); }

.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
}

.footer-bottom p { margin: 0; font-size: 0.78rem; }
.footer-bottom a { color: var(--gold-light); }
.footer-bottom a:hover { color: #fff; }

/* ============ Reveal 动画 ============ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ============ 响应式 ============ */
@media (max-width: 1024px) {
  .section-head h2 { white-space: normal; }
  .chain { grid-template-columns: repeat(3, 1fr); row-gap: 1.2rem; }
  .chain-item:not(:last-child)::after { content: none; }
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .product-list { grid-template-columns: 1fr; }
  .comp-grid { grid-template-columns: repeat(2, 1fr); }
  .deploy-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: 1fr; }
  .case-feature-grid { grid-template-columns: 1fr; }
  .case-text-grid { grid-template-columns: repeat(2, 1fr); }
  .process-list { grid-template-columns: repeat(3, 1fr); row-gap: 1.4rem; }
  .process-list::before { display: none; }
  .coop-grid { grid-template-columns: 1fr; }
  .stack-layer:nth-child(2) { margin-right: 0; }
  .stack-layer:nth-child(3) { margin-right: 0; }
  .stack-layer:nth-child(4) { margin-right: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .stack3d { perspective: none; }
  .stack3d-layer { transform: none; }
  .stack3d-layer:hover { transform: translateY(-3px); }
  .layer-04, .layer-03, .layer-02 { width: 100%; }
  .hw-product { grid-template-columns: 1fr; }
  .hw-spec { grid-template-columns: 1fr; }
  .hw-spec-list { grid-template-columns: 1fr 1fr; }
  .assure-grid { grid-template-columns: repeat(2, 1fr); }
  .token-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-logo-wrap { width: min(320px, 80vw); }

  .nav-toggle { display: flex; }
  .header-actions { display: none; }

  .nav {
    position: fixed;
    inset: 0;
    margin: 0;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    justify-content: center;
    gap: 1.4rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }

  .nav.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    font-size: 1.2rem;
    color: var(--text);
  }

  .nav a.is-active::after { display: none; }
}

@media (max-width: 560px) {
  .chain { grid-template-columns: 1fr; }
  .section-head h2 { white-space: normal; }
  .section-head { max-width: 100%; }
  .hw-panes { grid-template-columns: 1fr; }
  .hw-spec-list { grid-template-columns: 1fr; }
  .assure-grid { grid-template-columns: 1fr; }
  .token-grid { grid-template-columns: 1fr; }
  .pain-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid--wide { grid-template-columns: 1fr; }
  .deploy-grid { grid-template-columns: 1fr; }
  .case-text-grid { grid-template-columns: 1fr; }
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .footer-qr-pair { justify-content: flex-start; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
}

/* ============ 动效降级 ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-glow { animation: none; }
  .stack3d { perspective: none; }
  .stack3d-layer { transform: none; transition: none; }
  .stack3d-layer:hover { transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .product-card, .industry-card, .case-feature, .case-mini,
  .deploy-card, .pain-card, .coop-card, .chain-item, .stack-layer { transition: none; }
}
