/* ============================================================
   创想 · 产品引导页（预览稿）
   双主题：body[data-product="fabric" | "smallgoods"]
   ============================================================ */

/* ---------- 主题 Token ---------- */
:root {
  --maxw: 1200px;
  --radius: 16px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
          "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
}

body[data-product="fabric"] {
  --bg: #0B1119;
  --bg-2: #0F1620;
  --surface: rgba(19, 28, 40, .68);
  --surface-solid: #131C28;
  --nav-bg: rgba(11, 17, 25, .76);
  --line: rgba(201, 169, 97, .22);
  --line-soft: rgba(255, 255, 255, .075);
  --accent: #C9A961;
  --accent-2: #B8923F;
  --accent-ink: #12181F;
  --accent-soft: rgba(201, 169, 97, .13);
  --accent-glow: rgba(201, 169, 97, .30);
  --accent-text: linear-gradient(115deg, #EBD9A9 0%, #C9A961 55%, #A87F2F 100%);
  --text: #E8ECF2;
  --muted: #9AA8BD;
  --faint: #7A8AA0;
  --glow1: rgba(201, 169, 97, .22);
  --glow2: rgba(58, 86, 140, .38);
  --ok: #5BB98C;
}

body[data-product="smallgoods"] {
  --bg: #0A1020;
  --bg-2: #0D1526;
  --surface: rgba(17, 26, 46, .68);
  --surface-solid: #111A2E;
  --nav-bg: rgba(10, 16, 32, .76);
  --line: rgba(59, 130, 246, .24);
  --line-soft: rgba(255, 255, 255, .075);
  --accent: #3B82F6;
  --accent-2: #2563EB;
  --accent-ink: #FFFFFF;
  --accent-soft: rgba(59, 130, 246, .14);
  --accent-glow: rgba(37, 99, 235, .34);
  --accent-text: linear-gradient(115deg, #A8CBFF 0%, #3B82F6 55%, #2563EB 100%);
  --text: #E9EEF8;
  --muted: #98A6BE;
  --faint: #77869E;
  --glow1: rgba(37, 99, 235, .30);
  --glow2: rgba(14, 165, 233, .22);
  --ok: #4ADE80;
}

/* ---------- 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  transition: background-color .5s ease, color .5s ease;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.28; font-weight: 700; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.container.narrow { max-width: 840px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  font-size: 15px; font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .3s, background-color .4s, border-color .4s, color .4s;
}
.btn-sm { padding: 10px 20px; font-size: 13.5px; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: var(--accent-ink);
  box-shadow: 0 10px 30px -10px var(--accent-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -12px var(--accent-glow); }
.btn-outline { border-color: var(--line); color: var(--text); background: rgba(255, 255, 255, .02); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn .arrow { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- 顶部导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: var(--nav-bg);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
  transition: background-color .5s ease, border-color .5s ease;
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 12px 28px;
  display: flex; align-items: center; gap: 22px;
}
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 22%; overflow: hidden; display: block;
  box-shadow: 0 8px 22px -12px rgba(0, 0, 0, .85);
}
.brand-mark img { width: 100%; height: 100%; display: block; }
.brand-mark.sm { width: 30px; height: 30px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 16px; letter-spacing: .04em; }
.brand-text em { font-style: normal; font-size: 11px; color: var(--faint); letter-spacing: .08em; }

.nav-links { display: flex; gap: 4px; margin-left: 10px; }
.nav-links a {
  padding: 8px 13px; border-radius: 9px; font-size: 14px; color: var(--muted);
  transition: color .25s, background-color .25s;
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }

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

/* MES 内部入口：刻意弱化 */
.mes-link {
  font-size: 12.5px; color: var(--faint); letter-spacing: .02em;
  padding: 7px 11px; border-radius: 8px; opacity: .82;
  transition: color .25s, background-color .25s, opacity .25s;
}
.mes-link:hover { color: var(--muted); background: rgba(255, 255, 255, .045); opacity: 1; }
.nav-actions .mes-link { margin-right: 4px; border-right: 1px solid var(--line-soft); border-radius: 8px 0 0 8px; padding-right: 14px; }

.nav-toggle {
  display: none; width: 40px; height: 36px; border-radius: 10px; border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, .03); padding: 0; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.nav-toggle span { width: 16px; height: 1.6px; background: var(--muted); border-radius: 2px; transition: .25s; }
.nav-drawer { display: none; }
.nav-drawer a { display: block; padding: 13px 28px; font-size: 15px; color: var(--muted); border-top: 1px solid var(--line-soft); }
.nav-drawer a.mes-link { font-size: 13px; color: var(--faint); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 54px 0 84px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(96px); opacity: .8; transition: background .6s ease; }
.orb-a { width: 540px; height: 540px; background: var(--glow1); top: -200px; left: -110px; animation: drift 18s ease-in-out infinite; }
.orb-b { width: 470px; height: 470px; background: var(--glow2); top: 40px; right: -150px; animation: drift 22s ease-in-out infinite reverse; }
.grid-lines {
  position: absolute; inset: 0; opacity: .5; transition: opacity .5s;
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .028) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .028) 0 1px, transparent 1px 46px);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 25%, transparent 78%);
}
@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(24px, 26px, 0) scale(1.06); }
}

