/* ==========================================================================
   grebos · 智能体认证平台  —  设计系统
   配色取自品牌 logo：蓝主 + 红点缀
   ========================================================================== */

:root {
  --brand: #1667C4;
  --brand-600: #1259AB;
  --brand-700: #0E4C93;
  --brand-800: #0A3B73;
  --brand-50: #EEF5FD;
  --brand-100: #D9E9F9;

  --accent: #E6332A;
  --accent-50: #FDECEB;

  --ok: #12A05C;
  --ok-50: #E7F7EF;
  --warn: #C77700;
  --warn-50: #FFF5E5;

  --ink: #0F1B2A;
  --ink-2: #33445C;
  --ink-3: #6B7C93;
  --ink-4: #9AA8BA;

  --line: #E4E9F0;
  --line-2: #EFF3F8;
  --bg: #F7F9FC;
  --white: #fff;

  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;

  --shadow-sm: 0 1px 2px rgba(15, 27, 42, .06);
  --shadow: 0 4px 16px rgba(15, 27, 42, .07);
  --shadow-lg: 0 14px 40px rgba(15, 27, 42, .10);

  --maxw: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.35; font-weight: 600; }
h1 { font-size: 40px; letter-spacing: -.5px; }
h2 { font-size: 28px; letter-spacing: -.3px; }
h3 { font-size: 18px; }
h4 { font-size: 15px; }
p { margin: 0 0 14px; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-700); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); }
.muted { color: var(--ink-3); }
.small { font-size: 13px; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }

/* ---------- 顶部导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-in {
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  height: 66px; display: flex; align-items: center; gap: 30px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; color: var(--ink); letter-spacing: -.2px; }
.nav-brand img { width: 30px; height: 30px; object-fit: contain; }
.nav-brand span small { display: block; font-size: 11px; font-weight: 400; color: var(--ink-4); letter-spacing: 0; line-height: 1; margin-top: 2px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--ink-2); font-size: 14.5px; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover { color: var(--brand); }
.nav-links a.on { color: var(--brand); border-bottom-color: var(--brand); }
.nav-cta { display: flex; gap: 10px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 40px; padding: 0 20px; border-radius: var(--radius);
  font-size: 14.5px; font-weight: 500; font-family: var(--font);
  border: 1px solid transparent; cursor: pointer; transition: .18s;
  background: var(--white); color: var(--ink-2); white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 2px 8px rgba(22, 103, 196, .25); }
.btn-primary:hover { background: var(--brand-600); color: #fff; }
.btn-ghost { border-color: var(--line); background: var(--white); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #CE2A22; color: #fff; }
.btn-lg { height: 48px; padding: 0 28px; font-size: 15.5px; }
.btn-sm { height: 33px; padding: 0 14px; font-size: 13.5px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; }

/* ---------- 通用区块 ---------- */
.section { padding: 78px 0; }
.section-alt { background: var(--bg); }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 44px; }
.section-head p { color: var(--ink-3); font-size: 16px; margin: 12px 0 0; }
.eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: .6px;
  color: var(--brand); background: var(--brand-50); border-radius: 999px;
  padding: 5px 14px; margin-bottom: 14px; text-transform: uppercase;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #F2F7FD 0%, #FFFFFF 100%);
  border-bottom: 1px solid var(--line-2);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(22, 103, 196, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 103, 196, .045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}
