/* ============================================================
   Boozee AI — 主样式表  v2.0
   AI营销科技 · 制造业 & 电商
   ============================================================ */

/* ── 设计令牌 ─────────────────────────────────────────────── */
:root {
  /* 主色系 */
  --brand-900: #0c1445;
  --brand-800: #0f1f6e;
  --brand-700: #1a3299;
  --brand-600: #2248c8;
  --brand-500: #2e5ce0;
  --brand-400: #4f79f0;
  --brand-300: #7ba1f7;
  --brand-100: #ddeaff;
  --brand-50:  #f0f5ff;

  /* 强调色 — 活力橙 */
  --accent-600: #c2400a;
  --accent-500: #ea580c;
  --accent-400: #f97316;
  --accent-300: #fb923c;
  --accent-100: #ffedd5;

  /* 中性色 */
  --gray-950: #050a14;
  --gray-900: #0f172a;
  --gray-800: #1e293b;
  --gray-700: #334155;
  --gray-600: #475569;
  --gray-500: #64748b;
  --gray-400: #94a3b8;
  --gray-300: #cbd5e1;
  --gray-200: #e2e8f0;
  --gray-100: #f1f5f9;
  --gray-50:  #f8fafc;
  --white:    #ffffff;

  /* 成功/警告 */
  --green-500: #22c55e;
  --green-100: #dcfce7;

  /* 语义变量 */
  --text-primary:   var(--gray-900);
  --text-secondary: var(--gray-600);
  --text-muted:     var(--gray-400);
  --border-color:   var(--gray-200);
  --surface-base:   var(--white);
  --surface-muted:  var(--gray-50);
  --surface-dark:   var(--gray-900);

  /* 字体 */
  --font-sans: "Inter", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", "Consolas", monospace;

  /* 字号 */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;

  /* 间距 */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* 圆角 */
  --radius-sm:  0.375rem;
  --radius-md:  0.5rem;
  --radius-lg:  0.75rem;
  --radius-xl:  1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* 阴影 */
  --shadow-sm:  0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.04);
  --shadow-lg:  0 10px 40px rgba(0,0,0,.10), 0 4px 12px rgba(0,0,0,.06);
  --shadow-xl:  0 20px 60px rgba(0,0,0,.14);
  --shadow-brand: 0 8px 32px rgba(46,92,224,.25);

  /* 动效 */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 150ms;
  --duration-base: 250ms;
  --duration-slow: 400ms;

  /* 布局 */
  --container-max: 1200px;
  --header-h: 68px;
}

/* ── 重置 ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--surface-base);
  min-height: 100vh;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: var(--brand-600); text-decoration: none; }
a:hover { color: var(--brand-500); }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ── 容器 ──────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

/* ── 页眉 ──────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,.07);
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
}

.site-header .container.inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

/* 品牌 */
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--gray-900);
  font-weight: 700;
  font-size: var(--text-lg);
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
  transition: opacity var(--duration-base);
}
.brand:hover { opacity: .85; color: var(--gray-900); }

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--brand-600) 0%, var(--brand-800) 100%);
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 800;
  letter-spacing: -.5px;
  flex-shrink: 0;
}

.brand-tagline {
  display: block;
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: .5px;
}

/* 桌面导航 */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  margin-left: auto;
}

.nav-item { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius-md);
  white-space: nowrap;
  transition: color var(--duration-fast), background var(--duration-fast);
  text-decoration: none;
}
.nav-link:hover,
.nav-link.is-active { color: var(--brand-600); background: var(--brand-50); }

.caret {
  display: inline-block;
  width: 10px;
  height: 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2364748b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  transition: transform var(--duration-fast);
  flex-shrink: 0;
}
.nav-item.open .caret { transform: rotate(180deg); }

