/* ============================================================
   众赞虚拟演播厅官网 · 暗色科技风
   site.css — 单文件全站样式，无任何外部依赖
   ============================================================ */

:root {
  --bg: #0A0E1A;
  --panel: #121826;
  --panel-2: #161d30;
  --line: rgba(148, 163, 199, .14);
  --primary: #2F7BFF;
  --primary-soft: rgba(47, 123, 255, .14);
  --accent-a: #6C5CE7;
  --accent-b: #00D4FF;
  --grad: linear-gradient(120deg, var(--accent-a), var(--accent-b));
  --text: #E6EAF2;
  --muted: #8A94A6;
  --cheliban: #1677FF;
  --radius: 14px;
  --shadow: 0 10px 40px rgba(0, 0, 0, .35);
  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-b); text-decoration: none; }
a:hover { color: #6fe0ff; }
h1, h2, h3, h4 { line-height: 1.3; margin: 0 0 .6em; font-weight: 700; letter-spacing: .01em; }
h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.18rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding-left: 1.2em; }
li { margin: .25em 0; }
table { border-collapse: collapse; width: 100%; }
em { font-style: normal; }

.container { width: min(1140px, 92%); margin: 0 auto; }
.section { padding: 72px 0; }
.section-tight { padding: 44px 0; }
.center { text-align: center; }
.muted { color: var(--muted); }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* 章节标题 */
.sec-head { max-width: 760px; margin: 0 auto 40px; }
.sec-head.center { text-align: center; }
.sec-kicker {
  display: inline-block;
  font-size: .82rem;
  letter-spacing: .18em;
  color: var(--accent-b);
  text-transform: uppercase;
  margin-bottom: .5em;
}
.sec-head p { color: var(--muted); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary {
  background: linear-gradient(120deg, #3D55D6, #1E8FD6);
  color: #fff;
  box-shadow: 0 6px 20px rgba(47, 123, 255, .28);
}
.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(47, 123, 255, .32);
}
.btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, .03);
}
.btn-ghost:hover { border-color: var(--primary); color: #fff; }
.btn-sm { padding: 8px 18px; font-size: .9rem; }
.btn-block { display: block; text-align: center; width: 100%; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 14, 26, .78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  white-space: nowrap;
}
.brand:hover { color: #fff; }
.brand img { border-radius: 7px; }
.brand em { color: var(--accent-b); font-style: normal; }
.nav-toggle { display: none; }
.nav-burger { display: none; cursor: pointer; margin-left: auto; padding: 10px; }
.nav-burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 2px;
}
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; flex-wrap: nowrap; }
.site-nav > a {
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: .95rem;
  white-space: nowrap;
}
.site-nav > a:hover { color: var(--text); background: var(--primary-soft); }
.site-nav > a.active { color: #fff; background: var(--primary-soft); font-weight: 600; }
.site-nav .btn { margin-left: 8px; }

@media (max-width: 1023px) {
  .nav-burger { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(12, 17, 31, .97);
    border-bottom: 1px solid var(--line);
    padding: 12px 4vw 18px;
    gap: 2px;
  }
  .site-nav > a { padding: 12px 14px; font-size: 1rem; }
  .site-nav .btn { margin: 10px 14px 0; text-align: center; }
  .nav-toggle:checked ~ .site-nav { display: flex; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 84px;
  background:
    radial-gradient(680px 340px at 12% -8%, rgba(108, 92, 231, .28), transparent 62%),
    radial-gradient(720px 380px at 88% 4%, rgba(0, 212, 255, .18), transparent 60%),
    var(--bg);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 199, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 199, .07) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 40%, transparent 100%);
  pointer-events: none;
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.hero-kicker {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .85rem;
  color: var(--accent-b);
  background: rgba(0, 212, 255, .06);
  margin-bottom: 18px;
}
.hero h1 { margin-bottom: 16px; }
.hero .lead { color: var(--muted); font-size: 1.08rem; max-width: 34em; }
.hero-cta { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.hero-stats { display: flex; gap: 28px; margin-top: 30px; flex-wrap: wrap; }
.hero-stat b { display: block; font-size: 1.35rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stat span { color: var(--muted); font-size: .88rem; }

@media (max-width: 900px) {
  .hero { padding: 64px 0 56px; }
  .hero .container { grid-template-columns: 1fr; }
}

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(47, 123, 255, .55);
  box-shadow: 0 14px 40px rgba(47, 123, 255, .18);
}
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); margin: 0; font-size: .96rem; }
.card .num {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 11px;
  background: var(--grad);
  color: #fff;
  font-weight: 700;
  margin-bottom: 14px;
}
.card-img { border-radius: 10px; margin-bottom: 16px; border: 1px solid var(--line); aspect-ratio: 16/10; object-fit: cover; width: 100%; }