.hero-in { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 82px 24px 70px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: 45px; line-height: 1.22; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero-sub { font-size: 17px; color: var(--ink-3); line-height: 1.75; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-stats { display: flex; gap: 34px; flex-wrap: wrap; }
.hero-stats div b { display: block; font-size: 25px; color: var(--ink); font-weight: 700; letter-spacing: -.5px; }
.hero-stats div span { font-size: 13px; color: var(--ink-4); }

/* Hero 右侧认证卡 */
.acard {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-xl); box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.acard-top {
  background: linear-gradient(135deg, var(--brand-700), var(--brand));
  padding: 20px 22px; color: #fff; display: flex; align-items: center; gap: 12px;
}
.acard-top .mark {
  width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.18);
  display: grid; place-items: center; font-size: 18px;
}
.acard-top b { display: block; font-size: 15.5px; }
.acard-top span { font-size: 12px; opacity: .82; }
.acard-body { padding: 8px 22px 20px; }
.arow { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.arow:last-child { border-bottom: 0; }
.arow .k { color: var(--ink-3); flex: none; }
.arow .v { color: var(--ink); font-weight: 500; text-align: right; word-break: break-all; }
.arow .v.mono { font-family: var(--mono); font-size: 12.5px; }

/* ---------- 徽章 ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 6px;
  background: var(--brand-50); color: var(--brand-700); line-height: 1.6;
}
.badge-gold { background: #FFF6E0; color: #9A6A00; }
.badge-ok { background: var(--ok-50); color: var(--ok); }
.badge-red { background: var(--accent-50); color: var(--accent); }
.badge-gray { background: #F0F3F7; color: var(--ink-3); }
.badge-line { background: transparent; border: 1px solid var(--line); color: var(--ink-3); }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 26px; transition: .2s;
}
.card:hover { border-color: #CBD9EA; box-shadow: var(--shadow); transform: translateY(-2px); }
.card .ico {
  width: 44px; height: 44px; border-radius: 12px; background: var(--brand-50);
  display: grid; place-items: center; margin-bottom: 16px; font-size: 20px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-3); font-size: 14px; margin: 0; }

/* ---------- 流程步骤 ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.flow-item { position: relative; padding: 0 18px; text-align: center; }
.flow-item::after {
  content: ""; position: absolute; top: 21px; left: 50%; width: 100%; height: 2px;
  background: var(--brand-100); z-index: 0;
}
.flow-item:last-child::after { display: none; }
.flow-num {
  position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--brand); color: var(--brand);
  display: grid; place-items: center; font-weight: 700; font-size: 16px; margin: 0 auto 14px;
}
.flow-item h4 { margin-bottom: 6px; }
.flow-item p { font-size: 13.5px; color: var(--ink-3); margin: 0; }

/* ---------- 智能体卡片 ---------- */
.agent-card { position: relative; }
.agent-card .head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.agent-card .avatar {
  width: 46px; height: 46px; border-radius: 12px; flex: none;
  background: linear-gradient(135deg, var(--brand-100), #CFE3F8);
  display: grid; place-items: center; font-size: 19px; font-weight: 600; color: var(--brand-700);
}
.agent-card .name { font-weight: 600; color: var(--ink); font-size: 15.5px; }
.agent-card .reg { font-size: 12px; color: var(--ink-4); font-family: var(--mono); }
.agent-card .desc { font-size: 13.5px; color: var(--ink-3); margin: 0 0 14px; min-height: 44px; }
.agent-card .card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line-2); padding-top: 14px; margin-top: 15px; }
.agent-card .price { font-weight: 700; color: var(--ink); font-size: 16px; }
.agent-card .price small { font-weight: 400; color: var(--ink-4); font-size: 12px; }

/* ---------- 能力市场 ---------- */
.toolbar {
  display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 16px 18px; margin-bottom: 26px; box-shadow: var(--shadow-sm);
}
.search { position: relative; flex: 1; min-width: 240px; }
.search input {
  width: 100%; height: 42px; border-radius: var(--radius); border: 1px solid var(--line);
  padding: 0 14px 0 40px; font-size: 14.5px; font-family: var(--font); color: var(--ink);
  background: var(--bg); outline: none; transition: .18s;
}
.search input:focus { border-color: var(--brand); background: var(--white); box-shadow: 0 0 0 3px var(--brand-50); }
.search::before { content: "🔍"; position: absolute; left: 13px; top: 50%; transform: translateY(-50%); font-size: 14px; opacity: .5; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  height: 34px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--white); color: var(--ink-2); font-size: 13.5px; cursor: pointer;
  display: inline-flex; align-items: center; transition: .16s; font-family: var(--font);
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.on { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------- 表格 ---------- */
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th, .tbl td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line-2); }
.tbl th { background: var(--bg); color: var(--ink); font-weight: 600; font-size: 13.5px; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td { color: var(--ink-2); }
.tbl-wrap { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--white); }

