/* =========================================================================
   竣通科技 JUNTONG TECHNOLOGY — 官网视觉系统
   =========================================================================
   设计语言：现代科技感（Stripe/Linear 系）· 深浅双色 · 玻璃质感 · 克制留白
   -------------------------------------------------------------------------
   视觉系统（Design Tokens）：
   - 背景：浅 #F7F9FC 冷调近白  |  深色区块 #0F1524 深海军蓝
   - 表面：白 #FFFFFF
   - 文字：墨蓝黑 #0C1420  |  次级 #5A6572  |  深色区文字 #E6EBF4
   - 品牌主色：靛蓝 #4F5BFF（oklch(0.55 0.19 265)）
   - 辅助点缀：青色 #22C8E5（oklch(0.72 0.14 210)）仅用于细节强调
   - 字体层级：
       H1 hero  clamp(2.4rem, 5vw, 3.7rem) / 700
       H2 段首  clamp(1.9rem, 3.2vw, 2.5rem) / 700
       H3 卡片  1.15–1.3rem / 650
       正文      1rem–1.06rem / 1.7
       小字号    0.9rem
   - 布局节奏：
       容器最大宽 1160px，两侧补白 clamp(1.25rem, 5vw, 2rem)
       段间距   clamp(4.5rem, 9vw, 7rem)
       卡片栅格 桌面 3 列 / 平板 2 列 / 移动 1 列
   - 段头模式：eyebrow(uppercase 小字品牌色) + H2 + 副标题
   ========================================================================= */

:root {
  /* 颜色 —— 浅色体系 */
  --bg: #f7f9fc;
  --bg-alt: #eef3fa;
  --surface: #ffffff;
  --surface-soft: #f1f5fc;
  --ink: #0c1420;
  --ink-soft: #3b4856;
  --muted: #5a6572;
  --line: rgba(15, 21, 36, 0.09);
  --line-strong: rgba(15, 21, 36, 0.14);

  /* 品牌与强调 */
  --brand: #4f5bff;
  --brand-deep: #3d46d8;
  --brand-soft: rgba(79, 91, 255, 0.11);
  --brand-soft-2: rgba(79, 91, 255, 0.16);
  --accent: #22c8e5;
  --accent-soft: rgba(34, 200, 229, 0.12);

  /* 深色体系 */
  --dark-bg: #0f1524;
  --dark-bg-2: #141c30;
  --dark-surface: rgba(255, 255, 255, 0.04);
  --dark-line: rgba(255, 255, 255, 0.1);
  --dark-text: #e6ebf4;
  --dark-muted: #9aa5b8;

  /* 排版 */
  --font-sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC",
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-en: "SF Pro Display", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, sans-serif;

  /* 圆角 */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  /* 阴影 */
  --shadow-sm: 0 1px 2px rgba(12, 20, 32, 0.05), 0 4px 14px rgba(12, 20, 32, 0.06);
  --shadow: 0 2px 6px rgba(12, 20, 32, 0.06), 0 14px 38px rgba(12, 20, 32, 0.09);
  --shadow-lg: 0 4px 10px rgba(12, 20, 32, 0.07), 0 30px 70px rgba(12, 20, 32, 0.14);

  /* 布局 */
  --container: 1160px;
  --gutter: clamp(1.25rem, 5vw, 2rem);
  --section-pad: clamp(4.5rem, 9vw, 7rem);

  /* 过渡 */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.45s;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 700;
  line-height: 1.22;
  color: inherit;
}

p {
  margin: 0;
}

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

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

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

::selection {
  background: var(--brand-soft-2);
  color: var(--brand-deep);
}