.hero .container { position: relative; z-index: 1; }

/* 切换器 */
.switcher-wrap { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 52px; }
.switcher {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr;
  padding: 6px; border-radius: 999px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid var(--line-soft);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 18px 50px -28px rgba(0, 0, 0, .9);
}
.switcher-pill {
  position: absolute; top: 6px; left: 6px; width: calc(50% - 6px); height: calc(100% - 12px);
  border-radius: 999px; background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 26px -10px var(--accent-glow);
  transition: transform .38s var(--ease), background .45s ease, box-shadow .45s ease;
}
body[data-product="smallgoods"] .switcher-pill { transform: translateX(100%); }
.switcher-btn {
  position: relative; z-index: 1; border: 0; background: none; cursor: pointer;
  padding: 11px 30px; border-radius: 999px; white-space: nowrap;
  font-size: 15px; font-weight: 600; letter-spacing: .01em; color: var(--muted);
  transition: color .32s ease;
}
.switcher-btn:hover { color: var(--text); }
.switcher-btn.is-active { color: var(--accent-ink); }
.switcher-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.switcher-hint { font-size: 12.5px; color: var(--faint); }

/* Hero 主体 */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); gap: 60px; align-items: center; }

.panel { display: block; }
.panel[hidden] { display: none; }
.panel.is-active { animation: panel-in .55s var(--ease) both; }
@keyframes panel-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.hero-copy .eyebrow {
  display: inline-block; margin-bottom: 20px; padding: 6px 14px; border-radius: 999px;
  font-size: 12.5px; letter-spacing: .1em; color: var(--accent);
  background: var(--accent-soft); border: 1px solid var(--line);
}
.hero-copy h1 { font-size: clamp(30px, 4.1vw, 52px); letter-spacing: -.02em; }
.hero-copy h1 em {
  font-style: normal; white-space: nowrap;
  background: var(--accent-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.lede { margin-top: 20px; font-size: 16.5px; color: var(--muted); max-width: 34em; }
.hero-points { margin-top: 26px; display: grid; gap: 11px; }
.hero-points li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--text); }
.hero-points li::before {
  content: ""; position: absolute; left: 4px; top: .62em; width: 9px; height: 9px;
  border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft);
}
.cta-row { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }

