/* ══════════════════════════════════════════════════════════════
   星刷题官网 · 设计系统
   极简 + 玻璃拟态；品牌蓝为唯一强调色，其余保持中性低饱和。
   对比度全部满足 WCAG 2.1 AA（正文 ≥ 4.5:1），正文行高 ≥ 1.7。
   ══════════════════════════════════════════════════════════════ */

/* ── 1. 设计令牌 ── */
:root {
  /* 品牌 */
  --brand: #2e6fe6;
  --brand-strong: #1f57c2;
  /* 正文级品牌蓝：用于链接等小字号文字，与浅背景对比度 ≥ 4.5:1（--brand 本身仅用于色块/渐变/大字号） */
  --brand-ink: #2456b8;
  --brand-soft: #e8f0ff;
  --brand-line: rgba(46, 111, 230, 0.25);
  --brand-glow: rgba(46, 111, 230, 0.28);
  --mint: #15684a;
  --mint-soft: rgba(21, 104, 74, 0.12);
  --amber: #a2652a;
  --amber-soft: rgba(162, 101, 42, 0.12);

  /* 中性 */
  --bg: #f5f8fd;
  --bg-deep: #eef3fa;
  --surface: #ffffff;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-strong: rgba(255, 255, 255, 0.88);
  --glass-line: rgba(255, 255, 255, 0.6);
  --line: rgba(24, 52, 92, 0.1);
  --line-strong: rgba(24, 52, 92, 0.18);

  --ink: #101b2d;
  --ink-2: #3b4a61;
  --ink-3: #5d6c82;
  --ink-invert: #ffffff;

  --page-gradient:
    radial-gradient(900px 520px at 8% -6%, rgba(46, 111, 230, 0.14), transparent 60%),
    radial-gradient(760px 460px at 96% 4%, rgba(31, 138, 99, 0.1), transparent 58%),
    linear-gradient(180deg, #fbfdff 0%, #f4f8fd 46%, #f0f5fc 100%);

  /* 阴影 —— 统一蓝调、低强度，避免脏灰 */
  --sh-xs: 0 2px 8px rgba(19, 45, 84, 0.05);
  --sh-sm: 0 8px 22px rgba(19, 45, 84, 0.07);
  --sh-md: 0 16px 40px rgba(19, 45, 84, 0.09);
  --sh-lg: 0 28px 64px rgba(19, 45, 84, 0.12);
  --sh-brand: 0 14px 30px rgba(46, 111, 230, 0.28);

  /* 尺寸 */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --radius-pill: 999px;
  --container: 1180px;
  --header-h: 68px;

  /* 字体 */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", sans-serif;
  --font-num: "SF Mono", "Cascadia Mono", "Consolas", var(--font);

  /* 动效 */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 0.32s;
  --dur-slow: 0.6s;
}

/* 深色模式：跟随系统，保持同一套语义令牌 */
@media (prefers-color-scheme: dark) {
  :root {
    --brand: #6b9dff;
    --brand-strong: #8fb6ff;
    --brand-ink: #8fb6ff;
    --brand-soft: rgba(107, 157, 255, 0.14);
    --brand-line: rgba(107, 157, 255, 0.28);
    --brand-glow: rgba(80, 130, 235, 0.32);
    --mint: #5ec99b;
    --mint-soft: rgba(94, 201, 155, 0.14);
    --amber: #dda76a;
    --amber-soft: rgba(221, 167, 106, 0.14);

    --bg: #0a1120;
    --bg-deep: #070d18;
    --surface: #121c2e;
    --glass: rgba(24, 35, 54, 0.72);
    --glass-strong: rgba(28, 40, 62, 0.9);
    --glass-line: rgba(255, 255, 255, 0.08);
    --line: rgba(255, 255, 255, 0.1);
    --line-strong: rgba(255, 255, 255, 0.18);

    --ink: #eef3fb;
    --ink-2: #c2cde0;
    --ink-3: #97a5bd;
    --ink-invert: #0a1120;

    --page-gradient:
      radial-gradient(900px 520px at 8% -6%, rgba(60, 110, 220, 0.22), transparent 60%),
      radial-gradient(760px 460px at 96% 4%, rgba(40, 150, 115, 0.14), transparent 58%),
      linear-gradient(180deg, #0d1626 0%, #0a1120 50%, #080e1a 100%);

    --sh-xs: 0 2px 8px rgba(0, 0, 0, 0.3);
    --sh-sm: 0 8px 22px rgba(0, 0, 0, 0.35);
    --sh-md: 0 16px 40px rgba(0, 0, 0, 0.42);
    --sh-lg: 0 28px 64px rgba(0, 0, 0, 0.5);
    --sh-brand: 0 14px 30px rgba(60, 110, 220, 0.34);
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  color: var(--ink-2);
  background: var(--bg);
  background-image: var(--page-gradient);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  color: var(--ink);
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 1.45rem + 2.4vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.15rem); }
h3 { font-size: 1.16rem; }
h4 { font-size: 1rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand-ink); text-decoration: none; transition: color var(--dur) var(--ease-soft); }
a:hover { color: var(--brand-strong); }

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

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

strong { color: var(--ink); font-weight: 650; }

::selection { background: var(--brand-glow); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 50%;
  top: -60px;
  transform: translateX(-50%);
  z-index: 200;
  padding: 10px 20px;
  background: var(--brand);
  color: #fff;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }

.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;
}

/* ── 3. 布局 ── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: clamp(64px, 8vw, 110px) 0; position: relative; }
.section--tight { padding: clamp(48px, 5vw, 72px) 0; }
.section--tint { background: linear-gradient(180deg, transparent, rgba(46, 111, 230, 0.045), transparent); }

.section-head { max-width: 720px; margin: 0 auto clamp(36px, 4vw, 56px); text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }
.section-head h2 { margin-bottom: 14px; }
.section-head .lead { margin: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 6px 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--brand-strong);
  background: var(--brand-soft);
  border: 1px solid var(--brand-line);
  border-radius: var(--radius-pill);
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.lead { font-size: 1.0625rem; color: var(--ink-3); }
.text-center { text-align: center; }

.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }

/* 玻璃卡片 */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--sh-sm);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}
@supports not ((backdrop-filter: blur(4px)) or (-webkit-backdrop-filter: blur(4px))) {
  .glass { background: var(--glass-strong); }
}