/* ---------- 通用容器与布局 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: var(--section-pad) 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-dark {
  background: var(--dark-bg);
  color: var(--dark-text);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.72rem 1.3rem;
  border-radius: var(--radius-sm);
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease),
    color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  white-space: nowrap;
}

.btn svg {
  transition: transform var(--dur) var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 22px rgba(79, 91, 255, 0.32);
}

.btn-primary:hover {
  background: var(--brand-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(79, 91, 255, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 0.95rem 1.7rem;
  font-size: 1rem;
  border-radius: 12px;
}

.btn-sm {
  padding: 0.55rem 1.05rem;
  font-size: 0.86rem;
}

.btn-block {
  width: 100%;
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 249, 252, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.site-header.is-scrolled {
  background: rgba(247, 249, 252, 0.92);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(12, 20, 32, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}

.brand-mark {
  position: relative;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: inline-block;
}

.brand-logo {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0;
}

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

.brand-name {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.brand-sub {
  font-family: var(--font-en);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link {
  position: relative;
  padding: 0.5rem 0.85rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: 10px;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.32rem;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}

.nav-link:hover {
  color: var(--brand);
}

.nav-link.is-active {
  color: var(--brand);
  background: var(--brand-soft);
}

.nav-link.is-active::after {
  transform: scaleX(1);
  opacity: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* 移动端汉堡按钮 */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
  border-radius: 10px;
  background: var(--surface-soft);
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(1.75rem, 3.5vw, 3rem) 0 0;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 700px;
  background: radial-gradient(closest-side, rgba(79, 91, 255, 0.16), rgba(34, 200, 229, 0.05) 60%, transparent);
  filter: blur(10px);
  pointer-events: none;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(79, 91, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 91, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 40%, transparent 80%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 4rem);
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--brand-deep);
  background: var(--brand-soft);
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.4rem;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft-2);
}

.hero h1 {
  font-size: clamp(2.3rem, 4.4vw, 3.4rem);
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1.3rem;
}

.hero h1 .hero-line {
  white-space: nowrap;
}

.hero h1 .accent {
  position: relative;
  color: var(--brand);
}

.hero-lead {
  font-size: clamp(1.05rem, 1.4vw, 1.15rem);
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 560px;
}

.hero-lead b {
  color: var(--ink);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.8rem;
}

/* ---------- Hero 系统展示器 ---------- */
.hero-showcase {
  position: relative;
  width: 100%;
}

.showcase-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 0.9rem;
}

/* 底部圆点指示器 */
.showcase-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 0.9rem;
}

.showcase-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 50%;
  background: var(--line-strong);
  transition: width var(--dur) var(--ease), background var(--dur) var(--ease);
}

.showcase-dot:hover {
  background: var(--brand-soft-2);
}

.showcase-dot.is-active {
  width: 26px;
  border-radius: var(--radius-pill);
  background: var(--brand);
}

.showcase-window {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--surface-soft);
}

.showcase-window-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.7rem 0.9rem;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.showcase-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-strong);
}

.showcase-dot:nth-child(1) {
  background: #ff5f57;
}
.showcase-dot:nth-child(2) {
  background: #febc2e;
}
.showcase-dot:nth-child(3) {
  background: #28c840;
}

.showcase-title {
  margin-left: auto;
  font-family: var(--font-en);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.showcase-body {
  height: 320px;
  padding: 1rem;
  display: grid;
  grid-template-columns: 122px 1fr;
  gap: 0.85rem;
  align-items: center;
  overflow: hidden;
}

.showcase-main {
  min-width: 0;
  height: 100%;
  display: flex;
  align-items: center;
}

.showcase-panel {
  display: none;
  width: 100%;
}

.showcase-panel.is-active {
  display: block;
  animation: panelIn 0.45s var(--ease);
}

@keyframes panelIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.showcase-side {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.showcase-side-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 9px;
  text-align: left;
  white-space: nowrap;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease),
    border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.showcase-side-item:hover {
  color: var(--brand);
  border-color: var(--brand-soft-2);
}

.showcase-side-item.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  border-color: var(--brand);
  box-shadow: 0 6px 14px rgba(79, 91, 255, 0.3);
}

.side-dot {
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.75;
}

/* 通用小标签 */
.chip {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--brand-deep);
  background: var(--brand-soft);
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-pill);
}

/* 考试系统面板 */
.exam-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}

.exam-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.74rem;
  color: var(--muted);
}

