/* ============================================================
   AutoVideo 官网 · 设计系统
   品牌色：青 #00d4d4 + 蓝 #2f6bff，深色科技风
   ============================================================ */

:root {
  --bg:          #070a12;
  --bg-2:        #0b0f1a;
  --surface:     rgba(255, 255, 255, 0.028);
  --surface-2:   rgba(255, 255, 255, 0.05);
  --border:      rgba(255, 255, 255, 0.08);
  --border-2:    rgba(255, 255, 255, 0.14);

  --primary:     #00d4d4;
  --primary-dim: #00a8a8;
  --secondary:   #2f6bff;
  --accent:      #7c5cff;
  --danger:      #e3504a;
  --warn:        #f5a623;
  --ok:          #22c55e;

  --text:        #e8ebf2;
  --text-dim:    #9aa1ad;
  --text-faint:  #6b7280;

  --grad:        linear-gradient(120deg, #00d4d4 0%, #2f6bff 100%);
  --grad-soft:   linear-gradient(120deg, rgba(0,212,212,.16), rgba(47,107,255,.16));

  --radius:      18px;
  --radius-sm:   12px;
  --shadow:      0 24px 60px -20px rgba(0, 0, 0, .7);
  --shadow-glow: 0 0 40px -8px rgba(0, 212, 212, .35);

  --maxw:        1180px;
  --ease:        cubic-bezier(.22, 1, .36, 1);
}

/* ── 重置 ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

::selection { background: rgba(0, 212, 212, .3); color: #fff; }

/* 背景网格 + 光晕 */
body::before {
  content: "";
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
  pointer-events: none; z-index: 0;
}

/* ── 布局容器 ──────────────────────────────────────── */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

section { position: relative; z-index: 1; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  padding: 6px 14px; border-radius: 999px;
  background: var(--grad-soft);
  border: 1px solid rgba(0, 212, 212, .22);
}

.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2 {
  font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -.02em;
  margin: 20px 0 14px; line-height: 1.15;
}
.section-head p { color: var(--text-dim); font-size: 17px; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ── 按钮 ──────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 600; cursor: pointer;
  padding: 13px 26px; border-radius: 999px; border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary {
  background: var(--grad); color: #05121a; font-weight: 700;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 52px -6px rgba(0,212,212,.55); }
.btn-ghost { background: var(--surface-2); color: var(--text); border-color: var(--border-2); }
.btn-ghost:hover { background: rgba(255,255,255,.09); transform: translateY(-2px); }

/* ── 导航 ──────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7, 10, 18, .8);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 19px; letter-spacing: -.01em; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: var(--grad); color: #05121a; box-shadow: var(--shadow-glow);
}
.logo-mark svg { width: 19px; height: 19px; }
.logo small { display:block; font-size: 11px; font-weight: 500; color: var(--text-faint); letter-spacing: .04em; }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { color: var(--text-dim); font-size: 15px; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 14px; }

.nav-toggle { display: none; background: none; border: none; color: var(--text); cursor: pointer; padding: 6px; }
.nav-toggle svg { width: 26px; height: 26px; }

/* ── Hero ──────────────────────────────────────────── */
.hero { padding: 168px 0 90px; text-align: center; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; top: -140px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 620px; z-index: 0;
  background: radial-gradient(closest-side, rgba(0,212,212,.20), rgba(47,107,255,.12) 45%, transparent 72%);
  filter: blur(24px); pointer-events: none;
}
.hero .container { display: flex; flex-direction: column; align-items: center; }
.hero h1 {
  font-size: clamp(36px, 6.2vw, 68px); font-weight: 850; letter-spacing: -.03em;
  line-height: 1.08; margin: 26px 0 22px; max-width: 15ch;
}
.hero-sub { font-size: clamp(16px, 2vw, 20px); color: var(--text-dim); max-width: 640px; margin-bottom: 38px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.hero-note { margin-top: 20px; font-size: 13px; color: var(--text-faint); display: flex; gap: 8px; align-items: center; }

/* Hero 统计 */
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin-top: 68px; width: 100%; max-width: 860px;
  padding: 26px; border: 1px solid var(--border); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), transparent);
}
.hero-stats .stat { text-align: center; padding: 6px; }
.hero-stats .num { font-size: clamp(24px, 3.4vw, 36px); font-weight: 800; }
.hero-stats .lbl { font-size: 13px; color: var(--text-dim); margin-top: 2px; }
.hero-stats .stat + .stat { border-left: 1px solid var(--border); }

/* logos strip */
.trust { padding: 30px 0 0; }
.trust p { text-align: center; color: var(--text-faint); font-size: 13px; letter-spacing: .08em; margin-bottom: 18px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 12px 10px; justify-content: center; }
.chip {
  font-size: 13px; color: var(--text-dim); font-weight: 500;
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--surface); transition: .2s;
}
.chip:hover { color: var(--text); border-color: var(--border-2); }