.metrics { margin-top: 44px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.metrics > div { padding-left: 16px; border-left: 1px solid var(--line-soft); }
.metrics > div:first-child { padding-left: 0; border-left: 0; }
.metrics dt { font-size: 21px; font-weight: 700; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.metrics dd { font-size: 12px; color: var(--faint); margin-top: 2px; }

/* 界面 Mock */
.hero-visual { position: relative; perspective: 1400px; }
.app-mock {
  position: relative; border-radius: 18px; overflow: hidden;
  background: var(--surface-solid);
  border: 1px solid var(--line);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .02);
  transform: rotateY(-9deg) rotateX(4deg) translateZ(0);
  transition: transform .6s var(--ease), background-color .5s ease, border-color .5s ease;
}
.hero-visual:hover .app-mock { transform: rotateY(-3deg) rotateX(1deg) translateY(-8px); }
.mock-bar {
  display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px;
  background: rgba(255, 255, 255, .028); border-bottom: 1px solid var(--line-soft);
}
.dots { display: flex; gap: 6px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.dots i:first-child { background: rgba(255, 95, 87, .65); }
.dots i:nth-child(2) { background: rgba(254, 188, 46, .65); }
.dots i:nth-child(3) { background: rgba(40, 200, 64, .6); }
.mock-title { font-size: 11.5px; color: var(--faint); letter-spacing: .02em; }
.mock-body { display: flex; }
.mock-side {
  width: 56px; padding: 14px 0; display: flex; flex-direction: column; align-items: center; gap: 9px;
  border-right: 1px solid var(--line-soft);
}
.mock-logo { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(140deg, var(--accent), var(--accent-2)); margin-bottom: 4px; }
.mock-side i { width: 22px; height: 4px; border-radius: 3px; background: rgba(255, 255, 255, .13); }
.mock-side i.on { background: var(--accent); opacity: .85; }
.mock-main { flex: 1; min-width: 0; padding: 14px; display: grid; gap: 11px; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kpi {
  padding: 10px 11px; border-radius: 11px;
  background: rgba(255, 255, 255, .028); border: 1px solid var(--line-soft);
}
.kpi em { display: block; font-style: normal; font-size: 10px; color: var(--faint); }
.kpi strong { display: block; font-size: 15px; color: var(--text); font-variant-numeric: tabular-nums; margin: 2px 0 1px; }
.kpi span { font-size: 10px; }
.kpi .up { color: var(--ok); }
.kpi .down { color: #E0836C; }
.mock-chart { display: flex; align-items: flex-end; gap: 6px; height: 78px; padding: 0 2px; }
.mock-chart i {
  flex: 1; height: var(--h); border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, var(--accent) 0%, rgba(255, 255, 255, .04) 130%);
  opacity: .9; transform-origin: bottom; animation: bar-in 1s var(--ease) both;
  transition: background .5s ease;
}
.mock-chart i:nth-child(2) { animation-delay: .06s; }
.mock-chart i:nth-child(3) { animation-delay: .12s; }
.mock-chart i:nth-child(4) { animation-delay: .18s; }
.mock-chart i:nth-child(5) { animation-delay: .24s; }
.mock-chart i:nth-child(6) { animation-delay: .3s; }
.mock-chart i:nth-child(7) { animation-delay: .36s; }
.mock-chart i:nth-child(8) { animation-delay: .42s; }
@keyframes bar-in { from { transform: scaleY(.05); opacity: 0; } to { transform: scaleY(1); opacity: .9; } }
.mock-table { display: grid; gap: 2px; }
.mock-table .row {
  display: grid; grid-template-columns: 1.15fr 1fr .85fr .8fr; gap: 8px; align-items: center;
  padding: 7px 9px; border-radius: 8px; font-size: 10.5px; color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.mock-table .row:nth-child(odd):not(.head) { background: rgba(255, 255, 255, .022); }
.mock-table .row.head { color: var(--faint); font-size: 10px; border-bottom: 1px solid var(--line-soft); border-radius: 0; padding-bottom: 6px; }
.pill { font-size: 9.5px; font-weight: 500; padding: 2px 7px; border-radius: 999px; justify-self: start; }
.pill.ok { background: rgba(91, 185, 140, .15); color: var(--ok); }
.pill.wait { background: var(--accent-soft); color: var(--accent); }
.pill.draft { background: rgba(255, 255, 255, .07); color: var(--faint); }

.float-card {
  position: absolute; padding: 9px 13px; border-radius: 13px; font-size: 10.5px;
  background: var(--nav-bg); border: 1px solid var(--line);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 44px -22px rgba(0, 0, 0, .9);
}
.float-card b { display: block; font-size: 11.5px; color: var(--accent); }
.float-card span { color: var(--faint); }
.fc-a { top: -18px; right: 4%; animation: bob 6s ease-in-out infinite; }
.fc-b { bottom: -16px; left: -18px; animation: bob 7.5s ease-in-out infinite reverse; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- 通用区块 ---------- */
.section { padding: 88px 0; position: relative; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); transition: background-color .5s ease; }
.section-head { max-width: 720px; margin: 0 auto 46px; text-align: center; }
.section-head .tag {
  display: inline-block; margin-bottom: 14px; padding: 5px 13px; border-radius: 999px;
  font-size: 12px; letter-spacing: .12em; color: var(--accent);
  background: var(--accent-soft); border: 1px solid var(--line);
}
.section-head h2 { font-size: clamp(23px, 2.7vw, 32px); }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 15px; }

/* ---------- 产品矩阵 ---------- */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.product-card {
  position: relative; overflow: hidden; padding: 34px 32px 30px; border-radius: 20px;
  background: var(--surface); border: 1px solid var(--line-soft);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.product-card::after {
  content: ""; position: absolute; inset: 0 0 auto; height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent 70%); opacity: .85;
}
.product-card:hover { transform: translateY(-5px); border-color: var(--line); box-shadow: 0 30px 60px -34px rgba(0, 0, 0, .9); }
/* 每张卡片自带各自品牌色，不受当前 Tab 影响 */
.product-card[data-owner="fabric"] {
  --accent: #C9A961; --accent-2: #B8923F; --accent-ink: #12181F;
  --accent-soft: rgba(201, 169, 97, .13); --line: rgba(201, 169, 97, .22);
  --accent-glow: rgba(201, 169, 97, .30);
}
.product-card[data-owner="smallgoods"] {
  --accent: #3B82F6; --accent-2: #2563EB; --accent-ink: #FFFFFF;
  --accent-soft: rgba(59, 130, 246, .14); --line: rgba(59, 130, 246, .24);
  --accent-glow: rgba(37, 99, 235, .34);
}
.pc-top { display: flex; gap: 18px; align-items: flex-start; }
.pc-logo { width: 58px; height: 58px; flex: none; border-radius: 16px; box-shadow: 0 12px 28px -16px rgba(0, 0, 0, .95); }
.pc-info { min-width: 0; }
.pc-badge { font-size: 12px; letter-spacing: .1em; color: var(--accent); }
.product-card h3 { margin-top: 10px; font-size: 23px; }
.pc-top p { margin-top: 12px; color: var(--muted); font-size: 14.5px; }
.pc-list { margin-top: 22px; display: grid; gap: 10px; }
.pc-list li { position: relative; padding-left: 22px; font-size: 14px; color: var(--text); }
.pc-list li::before { content: ""; position: absolute; left: 2px; top: .66em; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); opacity: .8; }
.pc-actions { margin-top: 28px; display: flex; align-items: center; gap: 14px 18px; flex-wrap: wrap; }
.link-arrow { font-size: 14px; color: var(--accent); transition: transform .25s var(--ease); display: inline-block; }
.link-arrow:hover { transform: translateX(3px); }

/* ---------- 能力卡片 ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  padding: 28px 26px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line-soft);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s, background-color .5s;
}
.card:hover { transform: translateY(-5px); border-color: var(--line); box-shadow: 0 26px 54px -32px rgba(0, 0, 0, .9); }
.ic {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: var(--accent-soft); border: 1px solid var(--line); color: var(--accent);
  margin-bottom: 18px; transition: background-color .5s, border-color .5s, color .5s;
}
.ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 16.5px; }
.card p { margin-top: 10px; font-size: 14px; color: var(--muted); }

/* ---------- 流程链路 ---------- */
.flow-chain { display: flex; flex-wrap: wrap; gap: 10px; counter-reset: step; }
.flow-chain li {
  position: relative; flex: 1 1 118px; min-width: 112px; padding: 18px 12px 14px;
  border-radius: 14px; text-align: center;
  background: var(--surface); border: 1px solid var(--line-soft);
  transition: transform .3s var(--ease), border-color .3s, background-color .5s;
}
.flow-chain li:hover { transform: translateY(-4px); border-color: var(--line); }
.flow-chain li::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 7px; left: 10px; font-size: 9.5px; color: var(--faint); letter-spacing: .06em;
}
.flow-chain li::after {
  content: ""; position: absolute; top: 50%; right: -10px; width: 10px; height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent); opacity: .6;
}
.flow-chain li:last-child::after { display: none; }
.flow-chain b { display: block; font-size: 14.5px; }
.flow-chain span { font-size: 11px; color: var(--faint); }
.flow-side { margin-top: 26px; text-align: center; font-size: 13.5px; color: var(--faint); }