/* ── 4. 顶部导航 ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.66);
  border-bottom: 1px solid transparent;
  transition: background var(--dur) var(--ease-soft), border-color var(--dur) var(--ease-soft),
    box-shadow var(--dur) var(--ease-soft);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
}
@media (prefers-color-scheme: dark) {
  .site-header { background: rgba(12, 20, 34, 0.72); }
}
@supports not ((backdrop-filter: blur(4px)) or (-webkit-backdrop-filter: blur(4px))) {
  .site-header { background: var(--surface); }
}
.site-header.is-scrolled {
  background: var(--glass-strong);
  border-bottom-color: var(--line);
  box-shadow: var(--sh-xs);
}

.site-header .container { display: flex; align-items: center; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; flex: none; }
.brand:hover { color: var(--ink); }
/* 品牌标记：应用图标（星刷题_harmonyos_1024.png 缩放的圆角透明底图标） */
.brand-mark {
  width: 34px; height: 34px;
  background: url('../img/logo.png') center / contain no-repeat;
}
.brand-mark svg { display: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-size: 1.0625rem; letter-spacing: 0.02em; }
.brand-tag { font-size: 0.6875rem; font-weight: 500; color: var(--ink-3); letter-spacing: 0.04em; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  position: relative;
  padding: 8px 14px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: var(--radius-pill);
  transition: color var(--dur) var(--ease-soft), background var(--dur) var(--ease-soft);
}
.nav a:hover { color: var(--ink); background: rgba(46, 111, 230, 0.07); }
.nav a[aria-current="page"] { color: var(--brand-strong); background: var(--brand-soft); }

.header-cta { display: flex; align-items: center; gap: 10px; flex: none; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--glass);
  color: var(--ink);
  cursor: pointer;
  place-items: center;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  margin: 3px 0;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease-soft);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.nav--mobile { display: none; }

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(10, 20, 36, 0.4);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease-soft), visibility var(--dur) var(--ease-soft);
}
body.nav-open .nav-backdrop { opacity: 1; visibility: visible; }