/* 图文行业卡 */
.industry-card img.card-img { aspect-ratio: 16/10; }

/* ---------- 对比区 ---------- */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 780px) { .compare-grid { grid-template-columns: 1fr; } }
.compare-card { border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); background: var(--panel); }
.compare-card.win { border-color: rgba(0, 212, 255, .45); background: linear-gradient(180deg, rgba(0, 212, 255, .06), var(--panel)); }
.compare-card .tag { font-size: .8rem; color: var(--muted); letter-spacing: .1em; }
.compare-card h3 { margin: .2em 0 .6em; }
.compare-card ul { color: var(--muted); padding-left: 1.1em; }
.compare-card li { margin: .35em 0; }
.compare-card b { color: var(--text); }

/* ---------- 价格 ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
}
.price-card.featured {
  border-color: rgba(47, 123, 255, .6);
  background: linear-gradient(180deg, rgba(47, 123, 255, .10), var(--panel) 55%);
  box-shadow: 0 18px 50px rgba(47, 123, 255, .2);
}
.price-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff;
  font-size: .78rem; font-weight: 600;
  padding: 4px 14px; border-radius: 999px;
  white-space: nowrap;
}
.price-name { font-size: 1.1rem; font-weight: 700; }
.price-tagline { color: var(--muted); font-size: .9rem; min-height: 2.6em; }
.price-num { font-size: 2.15rem; font-weight: 800; margin: 10px 0 2px; }
.price-num small { font-size: .95rem; color: var(--muted); font-weight: 400; }
.price-alt { color: var(--muted); font-size: .88rem; margin-bottom: 16px; }
.price-feats { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; }
.price-feats li { padding: 6px 0 6px 26px; position: relative; color: var(--muted); font-size: .94rem; border-bottom: 1px dashed rgba(148, 163, 199, .1); }
.price-feats li::before {
  content: "✓";
  position: absolute; left: 4px;
  color: var(--accent-b); font-weight: 700;
}

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
table.cmp { min-width: 640px; font-size: .95rem; }
table.cmp th, table.cmp td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line); }
table.cmp thead th { background: var(--panel-2); color: var(--text); white-space: nowrap; }
table.cmp td { color: var(--muted); }
table.cmp td:first-child { color: var(--text); font-weight: 600; white-space: nowrap; }
table.cmp tbody tr:last-child td { border-bottom: none; }
.price-cell { font-weight: 700; color: var(--text); }

/* ---------- FAQ 手风琴 ---------- */
details.faq {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}
details.faq summary {
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 600;
  list-style: none;
  position: relative;
  padding-right: 44px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+";
  position: absolute; right: 18px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem; color: var(--accent-b);
  transition: transform .18s ease;
}
details.faq[open] summary::after { content: "−"; }
details.faq .faq-body { padding: 0 20px 18px; color: var(--muted); font-size: .96rem; }
details.faq .faq-body ul { padding-left: 1.2em; }
details.faq .faq-body b, details.faq .faq-body strong { color: var(--text); }
details.faq code {
  background: var(--panel-2);
  border: 1px solid var(--line);
  padding: 1px 7px; border-radius: 6px;
  font-size: .9em;
}
details.faq pre {
  background: #0d1322;
  border: 1px solid var(--line);
  padding: 14px 16px; border-radius: 10px;
  overflow-x: auto; font-size: .88rem; line-height: 1.6;
}
details.doc { margin-bottom: 14px; }
details.doc .faq-body h4 { margin: 1em 0 .4em; color: var(--text); font-size: 1rem; }
details.doc img { border-radius: 10px; margin: 10px 0; border: 1px solid var(--line); }

