/* ============================================================
   只视车官网 · 静态站样式
   色板与字族取自 UI2/design-tokens.json(语义层同名单向映射)
   ============================================================ */

:root {
  /* bg */
  --canvas: #101512;
  --surface: #1A221E;
  --surface-inset: #151C18;
  --tile: #2E3932;
  /* text */
  --text-1: #FFFFFF;
  --text-2: #E6E6E6;
  --text-3: #B3B3B3;
  --text-4: #8A8A8A;
  /* brand */
  --brand: #25E98B;
  --on-brand: #0A0A0A;
  --brand-12: rgba(37, 233, 139, .12);
  --brand-16: rgba(37, 233, 139, .16);
  --brand-25: rgba(37, 233, 139, .25);
  /* border / scrim */
  --hairline: rgba(255, 255, 255, .08);
  --card-line: rgba(255, 255, 255, .06);
  --scrim: rgba(0, 0, 0, .88);
  /* font */
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "HarmonyOS Sans SC", system-ui, -apple-system, sans-serif;
  --radius-lg: 20px;
  --radius-md: 14px;
  --wrap: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--canvas);
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.7;
  color-scheme: dark;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* 上架前临时隐藏(下载入口 / 关于页公司信息卡):恢复时移除元素上的 hide 类 */
.hide { display: none !important; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(16, 21, 18, .86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { width: 34px; height: 34px; }
.brand .brand-name { font-size: 20px; font-weight: 700; color: var(--text-1); letter-spacing: 1px; }
.site-nav { display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.site-nav::-webkit-scrollbar { display: none; }
.site-nav a {
  padding: 8px 14px; border-radius: 999px;
  font-size: 15px; color: var(--text-3); white-space: nowrap;
  transition: color .2s, background .2s;
}
.site-nav a:hover { color: var(--text-1); background: var(--brand-12); }
.site-nav a.nav-cta { color: var(--on-brand); background: var(--brand); font-weight: 600; }
.site-nav a.nav-cta:hover { background: var(--brand); opacity: .9; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 420px at 82% 18%, rgba(37, 233, 139, .10), transparent 65%),
    radial-gradient(500px 380px at 8% 88%, rgba(37, 233, 139, .06), transparent 60%);
}
.hero-inner {
  position: relative;
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: 48px; align-items: center;
  /* 上下 padding 单列,避免覆盖 .wrap 的左右 24px */
  padding-top: 88px; padding-bottom: 96px;
}
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--brand-12); border: 1px solid var(--brand-25);
  color: var(--brand); font-size: 14px; font-weight: 500;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: 52px; line-height: 1.22; font-weight: 700;
  color: var(--text-1); letter-spacing: 1px; margin-bottom: 20px;
}
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .lead { font-size: 18px; color: var(--text-3); max-width: 34em; margin-bottom: 34px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 38px; }
.hero-chips span {
  padding: 7px 15px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--card-line);
  font-size: 14px; color: var(--text-3);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 30px; border-radius: 999px;
  font-size: 16px; font-weight: 600; line-height: 1.4;
  transition: transform .15s, opacity .2s, background .2s;
  cursor: pointer;
}
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { opacity: .88; transform: translateY(-1px); }
.btn-ghost { border: 1px solid var(--brand-25); color: var(--brand); background: transparent; }
.btn-ghost:hover { background: var(--brand-12); }

/* ---------- phone mockup(纯 CSS 绘制的 App 预览) ---------- */
.phone {
  width: 258px; height: 540px; margin: 0 auto;
  background: var(--tile);
  border-radius: 42px; padding: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px var(--hairline);
}
.phone .screen {
  position: relative; width: 100%; height: 100%;
  background: var(--canvas); border-radius: 35px; overflow: hidden;
}
.phone .notch {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 86px; height: 22px; border-radius: 999px;
  background: var(--tile); z-index: 5;
}
/* 屏 A:首页视频流 */
.scr-feed { display: flex; flex-direction: column; height: 100%; }
.scr-feed .feed-tabs {
  display: flex; justify-content: center; gap: 14px;
  padding: 40px 0 10px; font-size: 13px; color: var(--text-4);
}
.scr-feed .feed-tabs b { color: var(--text-1); position: relative; font-weight: 600; }
.scr-feed .feed-tabs b::after {
  content: ""; position: absolute; left: 50%; bottom: -5px;
  transform: translateX(-50%); width: 16px; height: 2px;
  border-radius: 2px; background: var(--brand);
}
.scr-feed .video-area { position: relative; flex: 1; background: linear-gradient(160deg, var(--tile), var(--surface-inset) 78%); }
.scr-feed .play-badge {
  position: absolute; top: 34%; left: 50%; transform: translate(-50%, -50%);
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(0, 0, 0, .45);
  display: flex; align-items: center; justify-content: center;
}
.scr-feed .play-badge::after {
  content: ""; margin-left: 4px;
  border-left: 16px solid var(--text-1);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}