/* ── 5. 按钮 ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease-soft),
    background var(--dur) var(--ease-soft), color var(--dur) var(--ease-soft),
    border-color var(--dur) var(--ease-soft);
}
.btn svg { width: 17px; height: 17px; fill: currentColor; flex: none; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: var(--sh-brand); }
.btn--primary:hover { background: var(--brand-strong); color: #fff; transform: translateY(-2px); }
.btn--ghost {
  background: var(--glass);
  border-color: var(--line-strong);
  color: var(--ink);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover { color: var(--ink); border-color: var(--brand); background: var(--brand-soft); transform: translateY(-2px); }
.btn--sm { padding: 9px 16px; font-size: 0.875rem; }
.btn--lg { padding: 15px 30px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9375rem;
}
.link-more svg { width: 15px; height: 15px; fill: currentColor; transition: transform var(--dur) var(--ease); }
.link-more:hover svg { transform: translateX(4px); }

/* ── 6. 首屏 ── */
.hero {
  position: relative;
  padding: clamp(48px, 7vw, 90px) 0 clamp(56px, 7vw, 96px);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  left: 50%; top: -180px;
  width: 900px; height: 560px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, var(--brand-glow), transparent 72%);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero h1 { margin-bottom: 18px; }
.hero h1 .accent {
  background: linear-gradient(120deg, var(--brand), var(--brand-strong) 60%, var(--mint));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero .lead { max-width: 30em; font-size: 1.125rem; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }

.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  color: var(--ink-2);
}
.hero-points svg { width: 17px; height: 17px; fill: var(--mint); flex: none; }

/* 手机样机 */
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative;
  width: min(300px, 76vw);
  padding: 10px;
  border-radius: 40px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(233, 240, 250, 0.65));
  border: 1px solid var(--glass-line);
  box-shadow: var(--sh-lg), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
@media (prefers-color-scheme: dark) {
  .phone {
    background: linear-gradient(160deg, rgba(52, 66, 92, 0.9), rgba(20, 30, 48, 0.8));
    box-shadow: var(--sh-lg), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  }
}
.phone img { width: 100%; border-radius: 32px; }
.phone::before {
  content: "";
  position: absolute;
  left: 50%; top: 16px;
  width: 82px; height: 22px;
  transform: translateX(-50%);
  border-radius: var(--radius-pill);
  background: rgba(12, 20, 34, 0.82);
  z-index: 2;
}

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--sh-md);
  animation: float 6s var(--ease-soft) infinite;
}
.float-card small { display: block; font-size: 0.75rem; font-weight: 500; color: var(--ink-3); }
.float-card .dot {
  width: 30px; height: 30px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand-strong);
  flex: none;
}
.float-card .dot svg { width: 16px; height: 16px; fill: currentColor; }
.float-card--tl { top: 14%; left: -26px; animation-delay: 0.3s; }
.float-card--br { bottom: 12%; right: -22px; animation-delay: 1.1s; }

@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -9px, 0); }
}

/* 首屏底部数据条 */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr));
  gap: 8px;
  margin-top: clamp(40px, 5vw, 64px);
  padding: 22px 8px;
}
.hero-stats .stat { text-align: center; padding: 0 12px; }
.hero-stats .stat + .stat { border-left: 1px solid var(--line); }
.stat-num {
  font-family: var(--font-num);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}
.stat-num span { font-size: 0.6em; margin-left: 2px; color: var(--brand-strong); }
.stat-label { font-size: 0.875rem; color: var(--ink-3); }

/* ── 7. 价值/功能卡片 ── */
.card {
  position: relative;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--glass);
  border: 1px solid var(--glass-line);
  box-shadow: var(--sh-sm);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease-soft),
    border-color var(--dur) var(--ease-soft);
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(150deg, rgba(46, 111, 230, 0.09), transparent 46%);
  opacity: 0;
  transition: opacity var(--dur) var(--ease-soft);
  pointer-events: none;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); border-color: var(--brand-line); }