/* 下拉菜单 */
.submenu {
  position: absolute;
  top: 100%;           /* 紧贴导航链接底部，消除悬停间隙 */
  left: 0;
  min-width: 200px;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 10px var(--space-2) var(--space-2); /* 顶部 10px padding 替代 gap，视觉上保留间距 */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all var(--duration-base) var(--ease-out);
  pointer-events: none;
}
/* 额外的透明覆盖层，防止鼠标在 nav-link 和第一个菜单项之间的 padding 区域滑出 */
.submenu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 0;
  right: 0;
  height: 6px;
}
.nav-item.open .submenu,
.nav-item:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  transition-delay: 0ms;
}
/* 关闭时加 80ms 延迟，给鼠标从导航链接移向菜单留出缓冲 */
.submenu {
  transition-delay: 80ms;
}
.nav-item:hover .submenu,
.nav-item.open .submenu {
  transition-delay: 0ms;
}
.submenu li a {
  display: block;
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  color: var(--gray-700);
  border-radius: var(--radius-md);
  transition: background var(--duration-fast), color var(--duration-fast);
  text-decoration: none;
}
.submenu li a:hover,
.submenu li a.is-active { background: var(--brand-50); color: var(--brand-600); }

/* 汉堡按钮 */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--space-2);
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: transform var(--duration-base), opacity var(--duration-base);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 移动端导航 */
.nav-mobile {
  position: fixed;
  inset: var(--header-h) 0 0;
  background: var(--white);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--duration-slow) var(--ease-out);
  z-index: 99;
  padding: var(--space-4) var(--space-6) var(--space-8);
  border-top: 1px solid var(--border-color);
}
.nav-mobile.open { transform: translateX(0); }
.nav-mobile[hidden] { display: block !important; transform: translateX(100%); }

.m-single { border-bottom: 1px solid var(--border-color); }
.m-single a, .m-group-title {
  display: block;
  padding: var(--space-4) 0;
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--gray-800);
  text-decoration: none;
}
.m-group { border-bottom: 1px solid var(--border-color); }
.m-group-title {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
}
.m-sub { display: none; padding: 0 0 var(--space-2) var(--space-4); }
.m-group.expanded .m-sub { display: block; }
.m-sub li a {
  display: block;
  padding: var(--space-2) 0;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  text-decoration: none;
}
.m-sub li a:hover { color: var(--brand-600); }

@media (max-width: 960px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }
}

/* ── 按钮 ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.625rem 1.5rem;
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--duration-base) var(--ease-out);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1.4;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-500) 0%, var(--brand-700) 100%);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(46,92,224,.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(46,92,224,.45);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--brand-600);
  border-color: var(--brand-300);
}
.btn-secondary:hover {
  background: var(--brand-50);
  border-color: var(--brand-500);
  transform: translateY(-1px);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent-400) 0%, var(--accent-600) 100%);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(249,115,22,.35);
}
.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(249,115,22,.45);
  color: var(--white);
}

.btn-ghost {
  background: rgba(255,255,255,.12);
  color: var(--white);
  border-color: rgba(255,255,255,.3);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.22);
  border-color: rgba(255,255,255,.6);
  color: var(--white);
}

.btn--lg { padding: 0.875rem 2rem; font-size: var(--text-base); }
.btn--sm { padding: 0.375rem 1rem; font-size: var(--text-xs); }

/* CTA 行 */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
}
.cta-row--center { justify-content: center; }

/* ── 通用工具 ──────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--brand-600);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

.tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .5px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: var(--brand-50);
  color: var(--brand-600);
  border: 1px solid var(--brand-100);
  margin-bottom: var(--space-3);
}

.tag--accent {
  background: var(--accent-100);
  color: var(--accent-600);
  border-color: transparent;
}

.tag--green {
  background: var(--green-100);
  color: #166534;
  border-color: transparent;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── Section 通用 ──────────────────────────────────────────── */
.section {
  padding: var(--space-24) 0;
}
.section--sm { padding: var(--space-16) 0; }
.section--lg { padding: 7rem 0; }
.section--dark {
  background: var(--gray-900);
  color: var(--white);
}
.section--surface { background: var(--surface-muted); }
.section--gradient {
  background: linear-gradient(160deg, var(--brand-800) 0%, var(--brand-900) 50%, var(--gray-950) 100%);
  color: var(--white);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-16);
}
.section-title {
  font-size: var(--text-4xl);
  font-weight: 800;
  line-height: 1.2;
  color: var(--gray-900);
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}
.section-title--white { color: var(--white); }
.section-desc {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.7;
}
.section-desc--white { color: rgba(255,255,255,.75); }
.section-desc--narrow { max-width: 600px; margin-inline: auto; }