/* ── 通用区块间距 ──────────────────────────────────── */
.pad { padding: 96px 0; }

/* ── 功能卡片 ──────────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative; padding: 28px; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--surface);
  transition: transform .35s var(--ease), border-color .35s, background .35s;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--grad); opacity: 0;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  transition: opacity .35s;
}
.card:hover { transform: translateY(-6px); background: var(--surface-2); }
.card:hover::before { opacity: .9; }
.card .ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--grad-soft); border: 1px solid rgba(0,212,212,.2); margin-bottom: 18px;
  color: var(--primary);
}
.card .ico svg { width: 26px; height: 26px; }
.card h3 { font-size: 19px; font-weight: 700; margin-bottom: 9px; letter-spacing: -.01em; }
.card p { color: var(--text-dim); font-size: 14.5px; line-height: 1.7; }
.card .tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.card .tag { font-size: 12px; color: var(--text-dim); padding: 4px 10px; border-radius: 7px; background: rgba(255,255,255,.05); border: 1px solid var(--border); }

/* ── 工作流程 ──────────────────────────────────────── */
.flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-bottom: 40px; }
.flow-step { position: relative; text-align: center; }
.flow-step .dot {
  width: 56px; height: 56px; border-radius: 16px; margin: 0 auto 14px; display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--border-2); color: var(--primary); font-weight: 800; font-size: 18px;
  position: relative; z-index: 2;
}
.flow-step h4 { font-size: 15px; font-weight: 700; margin-bottom: 5px; }
.flow-step p { font-size: 12.5px; color: var(--text-faint); }
.flow-step:not(:last-child)::after {
  content: ""; position: absolute; top: 28px; left: 60%; width: 80%; height: 2px; z-index: 1;
  background: linear-gradient(90deg, rgba(0,212,212,.5), rgba(47,107,255,.15));
}