.card:hover::after { opacity: 1; }
.card > * { position: relative; z-index: 1; }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; font-size: 0.9375rem; color: var(--ink-3); }

.card-icon {
  width: 44px; height: 44px;
  margin-bottom: 16px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand-strong);
  border: 1px solid var(--brand-line);
}
.card-icon svg { width: 22px; height: 22px; fill: currentColor; }
.card-icon--mint { background: var(--mint-soft); color: var(--mint); border-color: rgba(21, 104, 74, 0.2); }
.card-icon--amber { background: var(--amber-soft); color: var(--amber); border-color: rgba(162, 101, 42, 0.2); }

.card-num {
  position: absolute;
  right: 18px; top: 10px;
  font-family: var(--font-num);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--brand);
  opacity: 0.08;
  line-height: 1;
  pointer-events: none;
}

.card-list { margin-top: 14px; display: grid; gap: 7px; }
.card-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.875rem;
  color: var(--ink-2);
}
.card-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.65em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
  opacity: 0.55;
}

/* 价值三栏（左图右文） */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.split + .split { margin-top: clamp(48px, 6vw, 88px); }
.split__body h3 { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem); }
.split__body p { color: var(--ink-3); }
.split--reverse .split__media { order: 2; }
.split__media { display: flex; justify-content: center; }
.split__media .phone { width: min(260px, 66vw); }

/* ── 8. 产品演示（标签切换） ── */
.demo {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 3vw, 44px);
  align-items: center;
  padding: clamp(20px, 3vw, 32px);
  border-radius: var(--radius-xl);
}
.demo-tabs { display: grid; gap: 8px; }
.demo-tab {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  text-align: left;
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--ink-2);
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--dur) var(--ease-soft), border-color var(--dur) var(--ease-soft),
    color var(--dur) var(--ease-soft);
}
.demo-tab:hover { background: rgba(46, 111, 230, 0.06); color: var(--ink); }
.demo-tab[aria-selected="true"] {
  background: var(--surface);
  border-color: var(--brand-line);
  box-shadow: var(--sh-xs);
  color: var(--ink);
}
.demo-tab .idx {
  flex: none;
  width: 26px; height: 26px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  font-family: var(--font-num);
  font-size: 0.8125rem;
  font-weight: 700;
  background: var(--brand-soft);
  color: var(--brand-strong);
}
.demo-tab b { display: block; font-weight: 650; }
.demo-tab small { display: block; font-size: 0.8125rem; color: var(--ink-3); line-height: 1.6; }

.demo-stage { position: relative; display: flex; justify-content: center; }
.demo-stage .phone { width: min(280px, 70vw); }
.demo-shot { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease-soft), visibility 0.4s; }
.demo-shot.is-active { opacity: 1; visibility: visible; position: relative; }
.demo-shot img { box-shadow: none; }

/* ── 9. 用户评价轮播 ── */
.carousel { position: relative; }
.carousel-viewport { overflow: hidden; border-radius: var(--radius-lg); }
.carousel-track {
  display: flex;
  transition: transform 0.5s var(--ease);
  will-change: transform;
}
.carousel-slide { flex: 0 0 100%; min-width: 0; padding: 4px; }
.quote {
  height: 100%;
  padding: clamp(26px, 3vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--glass);
  border: 1px solid var(--glass-line);
  box-shadow: var(--sh-sm);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.quote-mark { font-family: var(--font-num); font-size: 3rem; line-height: 0.6; color: var(--brand); opacity: 0.35; }
.quote p { margin: 0; font-size: clamp(1rem, 0.96rem + 0.25vw, 1.125rem); line-height: 1.85; color: var(--ink-2); }
.quote-meta { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar {
  width: 46px; height: 46px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(140deg, var(--brand), var(--brand-strong));
}
.quote-meta b { display: block; font-size: 0.9375rem; color: var(--ink); }
.quote-meta small { display: block; font-size: 0.8125rem; color: var(--ink-3); }

.carousel-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 24px; }
.carousel-btn {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--glass);
  color: var(--ink);
  cursor: pointer;
  transition: background var(--dur) var(--ease-soft), transform var(--dur) var(--ease), color var(--dur) var(--ease-soft);
}
.carousel-btn:hover { background: var(--brand); border-color: var(--brand); color: #fff; transform: translateY(-2px); }
.carousel-btn svg { width: 17px; height: 17px; fill: currentColor; }
.carousel-dots { display: flex; gap: 8px; }
.carousel-dots button {
  width: 8px; height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--line-strong);
  cursor: pointer;
  transition: width var(--dur) var(--ease), background var(--dur) var(--ease-soft);
}
.carousel-dots button[aria-current="true"] { width: 24px; border-radius: var(--radius-pill); background: var(--brand); }

