/* ============================================================
   Mezzo 随测 · 官网 + 门户 共用样式
   设计 token 严格来自 web/DESIGN.md §2
   ============================================================ */
:root {
  --brand-100: #E6F7F2;
  --brand-200: #C4EDE2;
  --brand-400: #5FCAAE;
  --brand-500: #3EBFA8;
  --brand-600: #2AAE96;
  --brand-700: #1E8F7B;
  --brand-grad: linear-gradient(120deg, #3EBFA8 0%, #2AAE96 55%, #1E8F7B 100%);
  --accent: #F5A623;
  --ink: #123A32;
  --body: #3D5650;
  --muted: #7A938D;
  --bg: #F6FBF9;
  --card: #FFFFFF;
  --line: #DCEAE5;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 6px 24px rgba(18, 58, 50, 0.08);
  --shadow-lg: 0 16px 48px rgba(18, 58, 50, 0.14);
  --font: -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;
  --nav-h: 64px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand-700); text-decoration: none; }
a:hover { color: var(--brand-600); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.3; font-weight: 700; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- 通用组件 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: 999px; font-size: 15px; font-weight: 600;
  border: none; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s;
  font-family: var(--font); white-space: nowrap;
}
.btn-grad { background: var(--brand-grad); color: #fff; box-shadow: 0 6px 18px rgba(46, 174, 150, .35); }
.btn-grad:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(46, 174, 150, .45); color: #fff; }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .65); }
.btn-outline:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn-ghost { background: var(--brand-100); color: var(--brand-700); }
.btn-ghost:hover { background: var(--brand-200); }

/* 章节标题：渐变胶囊条 + 副标题 */
.section { padding: 88px 0; }
.section-head { margin-bottom: 48px; }
.section-pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--brand-grad); color: #fff;
  padding: 8px 22px; border-radius: 999px;
  font-size: 20px; font-weight: 700; letter-spacing: 2px;
  box-shadow: 0 8px 20px rgba(46, 174, 150, .3);
}
.section-pill::before {
  content: ""; width: 10px; height: 22px; background: rgba(255, 255, 255, .85);
  transform: skewX(-18deg); border-radius: 2px;
}
.section-sub { margin-top: 14px; font-size: 16px; color: var(--ink); font-weight: 500; }