/* ---------- 表单 ---------- */
.form-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 20px; }
.field > label { display: block; font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 7px; }
.field > label .req { color: var(--accent); margin-left: 3px; }
.field .hint { font-size: 12.5px; color: var(--ink-4); margin-top: 6px; line-height: 1.6; }
.field .hint.warn { color: var(--warn); }
.input, .select, .textarea {
  width: 100%; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 11px 13px; font-size: 14.5px; font-family: var(--font); color: var(--ink);
  background: var(--white); outline: none; transition: .18s;
}
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-50);
}
.input::placeholder, .textarea::placeholder { color: var(--ink-4); }
.textarea { min-height: 92px; resize: vertical; line-height: 1.65; }
.input[readonly] { background: var(--bg); color: var(--ink-3); }
.input.mono { font-family: var(--mono); font-size: 13.5px; }
.field-err { color: var(--accent); font-size: 12.5px; margin-top: 6px; display: none; }
.field.bad .input, .field.bad .select { border-color: var(--accent); }
.field.bad .field-err { display: block; }

.check { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--ink-2); cursor: pointer; }
.check input { margin-top: 4px; width: 16px; height: 16px; accent-color: var(--brand); flex: none; }

/* 开关 */
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 13.5px; }
.switch input { display: none; }
.switch .track { width: 42px; height: 24px; border-radius: 999px; background: #D6DEE9; position: relative; transition: .2s; flex: none; }
.switch .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: .2s; box-shadow: var(--shadow-sm); }
.switch input:checked + .track { background: var(--ok); }
.switch input:checked + .track::after { transform: translateX(18px); }

/* ---------- 步骤条 ---------- */
.steps { display: flex; gap: 8px; margin-bottom: 28px; }
.step {
  flex: 1; padding: 13px 16px; border-radius: var(--radius);
  background: var(--bg); border: 1px solid var(--line); font-size: 13.5px; color: var(--ink-3);
  display: flex; align-items: center; gap: 10px; transition: .2s;
}
.step b { width: 22px; height: 22px; border-radius: 50%; background: #DDE4EE; color: var(--ink-3);
  display: grid; place-items: center; font-size: 12px; flex: none; }