/* ── 首页 Hero ──────────────────────────────────────────────── */
.home-hero {
  position: relative;
  padding: 7rem 0 5rem;
  background: linear-gradient(155deg, var(--brand-900) 0%, #0a1545 35%, #12073d 65%, var(--gray-950) 100%);
  overflow: hidden;
}

/* 背景装饰 */
.home-hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(46,92,224,.25) 0%, transparent 70%);
  pointer-events: none;
}
.home-hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(249,115,22,.15) 0%, transparent 70%);
  pointer-events: none;
}

/* 网格背景 */
.home-hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.home-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: var(--space-16);
  align-items: center;
}

.home-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 16px;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--brand-300);
  background: rgba(46,92,224,.15);
  border: 1px solid rgba(46,92,224,.3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
}
.home-hero__badge-dot {
  width: 6px;
  height: 6px;
  background: var(--green-500);
  border-radius: var(--radius-full);
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: .3; }
}

.home-hero__title {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-6);
}
.home-hero__title-accent {
  display: block;
  background: linear-gradient(90deg, var(--accent-300) 0%, var(--brand-300) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.home-hero__subtitle {
  font-size: var(--text-xl);
  color: rgba(255,255,255,.7);
  line-height: 1.6;
  margin-bottom: var(--space-10);
  max-width: 540px;
}

.home-hero__metrics {
  display: flex;
  gap: var(--space-8);
  flex-wrap: wrap;
  margin-top: var(--space-10);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255,255,255,.1);
}
.home-hero__metric-value {
  display: block;
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: var(--space-1);
}
.home-hero__metric-label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,.5);
  letter-spacing: .5px;
}

/* Hero 右侧数据面板 */
.hero-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  backdrop-filter: blur(16px);
}
.hero-card__title {
  font-size: var(--text-xs);
  font-weight: 600;
  color: rgba(255,255,255,.5);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.hero-card__title::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--green-500);
  border-radius: var(--radius-full);
  animation: pulse-dot 2s ease infinite;
}
.hero-card__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-3) 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: var(--text-sm);
}
.hero-card__row:last-child { border-bottom: none; }
.hero-card__key { color: rgba(255,255,255,.5); }
.hero-card__val { color: var(--white); font-weight: 600; }
.hero-card__val--green { color: var(--green-500); }
.hero-card__val--orange { color: var(--accent-300); }
.hero-card__val--blue { color: var(--brand-300); }

.hero-progress {
  margin-top: var(--space-5);
}
.hero-progress__item { margin-bottom: var(--space-4); }
.hero-progress__label {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-xs);
  color: rgba(255,255,255,.5);
  margin-bottom: var(--space-2);
}
.hero-progress__bar {
  height: 6px;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.hero-progress__fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--brand-400), var(--brand-300));
}
.hero-progress__fill--orange {
  background: linear-gradient(90deg, var(--accent-500), var(--accent-300));
}

/* ── 卡片网格 ──────────────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-6);
}
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: transform var(--duration-base) var(--ease-out), box-shadow var(--duration-base);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-200, #bfcfff);
}
.card h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--space-3);
  line-height: 1.3;
}
.card p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* 卡片图标 */
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  font-size: 1.5rem;
  background: var(--brand-50);
  color: var(--brand-600);
  flex-shrink: 0;
}
.card-icon--orange { background: var(--accent-100); color: var(--accent-600); }
.card-icon--green  { background: var(--green-100); color: #166534; }

/* 特性卡 */
.feature-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
  transition: all var(--duration-base);
}
.feature-card:hover { box-shadow: var(--shadow-md); border-color: var(--brand-200, #bfcfff); }
.feature-card__body { flex: 1; }
.feature-card__title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--space-2);
}
.feature-card__desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── 统计数字条 ──────────────────────────────────────────────── */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  padding: var(--space-10) var(--space-8);
  background: var(--white);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}
.stat-strip__item { text-align: center; }
.stat-strip__num {
  font-size: var(--text-4xl);
  font-weight: 900;
  color: var(--brand-600);
  line-height: 1;
  margin-bottom: var(--space-2);
  letter-spacing: -0.02em;
}
.stat-strip__unit {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.4;
}

/* 暗色统计 */
.stat-strip--dark {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.08);
  box-shadow: none;
}
.stat-strip--dark .stat-strip__num { color: var(--white); }
.stat-strip--dark .stat-strip__unit { color: rgba(255,255,255,.5); }

