/* 车豆官网 · 简约商务浅色主题 */

:root {
  --brand: #0f3d6e;
  --brand-2: #17558f;
  --brand-soft: #eaf1f8;
  --gold: #b98b3e;
  --gold-soft: #f6efe2;
  --ink: #16202b;
  --ink-2: #3c4a58;
  --muted: #6b7a8a;
  --line: #e3e9f0;
  --line-2: #eef2f7;
  --bg: #ffffff;
  --bg-soft: #f5f8fb;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(15, 61, 110, 0.06), 0 4px 12px rgba(15, 61, 110, 0.05);
  --shadow-md: 0 8px 28px rgba(15, 61, 110, 0.10);
  --shadow-lg: 0 20px 60px rgba(15, 61, 110, 0.16);
  --header-h: 70px;
  --container: 1200px;
  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial,
    system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------------- Header ---------------- */

.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  z-index: 900;
  transition: box-shadow .25s ease;
}
.header.scrolled { box-shadow: 0 2px 20px rgba(15, 61, 110, 0.08); }

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: linear-gradient(140deg, var(--brand-2), var(--brand));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 17px; letter-spacing: -0.5px;
  box-shadow: 0 4px 12px rgba(15, 61, 110, 0.28);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-cn { font-size: 19px; font-weight: 700; letter-spacing: 1px; color: var(--brand); }