/* ---------- 模块一览 ---------- */
.module-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.module {
  padding: 17px 19px; border-radius: 13px; display: flex; flex-direction: column; gap: 3px;
  background: var(--surface); border: 1px solid var(--line-soft);
  transition: transform .3s var(--ease), border-color .3s, background-color .5s;
}
.module:hover { transform: translateY(-3px); border-color: var(--line); }
.module b { font-size: 14.5px; }
.module span { font-size: 12.5px; color: var(--faint); }

/* ---------- 对比表 ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); }
.compare-table {
  width: 100%; min-width: 720px; border-collapse: separate; border-spacing: 0;
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden;
}
.compare-table th, .compare-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.compare-table thead th { background: rgba(255, 255, 255, .032); font-size: 14.5px; }
.compare-table thead th:first-child { color: var(--muted); font-weight: 500; font-size: 13px; }
.compare-table .hl-fabric { color: #D8BC77; }
.compare-table .hl-small { color: #6FA5FF; }
.compare-table tbody th { width: 22%; font-weight: 500; color: var(--muted); font-size: 13px; }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table tbody tr:hover td { background: rgba(255, 255, 255, .022); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; }
.faq {
  border: 1px solid var(--line-soft); border-radius: 14px; background: var(--surface);
  overflow: hidden; transition: border-color .3s, background-color .5s;
}
.faq[open] { border-color: var(--line); }
.faq summary {
  cursor: pointer; padding: 19px 24px; font-size: 15px; font-weight: 600;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 19px; line-height: 1; transition: transform .3s; }
.faq[open] summary::after { content: "−"; }
.faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; }
.faq p { padding: 0 24px 21px; color: var(--muted); font-size: 14px; }

/* ---------- CTA ---------- */
.start { padding-top: 20px; }
.start-card {
  position: relative; overflow: hidden; border-radius: 24px; padding: 46px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  background:
    linear-gradient(var(--surface-solid), var(--surface-solid)) padding-box,
    linear-gradient(120deg, var(--accent) 0%, rgba(255, 255, 255, .06) 45%, var(--accent-2) 100%) border-box;
  border: 1px solid transparent;
  transition: background .5s ease;
}
.start-card::before {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: var(--glow1); filter: blur(90px); top: -220px; right: -80px; pointer-events: none;
}
.start-copy { position: relative; max-width: 620px; }
.start-copy h2 { font-size: clamp(21px, 2.4vw, 28px); }
.start-copy p { margin-top: 12px; color: var(--muted); font-size: 14.5px; }
.start-copy .start-login { margin-top: 10px; font-size: 13px; color: var(--faint); }
.start-copy .start-login a { color: var(--accent); }
.start-copy .start-login a:hover { text-decoration: underline; }
.start-actions { position: relative; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- 页脚 ---------- */
.footer { border-top: 1px solid var(--line-soft); background: var(--bg-2); padding: 52px 0 26px; transition: background-color .5s ease; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand { display: flex; gap: 13px; align-items: flex-start; }
.footer-brand strong { font-size: 15px; }
.footer-brand p { font-size: 12.5px; color: var(--faint); margin-top: 4px; }
.footer-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-cols h4 { font-size: 12.5px; color: var(--faint); font-weight: 500; letter-spacing: .08em; margin-bottom: 12px; }
.footer-cols a { display: block; font-size: 13.5px; color: var(--muted); padding: 5px 0; transition: color .25s; }
.footer-cols a:hover { color: var(--accent); }
.footer-cols a.mes-link { font-size: 12.5px; color: var(--faint); padding: 5px 0; }
.footer-bottom {
  margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--line-soft);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--faint);
}