/* 状态机 */
.pipeline {
  padding: 26px; border-radius: var(--radius); border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface), transparent);
}
.pipeline .p-title { font-size: 13px; color: var(--text-dim); margin-bottom: 18px; display: flex; align-items: center; gap: 8px; }
.pipeline-track { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-family: ui-monospace, "SF Mono", Menlo, monospace; }
.pstate {
  font-size: 12.5px; font-weight: 600; padding: 7px 13px; border-radius: 8px;
  background: rgba(0,212,212,.08); border: 1px solid rgba(0,212,212,.22); color: #7ff0f0;
}
.pstate.done { background: rgba(34,197,94,.1); border-color: rgba(34,197,94,.3); color: #7ee2a5; }
.pstate.fail { background: rgba(227,80,74,.1); border-color: rgba(227,80,74,.3); color: #f0958f; }
.parrow { color: var(--text-faint); font-size: 13px; }

/* ── 架构 / 技术栈 ─────────────────────────────────── */
.arch { display: grid; grid-template-columns: 1.05fr .95fr; gap: 32px; align-items: start; }
.arch-diagram {
  padding: 26px; border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--surface); font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13px;
}
.layer { border: 1px solid var(--border-2); border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 12px; background: rgba(255,255,255,.02); }
.layer .l-name { font-weight: 700; color: var(--text); margin-bottom: 8px; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.layer .l-row { display: flex; flex-wrap: wrap; gap: 7px; }
.node { font-size: 12px; padding: 5px 11px; border-radius: 7px; background: var(--grad-soft); border: 1px solid rgba(0,212,212,.2); color: #bfeaea; }
.node.blue { background: rgba(47,107,255,.12); border-color: rgba(47,107,255,.3); color: #b9cbff; }
.node.gray { background: rgba(255,255,255,.04); border-color: var(--border); color: var(--text-dim); }
.arch-caret { text-align: center; color: var(--text-faint); margin: -4px 0 8px; }

.stack-list { display: flex; flex-direction: column; gap: 12px; }
.stack-item {
  display: flex; align-items: center; gap: 16px; padding: 15px 18px;
  border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface);
  transition: border-color .3s, transform .3s;
}
.stack-item:hover { border-color: var(--border-2); transform: translateX(4px); }
.stack-item .k { min-width: 96px; font-size: 13px; color: var(--text-faint); font-weight: 600; }
.stack-item .v { font-size: 14.5px; font-weight: 600; }
.stack-item .v small { display: block; font-size: 12.5px; color: var(--text-dim); font-weight: 400; margin-top: 1px; }

/* ── 场景 ──────────────────────────────────────────── */
.scenes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.scene {
  padding: 30px 26px; border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--surface); transition: .35s var(--ease);
}
.scene:hover { transform: translateY(-6px); border-color: var(--border-2); box-shadow: var(--shadow); }
.scene .s-ico { font-size: 30px; margin-bottom: 14px; }
.scene h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.scene p { color: var(--text-dim); font-size: 14.5px; }

/* ── CTA ───────────────────────────────────────────── */
.cta-wrap { padding: 96px 0; }
.cta {
  position: relative; text-align: center; padding: 64px 32px; border-radius: 26px; overflow: hidden;
  border: 1px solid rgba(0,212,212,.25); background: var(--grad-soft);
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% -20%, rgba(0,212,212,.28), transparent 60%);
}
.cta h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 14px; position: relative; }
.cta p { color: var(--text-dim); font-size: 17px; margin-bottom: 30px; position: relative; }
.cta .hero-actions { position: relative; }