.logo-en { font-size: 10px; letter-spacing: 2.5px; color: var(--muted); font-weight: 500; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.nav a {
  position: relative;
  padding: 8px 13px;
  font-size: 15px;
  color: var(--ink-2);
  border-radius: 8px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav a:hover { color: var(--brand); background: var(--brand-soft); }
.nav a.active { color: var(--brand); font-weight: 600; }
.nav a.active::after {
  content: ""; position: absolute;
  left: 13px; right: 13px; bottom: 2px;
  height: 2px; border-radius: 2px;
  background: var(--brand);
}

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 20px;
  border-radius: 10px;
  font-size: 15px; font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  color: #fff;
  box-shadow: 0 6px 18px rgba(15, 61, 110, 0.24);
}
.btn-primary:hover { box-shadow: 0 10px 26px rgba(15, 61, 110, 0.32); }
.btn-ghost { background: #fff; color: var(--brand); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); background: var(--brand-soft); }
.btn-gold { background: linear-gradient(135deg, #cfa055, var(--gold)); color: #fff; box-shadow: 0 6px 18px rgba(185,139,62,.28); }
.btn-lg { height: 50px; padding: 0 28px; font-size: 16px; border-radius: 12px; }
.btn-block { width: 100%; }

.entry-btn svg { width: 16px; height: 16px; }

.menu-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
}
.menu-toggle span {
  display: block; width: 18px; height: 2px; border-radius: 2px;
  background: var(--ink); transition: transform .25s ease, opacity .2s ease;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 移动端抽屉 */
.drawer {
  display: none;
  position: fixed;
  top: var(--header-h); left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 880;
  padding: 18px 24px 40px;
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}
.drawer.open { opacity: 1; transform: none; pointer-events: auto; }
.drawer a {
  display: block; padding: 15px 4px;
  font-size: 17px; color: var(--ink);
  border-bottom: 1px solid var(--line-2);
}
.drawer .drawer-actions { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }

/* ---------------- Hero ---------------- */

.hero {
  position: relative;
  margin-top: var(--header-h);
  padding: 78px 0 88px;
  background:
    radial-gradient(900px 460px at 78% -8%, #e8f0f9 0%, rgba(232,240,249,0) 62%),
    radial-gradient(700px 420px at 4% 8%, #f3f0e8 0%, rgba(243,240,232,0) 60%),
    linear-gradient(180deg, #fbfcfe 0%, #ffffff 68%);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(15,61,110,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,61,110,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(760px 460px at 70% 20%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(760px 460px at 70% 20%, #000 0%, transparent 78%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}

.badge-pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px 7px 11px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: 13.5px; color: var(--ink-2); font-weight: 500;
}
.badge-pill .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #2fbf71;
  box-shadow: 0 0 0 4px rgba(47,191,113,.16);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .45; } }

.hero h1 {
  margin: 24px 0 0;
  font-size: 51px;
  line-height: 1.24;
  letter-spacing: -.5px;
  font-weight: 800;
  color: var(--brand);
  white-space: pre-line;
}
.hero .hero-desc {
  margin: 22px 0 0;
  font-size: 17px;
  color: var(--ink-2);
  max-width: 540px;
  line-height: 1.85;
}
.hero-btns { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero-stats .num { font-size: 26px; font-weight: 800; color: var(--brand); letter-spacing: -.3px; }
.hero-stats .label { font-size: 13px; color: var(--muted); margin-top: 2px; }

/* Hero 视觉：数据看板示意 */
.hero-visual { position: relative; }
.dash-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.dash-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.dash-title { font-size: 14px; font-weight: 700; color: var(--ink); }
.dash-tag { font-size: 11.5px; color: var(--gold); background: var(--gold-soft); padding: 3px 9px; border-radius: 6px; font-weight: 600; }
.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.dash-kpi {
  background: var(--bg-soft);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 12px 13px;
}
.dash-kpi .k { font-size: 11.5px; color: var(--muted); }
.dash-kpi .v { font-size: 20px; font-weight: 800; color: var(--brand); margin-top: 3px; letter-spacing: -.3px; }
.dash-kpi .d { font-size: 11px; color: #2fbf71; font-weight: 600; margin-top: 2px; }
.dash-chart {
  height: 132px;
  background: linear-gradient(180deg, #f7fafd, #fff);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 12px;
}
.dash-rows { margin-top: 14px; display: flex; flex-direction: column; gap: 9px; }
.dash-row { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--ink-2); }
.dash-row .bar { flex: 1; height: 7px; border-radius: 4px; background: var(--line-2); overflow: hidden; }
.dash-row .bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--brand-2), #4d8fd0); }
.dash-row .w60 { width: 60px; color: var(--muted); flex-shrink: 0; }
.float-chip {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  padding: 10px 13px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  display: flex; align-items: center; gap: 8px;
}
.float-chip .ic { width: 24px; height: 24px; border-radius: 7px; display: flex; align-items: center; justify-content: center; }
.float-chip.c1 { left: -26px; bottom: 54px; }
.float-chip.c2 { right: -18px; top: 46px; }

/* ---------------- Sections ---------------- */

.section { padding: 92px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 14px;
}
.section-head h2 {
  margin: 0;
  font-size: 36px; line-height: 1.35; font-weight: 800;
  color: var(--brand);
  letter-spacing: -.4px;
}
.section-head p { margin: 16px 0 0; font-size: 16.5px; color: var(--muted); }

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: transform .28s cubic-bezier(.2,.7,.3,1), box-shadow .28s ease, border-color .28s ease;
  position: relative;
  overflow: hidden;
}
.card::after {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--gold), var(--brand-2));
  transition: width .32s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: #d3dee9; }
.card:hover::after { width: 100%; }

.card-icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { margin: 0; font-size: 19px; font-weight: 700; color: var(--ink); letter-spacing: -.2px; }
.card .tagline { font-size: 13.5px; color: var(--gold); font-weight: 600; margin-top: 5px; }
.card p { margin: 12px 0 0; font-size: 14.8px; color: var(--muted); line-height: 1.8; }
.card ul { margin: 16px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.card ul li {
  font-size: 13.8px; color: var(--ink-2);
  display: flex; align-items: flex-start; gap: 8px;
}
.card ul li::before {
  content: ""; flex-shrink: 0;
  width: 16px; height: 16px; margin-top: 5px;
  border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f3d6e' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/10px no-repeat;
}

/* 解决方案 */
.sol-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  transition: box-shadow .28s ease, transform .28s ease;
}
.sol-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.sol-card .idx {
  font-size: 13px; font-weight: 800; color: var(--gold); letter-spacing: 1.5px;
}
.sol-card h3 { margin: 10px 0 0; font-size: 22px; font-weight: 700; color: var(--brand); }
.sol-card > p { margin: 12px 0 0; font-size: 15px; color: var(--muted); }
.sol-card ul { margin: 18px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line-2); }
.sol-card ul li {
  padding: 11px 0; border-bottom: 1px solid var(--line-2);
  font-size: 14.3px; color: var(--ink-2);
  display: flex; align-items: center; gap: 9px;
}
.sol-card ul li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-2); flex-shrink: 0;
}

/* 优势 */
.adv-item { text-align: left; }
.adv-item h4 { margin: 0 0 8px; font-size: 17.5px; font-weight: 700; color: var(--ink); }
.adv-item p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* 案例 */
.case-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex; flex-direction: column;
  transition: box-shadow .28s ease, transform .28s ease;
}
.case-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.quote-mark { font-size: 44px; line-height: 1; color: var(--gold); font-weight: 800; opacity: .35; }
.case-card .quote { margin: 6px 0 20px; font-size: 15.2px; color: var(--ink-2); line-height: 1.85; flex: 1; }
.case-metric {
  display: inline-block; margin-bottom: 16px;
  font-size: 13px; font-weight: 700; color: #2f8f5b;
  background: rgba(47,143,91,.09); padding: 5px 12px; border-radius: 8px;
}
.case-author { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px; flex-shrink: 0;
}
.case-author .nm { font-size: 15px; font-weight: 700; }
.case-author .rl { font-size: 12.5px; color: var(--muted); }