.exam-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.exam-question {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 0.8rem;
}

.exam-options {
  display: grid;
  gap: 0.45rem;
}

.exam-option {
  font-size: 0.82rem;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 0.5rem 0.7rem;
}

.exam-option.is-select {
  color: var(--brand-deep);
  border-color: var(--brand);
  background: var(--brand-soft);
  font-weight: 600;
}

/* TMS 面板 */
.tms-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  flex-wrap: wrap;
  padding: 0.7rem 0.8rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 11px;
  margin-bottom: 0.8rem;
}

.tms-route {
  display: block;
  font-family: var(--font-en);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ink);
}

.tms-sub {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 0.1rem;
}

.tms-eta {
  font-size: 0.72rem;
  color: var(--brand-deep);
  background: var(--brand-soft);
  padding: 0.3rem 0.55rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.tms-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tms-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
}

.tms-pill {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.22rem 0.5rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.tms-pill.is-go {
  color: #0b7df0;
  background: rgba(11, 125, 240, 0.12);
}

.tms-pill.is-done {
  color: #12a150;
  background: rgba(18, 161, 80, 0.12);
}

.tms-pill.is-wait {
  color: var(--muted);
  background: var(--surface-soft);
  border: 1px solid var(--line);
}

.tms-dest {
  flex: 1;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.tms-percent {
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
}

/* 进销存面板 */
.inv-sums {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}

.inv-sum {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.6rem 0.7rem;
}

.inv-sum-l {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
}

.inv-sum-v {
  display: block;
  font-family: var(--font-en);
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--ink);
  margin-top: 0.15rem;
  white-space: nowrap;
}

.inv-table {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.inv-tr {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 0.4rem;
  padding: 0.5rem 0.7rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.inv-tr:last-child {
  border-bottom: none;
}

.inv-tr > span:not(:first-child) {
  text-align: center;
}

.inv-th {
  background: var(--surface-soft);
  color: var(--muted);
  font-weight: 600;
}

/* 更多系统面板 */
.more-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.more-chip {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 0.55rem 0.3rem;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease),
    background var(--dur) var(--ease);
}

.more-chip:hover {
  color: var(--brand);
  border-color: var(--brand);
  background: var(--brand-soft);
}

.more-note {
  margin-top: 0.9rem;
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
}

/* Stats 数据条 */
.stats-bar {
  position: relative;
  margin-top: clamp(3rem, 5vw, 4.5rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: clamp(1.5rem, 3vw, 2.2rem) 0;
}

.stat {
  text-align: center;
  padding: 0.4rem 1rem;
  position: relative;
}

.stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: var(--line);
}

.stat-value {
  display: block;
  font-family: var(--font-en);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--brand-deep);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 0.35rem;
}

/* ---------- 段头 ---------- */
.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto clamp(2.5rem, 4vw, 3.5rem);
}

.section-head.is-left {
  text-align: left;
  margin-left: 0;
}

.section-kicker {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.9rem;
}

.section-title {
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  font-weight: 750;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 0.9rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.75;
}

.section-sub b {
  color: var(--brand-deep);
  font-weight: 600;
}

.section-head.is-light .section-title {
  color: var(--dark-text);
}

.section-head.is-light .section-sub {
  color: var(--dark-muted);
}

/* ---------- 服务（两大支柱） ---------- */
.service-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.pillar {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 2.6vw, 2.2rem);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--brand-soft-2);
}

.pillar-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.3rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
}

.pillar-icon {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 14px;
}

.pillar-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.2rem;
}

.pillar-desc {
  font-size: 0.92rem;
  color: var(--muted);
}

.pillar-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.pillar-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--surface-soft);
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
}

.pillar-check {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #fff;
  background: var(--brand);
  border-radius: 50%;
  font-size: 0.6rem;
}

.pillar-check::before {
  content: "✓";
}

/* 服务卡片栅格 */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--brand-soft), transparent 60%);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--brand-soft-2);
}

.card:hover::after {
  opacity: 0.5;
}

.card-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 13px;
  margin-bottom: 1.1rem;
}