/* ---------- 滚动入场（无 JS 时内容直接可见） ---------- */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .75s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { max-width: 620px; }
  .app-mock { transform: none; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .module-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-actions .btn-sm { display: none; }
  .nav-toggle { display: flex; }
  .nav-drawer:not([hidden]) { display: block; background: var(--nav-bg); backdrop-filter: blur(16px); }
  .metrics { grid-template-columns: repeat(2, 1fr); gap: 18px 6px; }
  .metrics > div:nth-child(odd) { padding-left: 0; border-left: 0; }
}
@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .nav-inner { padding: 11px 20px; gap: 12px; }
  .nav-actions { gap: 6px; }
  .nav-actions .mes-link { border-right: 0; padding-right: 11px; }
  .hero { padding: 36px 0 64px; }
  .switcher-wrap { margin-bottom: 40px; }
  .switcher { width: 100%; }
  .switcher-btn { padding: 11px 12px; font-size: 14px; }
  .section { padding: 66px 0; }
  .product-grid, .cards, .module-grid { grid-template-columns: 1fr; }
  .flow-chain li { flex: 1 1 44%; }
  .flow-chain li::after { display: none; }
  .float-card { display: none; }
  .start-card { padding: 34px 26px; }
  .footer-cols { gap: 34px; }
  .brand-text em { display: none; }
}

/* ---------- 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html.js .reveal { opacity: 1; transform: none; }
}