/* ── 页脚 ──────────────────────────────────────────── */
.footer { border-top: 1px solid var(--border); padding: 56px 0 34px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer .logo { margin-bottom: 14px; }
.footer-brand p { color: var(--text-dim); font-size: 14px; max-width: 320px; }
.footer-col h5 { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 14px; letter-spacing: .04em; }
.footer-col a { display: block; color: var(--text-dim); font-size: 14px; margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  padding-top: 26px; border-top: 1px solid var(--border); color: var(--text-faint); font-size: 13px;
}

/* ── 滚动揭示动画 ──────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ── 响应式 ────────────────────────────────────────── */
@media (max-width: 940px) {
  .features-grid, .scenes { grid-template-columns: repeat(2, 1fr); }
  .arch { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
  .flow-step:not(:last-child)::after { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0;
    background: rgba(9,12,20,.97); backdrop-filter: blur(18px); padding: 18px 24px 24px;
    gap: 4px; border-bottom: 1px solid var(--border);
  }
  .nav.open .nav-links a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--border); }
  .hero { padding: 128px 0 70px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
  .hero-stats .stat:nth-child(3) { border-left: none; }
  .hero-stats .stat:nth-child(odd) { border-left: none; }
  .features-grid, .scenes { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .pad { padding: 72px 0; }
}

/* ============================================================
   面向客户的营销区块（追加）
   ============================================================ */

/* ── 痛点对比 Before / After ───────────────────────── */
.compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0; align-items: stretch; }
.compare-col {
  padding: 32px 30px; border: 1px solid var(--border); background: var(--surface);
}
.compare-col.bad { border-radius: var(--radius) 0 0 var(--radius); border-right: none; }
.compare-col.good {
  border-radius: 0 var(--radius) var(--radius) 0;
  border-color: rgba(0,212,212,.3);
  background: var(--grad-soft);
  box-shadow: var(--shadow);
}
.compare-tag {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 22px; letter-spacing: .03em;
}
.compare-col.bad .compare-tag { background: rgba(227,80,74,.12); color: #f0958f; border: 1px solid rgba(227,80,74,.3); }
.compare-col.good .compare-tag { background: rgba(34,197,94,.14); color: #7ee2a5; border: 1px solid rgba(34,197,94,.3); }
.compare-list li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; font-size: 15.5px; line-height: 1.55; }
.compare-list li + li { border-top: 1px solid var(--border); }
.compare-col.bad .compare-list li { color: var(--text-dim); }
.compare-list .ci { flex: none; width: 22px; height: 22px; margin-top: 1px; }
.compare-mid { display: grid; place-items: center; width: 64px; position: relative; }
.compare-mid .vs {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg); border: 1px solid var(--border-2); color: var(--text); font-weight: 800; font-size: 13px; z-index: 2;
}

/* ── 三步走 ────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  position: relative; padding: 34px 28px; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--surface); transition: .35s var(--ease);
}
.step:hover { transform: translateY(-6px); border-color: var(--border-2); }
.step-num {
  font-size: 15px; font-weight: 800; width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center; background: var(--grad); color: #05121a; margin-bottom: 20px;
  box-shadow: var(--shadow-glow);
}
.step h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.step p { color: var(--text-dim); font-size: 15px; line-height: 1.65; }
.step .big-ico { position: absolute; top: 26px; right: 26px; font-size: 30px; opacity: .5; }

/* ── 成效数据条 ────────────────────────────────────── */
.value-band {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  padding: 40px 30px; border-radius: 24px; border: 1px solid rgba(0,212,212,.22);
  background: var(--grad-soft); position: relative; overflow: hidden;
}
.value-band::before { content:""; position:absolute; inset:0; background: radial-gradient(circle at 50% -30%, rgba(0,212,212,.22), transparent 60%); }
.value-band .vb { text-align: center; position: relative; padding: 8px; }
.value-band .vb + .vb { border-left: 1px solid var(--border); }
.value-band .vnum { font-size: clamp(30px, 4.4vw, 48px); font-weight: 850; letter-spacing: -.02em; line-height: 1; }
.value-band .vlbl { font-size: 14.5px; color: var(--text); margin-top: 10px; font-weight: 500; }
.value-band .vsub { font-size: 12.5px; color: var(--text-dim); margin-top: 3px; }

/* ── 价值主张卡（为什么选我们）────────────────────── */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why-card {
  padding: 28px 24px; border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--surface); transition: .35s var(--ease); text-align: left;
}
.why-card:hover { transform: translateY(-5px); border-color: var(--border-2); background: var(--surface-2); }
.why-card .w-ico { font-size: 28px; margin-bottom: 14px; }
.why-card h4 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.why-card p { font-size: 14px; color: var(--text-dim); line-height: 1.6; }

@media (max-width: 940px) {
  .steps { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .value-band { grid-template-columns: repeat(2, 1fr); gap: 26px 12px; }
  .value-band .vb:nth-child(odd) { border-left: none; }
  .value-band .vb:nth-child(3) { border-left: none; }
  .compare { grid-template-columns: 1fr; }
  .compare-col.bad { border-radius: var(--radius) var(--radius) 0 0; border-right: 1px solid var(--border); border-bottom: none; }
  .compare-col.good { border-radius: 0 0 var(--radius) var(--radius); }
  .compare-mid { display: none; }
}
@media (max-width: 720px) {
  .why-grid { grid-template-columns: 1fr; }
  .value-band { grid-template-columns: 1fr; }
  .value-band .vb + .vb { border-left: none; border-top: 1px solid var(--border); padding-top: 22px; }
}