.scr-feed .rail { position: absolute; right: 8px; bottom: 108px; display: flex; flex-direction: column; gap: 12px; }
.scr-feed .rail i {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(0, 0, 0, .45);
}
.scr-feed .rail i:first-child { background: var(--brand); }
.scr-feed .scrim {
  position: absolute; inset: auto 0 0 0; padding: 44px 14px 18px;
  background: linear-gradient(to top, var(--scrim), transparent);
}
.scr-feed .scrim .t1 { height: 12px; width: 68%; border-radius: 4px; background: rgba(255, 255, 255, .85); margin-bottom: 8px; }
.scr-feed .scrim .t2 { height: 9px; width: 44%; border-radius: 4px; background: rgba(255, 255, 255, .35); margin-bottom: 12px; }
.scr-feed .scrim .t3 { height: 9px; width: 30%; border-radius: 4px; background: rgba(255, 255, 255, .22); }
.scr-feed .ask-chip {
  position: absolute; right: 10px; bottom: 58px;
  padding: 7px 14px; border-radius: 999px;
  background: var(--brand); color: var(--on-brand);
  font-size: 12px; font-weight: 700;
}
/* 屏 B:报价比价 */
.scr-quotes { padding: 44px 12px 12px; display: flex; flex-direction: column; gap: 10px; height: 100%; }
.scr-quotes .seg {
  display: flex; background: var(--surface-inset); border-radius: 999px; padding: 3px;
  font-size: 12px; color: var(--text-4); margin-bottom: 2px;
}
.scr-quotes .seg span { flex: 1; text-align: center; padding: 6px 0; border-radius: 999px; }
.scr-quotes .seg span.on { background: var(--brand-16); color: var(--brand); font-weight: 700; }
.q-card {
  background: var(--surface); border: 1px solid var(--card-line);
  border-radius: 14px; padding: 12px;
}
.q-card .row1 { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.q-card .row1 i { width: 22px; height: 22px; border-radius: 50%; background: var(--tile); flex-shrink: 0; }
.q-card .row1 b { font-size: 12px; color: var(--text-2); font-weight: 600; flex: 1; }
.q-card .row1 s { text-decoration: none; font-size: 10px; color: var(--brand); background: var(--brand-12); padding: 2px 6px; border-radius: 999px; }
.q-card .price { font-size: 19px; font-weight: 700; color: var(--brand); margin-bottom: 4px; }
.q-card .price small { font-size: 10px; font-weight: 400; color: var(--text-4); margin-left: 2px; }
.q-card .meta { font-size: 10px; color: var(--text-4); margin-bottom: 9px; }
.q-card .btn-line {
  display: block; text-align: center; padding: 6px 0;
  border: 1px solid var(--brand-25); border-radius: 999px;
  color: var(--brand); font-size: 11px; font-weight: 600;
}
/* 屏 C:IM 议价 */
.scr-chat { padding: 44px 12px 14px; display: flex; flex-direction: column; gap: 10px; height: 100%; }
.scr-chat .chat-title { text-align: center; font-size: 12px; color: var(--text-3); font-weight: 600; margin-bottom: 2px; }
.bubble { max-width: 78%; border-radius: 14px; padding: 9px 11px; font-size: 11px; line-height: 1.55; }
.bubble.them { align-self: flex-start; background: var(--surface); border: 1px solid var(--card-line); color: var(--text-3); border-bottom-left-radius: 4px; }
.bubble.me { align-self: flex-end; background: var(--brand-16); color: var(--text-2); border-bottom-right-radius: 4px; }
.bubble.car-card { display: flex; gap: 8px; }
.bubble.car-card i { width: 44px; height: 44px; border-radius: 8px; background: var(--tile); flex-shrink: 0; }
.bubble.car-card .ct { font-size: 11px; color: var(--text-2); font-weight: 600; }
.bubble.car-card .cm { font-size: 10px; color: var(--text-4); }
.quote-in-chat { align-self: flex-start; width: 78%; background: var(--surface); border: 1px solid var(--brand-25); border-radius: 14px; padding: 10px 12px; }
.quote-in-chat .qt { font-size: 10px; color: var(--text-4); margin-bottom: 3px; }
.quote-in-chat .qp { font-size: 17px; font-weight: 700; color: var(--brand); }
.quote-in-chat .qb { margin-top: 8px; text-align: center; padding: 5px 0; border-radius: 999px; background: var(--brand); color: var(--on-brand); font-size: 10px; font-weight: 700; }
/* 屏 D:商家工作台 */
.scr-work { padding: 44px 12px 14px; display: flex; flex-direction: column; gap: 10px; height: 100%; }
.scr-work .work-title { font-size: 13px; color: var(--text-1); font-weight: 700; }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kpis .k { background: var(--surface); border: 1px solid var(--card-line); border-radius: 12px; padding: 9px 11px; }
.kpis .k b { display: block; font-size: 15px; color: var(--text-1); }
.kpis .k span { font-size: 9px; color: var(--text-4); }
.chart { background: var(--surface); border: 1px solid var(--card-line); border-radius: 12px; padding: 10px 12px 8px; flex: 1; display: flex; flex-direction: column; }
.chart .ct { font-size: 10px; color: var(--text-4); margin-bottom: 6px; }
.chart .bars { flex: 1; display: flex; align-items: flex-end; gap: 7px; }
.chart .bars i { flex: 1; border-radius: 3px 3px 1px 1px; background: var(--tile); }
.chart .bars i.hi { background: var(--brand); }
.lead-list { display: flex; flex-direction: column; gap: 7px; }
.lead-list .l { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--card-line); border-radius: 10px; padding: 8px 10px; }
.lead-list .l i { width: 20px; height: 20px; border-radius: 50%; background: var(--tile); flex-shrink: 0; }
.lead-list .l b { flex: 1; font-size: 10px; color: var(--text-2); font-weight: 600; }
.lead-list .l s { text-decoration: none; font-size: 9px; padding: 2px 7px; border-radius: 999px; background: var(--brand-12); color: var(--brand); }