.card-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.card-text {
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.68;
}

/* ---------- 核心优势（深色区） ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.feature {
  background: var(--dark-surface);
  border: 1px solid var(--dark-line);
  border-radius: var(--radius);
  padding: 1.7rem 1.4rem;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.feature:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(79, 91, 255, 0.45);
}

.feature-num {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.feature-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 0.5rem;
}

.feature-text {
  font-size: 0.92rem;
  color: var(--dark-muted);
  line-height: 1.68;
}

/* ---------- 服务流程 ---------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}

.process-step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.3rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.process-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.process-index {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  border-radius: 12px;
  margin-bottom: 1.1rem;
  box-shadow: 0 8px 18px rgba(79, 91, 255, 0.3);
}

.process-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.process-text {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.62;
}

/* ---------- 关于我们 ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.about-copy .section-head {
  margin-bottom: 1.5rem;
}

.about-lead {
  font-size: 1.1rem;
  color: var(--ink);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-lead b,
.about-text b {
  color: var(--brand-deep);
  font-weight: 600;
}

.about-text {
  font-size: 0.98rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.6rem;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tag {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand-deep);
  background: var(--brand-soft);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
}

.about-visual {
  position: relative;
}

.about-card {
  position: relative;
  background: linear-gradient(160deg, var(--dark-bg-2), var(--dark-bg));
  color: var(--dark-text);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.about-card::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(79, 91, 255, 0.5), transparent);
  filter: blur(6px);
}

.about-card-label {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.4rem;
}

.about-quote {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  font-weight: 700;
  line-height: 1.5;
  color: var(--dark-text);
  letter-spacing: -0.01em;
}

.about-card-footer {
  display: block;
  margin-top: 1.6rem;
  font-size: 0.9rem;
  color: var(--dark-muted);
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--dark-bg);
  color: var(--dark-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-top: clamp(3rem, 6vw, 4.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.footer-brand .brand-name {
  color: var(--dark-text);
}

.footer-brand .brand-sub {
  color: var(--dark-muted);
}

.footer-desc {
  margin-top: 1rem;
  font-size: 0.92rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 1.1rem;
  letter-spacing: 0.02em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a,
.footer-links li {
  font-size: 0.92rem;
  color: var(--dark-muted);
  transition: color var(--dur) var(--ease);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--dark-line);
  padding: 1.4rem 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--dark-muted);
}

.footer-icp a {
  color: var(--dark-muted);
  transition: color var(--dur) var(--ease);
}

.footer-icp a:hover {
  color: var(--accent);
}

/* ---------- 返回顶部 ---------- */
.back-to-top {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 90;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--brand);
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(79, 91, 255, 0.4);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease),
    background var(--dur) var(--ease);
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--brand-deep);
}

/* ---------- 滚动渐显 ----------
   仅当 JS 可用（html.js）时才隐藏内容做渐显，避免无 JS 时内容不可见 */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =========================================================================
   响应式
   ========================================================================= */
@media (max-width: 1080px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-copy {
    max-width: 680px;
  }
  .hero-showcase {
    max-width: 640px;
    margin-inline: auto;
  }
  .process-steps {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 860px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-pillars {
    grid-template-columns: 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  /* 移动端导航 */
  .nav-toggle {
    display: flex;
  }
  .nav-actions .btn {
    display: none;
  }
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    background: rgba(247, 249, 252, 0.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    padding: 0.8rem var(--gutter) 1.2rem;
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
    box-shadow: 0 20px 40px rgba(12, 20, 32, 0.08);
  }
  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-link {
    padding: 0.85rem 1rem;
    font-size: 1rem;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem 0;
  }
  .stat:nth-child(2)::after {
    display: none;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero h1 .hero-line {
    white-space: normal;
  }

  .showcase-body {
    grid-template-columns: 1fr;
    height: 360px;
  }
  .showcase-side {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .showcase-side-item {
    flex: 1;
    min-width: 0;
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .card-grid,
  .feature-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }
  .more-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
  .brand-sub {
    display: none;
  }
  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
