/* Design philosophy: 工业电影现实主义；夜间高端改装车间、诊断屏、拍摄工位与数据仪表的原创视觉语言 */
:root {
  --bg: #0b1015;
  --panel: rgba(18, 24, 31, 0.92);
  --panel-soft: rgba(25, 34, 44, 0.82);
  --panel-muted: rgba(245, 247, 250, 0.06);
  --line: rgba(132, 245, 210, 0.16);
  --line-warm: rgba(231, 162, 74, 0.24);
  --ink: #f4f7fb;
  --muted: #a0b0c1;
  --amber: #e7a24a;
  --mint: #84f5d2;
  --steel: #607285;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --content: min(1320px, calc(100% - 28px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(132,245,210,0.08), transparent 24%),
    radial-gradient(circle at right top, rgba(231,162,74,0.08), transparent 18%),
    linear-gradient(180deg, #091016 0%, #0e151c 45%, #0b1015 100%);
  font-family: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.75;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
video { display: block; width: 100%; height: 100%; object-fit: cover; background: #111821; }
button, input, textarea { font: inherit; }
.site-shell { width: var(--content); margin: 0 auto; padding: 14px 0 44px; }
.topline {
  margin-bottom: 16px;
  padding: 12px 18px;
  border: 1px solid var(--line-warm);
  background: linear-gradient(90deg, rgba(231,162,74,0.14), rgba(132,245,210,0.08));
  border-radius: 18px;
  color: #f5e9d8;
  font-size: 14px;
}
.site-header {
  position: sticky;
  top: 8px;
  z-index: 40;
  margin-bottom: 24px;
  padding: 18px 22px 20px;
  border-radius: var(--radius-lg);
  background: rgba(8, 12, 16, 0.82);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(132,245,210,0.1);
  box-shadow: var(--shadow);
}
.header-row,
.brand-tools,
.main-nav,
.meta-strip,
.hero-actions,
.panel-grid,
.footer-grid,
.keyword-cloud,
.stats-grid,
.share-row,
.card-tags,
.contact-codes,
.guide-grid,
.action-row { display: flex; flex-wrap: wrap; gap: 12px; }
.header-row { justify-content: space-between; align-items: center; margin-bottom: 14px; }
.brandmark { display: inline-flex; align-items: center; gap: 14px; }
.brandmark img {
  width: 58px;
  height: 58px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(132,245,210,0.18);
}
.brandmark strong {
  display: block;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.06em;
}
.brandmark span,
.brand-tools span,
.section-intro,
.search-feedback,
.breadcrumb,
.card-copy p,
.info-copy p,
.metric-row,
.footer-note,
.json-card,
.timeline p,
.faq-answer,
.comment-card p,
.contact-list p,
.grid-note,
.code-note,
.copyline,
.section-heading p,
.tagline { color: var(--muted); }
.brand-tools { justify-content: flex-end; font-size: 13px; }
.main-nav { margin-bottom: 16px; }
.nav-link {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(132,245,210,0.14);
  background: rgba(255,255,255,0.04);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.nav-link:hover,
.nav-link.is-active {
  transform: translateY(-1px);
  border-color: rgba(231,162,74,0.54);
  background: rgba(231,162,74,0.08);
}
.search-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-bottom: 10px;
}
.search-wrap input,
.search-wrap button,
.hero-actions a,
.share-btn,
.action-link {
  min-height: 52px;
  border-radius: 18px;
}
.search-wrap input {
  border: 1px solid rgba(132,245,210,0.14);
  background: rgba(255,255,255,0.04);
  color: var(--ink);
  padding: 0 16px;
}
.search-wrap button,
.hero-actions a,
.share-btn,
.action-link {
  border: 0;
  padding: 0 18px;
  color: #0f141a;
  background: linear-gradient(135deg, var(--amber), #f3bf76);
  box-shadow: 0 14px 30px rgba(231,162,74,0.18);
  font-weight: 700;
}
.search-feedback { margin: 0 0 10px; font-size: 14px; }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
}
.hero {
  position: relative;
  overflow: hidden;
  border-radius: 36px;
  box-shadow: var(--shadow);
  min-height: 620px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(132,245,210,0.12);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 10, 14, 0.92), rgba(6, 10, 14, 0.58) 45%, rgba(6,10,14,0.22) 100%);
}
.hero-page { min-height: 540px; }
.hero-inner {
  position: relative;
  z-index: 1;
  min-height: inherit;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .8fr);
  gap: 24px;
  align-items: end;
  padding: 52px 40px;
}
.hero-copy { max-width: 62ch; }
.eyebrow {
  margin: 0 0 10px;
  color: rgba(132,245,210,0.94);
  font-size: 13px;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.hero h1,
.section-heading h2,
.card-copy h3,
.info-copy h3,
.comment-card h3,
.faq-card summary,
.panel-title,
.contact-card h3,
.footer-card h3 { margin: 0; }
.hero h1 {
  font-size: clamp(38px, 7vw, 74px);
  line-height: 1.03;
  max-width: 12ch;
  letter-spacing: .02em;
}
.lead {
  margin: 16px 0 18px;
  color: rgba(244,247,251,0.9);
  font-size: 18px;
}
.meta-chip,
.stat-chip,
.section-index,
.card-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 14px;
}
.meta-chip,
.stat-chip {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
}
.hero-panel,
.card,
.video-card,
.info-card,
.comment-card,
.contact-card,
.footer-card,
.faq-card,
.timeline,
.code-card {
  background: var(--panel);
  border: 1px solid rgba(132,245,210,0.12);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.hero-panel {
  padding: 24px;
  background: rgba(10, 16, 21, 0.72);
  backdrop-filter: blur(14px);
}
.stats-grid { margin-top: 14px; }
.stat-chip { color: var(--ink); }
.section {
  padding: 34px 0;
}
.section-heading { margin-bottom: 18px; }
.section-heading .section-index {
  margin-bottom: 12px;
  background: rgba(132,245,210,0.08);
  border: 1px solid rgba(132,245,210,0.18);
  color: var(--mint);
}
.section-heading h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
}
.section-intro { margin-top: 10px; max-width: 70ch; }
.panel-grid { align-items: stretch; }
.panel-grid.three > * { flex: 1 1 320px; }
.panel-grid.two > * { flex: 1 1 420px; }
.card,
.info-card,
.comment-card,
.contact-card,
.footer-card,
.code-card { padding: 20px; }
.card figure,
.info-card figure,
.contact-card figure {
  margin: 0 0 16px;
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  aspect-ratio: 16 / 10;
}
.card img,
.info-card img,
.contact-card img { width: 100%; height: 100%; object-fit: cover; }
.card figure::after,
.info-card figure::after,
.contact-card figure::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(132,245,210,0.22);
  border-radius: 22px;
  pointer-events: none;
}
.card-copy h3,
.info-copy h3,
.contact-card h3 { font-size: 22px; }
.metric-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
  font-size: 14px;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.video-card {
  overflow: hidden;
  border-radius: var(--radius-md);
}
.video-shell {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #111821;
}
.video-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,10,13,0.12), rgba(7,10,13,0.48));
}
.play-badge,
.video-tag,
.video-count,
.video-like,
.video-comment {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  font-size: 13px;
}
.video-tag {
  top: 14px;
  left: 14px;
  padding: 7px 12px;
  background: rgba(132,245,210,0.12);
  border: 1px solid rgba(132,245,210,0.26);
  color: var(--mint);
}
.play-badge {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(.92);
  padding: 12px 16px;
  background: rgba(255,255,255,0.92);
  color: #10161d;
  font-weight: 800;
  opacity: 0;
  transition: transform .18s ease, opacity .18s ease;
}
.video-card.is-active .play-badge,
.video-shell:hover .play-badge {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.video-count,
.video-like,
.video-comment {
  bottom: 14px;
  padding: 7px 12px;
  background: rgba(15,20,26,0.84);
  color: #f7fbff;
}
.video-count { left: 14px; }
.video-like { left: 102px; }
.video-comment { right: 14px; }
.video-copy { padding: 16px 18px 18px; }
.keyword-cloud { gap: 10px; }
.keyword-chip {
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(132,245,210,0.1);
  color: #dce7f1;
  font-size: 14px;
}
.json-card {
  margin: 0;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(132,245,210,0.12);
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 14px;
}
.guide-grid > * { flex: 1 1 240px; }
.timeline {
  padding: 18px;
  border-radius: var(--radius-md);
}
.timeline strong { display: block; font-size: 18px; margin-bottom: 10px; }
.faq-stack { display: grid; gap: 12px; }
.faq-card {
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255,255,255,0.03);
}
.faq-card summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
}
.faq-answer { margin-top: 10px; }
.comment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.comment-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.rating {
  color: var(--amber);
  font-weight: 700;
  margin-bottom: 10px;
}
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: 18px;
}
.contact-list p { margin: 0 0 8px; }
.contact-codes img {
  width: min(180px, 100%);
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(132,245,210,0.12);
}
.share-row { margin-top: 16px; }
.share-btn {
  background: rgba(255,255,255,0.06);
  color: var(--ink);
  border: 1px solid rgba(132,245,210,0.12);
  box-shadow: none;
}
.site-footer {
  margin-top: 16px;
  padding: 28px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(12,16,21,0.98), rgba(9,12,16,0.98));
  border: 1px solid rgba(132,245,210,0.12);
}
.footer-grid > * { flex: 1 1 260px; }
.footer-brand { margin-bottom: 12px; }
.footer-note { margin-top: 12px; font-size: 14px; }
.action-row { margin-top: 14px; }
.action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.copy-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(231,162,74,0.96);
  color: #10161d;
  font-weight: 700;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
  z-index: 99;
}
.copy-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 1100px) {
  .hero-inner,
  .contact-layout,
  .video-grid,
  .comment-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .site-shell { width: min(100%, calc(100% - 18px)); }
  .site-header { top: 4px; padding: 16px; border-radius: 22px; }
  .header-row { align-items: flex-start; }
  .hero { min-height: 500px; border-radius: 24px; }
  .hero-inner { padding: 28px 20px; }
  .hero h1 { max-width: none; font-size: clamp(34px, 11vw, 52px); }
  .lead { font-size: 16px; }
  .search-wrap { grid-template-columns: 1fr; }
  .video-copy, .card, .info-card, .comment-card, .contact-card, .footer-card, .hero-panel { padding: 16px; }
  .site-footer { padding: 22px 16px; border-radius: 22px; }
}