.step.on { background: var(--brand-50); border-color: var(--brand-100); color: var(--brand-700); font-weight: 500; }
.step.on b { background: var(--brand); color: #fff; }
.step.done { background: var(--ok-50); border-color: #C6EBD8; color: var(--ok); }
.step.done b { background: var(--ok); color: #fff; }

/* ---------- 提示条 ---------- */
.note {
  display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--radius);
  font-size: 13.5px; line-height: 1.65; border: 1px solid;
}
.note-info { background: var(--brand-50); border-color: var(--brand-100); color: var(--brand-800); }
.note-warn { background: var(--warn-50); border-color: #F5E0B8; color: #7A5200; }
.note-red { background: var(--accent-50); border-color: #F7CFCC; color: #8E2019; }
.note-ok { background: var(--ok-50); border-color: #C6EBD8; color: #0A6B3D; }
.note .ni { flex: none; font-size: 15px; line-height: 1.5; }

/* ---------- 底部 ---------- */
.foot { background: #0F1B2A; color: #93A3B8; padding: 54px 0 26px; margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; margin-bottom: 36px; }
.foot h4 { color: #fff; font-size: 14px; margin-bottom: 14px; }
.foot a { color: #93A3B8; font-size: 13.5px; display: block; padding: 4px 0; }
.foot a:hover { color: #fff; }
.foot-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.foot-brand img { width: 28px; height: 28px; filter: brightness(0) invert(1); opacity: .9; }
.foot-brand b { color: #fff; font-size: 17px; }
.foot p { font-size: 13px; line-height: 1.75; color: #7E8FA6; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: #6C7E95; }

/* ---------- 详情页 ---------- */
.detail-head {
  background: linear-gradient(160deg, #0E4C93, #1667C4 60%, #2A7FD4);
  color: #fff; padding: 44px 0 40px;
}
.detail-head h1 { color: #fff; font-size: 30px; margin-bottom: 10px; }
.detail-head .meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.detail-head .badge { background: rgba(255,255,255,.16); color: #fff; }
.detail-head .badge-gold { background: rgba(255,214,102,.22); color: #FFE1A0; }
.avatar-lg {
  width: 68px; height: 68px; border-radius: 18px; background: rgba(255,255,255,.16);
  display: grid; place-items: center; font-size: 26px; font-weight: 600; color: #fff; flex: none;
}

.list-row { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-bottom: 1px solid var(--line-2); }
.list-row:last-child { border-bottom: 0; }
.list-row .li-main { flex: 1; min-width: 0; }
.list-row .li-main b { display: block; color: var(--ink); font-size: 15px; margin-bottom: 4px; }
.list-row .li-main span { font-size: 13px; color: var(--ink-3); }
.list-row .li-price { font-weight: 700; color: var(--ink); white-space: nowrap; }
.list-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }

/* ---------- 弹窗 ---------- */
.modal-mask {
  position: fixed; inset: 0; background: rgba(15, 27, 42, .5); backdrop-filter: blur(3px);
  display: none; align-items: center; justify-content: center; z-index: 200; padding: 24px;
}
.modal-mask.on { display: flex; }
.modal {
  background: var(--white); border-radius: var(--radius-lg); width: 100%; max-width: 520px;
  box-shadow: var(--shadow-lg); overflow: hidden; max-height: 88vh; display: flex; flex-direction: column;
}
.modal-head { padding: 20px 24px; border-bottom: 1px solid var(--line-2); display: flex; align-items: center; justify-content: space-between; }
.modal-head h3 { font-size: 17px; }
.modal-body { padding: 24px; overflow-y: auto; }
.modal-foot { padding: 16px 24px; border-top: 1px solid var(--line-2); display: flex; gap: 10px; justify-content: flex-end; background: var(--bg); }
.x-btn { border: 0; background: transparent; font-size: 20px; color: var(--ink-4); cursor: pointer; line-height: 1; padding: 4px 8px; border-radius: 6px; }
.x-btn:hover { background: var(--bg); color: var(--ink); }

/* ---------- 凭证 ---------- */
.cert {
  background: var(--white); border: 2px solid var(--brand-100); border-radius: var(--radius-xl);
  padding: 32px; position: relative; overflow: hidden; box-shadow: var(--shadow);
}
.cert::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px;
  border-radius: 50%; background: var(--brand-50); z-index: 0;
}
.cert > * { position: relative; z-index: 1; }

/* ---------- 技能演示（首页） ---------- */
.demo-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 54px; align-items: start; }
.demo-intro h2 { margin-bottom: 14px; }
.demo-lede { color: var(--ink-3); font-size: 15.5px; line-height: 1.8; margin-bottom: 24px; }
.demo-points { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 16px; }
.demo-points li { position: relative; padding-left: 20px; }
.demo-points li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--brand);
}
.demo-points b { display: block; color: var(--ink); font-size: 14.8px; font-weight: 600; margin-bottom: 2px; }
.demo-points span { display: block; font-size: 13.5px; color: var(--ink-3); line-height: 1.65; }
.demo-note { background: var(--brand-50); border-left: 3px solid var(--brand); border-radius: 8px; padding: 13px 16px; }
.demo-note b { display: block; color: var(--brand-800); font-size: 13px; margin-bottom: 3px; }
.demo-note span { font-size: 13px; color: var(--ink-2); line-height: 1.7; }

/* 播放器 */
.vplayer {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg);
  overflow: hidden; background: #0F1B2A; box-shadow: var(--shadow-lg);
}
.vplayer video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block; opacity: 0; transition: opacity .2s;
}
.vplayer.ready video { opacity: 1; }
.vplayer.ready .vcover { display: none; }
.vcover {
  position: absolute; inset: 0; width: 100%; border: 0; padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  cursor: pointer; text-align: left; font-family: var(--font); color: #fff;
  background:
    radial-gradient(circle at 76% 46%, rgba(22, 103, 196, .46), transparent 60%),
    #0F1B2A;
}
.vcover-l { max-width: 64%; }
.vchip {
  display: inline-block; font-size: 11px; letter-spacing: 1.4px; font-weight: 600;
  color: #9CC4EE; border: 1px solid rgba(156, 196, 238, .38);
  border-radius: 999px; padding: 4px 11px; margin-bottom: 14px;
}
.vcover h4 {
  color: #fff; font-size: 26px; line-height: 1.32;
  font-weight: 600; letter-spacing: -.3px; margin-bottom: 12px;
}
.vcover p { color: #9FB3C8; font-size: 13px; line-height: 1.7; margin: 0; }
.vplay {
  flex: none; width: 66px; height: 66px; border-radius: 50%;
  background: rgba(255, 255, 255, .94); display: grid; place-items: center;
  transition: .2s; box-shadow: 0 8px 26px rgba(0, 0, 0, .3);
}
.vplay::after {
  content: ""; width: 0; height: 0; margin-left: 4px;
  border-left: 18px solid var(--brand);
  border-top: 11px solid transparent; border-bottom: 11px solid transparent;
}
.vcover:hover .vplay { transform: scale(1.07); }
.vdur {
  position: absolute; right: 16px; bottom: 14px;
  font-size: 12px; font-weight: 600; letter-spacing: .4px; color: #fff;
  background: rgba(0, 0, 0, .58); border-radius: 4px; padding: 2px 7px;
}
.vhint {
  position: absolute; left: 40px; bottom: 16px; font-size: 12px;
  color: #8098B0; opacity: 0; transition: opacity .25s;
}
.vhint.on { opacity: 1; }

/* 视频下方简介（B 站式） */
.vinfo { padding: 18px 2px 0; }
.vtitle { font-size: 17px; line-height: 1.5; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.vdesc { font-size: 14px; line-height: 1.75; color: var(--ink-3); margin: 0 0 14px; }
.vmeta { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; font-size: 12.5px; color: var(--ink-4); }
.vup { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-3); }
.vupdot {
  width: 20px; height: 20px; border-radius: 50%; background: var(--brand-50);
  color: var(--brand-700); font-size: 11px; font-weight: 600;
  display: grid; place-items: center; font-style: normal;
}
.vdot { color: #CBD5E1; }

/* ---------- 工具类 ---------- */
.mt0 { margin-top: 0; } .mt8 { margin-top: 8px; } .mt16 { margin-top: 16px; }
.mt24 { margin-top: 24px; } .mt32 { margin-top: 32px; } .mt44 { margin-top: 44px; }
.mb0 { margin-bottom: 0; } .mb8 { margin-bottom: 8px; } .mb16 { margin-bottom: 16px; }
.mb24 { margin-bottom: 24px; } .mb32 { margin-bottom: 32px; }
.hide { display: none !important; }
.flex { display: flex; } .between { justify-content: space-between; } .aic { align-items: center; }
.gap8 { gap: 8px; } .gap12 { gap: 12px; } .gap16 { gap: 16px; } .wrapf { flex-wrap: wrap; }
.code-box {
  background: #0F1B2A; color: #C8E1FF; border-radius: var(--radius); padding: 14px 16px;
  font-family: var(--mono); font-size: 12.5px; line-height: 1.7; overflow-x: auto; white-space: pre;
}

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { font-size: 34px; }
  .g4, .g3 { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .flow-item::after { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .demo-grid { grid-template-columns: 1fr; gap: 34px; }
  .vcover { padding: 0 28px; }
  .vcover h4 { font-size: 21px; }
  .vplay { width: 54px; height: 54px; }
  .vplay::after { border-left-width: 15px; border-top-width: 9px; border-bottom-width: 9px; }
  .vhint { left: 28px; }
}
@media (max-width: 620px) {
  body { font-size: 14.5px; }
  .hero-in { padding: 52px 20px 44px; }
  .hero h1 { font-size: 27px; }
  .section { padding: 52px 0; }
  h2 { font-size: 22px; }
  .g2, .g3, .g4, .flow { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .form-card { padding: 20px; }
  .steps { flex-direction: column; }
  .wrap { padding: 0 18px; }
  .vcover { padding: 0 20px; gap: 14px; }
  .vcover-l { max-width: 70%; }
  .vcover h4 { font-size: 17px; margin-bottom: 8px; }
  .vcover p { display: none; }
  .vchip { margin-bottom: 9px; font-size: 10px; }
  .vplay { width: 46px; height: 46px; }
  .vplay::after { border-left-width: 13px; border-top-width: 8px; border-bottom-width: 8px; margin-left: 3px; }
  .vhint { left: 20px; bottom: 12px; }
  .vtitle { font-size: 15.5px; }
}