/* ── 两列布局 ──────────────────────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.two-col--reverse > :first-child { order: 2; }
.two-col--reverse > :last-child { order: 1; }

/* ── 三列支柱 ──────────────────────────────────────────────── */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.pillar-card {
  background: var(--surface-muted);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--duration-base);
}
.pillar-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-200, #bfcfff);
  transform: translateY(-2px);
}
.pillar-card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--space-3);
}
.pillar-card p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── CTA 横幅 ──────────────────────────────────────────────── */
.cta-band {
  padding: var(--space-24) 0;
  background: linear-gradient(135deg, var(--brand-700) 0%, var(--brand-900) 60%, var(--gray-950) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(249,115,22,.12) 0%, transparent 60%);
  pointer-events: none;
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 {
  font-size: var(--text-4xl);
  font-weight: 900;
  color: var(--white);
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}
.cta-band p {
  font-size: var(--text-lg);
  color: rgba(255,255,255,.7);
  max-width: 640px;
  margin: 0 auto var(--space-10);
  line-height: 1.7;
}

/* ── 页面 Hero（内页） ─────────────────────────────────────── */
.page-hero {
  padding: var(--space-20) 0 var(--space-16);
  background: linear-gradient(160deg, var(--brand-900) 0%, #0d1a5a 50%, var(--gray-950) 100%);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--white));
  pointer-events: none;
}
.page-hero .eyebrow { background: rgba(46,92,224,.2); border-color: rgba(46,92,224,.4); color: var(--brand-300); }
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: var(--space-5);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.page-hero .lead {
  font-size: var(--text-lg);
  color: rgba(255,255,255,.7);
  max-width: 720px;
  line-height: 1.7;
}
.page-hero .lead strong { color: var(--white); }

/* ── 内容块 ────────────────────────────────────────────────── */
.content-block {
  padding: var(--space-20) 0;
}
.content-block--surface { background: var(--surface-muted); }
.content-block--dark {
  background: var(--gray-900);
  color: var(--white);
}

/* ── 文章排版 ──────────────────────────────────────────────── */
.prose h2 {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--gray-900);
  margin: var(--space-10) 0 var(--space-4);
  line-height: 1.3;
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--brand-50);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--gray-800);
  margin: var(--space-6) 0 var(--space-3);
}
.prose p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-4);
}
.prose ul, .prose ol {
  margin: var(--space-4) 0;
  padding-left: var(--space-6);
}
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-2);
}
.prose li::marker { color: var(--brand-500); }
.prose strong { color: var(--gray-800); font-weight: 700; }
.prose a { color: var(--brand-600); text-decoration: underline; text-decoration-color: transparent; }
.prose a:hover { text-decoration-color: var(--brand-600); }
.prose code {
  font-family: var(--font-mono);
  font-size: .875em;
  background: var(--brand-50);
  color: var(--brand-700);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}

/* ── 时间线 ────────────────────────────────────────────────── */
.timeline {
  position: relative;
  padding-left: var(--space-10);
}
.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: linear-gradient(to bottom, var(--brand-500), var(--brand-200));
}
.timeline__item {
  position: relative;
  margin-bottom: var(--space-12);
}
.timeline__item::before {
  content: '';
  position: absolute;
  left: -2.625rem;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: var(--radius-full);
  background: var(--brand-500);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--brand-100);
}
.timeline__year {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--brand-600);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  display: inline-block;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
}
.timeline__item h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--space-2);
}
.timeline__item p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── 表格 ──────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border-radius: var(--radius-xl); border: 1px solid var(--border-color); }
.table-like {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}
.table-like thead { background: var(--surface-muted); }
.table-like th {
  padding: var(--space-4) var(--space-5);
  text-align: left;
  font-weight: 700;
  color: var(--gray-700);
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}
.table-like td {
  padding: var(--space-4) var(--space-5);
  color: var(--text-secondary);
  border-bottom: 1px solid var(--gray-100);
  vertical-align: top;
}
.table-like tr:last-child td { border-bottom: none; }
.table-like tr:hover td { background: var(--brand-50); }