/* ── 10. FAQ ── */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--glass-line);
  box-shadow: var(--sh-xs);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease-soft), box-shadow var(--dur) var(--ease-soft);
}
.faq-item.is-open { border-color: var(--brand-line); box-shadow: var(--sh-sm); }
.faq-q {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 18px 22px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.faq-q .plus {
  margin-left: auto;
  flex: none;
  width: 22px; height: 22px;
  position: relative;
}
.faq-q .plus::before,
.faq-q .plus::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 13px; height: 2px;
  border-radius: 2px;
  background: var(--brand);
  transform: translate(-50%, -50%);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease-soft);
}
.faq-q .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.is-open .faq-q .plus::after { opacity: 0; transform: translate(-50%, -50%) rotate(0deg); }
.faq-a {
  overflow: hidden;
  height: 0;
  transition: height 0.38s var(--ease);
}
.faq-a > div { padding: 0 22px 20px; font-size: 0.9375rem; color: var(--ink-3); }
.faq-a p { margin-bottom: 0.7em; }
.faq-a ul { display: grid; gap: 6px; margin-bottom: 0.7em; }
.faq-a li { position: relative; padding-left: 17px; }
.faq-a li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.68em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--brand);
  opacity: 0.6;
}

/* ── 11. CTA 区块 ── */
.cta-band {
  position: relative;
  padding: clamp(40px, 5vw, 64px) clamp(24px, 4vw, 56px);
  border-radius: var(--radius-xl);
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #1f57c2 0%, #2e6fe6 48%, #2450a8 100%);
  box-shadow: var(--sh-lg);
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -120px; top: -140px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.24), transparent 70%);
}
.cta-band::after {
  content: "";
  position: absolute;
  left: -100px; bottom: -160px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.14), transparent 70%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: #fff; max-width: 46em; margin: 0 auto 28px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cta-band .btn--primary { background: #fff; color: var(--brand-strong); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18); }