/* 关于 */
.about-wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: start; }
.about-text p { font-size: 16px; color: var(--ink-2); line-height: 1.95; margin: 0 0 18px; }
.about-hl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 34px; }
.about-hl div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 14px; text-align: center; }
.about-hl .n { font-size: 24px; font-weight: 800; color: var(--brand); }
.about-hl .l { font-size: 12.5px; color: var(--muted); margin-top: 2px; }

.timeline { position: relative; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding-bottom: 26px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -26px; top: 7px;
  width: 14px; height: 14px; border-radius: 50%;
  background: #fff; border: 3px solid var(--brand-2);
}
.tl-item .y { font-size: 15px; font-weight: 800; color: var(--brand); }
.tl-item .t { font-size: 14.5px; color: var(--muted); margin-top: 2px; }

/* 资讯 */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .28s ease, transform .28s ease;
}
.news-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.news-thumb {
  height: 128px; position: relative;
  display: flex; align-items: flex-end; padding: 16px;
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
}
.news-thumb.alt1 { background: linear-gradient(135deg, #1d6fa8, #123f66); }
.news-thumb.alt2 { background: linear-gradient(135deg, #c79a4e, #8f6a2a); }
.news-thumb.alt3 { background: linear-gradient(135deg, #3f7f6b, #245247); }
.news-thumb .cat {
  background: rgba(255,255,255,.94); color: var(--brand);
  font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 7px;
}
.news-thumb .deco { position: absolute; right: -14px; top: -14px; width: 110px; height: 110px; border-radius: 50%; background: rgba(255,255,255,.09); }
.news-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.news-body h3 { margin: 0; font-size: 17.5px; font-weight: 700; line-height: 1.55; color: var(--ink); letter-spacing: -.2px; }
.news-body p { margin: 10px 0 0; font-size: 14.3px; color: var(--muted); line-height: 1.8; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-meta { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; color: var(--muted); }
.news-more { color: var(--brand); font-weight: 600; }

.section-foot { text-align: center; margin-top: 46px; }

/* 联系我们 */
.contact-wrap { display: grid; grid-template-columns: 1fr .82fr; gap: 40px; align-items: start; }
.contact-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 32px; box-shadow: var(--shadow-sm);
}
.contact-form h3 { margin: 0; font-size: 22px; font-weight: 700; color: var(--brand); }
.contact-form .sub { margin: 8px 0 24px; font-size: 14.5px; color: var(--muted); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--ink);
  padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; outline: none; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 96px; resize: vertical; line-height: 1.7; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(23,85,143,.12);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note { margin-top: 12px; font-size: 12.5px; color: var(--muted); }
.form-msg { margin-top: 14px; font-size: 14px; font-weight: 600; display: none; }
.form-msg.ok { color: #2f8f5b; display: block; }
.form-msg.err { color: #c0392b; display: block; }

.contact-info { display: flex; flex-direction: column; gap: 16px; }
.info-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; display: flex; gap: 14px; align-items: flex-start;
}
.info-item .ic {
  width: 40px; height: 40px; border-radius: 11px; flex-shrink: 0;
  background: var(--brand-soft); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
}
.info-item .ic svg { width: 19px; height: 19px; }
.info-item .lb { font-size: 12.5px; color: var(--muted); }
.info-item .vl { font-size: 15.5px; font-weight: 600; color: var(--ink); margin-top: 2px; word-break: break-all; }

.qr-card {
  margin-top: 4px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; text-align: center;
}
.qr-box {
  width: 148px; height: 148px; margin: 12px auto 0;
  border: 1px dashed var(--line); border-radius: 12px;
  background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: var(--muted); white-space: pre-line; text-align: center; line-height: 1.6;
  overflow: hidden;
}
.qr-box img { width: 100%; height: 100%; object-fit: contain; }
.qr-card h4 { margin: 0; font-size: 16px; font-weight: 700; color: var(--ink); }
.qr-card p { margin: 6px 0 0; font-size: 13px; color: var(--muted); }

/* CTA 条 */
.cta-bar {
  background: linear-gradient(120deg, var(--brand) 0%, var(--brand-2) 55%, #2a6fa8 100%);
  border-radius: var(--radius-lg);
  padding: 46px 48px;
  color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  box-shadow: var(--shadow-md);
}
.cta-bar h3 { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -.3px; }
.cta-bar p { margin: 8px 0 0; font-size: 15.5px; color: rgba(255,255,255,.82); }
.cta-bar .btn { background: #fff; color: var(--brand); box-shadow: none; }
.cta-bar .btn:hover { background: var(--gold-soft); }
.cta-bar .btn.gold { background: linear-gradient(135deg, #cfa055, var(--gold)); color: #fff; }

/* ---------------- Footer ---------------- */

.footer {
  background: #0c2c4c;
  color: rgba(255,255,255,.72);
  padding: 56px 0 26px;
  margin-top: 0;
}
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; }
.footer .logo-cn { color: #fff; }
.footer .logo-en { color: rgba(255,255,255,.5); }
.footer-desc { margin-top: 16px; font-size: 14px; line-height: 1.85; color: rgba(255,255,255,.62); max-width: 320px; }
.footer h5 { margin: 0 0 16px; font-size: 15px; font-weight: 700; color: #fff; }
.footer ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer ul li, .footer ul a { font-size: 14px; color: rgba(255,255,255,.62); transition: color .2s; }
.footer ul a:hover { color: #fff; }
.footer-bottom {
  margin-top: 40px; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 13px; color: rgba(255,255,255,.5);
  flex-wrap: wrap;
}

/* ---------------- 弹窗 ---------------- */

.modal-mask {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(12, 32, 52, .48);
  backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity .22s ease;
}
.modal-mask.open { opacity: 1; pointer-events: auto; }
.modal {
  width: 100%; max-width: 620px;
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: translateY(12px) scale(.98);
  transition: transform .26s cubic-bezier(.2,.7,.3,1);
}
.modal-mask.open .modal { transform: none; }
.modal-head {
  padding: 26px 30px 18px; border-bottom: 1px solid var(--line-2);
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
}
.modal-head h3 { margin: 0; font-size: 21px; font-weight: 700; color: var(--brand); }
.modal-head p { margin: 7px 0 0; font-size: 14px; color: var(--muted); }
.modal-close {
  width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line);
  background: #fff; cursor: pointer; color: var(--muted); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 18px; line-height: 1;
  transition: background .2s, color .2s;
}
.modal-close:hover { background: var(--bg-soft); color: var(--ink); }
.modal-body { padding: 22px 30px 30px; display: grid; gap: 14px; }
.entry-card {
  display: flex; align-items: center; gap: 16px;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px;
  transition: border-color .22s, box-shadow .22s, transform .22s;
  background: #fff;
}
.entry-card:hover { border-color: var(--brand-2); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.entry-ic {
  width: 46px; height: 46px; border-radius: 13px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-soft); color: var(--brand);
}
.entry-ic svg { width: 22px; height: 22px; }
.entry-ic.store { background: var(--gold-soft); color: var(--gold); }
.entry-main { flex: 1; min-width: 0; }
.entry-main .t { font-size: 16.5px; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.entry-main .t .tag {
  font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 6px;
  background: var(--brand-soft); color: var(--brand);
}
.entry-main .t .tag.gold { background: var(--gold-soft); color: var(--gold); }
.entry-main .d { font-size: 13.5px; color: var(--muted); margin-top: 4px; line-height: 1.65; }
.entry-go { color: var(--brand); font-size: 14px; font-weight: 700; flex-shrink: 0; display: flex; align-items: center; gap: 5px; }
.entry-go svg { width: 15px; height: 15px; }

/* ---------------- 新闻页 ---------------- */

.page-head {
  margin-top: var(--header-h);
  padding: 60px 0 44px;
  background: linear-gradient(180deg, #f6f9fc, #fff);
  border-bottom: 1px solid var(--line-2);
}
.page-head h1 { margin: 0; font-size: 38px; font-weight: 800; color: var(--brand); letter-spacing: -.4px; }
.page-head p { margin: 12px 0 0; font-size: 16px; color: var(--muted); max-width: 640px; }
.crumb { font-size: 13.5px; color: var(--muted); margin-bottom: 14px; }
.crumb a { color: var(--brand); }

.news-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 56px 0 92px; }
.news-list .news-card { cursor: pointer; }

.news-detail { padding: 48px 0 92px; }
.article { max-width: 820px; margin: 0 auto; }
.article .back { font-size: 14px; color: var(--brand); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; margin-bottom: 22px; }
.article h1 { margin: 0; font-size: 34px; line-height: 1.45; font-weight: 800; color: var(--brand); letter-spacing: -.4px; }
.article .meta { margin: 18px 0 30px; display: flex; align-items: center; gap: 14px; font-size: 13.5px; color: var(--muted); flex-wrap: wrap; }
.article .meta .cat { background: var(--brand-soft); color: var(--brand); font-weight: 600; padding: 3px 10px; border-radius: 6px; }
.article .heroimg { height: 240px; border-radius: var(--radius-lg); margin-bottom: 30px; background: linear-gradient(135deg, var(--brand-2), var(--brand)); position: relative; overflow: hidden; }
.article .heroimg .deco { position: absolute; right: -30px; top: -30px; width: 200px; height: 200px; border-radius: 50%; background: rgba(255,255,255,.09); }
.article .content p { font-size: 16.5px; line-height: 2; color: var(--ink-2); margin: 0 0 20px; }
.article .share-note { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

.empty { padding: 80px 0; text-align: center; color: var(--muted); font-size: 15px; }

/* ---------------- 响应式 ---------------- */

@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { max-width: 560px; }
  .float-chip.c1 { left: 0; }
  .float-chip.c2 { right: 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .news-grid, .news-list { grid-template-columns: repeat(2, 1fr); }
  .about-wrap { grid-template-columns: 1fr; gap: 40px; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .menu-toggle { display: flex; }
  .drawer { display: block; }
  .header-actions .btn { display: none; }
  .header-actions .menu-toggle { display: flex; }
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 38px; }
  .section-head h2 { font-size: 28px; }
  .hero { padding: 48px 0 60px; }
  .hero h1 { font-size: 33px; }
  .hero .hero-desc { font-size: 15.5px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 18px 10px; margin-top: 34px; }
  .grid-3, .grid-2, .news-grid, .news-list { grid-template-columns: 1fr; }
  .about-hl { grid-template-columns: repeat(2, 1fr); }
  .cta-bar { flex-direction: column; align-items: flex-start; padding: 32px 26px; }
  .cta-bar h3 { font-size: 23px; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .page-head { padding: 42px 0 32px; }
  .page-head h1 { font-size: 28px; }
  .article h1 { font-size: 25px; }
  .article .heroimg { height: 170px; }
  .modal-body { padding: 18px 20px 24px; }
  .modal-head { padding: 22px 22px 16px; }
  .entry-card { flex-wrap: wrap; }
  .entry-go { width: 100%; justify-content: flex-end; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 29px; }
  .form-row { grid-template-columns: 1fr; }
  .btn-lg { width: 100%; }
}

/* 入场动画 */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------------- 后台 ---------------- */

.admin-body { background: var(--bg-soft); }
.admin-login {
  min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px;
}
.login-card {
  width: 100%; max-width: 400px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 38px 34px; box-shadow: var(--shadow-md);
}
.login-card .logo { justify-content: center; margin-bottom: 22px; }
.login-card h2 { margin: 0 0 6px; font-size: 22px; font-weight: 700; color: var(--brand); text-align: center; }
.login-card .tip { text-align: center; font-size: 13.5px; color: var(--muted); margin-bottom: 24px; }

.admin-wrap { display: flex; min-height: 100vh; }
.admin-side {
  width: 220px; flex-shrink: 0; background: #0c2c4c; color: rgba(255,255,255,.75);
  padding: 22px 0; display: flex; flex-direction: column;
}
.admin-side .sb { padding: 0 18px 18px; border-bottom: 1px solid rgba(255,255,255,.12); margin-bottom: 14px; }
.admin-side .sb .t { color: #fff; font-size: 16px; font-weight: 700; }
.admin-side .sb .s { font-size: 12px; color: rgba(255,255,255,.45); margin-top: 2px; }
.admin-side a {
  display: block; padding: 11px 22px; font-size: 14.5px; color: rgba(255,255,255,.72);
  border-left: 3px solid transparent; transition: background .2s, color .2s;
}
.admin-side a:hover { background: rgba(255,255,255,.06); color: #fff; }
.admin-side a.on { background: rgba(255,255,255,.1); color: #fff; border-left-color: var(--gold); font-weight: 600; }
.admin-main { flex: 1; min-width: 0; padding: 26px 30px 60px; }
.admin-top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-bottom: 24px; flex-wrap: wrap;
}
.admin-top h1 { margin: 0; font-size: 23px; font-weight: 700; color: var(--brand); }
.admin-top .acts { display: flex; gap: 10px; flex-wrap: wrap; }

.panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px 26px; margin-bottom: 20px;
}
.panel h3 { margin: 0 0 4px; font-size: 17px; font-weight: 700; color: var(--ink); }
.panel .ph { font-size: 13px; color: var(--muted); margin: 0 0 18px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.panel-head h3 { margin: 0; }

.grow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grow3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.f { margin-bottom: 14px; }
.f label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.f input, .f select, .f textarea {
  width: 100%; font-family: inherit; font-size: 14.5px; padding: 9px 12px;
  border: 1px solid var(--line); border-radius: 9px; outline: none; background: #fff; color: var(--ink);
}
.f textarea { min-height: 78px; resize: vertical; line-height: 1.7; }
.f input:focus, .f select:focus, .f textarea:focus { border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(23,85,143,.1); }

.item-block {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 14px;
  background: #fcfdfe;
}
.item-block .ib-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.item-block .ib-title { font-size: 14px; font-weight: 700; color: var(--brand); }
.btn-sm {
  height: 32px; padding: 0 13px; font-size: 13px; border-radius: 8px; font-weight: 600;
  border: 1px solid var(--line); background: #fff; color: var(--ink-2); cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-sm:hover { border-color: var(--brand-2); color: var(--brand); }
.btn-sm.danger:hover { border-color: #c0392b; color: #c0392b; }
.btn-sm.solid { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn-sm.solid:hover { background: var(--brand-2); color: #fff; }

.toast {
  position: fixed; left: 50%; bottom: 34px; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 10px;
  font-size: 14px; font-weight: 600; z-index: 1200; opacity: 0; pointer-events: none;
  transition: opacity .24s ease, transform .24s ease; box-shadow: var(--shadow-md);
  max-width: 88vw; text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.err { background: #b1362c; }
.toast.ok { background: #1f7a4f; }

.lead-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.lead-table th, .lead-table td { padding: 11px 12px; text-align: left; border-bottom: 1px solid var(--line-2); }
.lead-table th { font-size: 12.5px; color: var(--muted); font-weight: 600; background: var(--bg-soft); }
.lead-table td { color: var(--ink-2); vertical-align: top; }
.table-scroll { overflow-x: auto; }
.hint { font-size: 13px; color: var(--muted); line-height: 1.8; }
.badge-off { display: inline-block; font-size: 12px; padding: 3px 9px; border-radius: 6px; background: var(--bg-soft); color: var(--muted); }

@media (max-width: 860px) {
  .admin-wrap { flex-direction: column; }
  .admin-side { width: 100%; flex-direction: row; overflow-x: auto; padding: 12px 0; }
  .admin-side .sb { display: none; }
  .admin-side a { padding: 9px 16px; white-space: nowrap; border-left: none; border-bottom: 3px solid transparent; }
  .admin-side a.on { border-left: none; border-bottom-color: var(--gold); }
  .admin-main { padding: 20px 18px 50px; }
  .grow, .grow3 { grid-template-columns: 1fr; }
}