/* 徽章 / chips */
.badge {
  display: inline-block; background: var(--brand-100); color: var(--brand-700);
  border-radius: 999px; padding: 3px 12px; font-size: 12.5px; font-weight: 600;
}
.chip {
  display: inline-flex; align-items: baseline; gap: 5px;
  background: var(--brand-100); color: var(--brand-700);
  border-radius: 999px; padding: 4px 12px; font-size: 12.5px; font-weight: 600;
}
.chip b { color: var(--ink); font-size: 14px; }
.chip.accent { background: #FDF3E0; color: #B57708; }
.chip.accent b { color: var(--accent); }

/* 卡片 */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 28px;
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* ---------- 导航 ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(220, 234, 229, .8);
  transition: box-shadow .25s;
}
.nav.scrolled { box-shadow: 0 4px 20px rgba(18, 58, 50, .1); }
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  height: var(--nav-h); display: flex; align-items: center; gap: 24px;
}
.nav-logo { height: 34px; width: auto; }
.nav-links { display: flex; gap: 28px; margin-left: auto; align-items: center; }
.nav-links a { color: var(--body); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--brand-700); }
.nav-cta { padding: 9px 22px; font-size: 14px; }
.nav-toggle {
  display: none; margin-left: auto; background: none; border: none; cursor: pointer;
  width: 40px; height: 40px; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--ink);
  position: absolute; left: 9px; transition: .25s;
}
.nav-toggle span { top: 19px; }
.nav-toggle span::before { left: 0; top: -7px; }
.nav-toggle span::after { left: 0; top: 7px; }
.nav.open .nav-toggle span { background: transparent; }
.nav.open .nav-toggle span::before { transform: rotate(45deg); top: 0; }
.nav.open .nav-toggle span::after { transform: rotate(-45deg); top: 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  background: linear-gradient(135deg, #0E2B25 0%, #123A32 55%, #175146 100%);
  color: #fff; overflow: hidden;
  padding: calc(var(--nav-h) + 48px) 0 72px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(62, 191, 168, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(62, 191, 168, .07) 1px, transparent 1px);
  background-size: 56px 56px; pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; right: -180px; top: -180px;
  width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(62, 191, 168, .22) 0%, transparent 68%);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
.hero-eyebrow { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.hero-eyebrow .badge { background: rgba(62, 191, 168, .16); color: var(--brand-400); border: 1px solid rgba(62, 191, 168, .35); }
.hero h1 {
  color: #fff; font-size: 46px; letter-spacing: 1px; margin-bottom: 14px;
}
.hero h1 .grad {
  background: linear-gradient(90deg, var(--brand-400), var(--brand-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: 19px; color: rgba(255, 255, 255, .82); margin-bottom: 14px; }
.hero-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-tags span {
  font-size: 14px; color: rgba(255, 255, 255, .9);
  border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; padding: 5px 16px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-video {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .45);
  border: 1px solid rgba(62, 191, 168, .3);
}
.hero-video video { width: 100%; display: block; background: #000; }

/* ---------- 痛点条 ---------- */
.pain { background: #fff; border-bottom: 1px solid var(--line); }
.pain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 56px 0; }
.pain-item { text-align: center; padding: 0 12px; border-right: 1px solid var(--line); }
.pain-item:last-child { border-right: none; }
.pain-num { font-size: 34px; font-weight: 800; color: var(--accent); line-height: 1.2; }
.pain-num small { font-size: 16px; font-weight: 700; }
.pain-label { margin-top: 6px; font-size: 14px; color: var(--muted); }

/* ---------- 产品三卡 ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product-card .icon {
  width: 56px; height: 56px; border-radius: 14px; background: var(--brand-grad);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: #fff; margin-bottom: 18px; box-shadow: 0 8px 18px rgba(46, 174, 150, .3);
}
.product-card h3 { font-size: 20px; margin-bottom: 4px; }
.product-card .role { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.product-card ul { list-style: none; }
.product-card li { padding: 7px 0 7px 22px; position: relative; font-size: 14.5px; border-bottom: 1px dashed var(--line); }
.product-card li:last-child { border-bottom: none; }
.product-card li::before {
  content: ""; position: absolute; left: 2px; top: 15px;
  width: 8px; height: 8px; border-radius: 2px; background: var(--brand-500); transform: rotate(45deg);
}

/* ---------- 技术四卡 ---------- */
.tech { background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); }
.tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.tech-card { padding: 26px 22px; }
.tech-card .abbr {
  display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: 1px;
  color: #fff; background: var(--ink); border-radius: 8px; padding: 4px 10px; margin-bottom: 14px;
}
.tech-card h3 { font-size: 17px; margin-bottom: 10px; }
.tech-card p { font-size: 13.5px; color: var(--body); }
.tech-card .hl { display: block; margin-top: 12px; font-size: 22px; font-weight: 800; color: var(--brand-600); }

/* ---------- 案例三卡 ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.case-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.case-card .thumb { position: relative; aspect-ratio: 16 / 10; background: var(--brand-100); overflow: hidden; }
.case-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.case-card:hover .thumb img { transform: scale(1.04); }
.case-card .thumb .cat {
  position: absolute; left: 14px; top: 14px;
  background: rgba(18, 58, 50, .78); color: #fff; backdrop-filter: blur(6px);
  font-size: 12px; padding: 4px 12px; border-radius: 999px;
}
.case-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.case-body h3 { font-size: 17.5px; margin-bottom: 6px; }
.case-body .loc { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.case-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.case-link { margin-top: auto; font-weight: 600; font-size: 14.5px; }
.case-link::after { content: " →"; }

/* ---------- 数据带 ---------- */
.databand { background: var(--brand-grad); color: #fff; }
.databand-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 56px 0; }
.databand-item { text-align: center; }
.databand-num { font-size: 40px; font-weight: 800; color: #fff; line-height: 1.15; }
.databand-num small { font-size: 20px; }
.databand-label { margin-top: 6px; font-size: 14px; color: rgba(255, 255, 255, .85); }

/* ---------- 商业模式 ---------- */
.biz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 28px; }
.biz-card .price { font-size: 36px; font-weight: 800; color: var(--brand-600); margin: 8px 0 4px; }
.biz-card .price small { font-size: 15px; color: var(--muted); font-weight: 500; }
.biz-card h3 { font-size: 19px; }
.biz-card .mode { font-size: 13px; color: var(--accent); font-weight: 700; margin-bottom: 6px; }
.biz-card p { font-size: 14px; }
.biz-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.biz-foot {
  background: var(--brand-100); border-radius: var(--radius); padding: 20px 26px;
  display: flex; align-items: center; gap: 14px; font-size: 15px; color: var(--ink); font-weight: 600;
}
.biz-foot .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--brand-500); flex: none; }

/* ---------- 团队 ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 32px; }
.member { display: flex; align-items: center; gap: 16px; padding: 18px 22px; }
.member .avatar {
  width: 52px; height: 52px; border-radius: 50%; flex: none;
  background: var(--brand-grad); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; font-weight: 700;
}
.member h4 { font-size: 16.5px; }
.member .role { font-size: 13px; color: var(--muted); }
.team-side { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.team-side .card { padding: 22px 26px; }
.team-side h4 { font-size: 15px; color: var(--brand-700); margin-bottom: 10px; }
.team-side p { font-size: 14.5px; }
.team-note { margin-top: 20px; font-size: 13px; color: var(--muted); text-align: center; }

/* ---------- 关于 + 页脚 ---------- */
.about { background: #fff; }
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.about h2 { font-size: 26px; margin-bottom: 16px; }
.about p { margin-bottom: 10px; font-size: 15px; }
.about-facts { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.about-facts dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; font-size: 14px; }
.about-facts dt { color: var(--muted); white-space: nowrap; }
.about-facts dd { color: var(--ink); font-weight: 500; }

.footer { background: #0E2B25; color: rgba(255, 255, 255, .72); padding: 48px 0 28px; }
.footer-inner { display: flex; gap: 40px; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; }
.footer-logo { height: 30px; filter: brightness(0) invert(1); opacity: .9; margin-bottom: 14px; }
.footer p { font-size: 13.5px; margin-bottom: 4px; }
.footer .copy { text-align: center; margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: rgba(255, 255, 255, .45); }

/* ============================================================
   门户 portal.html
   ============================================================ */
.portal-body { min-height: 100vh; background: var(--bg); display: flex; flex-direction: column; }

/* 登录卡片 */
.login-wrap { flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.login-card { width: 100%; max-width: 400px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 40px 36px; text-align: center; }
.login-card img { height: 42px; margin: 0 auto 14px; }
.login-card h1 { font-size: 20px; margin-bottom: 26px; }
.login-card h1 small { display: block; font-size: 13px; color: var(--muted); font-weight: 500; margin-top: 4px; }
.field { text-align: left; margin-bottom: 16px; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
.field input {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-size: 15px; font-family: var(--font); color: var(--ink); background: var(--bg);
  transition: border-color .2s, background .2s;
}
.field input:focus { outline: none; border-color: var(--brand-500); background: #fff; }
.login-error {
  display: none; background: #FDECEA; color: #C0392B; border-radius: var(--radius-sm);
  font-size: 13.5px; padding: 10px 14px; margin-bottom: 16px; text-align: left;
}
.login-error.show { display: block; }
.login-btn { width: 100%; padding: 13px; font-size: 16px; margin-top: 6px; }
.login-hint { margin-top: 18px; font-size: 12.5px; color: #9AAFB0; }
.login-back { display: inline-block; margin-top: 14px; font-size: 13px; color: var(--muted); }

/* 登录 / 注册切换 */
.auth-tabs { display: flex; gap: 8px; margin-bottom: 20px; background: var(--bg); border-radius: 999px; padding: 5px; }
.auth-tab {
  flex: 1; border: none; background: none; font-family: var(--font); font-size: 15px; font-weight: 600;
  color: var(--muted); padding: 9px 0; border-radius: 999px; cursor: pointer; transition: .2s;
}
.auth-tab.active { background: var(--brand-grad); color: #fff; box-shadow: var(--shadow); }

/* 工作台框架 */
.dash { display: none; flex: 1; flex-direction: column; }
.dash.active { display: flex; }
.dash-top {
  background: rgba(255, 255, 255, .9); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50;
}
.dash-top-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 60px; display: flex; align-items: center; gap: 20px; }
.dash-top img { height: 28px; }
.dash-top .who { margin-left: auto; font-size: 14px; color: var(--body); display: flex; align-items: center; gap: 14px; }
.dash-top .who .badge { font-size: 12px; }
.logout-btn { background: none; border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px; font-size: 13px; color: var(--body); cursor: pointer; font-family: var(--font); transition: .2s; }
.logout-btn:hover { border-color: var(--brand-500); color: var(--brand-700); }

.dash-tabs { background: #fff; border-bottom: 1px solid var(--line); }
.dash-tabs-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; gap: 4px; overflow-x: auto; }
.tab-btn {
  background: none; border: none; font-family: var(--font); font-size: 15px; font-weight: 600;
  color: var(--muted); padding: 14px 20px; cursor: pointer; position: relative; white-space: nowrap;
}
.tab-btn::after {
  content: ""; position: absolute; left: 20px; right: 20px; bottom: -1px; height: 3px;
  border-radius: 3px 3px 0 0; background: transparent; transition: .2s;
}
.tab-btn.active { color: var(--brand-700); }
.tab-btn.active::after { background: var(--brand-grad); }
.dash-main { flex: 1; max-width: 1200px; width: 100%; margin: 0 auto; padding: 32px 24px 64px; }
.tab-pane { display: none; }
.tab-pane.active { display: block; animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.pane-title { font-size: 22px; margin-bottom: 6px; }
.pane-desc { color: var(--muted); font-size: 14px; margin-bottom: 26px; }

/* 概览 */
.welcome {
  background: var(--brand-grad); color: #fff; border-radius: var(--radius);
  padding: 32px 36px; margin-bottom: 28px; box-shadow: var(--shadow);
}
.welcome h2 { color: #fff; font-size: 24px; margin-bottom: 6px; }
.welcome p { color: rgba(255, 255, 255, .88); font-size: 14.5px; }
.overview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 28px; }
.overview-card { cursor: pointer; }
.overview-card h3 { font-size: 16.5px; margin-bottom: 6px; }
.overview-card .meta { font-size: 12.5px; color: var(--muted); margin-bottom: 12px; }
.overview-card .go { font-size: 13.5px; font-weight: 700; color: var(--brand-700); }
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; text-align: center; }
.kpi .num { font-size: 28px; font-weight: 800; color: var(--brand-600); }
.kpi .num.accent { color: var(--accent); }
.kpi .lbl { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* 案例库 */
.lib-case { margin-bottom: 28px; }
.lib-case .head { display: flex; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.lib-case .head h3 { font-size: 19px; flex: 1; min-width: 220px; }
.lib-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 18px; }
.lib-block h4 { font-size: 14px; color: var(--brand-700); margin-bottom: 8px; }
.lib-block p { font-size: 14px; }
.metric-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-bottom: 16px; }
.metric-cell { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; }
.metric-cell .v { font-size: 19px; font-weight: 800; color: var(--brand-600); }
.metric-cell .k { font-size: 12px; color: var(--muted); }
.deliv { display: flex; flex-wrap: wrap; gap: 8px; }

/* CAD 图纸 */
.cad-layout { display: grid; grid-template-columns: 250px 1fr; gap: 24px; align-items: start; }
.cad-side .card { padding: 18px; margin-bottom: 16px; }
.cad-case-btn {
  display: block; width: 100%; text-align: left; background: none; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); padding: 12px 14px; margin-bottom: 10px; cursor: pointer;
  font-family: var(--font); font-size: 14px; color: var(--body); transition: .2s;
}
.cad-case-btn:hover { border-color: var(--brand-400); }
.cad-case-btn.active { border-color: var(--brand-500); background: var(--brand-100); color: var(--ink); font-weight: 700; }
.cad-case-btn small { display: block; font-size: 12px; color: var(--muted); font-weight: 400; margin-top: 2px; }
.layer-panel h4 { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.layer-item { display: flex; align-items: center; gap: 8px; font-size: 13.5px; padding: 5px 0; cursor: pointer; user-select: none; }
.layer-item input { accent-color: var(--brand-600); }
.layer-item .sw { width: 14px; height: 14px; border-radius: 4px; flex: none; border: 1px solid rgba(0,0,0,.12); }
.drawing-info dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 13px; }
.drawing-info dt { color: var(--muted); }
.drawing-info dd { color: var(--ink); font-weight: 500; }
.drawing-info .note { margin-top: 10px; font-size: 12px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 10px; }

.viewer-shell { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.viewer-toolbar {
  display: flex; align-items: center; gap: 8px; padding: 10px 14px;
  border-bottom: 1px solid var(--line); background: var(--bg); flex-wrap: wrap;
}
.viewer-toolbar .tbtn {
  background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px;
  font-size: 12.5px; color: var(--body); cursor: pointer; font-family: var(--font); transition: .15s;
}
.viewer-toolbar .tbtn:hover { border-color: var(--brand-500); color: var(--brand-700); }
.viewer-toolbar .spacer { flex: 1; }
.viewer-toolbar .hint { font-size: 12px; color: var(--muted); }
.viewer-canvas-wrap { position: relative; width: 100%; height: 560px; background: #fff; }
.viewer-canvas-wrap canvas { display: block; width: 100%; height: 100%; cursor: grab; touch-action: none; }
.viewer-canvas-wrap canvas.panning { cursor: grabbing; }
.viewer-loading {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .85); font-size: 14px; color: var(--muted); z-index: 5;
}
.viewer-watermark {
  position: absolute; right: 14px; bottom: 10px; font-size: 12px; color: rgba(18, 58, 50, .32);
  pointer-events: none; z-index: 4;
}
.download-row { margin-top: 18px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.download-row .tip { font-size: 12.5px; color: var(--muted); }

/* 账号 */
.account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.account-card dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; font-size: 14.5px; }
.account-card dt { color: var(--muted); }
.account-card dd { color: var(--ink); font-weight: 600; }

/* 加载/错误态 */
.loading-line { color: var(--muted); font-size: 14px; padding: 30px 0; text-align: center; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1024px) {
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .cad-layout { grid-template-columns: 1fr; }
  .cad-side { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { font-size: 34px; }
  .pain-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; padding: 44px 0; }
  .pain-item:nth-child(2) { border-right: none; }
  .product-grid, .case-grid, .team-grid, .overview-grid, .lib-2col, .account-grid, .biz-grid, .team-side, .about-grid { grid-template-columns: 1fr; }
  .databand-grid, .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 24px 20px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg); display: none;
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-links .nav-cta { margin-top: 14px; text-align: center; }
  .nav-toggle { display: block; }
  .cad-side { grid-template-columns: 1fr; }
  .welcome { padding: 24px; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 28px; }
  .hero-sub { font-size: 16px; }
  .databand-num { font-size: 30px; }
  .pain-num { font-size: 26px; }
  .section-pill { font-size: 17px; }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .viewer-canvas-wrap { height: 520px; }
  .dash-main { padding: 24px 16px 56px; }
  .container { padding: 0 16px; }
}

/* ================= AI 视觉图带（第二轮新增） ================= */
.showcase { padding: 28px 0 8px; }
.showcase-fig {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--ink);
}
.showcase-fig img { width: 100%; max-height: 460px; object-fit: cover; }
.showcase-fig figcaption {
  padding: 12px 20px;
  font-size: 13px;
  color: #CFE8E0;
  background: var(--ink);
  letter-spacing: .04em;
}

.scene-banner {
  margin: 0 0 28px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}
.scene-banner img { width: 100%; max-height: 340px; object-fit: cover; }
.scene-banner figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 20px 12px;
  font-size: 13px; color: #EAF7F3;
  background: linear-gradient(transparent, rgba(10,32,27,.78));
  letter-spacing: .04em;
}

.software-band { background: var(--ink); }
.software-band .section-pill { background: rgba(62,191,168,.16); color: var(--brand-400); }
.software-grid {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 44px; align-items: center;
}
.software-title { color: #fff; font-size: 30px; margin: 14px 0 12px; }
.software-sub { color: #B9D6CE; margin-bottom: 22px; max-width: 46ch; }
.software-fig {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.35);
  border: 1px solid rgba(62,191,168,.25);
}
.software-fig img { width: 100%; }

@media (max-width: 860px) {
  .software-grid { grid-template-columns: 1fr; gap: 26px; }
  .showcase-fig img { max-height: 300px; }
}
.footer a { color: #9FE3D2; text-decoration: underline; text-underline-offset: 3px; }
.footer a:hover { color: #C9F2E8; }