.cta-band .btn--primary:hover { background: #fff; color: var(--brand-strong); }
.cta-band .btn--ghost {
  /* 深色半透明底：白字对比度 ≥ 4.5:1（浅色半透明底会把蓝底提亮，导致白字不达标） */
  background: rgba(12, 30, 68, 0.22);
  border-color: rgba(255, 255, 255, 0.62);
  color: #fff;
}
.cta-band .btn--ghost:hover { background: rgba(12, 30, 68, 0.38); color: #fff; border-color: #fff; }
/* CTA 带上的下载 chip：提高底不透明度，避免玻璃底被蓝色浸染后副文案对比度不足；
   底色固定为近白，故文字/图标色也必须固定为深色，否则深色主题下会变成近白底 + 近白字 */
.cta-band .download-chip {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(255, 255, 255, 0.9);
  color: #101b2d;
}
.cta-band .download-chip:hover { color: #101b2d; }
.cta-band .download-chip small { color: #4a5a70; }
.cta-band .download-chip svg { fill: #2456b8; }
.cta-note { margin-top: 18px; font-size: 0.8125rem; color: #fff; }

/* 下载渠道 */
.downloads { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }
.download-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--glass-line);
  box-shadow: var(--sh-xs);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 600;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease-soft), box-shadow var(--dur) var(--ease-soft);
}
.download-chip:hover { transform: translateY(-3px); border-color: var(--brand-line); box-shadow: var(--sh-sm); color: var(--ink); }
.download-chip small { display: block; font-weight: 500; font-size: 0.75rem; color: var(--ink-3); }
.download-chip svg { width: 22px; height: 22px; fill: var(--brand); flex: none; }

/* ── 12. 页脚 ── */
.site-footer {
  margin-top: clamp(56px, 7vw, 96px);
  padding: clamp(44px, 5vw, 64px) 0 28px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(46, 111, 230, 0.05));
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
}
.footer-brand p { max-width: 26em; font-size: 0.875rem; color: var(--ink-3); margin: 14px 0 0; }
.footer-col h4 { font-size: 0.875rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.footer-col ul { display: grid; gap: 9px; }
.footer-col a { font-size: 0.9375rem; color: var(--ink-2); }
.footer-col a:hover { color: var(--brand-strong); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  align-items: center;
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--ink-3);
}
.footer-bottom a { color: var(--ink-3); }
.footer-bottom a:hover { color: var(--brand-strong); }
.footer-legal { display: inline-flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-legal a { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.footer-legal a:hover { text-decoration-color: var(--brand-strong); }

/* ── 13. 在线咨询浮窗 ── */
.consult {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 95;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.consult-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 20px;
  border: 0;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  background: var(--brand);
  box-shadow: var(--sh-brand);
  cursor: pointer;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease-soft);
}
.consult-btn:hover { transform: translateY(-3px); background: var(--brand-strong); }
.consult-btn svg { width: 18px; height: 18px; fill: currentColor; }
.consult-panel {
  width: min(320px, calc(100vw - 40px));
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--glass-strong);
  border: 1px solid var(--glass-line);
  box-shadow: var(--sh-lg);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.98);
  transform-origin: bottom right;
  transition: opacity var(--dur) var(--ease-soft), transform var(--dur) var(--ease),
    visibility var(--dur) var(--ease-soft);
}
.consult-panel.is-open { opacity: 1; visibility: visible; transform: none; }
.consult-panel h3 { margin-bottom: 6px; font-size: 1rem; }
.consult-panel p { font-size: 0.8125rem; color: var(--ink-3); margin-bottom: 16px; }
.consult-rows { display: grid; gap: 8px; margin-bottom: 16px; }
.consult-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--ink-2);
  word-break: break-all;
}
.consult-row:hover { border-color: var(--brand-line); color: var(--ink); }
.consult-row svg { width: 17px; height: 17px; fill: var(--brand); flex: none; }
.consult-close {
  position: absolute;
  right: 12px; top: 12px;
  width: 28px; height: 28px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink-3);
  cursor: pointer;
}
.consult-close:hover { background: var(--line); color: var(--ink); }
.consult-close svg { width: 14px; height: 14px; fill: currentColor; }
.consult-panel { position: relative; }