/* ---------- section 通用 ---------- */
.section { padding: 96px 0; }
.section.alt { background: var(--surface-inset); border-top: 1px solid var(--card-line); border-bottom: 1px solid var(--card-line); }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.sec-head .kick { color: var(--brand); font-size: 14px; font-weight: 600; letter-spacing: 4px; margin-bottom: 12px; }
.sec-head h2 { font-size: 34px; color: var(--text-1); font-weight: 700; letter-spacing: 1px; margin-bottom: 14px; }
.sec-head p { color: var(--text-3); font-size: 16px; }

/* 功能卡片 */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat {
  background: var(--surface); border: 1px solid var(--card-line);
  border-radius: var(--radius-lg); padding: 30px 26px;
  transition: transform .2s, border-color .2s;
}
.feat:hover { transform: translateY(-4px); border-color: var(--brand-25); }
.feat .icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--brand-12); border: 1px solid var(--brand-25);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; color: var(--brand);
}
.feat h3 { font-size: 19px; color: var(--text-1); font-weight: 700; margin-bottom: 10px; }
.feat p { font-size: 14.5px; color: var(--text-3); }

/* 流程 */
.flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; position: relative; }
.flow .step { position: relative; text-align: center; padding-top: 6px; }
.flow .dot {
  width: 44px; height: 44px; margin: 0 auto 14px;
  border-radius: 50%; background: var(--surface);
  border: 1px solid var(--brand-25);
  color: var(--brand); font-weight: 700; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
}
.flow .step:not(:last-child)::before {
  content: ""; position: absolute; top: 27px; left: calc(50% + 26px);
  width: calc(100% - 52px); height: 1px;
  background: linear-gradient(90deg, var(--brand-25), transparent);
}
.flow .step h4 { font-size: 15px; color: var(--text-1); font-weight: 600; margin-bottom: 6px; }
.flow .step p { font-size: 12.5px; color: var(--text-4); line-height: 1.6; }

/* 角色 */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.role {
  background: var(--surface); border: 1px solid var(--card-line);
  border-radius: var(--radius-lg); padding: 28px 24px;
}
.role .icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--brand-12); color: var(--brand);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.role h3 { font-size: 17px; color: var(--text-1); font-weight: 700; margin-bottom: 8px; }
.role p { font-size: 13.5px; color: var(--text-3); }

/* 预览三屏 */
.screens-row {
  display: flex; justify-content: center; align-items: flex-end;
  gap: 40px; flex-wrap: wrap;
}
.screens-row .shot { text-align: center; }
.screens-row .shot:nth-child(2) { transform: translateY(-24px); }
.screens-row figcaption { margin-top: 20px; font-size: 15px; color: var(--text-2); font-weight: 600; }
.screens-row figcaption small { display: block; font-size: 12.5px; color: var(--text-4); font-weight: 400; margin-top: 4px; }