/* ---------- CTA 横幅 ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 52px 44px;
  background:
    radial-gradient(500px 240px at 8% 0%, rgba(108, 92, 231, .35), transparent 60%),
    radial-gradient(520px 260px at 92% 100%, rgba(0, 212, 255, .25), transparent 60%),
    var(--panel);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.cta-band h2 { margin-bottom: 6px; }
.cta-band p { color: var(--muted); margin: 0; }

/* ---------- 车立办推荐位 ---------- */
.cheliban-band {
  border-radius: var(--radius);
  padding: 34px 36px;
  border: 1px solid rgba(22, 119, 255, .45);
  background: linear-gradient(135deg, rgba(22, 119, 255, .12), rgba(22, 119, 255, .03));
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center;
}
@media (max-width: 780px) { .cheliban-band { grid-template-columns: 1fr; text-align: left; } }
.cheliban-band img { width: 56px; height: 56px; border-radius: 14px; }
.cheliban-band h3 { margin: 0 0 .25em; }
.cheliban-band h3 a { color: #fff; }
.cheliban-band p { margin: 0; color: var(--muted); font-size: .96rem; }
.cheliban-band .stats { color: var(--accent-b); font-size: .88rem; margin-top: .5em; }

/* ---------- 案例 ---------- */
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 780px) { .case-grid { grid-template-columns: 1fr; } }
.case-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.case-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.case-card .body { padding: 20px 22px; }
.case-card .body h3 { margin-bottom: .3em; }
.case-card .body p { color: var(--muted); margin: 0; font-size: .95rem; }
.video-card video { width: 100%; border-radius: 0; }
/* 视频固定比例框：锁定 16:9 高度，播放时不会被视频固有比例撑开 */
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}
/* 竖屏行：9:16 框 */
.video-frame.v916 { aspect-ratio: 9 / 16; }
.video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-frame video.vfit-contain { object-fit: contain; }
/* 行业场景效果图片：16:9 */
.case-card img.r169 { aspect-ratio: 16 / 9; object-fit: cover; }

/* 机构案例卡（logo 图用 contain 展示，避免裁切） */
.logo-card .card-img,
.case-card.logo-card img {
  aspect-ratio: 16/10;
  object-fit: contain;
  background: #fff;
  padding: 10px;
}
.logo-card h3 { font-size: 1rem; margin-bottom: .2em; }
.logo-card p { font-size: .86rem; }

/* ---------- 页脚 ---------- */
.site-footer {
  margin-top: 80px;
  border-top: 1px solid var(--line);
  background: #080b14;
  padding: 52px 0 26px;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 36px; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col h4 { font-size: .95rem; margin-bottom: 14px; color: #fff; }
.footer-col a { display: block; color: var(--muted); padding: 4px 0; font-size: .93rem; }
.footer-col a:hover { color: var(--accent-b); }
.footer-brand p { color: var(--muted); font-size: .92rem; margin: 12px 0; }
.footer-brand .qr { border-radius: 8px; border: 1px solid var(--line); }
.footer-brand .qr-tip { font-size: .8rem; color: var(--muted); }
.footer-note { color: var(--muted); font-size: .85rem; margin: 6px 0 0; }
.cheliban-link {
  display: inline-flex !important;
  align-items: center; gap: 8px;
  color: var(--text) !important; font-weight: 600;
}
.footer-bottom {
  margin-top: 38px; padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  color: var(--muted); font-size: .85rem;
}

/* ---------- 面包屑 ---------- */
.crumbs { padding: 18px 0 0; font-size: .88rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent-b); }
.crumbs span { margin: 0 6px; }

/* ---------- 404 ---------- */
.nf-wrap { text-align: center; padding: 120px 0 90px; }
.nf-code { font-size: 6rem; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }

/* ---------- 无动画偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