/* ── 14. 表单 ── */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 7px; }
.field > label { font-size: 0.875rem; font-weight: 600; color: var(--ink); }
.field .req { color: var(--brand-ink); margin-left: 2px; }
.field-hint { font-size: 0.75rem; color: var(--ink-3); }
.input,
.textarea,
.select {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  transition: border-color var(--dur) var(--ease-soft), box-shadow var(--dur) var(--ease-soft), background var(--dur) var(--ease-soft);
  appearance: none;
}
.textarea { min-height: 132px; resize: vertical; }
.select {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%235d6c82'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px 20px;
}
.input::placeholder, .textarea::placeholder { color: var(--ink-3); opacity: 0.75; }
.input:hover, .textarea:hover, .select:hover { border-color: var(--brand-line); }
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}
.field.has-error .input,
.field.has-error .textarea,
.field.has-error .select { border-color: #c0453c; }
.field-error { font-size: 0.75rem; color: #b03c33; min-height: 1em; }
@media (prefers-color-scheme: dark) {
  .field.has-error .input, .field.has-error .textarea { border-color: #f08a80; }
  .field-error { color: #f0a29a; }
}
.checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: 0.8125rem; color: var(--ink-3); }
.checkbox input { width: 17px; height: 17px; margin-top: 3px; accent-color: var(--brand); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status {
  display: none;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  line-height: 1.65;
}
.form-status.is-visible { display: flex; }
.form-status--ok { background: var(--mint-soft); color: var(--mint); border: 1px solid rgba(31, 138, 99, 0.24); }
.form-status--err { background: rgba(192, 69, 60, 0.1); color: #a83c33; border: 1px solid rgba(192, 69, 60, 0.24); }
@media (prefers-color-scheme: dark) {
  .form-status--err { color: #f0a29a; }
}
.form-status svg { width: 18px; height: 18px; fill: currentColor; flex: none; margin-top: 2px; }

.spinner {
  width: 15px; height: 15px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── 15. 子页面：页头 / 面包屑 ── */
.page-hero {
  padding: clamp(40px, 5vw, 68px) 0 clamp(28px, 3vw, 40px);
  text-align: center;
}
.page-hero h1 { margin-bottom: 14px; }
.page-hero .lead { max-width: 44em; margin: 0 auto; }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 0.8125rem;
  color: var(--ink-3);
}
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "/"; color: var(--line-strong); }
.breadcrumb a { color: var(--ink-3); }
.breadcrumb a:hover { color: var(--brand-strong); }
.breadcrumb [aria-current="page"] { color: var(--ink-2); }

.page-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 26px;
}
.page-nav a {
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--glass);
  color: var(--ink-2);
}
.page-nav a:hover, .page-nav a[aria-current="page"] {
  color: var(--brand-strong);
  border-color: var(--brand-line);
  background: var(--brand-soft);
}

/* 功能详情：锚点导航 */
.feature-block { scroll-margin-top: calc(var(--header-h) + 24px); }
.feature-block + .feature-block { margin-top: clamp(56px, 7vw, 96px); }

/* 对比表 */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--glass-line); background: var(--glass); box-shadow: var(--sh-sm); }
table.compare { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 0.9375rem; }
table.compare th, table.compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
table.compare thead th { font-size: 0.8125rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); background: rgba(46, 111, 230, 0.05); }
table.compare tbody tr:last-child td { border-bottom: 0; }
table.compare td:first-child { color: var(--ink); font-weight: 600; }
table.compare .yes { color: var(--mint); font-weight: 600; }
table.compare .no { color: var(--ink-3); }

/* 流程步骤 */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 18px; counter-reset: step; }
.step { position: relative; padding: 24px 22px; border-radius: var(--radius-lg); background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--sh-xs); }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-num);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand);
  opacity: 0.55;
}
.step h4 { margin-bottom: 6px; }
.step p { margin: 0; font-size: 0.875rem; color: var(--ink-3); }

/* 团队 */
.timeline { position: relative; max-width: 760px; margin: 0 auto; padding-left: 30px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--brand-line), transparent);
}
.timeline-item { position: relative; padding-bottom: 30px; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -30px; top: 8px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
}
.timeline-item time { font-family: var(--font-num); font-size: 0.8125rem; font-weight: 600; color: var(--brand-strong); }
.timeline-item h4 { margin: 6px 0 6px; }
.timeline-item p { margin: 0; font-size: 0.9375rem; color: var(--ink-3); }

.member { text-align: center; padding: 26px 20px; }
.member .avatar { width: 66px; height: 66px; font-size: 1.375rem; margin: 0 auto 14px; }
.member h4 { margin-bottom: 4px; }
.member .role { font-size: 0.8125rem; color: var(--brand-strong); font-weight: 600; margin-bottom: 8px; }
.member p { font-size: 0.875rem; color: var(--ink-3); margin: 0; }

.value-pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.value-pill {
  padding: 9px 18px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--glass);
  border: 1px solid var(--glass-line);
  border-radius: var(--radius-pill);
  box-shadow: var(--sh-xs);
}

/* 新闻 */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 30px; }
.filter-bar button {
  padding: 8px 18px;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--dur) var(--ease-soft);
}
.filter-bar button:hover { color: var(--ink); border-color: var(--brand-line); }
.filter-bar button[aria-pressed="true"] { color: var(--brand-strong); background: var(--brand-soft); border-color: var(--brand-line); }