/* ── FAQ ───────────────────────────────────────────────────── */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-3);
  overflow: hidden;
  transition: box-shadow var(--duration-base);
}
.faq-item:hover { box-shadow: var(--shadow-sm); }
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-5) var(--space-6);
  font-weight: 600;
  color: var(--gray-800);
  cursor: pointer;
  list-style: none;
  gap: var(--space-4);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: var(--text-xl);
  color: var(--brand-500);
  flex-shrink: 0;
  transition: transform var(--duration-fast);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 var(--space-6) var(--space-5);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── 步骤流程 ──────────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 14px);
  right: calc(12.5% + 14px);
  height: 2px;
  background: linear-gradient(90deg, var(--brand-200), var(--brand-100));
  z-index: 0;
}
.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  color: var(--white);
  font-weight: 800;
  font-size: var(--text-xl);
  border-radius: var(--radius-full);
  margin: 0 auto var(--space-5);
  box-shadow: var(--shadow-brand);
}
.step-card h3 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--space-2);
}
.step-card p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── 新闻卡片 ──────────────────────────────────────────────── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.news-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--duration-base);
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.news-card__thumb {
  height: 180px;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-900));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.3);
  font-size: 3rem;
}
.news-card__body { padding: var(--space-6); }
.news-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  font-size: var(--text-xs);
  color: var(--text-muted);
}
.news-card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--space-3);
  line-height: 1.4;
}
.news-card p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

/* ── 联系表单 ──────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-16);
  align-items: start;
}
.contact-info h2 {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: var(--space-4);
}
.contact-info p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-8);
}
.contact-item {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  align-items: flex-start;
}
.contact-item__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  background: var(--brand-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.contact-item__label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--text-muted);
  margin-bottom: var(--space-1);
}
.contact-item__value {
  font-size: var(--text-base);
  color: var(--gray-800);
  font-weight: 500;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  box-shadow: var(--shadow-md);
}
.form-group { margin-bottom: var(--space-5); }
.form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: var(--space-2);
}
.form-control {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  font-family: var(--font-sans);
  color: var(--gray-800);
  background: var(--surface-muted);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  outline: none;
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
  appearance: none;
}
.form-control:focus {
  border-color: var(--brand-400);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(46,92,224,.1);
}
textarea.form-control { resize: vertical; min-height: 120px; }

/* ── 案例卡 ────────────────────────────────────────────────── */
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
}
.case-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  transition: all var(--duration-base);
}
.case-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.case-card__industry {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--accent-600);
  margin-bottom: var(--space-3);
}
.case-card h3 {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: var(--space-3);
  line-height: 1.3;
}
.case-card__desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}
.case-metrics {
  display: flex;
  gap: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border-color);
}
.case-metric__val {
  font-size: var(--text-2xl);
  font-weight: 900;
  color: var(--brand-600);
  line-height: 1;
  margin-bottom: var(--space-1);
}
.case-metric__val--orange { color: var(--accent-500); }
.case-metric__label { font-size: var(--text-xs); color: var(--text-muted); }

/* ── 徽章列表 ──────────────────────────────────────────────── */
.badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--gray-100);
  color: var(--gray-700);
  border: 1px solid var(--gray-200);
}
.badge--brand { background: var(--brand-50); color: var(--brand-600); border-color: var(--brand-100); }
.badge--check::before {
  content: '✓';
  color: var(--green-500);
  font-weight: 800;
}

/* ── 优势对比块 ──────────────────────────────────────────────── */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}
.compare-col {
  padding: var(--space-8);
  border-radius: var(--radius-xl);
}
.compare-col--before {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
}
.compare-col--after {
  background: linear-gradient(135deg, var(--brand-50) 0%, #e6f0ff 100%);
  border: 2px solid var(--brand-200, #bfcfff);
}
.compare-col__title {
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-6);
}
.compare-col--before .compare-col__title { color: var(--gray-500); }
.compare-col--after .compare-col__title { color: var(--brand-600); }
.compare-item {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  align-items: flex-start;
}
.compare-item__icon { flex-shrink: 0; font-size: 1rem; margin-top: 1px; }

/* ── 页脚 ──────────────────────────────────────────────────── */
.site-footer {
  background: var(--gray-900);
  color: var(--white);
  padding-top: var(--space-20);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-10);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.footer-brand .brand { color: var(--white); margin-bottom: var(--space-4); }
.footer-brand .brand-mark { background: linear-gradient(135deg, var(--brand-500), var(--brand-700)); }
.footer-brand .brand-tagline { color: rgba(255,255,255,.4); }
.footer-brand p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.45);
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,.5);
  margin-bottom: var(--space-5);
}
.footer-col ul li { margin-bottom: var(--space-3); }
.footer-col ul li a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: color var(--duration-fast);
}
.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-6) 0;
  font-size: var(--text-sm);
  color: rgba(255,255,255,.35);
}
.footer-bottom__links {
  display: flex;
  gap: var(--space-6);
}
.footer-bottom__links a {
  color: rgba(255,255,255,.35);
  text-decoration: none;
  transition: color var(--duration-fast);
}
.footer-bottom__links a:hover { color: rgba(255,255,255,.7); }