/* 下载 */
.dl-panel {
  display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center;
  background: var(--surface); border: 1px solid var(--card-line);
  border-radius: 24px; padding: 48px 56px;
  position: relative; overflow: hidden;
}
.dl-panel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px 260px at 12% 0%, rgba(37, 233, 139, .10), transparent 70%);
}
.qr-box {
  position: relative;
  width: 168px; height: 168px; border-radius: 16px;
  background: var(--text-1); padding: 12px;
}
.qr-box svg { width: 100%; height: 100%; display: block; }
.dl-info { position: relative; }
.dl-info h3 { font-size: 26px; color: var(--text-1); font-weight: 700; margin-bottom: 10px; }
.dl-info .note { font-size: 14px; color: var(--text-3); margin-bottom: 24px; }
.dl-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px; border-radius: 14px;
  background: var(--surface-inset); border: 1px solid var(--hairline);
  color: var(--text-1); transition: border-color .2s, background .2s;
}
.store-btn:hover { border-color: var(--brand-25); background: var(--tile); }
.store-btn svg { width: 22px; height: 22px; flex-shrink: 0; }
.store-btn .s1 { display: block; font-size: 11px; color: var(--text-4); line-height: 1.3; }
.store-btn .s2 { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }

/* 关于 */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.about-copy h3 { font-size: 22px; color: var(--text-1); font-weight: 700; margin-bottom: 14px; }
.about-copy p { color: var(--text-3); font-size: 15px; margin-bottom: 12px; }
.about-card {
  background: var(--surface); border: 1px solid var(--card-line);
  border-radius: var(--radius-lg); padding: 30px 28px;
}
.about-card li { display: flex; gap: 12px; padding: 10px 0; font-size: 14.5px; border-bottom: 1px solid var(--card-line); }
.about-card li:last-child { border-bottom: 0; }
.about-card .k { color: var(--text-4); flex-shrink: 0; width: 4.5em; }
.about-card .v { color: var(--text-2); word-break: break-all; }

/* 页脚 */
.site-footer { border-top: 1px solid var(--hairline); background: var(--surface-inset); padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-brand img { width: 40px; height: 40px; margin-bottom: 14px; }
.footer-brand .fname { font-size: 18px; color: var(--text-1); font-weight: 700; margin-bottom: 10px; }
.footer-brand p { font-size: 13.5px; color: var(--text-4); max-width: 26em; }
.footer-col h4 { font-size: 15px; color: var(--text-1); font-weight: 600; margin-bottom: 16px; }
.footer-col a { display: block; padding: 5px 0; font-size: 14px; color: var(--text-4); transition: color .2s; }
.footer-col a:hover { color: var(--brand); }
.footer-bottom {
  border-top: 1px solid var(--hairline);
  padding: 20px 0; text-align: center;
  font-size: 13px; color: var(--text-4);
}
.footer-bottom a { color: var(--text-4); }
.footer-bottom a:hover { color: var(--brand); }
.footer-bottom .sep { margin: 0 10px; opacity: .5; }

/* 法务页(隐私政策 / 用户协议) */
.legal { padding: 64px 0 96px; }
.legal h1 { font-size: 34px; color: var(--text-1); font-weight: 700; margin-bottom: 8px; }
.legal .updated { font-size: 14px; color: var(--text-4); margin-bottom: 40px; }
.legal h2 { font-size: 20px; color: var(--text-1); font-weight: 700; margin: 36px 0 12px; padding-left: 12px; border-left: 3px solid var(--brand); }
.legal p, .legal li { font-size: 15px; color: var(--text-3); margin-bottom: 10px; }
.legal ul { padding-left: 22px; list-style: disc; }
.legal strong { color: var(--text-2); }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 64px; gap: 56px; }
  .hero h1 { font-size: 38px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .flow .step:nth-child(3)::before { display: none; }
  .dl-panel { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 40px 28px; }
  .dl-btns { justify-content: center; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .screens-row .shot:nth-child(2) { transform: none; }
  .section { padding: 72px 0; }
}
@media (max-width: 600px) {
  .header-inner { height: auto; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
  .hero h1 { font-size: 31px; }
  .hero .lead { font-size: 16px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow .step:nth-child(3)::before { display: block; }
  .flow .step:nth-child(even)::before { display: none; }
  .sec-head h2 { font-size: 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .qr-box { width: 150px; height: 150px; }
  .phone { width: 238px; height: 500px; }
}