.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 20px; }
.news-card { display: flex; flex-direction: column; padding: 24px; }
.news-tag {
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-strong);
  background: var(--brand-soft);
  border-radius: var(--radius-pill);
}
.news-card h3 { font-size: 1.0625rem; margin-bottom: 8px; }
.news-card h3 a { color: inherit; }
.news-card h3 a:hover { color: var(--brand-strong); }
.news-card p { font-size: 0.9375rem; color: var(--ink-3); margin-bottom: 16px; }
.news-meta { display: flex; align-items: center; gap: 12px; margin-top: auto; font-size: 0.8125rem; color: var(--ink-3); }
.news-card.is-hidden { display: none; }

.article { max-width: 780px; margin: 0 auto; }
.article h2 { margin-top: 2em; }
.article h3 { margin-top: 1.6em; }
.article p, .article li { font-size: 1.0625rem; line-height: 1.85; color: var(--ink-2); }
.article ul { display: grid; gap: 8px; margin: 0 0 1.2em; }
.article li { position: relative; padding-left: 20px; }
.article li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.75em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
  opacity: 0.6;
}
.article .callout {
  margin: 1.6em 0;
  padding: 18px 22px;
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--brand-soft);
  font-size: 1rem;
  color: var(--ink-2);
}
.article figure { margin: 1.8em 0; }
.article figure img { border-radius: var(--radius); box-shadow: var(--sh-sm); border: 1px solid var(--line); }
.article figcaption { margin-top: 10px; font-size: 0.8125rem; color: var(--ink-3); text-align: center; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; margin-top: 14px; font-size: 0.8125rem; color: var(--ink-3); }

/* 联系页信息卡 */
.contact-card { display: grid; gap: 14px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item .dot {
  width: 40px; height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-strong);
}
.contact-item .dot svg { width: 19px; height: 19px; fill: currentColor; }
.contact-item b { display: block; font-size: 0.9375rem; color: var(--ink); }
.contact-item span { font-size: 0.875rem; color: var(--ink-3); word-break: break-all; }

/* ── 16. 滚动出场动画 ── */
[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-delay="3"] { transition-delay: 0.24s; }
[data-reveal][data-delay="4"] { transition-delay: 0.32s; }
[data-reveal][data-delay="5"] { transition-delay: 0.4s; }

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

/* ── 17. 响应式 ── */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero .lead { max-width: none; }
  .hero-points { justify-content: flex-start; }
  .demo { grid-template-columns: 1fr; }
  .demo-stage { order: -1; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .nav, .header-cta .btn--ghost { display: none; }
  .nav-toggle { display: grid; }
  .nav-backdrop { display: block; }

  .nav--mobile {
    position: fixed;
    top: var(--header-h);
    right: 0;
    z-index: 95;
    display: grid;
    gap: 4px;
    width: min(320px, 86vw);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    padding: 18px 18px 26px;
    background: var(--glass-strong);
    border-left: 1px solid var(--line);
    border-bottom-left-radius: var(--radius-lg);
    box-shadow: var(--sh-lg);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    backdrop-filter: blur(20px) saturate(150%);
    transform: translateX(104%);
    visibility: hidden;
    transition: transform 0.36s var(--ease), visibility 0.36s var(--ease);
  }
  body.nav-open .nav--mobile { transform: none; visibility: visible; }
  .nav--mobile a { padding: 13px 14px; border-radius: var(--radius-sm); font-size: 1rem; }
  .nav--mobile .nav-mobile-cta { display: grid; gap: 10px; margin-top: 14px; }
}

@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .form-row { grid-template-columns: 1fr; }
  .grid--2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { padding: 18px 4px; }
  .hero-stats .stat + .stat { border-left: 0; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 0; }
  .float-card--tl { left: -8px; }
  .float-card--br { right: -8px; }
  .consult { right: 14px; bottom: 14px; }
  .consult-btn span { display: none; }
  .consult-btn { padding: 14px; }
  .site-header .container { padding: 0 18px; }
  .container { padding: 0 18px; }
}

@media (max-width: 420px) {
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stats .stat { padding: 10px 0; }
}

/* 打印：隐藏交互浮层 */
@media print {
  .site-header, .consult, .carousel-nav, .nav-backdrop, .cta-band { display: none !important; }
}
