/* anheauto.com 官网共享样式 */
:root {
  --bg: #0b1020;
  --bg-soft: #101735;
  --card: rgba(255,255,255,0.06);
  --line: rgba(255,255,255,0.12);
  --text: #eef2ff;
  --muted: #9aa4bf;
  --brand: #5b8cff;
  --brand2: #7c5cff;
  --warn: #f59e0b;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Microsoft YaHei UI", "PingFang SC", "Helvetica Neue", sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 500px at 10% -10%, rgba(91,140,255,.22), transparent 60%),
    radial-gradient(700px 400px at 90% 0%, rgba(124,92,255,.16), transparent 55%),
    var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.7;
}
a { color: var(--brand); text-decoration: none; }
a:hover { color: #8fb0ff; }

/* 顶部导航 */
.navbar {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(11,16,32,0.85);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1080px; margin: 0 auto; padding: 0 24px;
  height: 64px; display: flex; align-items: center; gap: 28px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  display: grid; place-items: center;
  font-size: 20px; font-weight: 700; color: #fff;
  box-shadow: 0 8px 20px rgba(91,140,255,.35);
  cursor: default; user-select: none;
}
.logo-text { font-size: 18px; font-weight: 600; letter-spacing: 1px; color: var(--text); }
.logo-text small { display: block; font-size: 11px; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.nav-links { margin-left: auto; display: flex; gap: 4px; }
.nav-links a {
  padding: 8px 14px; border-radius: 10px; font-size: 14px; color: var(--muted);
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.06); }
.nav-links a.active { color: #fff; background: rgba(91,140,255,.18); }

/* 主体容器 */
.container {
  max-width: 1080px; margin: 0 auto; padding: 48px 24px 64px;
  flex: 1; width: 100%;
}

/* Hero */
.hero { text-align: center; padding: 40px 0 24px; }
.hero h1 { font-size: 40px; letter-spacing: 1px; margin-bottom: 14px; }
.hero h1 span {
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { color: var(--muted); font-size: 16px; max-width: 640px; margin: 0 auto; }

/* 区块 */
.section { margin-top: 56px; }
.section-head { text-align: center; margin-bottom: 28px; }
.section-head h2 { font-size: 26px; margin-bottom: 6px; }
.section-head p { color: var(--muted); font-size: 14px; }

/* 卡片网格 */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 18px; padding: 26px 22px;
}
.card .icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center; font-size: 22px;
  background: rgba(91,140,255,.15); margin-bottom: 16px;
}
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14px; }

/* 下载面板 */
.download-panel {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 22px; padding: 40px 32px; text-align: center;
  backdrop-filter: blur(8px);
}
.dl-grid { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; margin-top: 20px; }
.dl-item {
  min-width: 250px; padding: 22px 26px; border-radius: 16px;
  background: rgba(255,255,255,.05); border: 1px solid var(--line);
}
.dl-item h4 { font-size: 16px; margin-bottom: 10px; }
.dl-item .meta { color: var(--muted); font-size: 13px; margin-bottom: 14px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; min-width: 180px; padding: 12px 20px;
  border-radius: 12px; border: none; cursor: pointer;
  font-size: 15px; font-weight: 600; text-decoration: none;
  transition: transform .15s, box-shadow .15s;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow: 0 10px 24px rgba(91,140,255,.35);
}
.btn-primary:hover { transform: translateY(-1px); color: #fff; }
.btn-disabled {
  color: #cbd5e1; background: rgba(255,255,255,.08);
  cursor: not-allowed; box-shadow: none;
}
.status { margin-top: 10px; font-size: 13px; color: var(--warn); min-height: 20px; }

/* 文章页（协议等） */
.doc {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 18px; padding: 40px 44px; max-width: 860px; margin: 0 auto;
}
.doc h2 { font-size: 24px; margin-bottom: 24px; text-align: center; }
.doc h3 { font-size: 17px; margin: 26px 0 10px; color: #c7d7ff; }
.doc p, .doc li { color: var(--muted); font-size: 14.5px; margin-bottom: 10px; }
.doc ul, .doc ol { padding-left: 22px; }
.doc .update-time { text-align: center; color: var(--muted); font-size: 13px; margin-bottom: 24px; }

/* 联系页 */
.contact-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 18px; padding: 36px; max-width: 640px; margin: 0 auto;
}
.contact-row { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--line); align-items: center; }
.contact-row:last-child { border-bottom: none; }
.contact-row .label { width: 110px; color: var(--muted); font-size: 14px; flex-shrink: 0; }
.contact-row .value { font-size: 15px; color: var(--text); }

/* 页脚 */
footer {
  border-top: 1px solid var(--line);
  padding: 28px 24px; text-align: center;
  color: var(--muted); font-size: 13px; line-height: 2;
}
footer a { color: var(--muted); }
footer a:hover { color: var(--text); }

/* 响应式 */
@media (max-width: 720px) {
  .nav-inner { padding: 0 14px; gap: 12px; height: 56px; }
  .nav-links { gap: 0; }
  .nav-links a { padding: 6px 8px; font-size: 13px; }
  .logo-text small { display: none; }
  .container { padding: 28px 16px 48px; }
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 14px; }
  .doc { padding: 28px 20px; }
  .grid { grid-template-columns: 1fr; }
  .dl-item { min-width: 100%; }
}