/* ── 返回顶部 ──────────────────────────────────────────────── */
.back-top {
  position: fixed;
  right: var(--space-6);
  bottom: var(--space-8);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--brand-600), var(--brand-800));
  color: var(--white);
  border: none;
  box-shadow: 0 4px 20px rgba(46,92,224,.4);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: all var(--duration-base) var(--ease-out);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
}
.back-top::before {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2.5px solid #fff;
  border-left: 2.5px solid #fff;
  transform: rotate(45deg) translate(2px, 2px);
}
.back-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-top:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(46,92,224,.5); }

/* ── 滚动动效 ──────────────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--duration-slow) var(--ease-out), transform var(--duration-slow) var(--ease-out);
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── 分割高亮块 ──────────────────────────────────────────────── */
.split-highlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

/* ── 高亮引用块 ──────────────────────────────────────────────── */
.callout {
  padding: var(--space-6) var(--space-8);
  border-left: 4px solid var(--brand-500);
  background: var(--brand-50);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  font-size: var(--text-base);
  color: var(--gray-700);
  line-height: 1.7;
  margin: var(--space-6) 0;
}
.callout--orange {
  border-left-color: var(--accent-400);
  background: var(--accent-100);
  color: var(--accent-600);
}

/* ── 产品特性列表 ──────────────────────────────────────────── */
.check-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3) var(--space-6);
}
.check-list li {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  font-size: var(--text-sm);
  color: var(--text-secondary);
}
.check-list li::before {
  content: '✓';
  color: var(--green-500);
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── 伙伴 Logo 区 ──────────────────────────────────────────── */
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
}
.logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-6);
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gray-600);
  min-width: 120px;
  transition: all var(--duration-fast);
}
.logo-badge:hover { border-color: var(--brand-300); color: var(--brand-600); box-shadow: var(--shadow-sm); }

/* ── 响应式断点 ────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .home-hero__inner { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .card-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }
  
  .section { padding: var(--space-16) 0; }
  .section--lg { padding: var(--space-20) 0; }
  .cta-band { padding: var(--space-16) 0; }
  
  .home-hero { padding: 5rem 0 4rem; }
  .home-hero__title { font-size: 2.5rem; }
  
  .section-title { font-size: var(--text-3xl); }
  .page-hero h1 { font-size: 2rem; }
  
  .two-col { grid-template-columns: 1fr; gap: var(--space-10); }
  .two-col--reverse > :first-child { order: unset; }
  .two-col--reverse > :last-child { order: unset; }
  .pillar-grid { grid-template-columns: 1fr; }
  .card-grid--3 { grid-template-columns: 1fr; }
  .card-grid--2 { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
  .check-list { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .split-highlight { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  
  .stat-strip { grid-template-columns: repeat(2, 1fr); padding: var(--space-6); }
  
  .cta-band h2 { font-size: var(--text-3xl); }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { justify-content: center; }
  
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: var(--space-4); text-align: center; }
  
  .table-like { font-size: var(--text-xs); }
  
  .home-hero__metrics { gap: var(--space-6); }
  
  .form-card { padding: var(--space-6); }
}

@media (max-width: 480px) {
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .home-hero__title { font-size: 2rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand p { max-width: 100%; }
  .logo-strip { gap: var(--space-3); }
  .logo-badge { min-width: auto; flex: 1 1 100px; }
}

/* ── 减少动效 ──────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
