/* ===================================================================
   加油站油罐统计表智能校正平台 — SEO 落地页共用样式
   所有落地页共用，改这一个文件即可全站生效
   =================================================================== */

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

:root {
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --brand-light: #3b82f6;
  --ink: #0f172a;
  --ink-2: #475569;
  --ink-3: #64748b;
  --line: #e2e8f0;
  --bg-soft: #f8fafc;
  --accent: #0ea5e9;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Roboto, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 900px; margin: 0 auto; padding: 0 24px; }

/* ============ 导航 ============ */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-nav .wrap {
  height: 66px; display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; white-space: nowrap; }
.brand-name {
  font-size: 17.5px; font-weight: 800;
  letter-spacing: -0.015em; color: var(--ink);
}
.brand-name em { font-style: normal; color: var(--brand); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: 14.5px; color: var(--ink-2); font-weight: 500;
  transition: color .18s;
}
.nav-links a:hover { color: var(--brand); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border: none; cursor: pointer; font-family: inherit;
  font-weight: 600; border-radius: 9px; transition: all .2s; white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff; box-shadow: 0 4px 14px rgba(37,99,235,0.3);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 7px 20px rgba(37,99,235,0.4); }
.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-lg { padding: 15px 38px; font-size: 16.5px; border-radius: 11px; }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

/* ============ 面包屑 ============ */
.breadcrumb {
  max-width: 1180px; margin: 0 auto; padding: 18px 24px 0;
  font-size: 13.5px; color: var(--ink-3);
}
.breadcrumb a { color: var(--brand); }
.breadcrumb span { margin: 0 7px; opacity: .5; }

/* ============ Hero（内页紧凑版）============ */
.hero {
  position: relative; overflow: hidden;
  padding: 64px 0 60px;
  background:
    radial-gradient(900px 420px at 78% -8%, rgba(14,165,233,0.16), transparent 62%),
    radial-gradient(700px 380px at 12% 8%, rgba(37,99,235,0.13), transparent 60%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(37,99,235,0.055) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 72%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 72%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-center .wrap { text-align: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid #dbeafe; color: var(--brand-dark);
  font-size: 13.5px; font-weight: 600; padding: 7px 16px; border-radius: 999px;
  margin-bottom: 22px; box-shadow: 0 2px 10px rgba(37,99,235,0.08);
}
.hero-badge .dot {
  width: 7px; height: 7px; border-radius: 50%; background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.18);
}
.hero h1 {
  font-size: clamp(28px, 4.4vw, 44px); line-height: 1.24;
  letter-spacing: -0.022em; font-weight: 800; margin-bottom: 20px;
}
.hero h1 .grad {
  background: linear-gradient(120deg, var(--brand) 0%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
  font-size: clamp(15.5px, 2vw, 18px); color: var(--ink-2);
  max-width: 780px; margin: 0 auto 32px;
}
.hero-center .hero-sub { margin-left: auto; margin-right: auto; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-center .hero-cta { justify-content: center; }

/* ============ 通用 Section ============ */
.section { padding: 72px 0; }
.section.soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 780px; margin: 0 auto 48px; }
.section-head.left { text-align: left; margin-left: 0; }
.eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--brand); background: #eff6ff;
  padding: 5px 13px; border-radius: 999px; margin-bottom: 16px;
}
.section-head h2 {
  font-size: clamp(23px, 3.2vw, 32px); font-weight: 800;
  letter-spacing: -0.02em; line-height: 1.3; margin-bottom: 14px;
}
.section-head p { color: var(--ink-2); font-size: 16px; }

/* ============ 卡片网格 ============ */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: 15px;
  padding: 30px 26px; position: relative; overflow: hidden;
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform: scaleX(0); transform-origin: left; transition: transform .28s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 38px rgba(15,23,42,0.09); border-color: #cbd5e1; }
.card:hover::before { transform: scaleX(1); }
.card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, #eff6ff, #e0f2fe);
  display: grid; place-items: center; font-size: 23px; margin-bottom: 18px;
}
.card h3 { font-size: 17.5px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.01em; }
.card p { font-size: 14.5px; color: var(--ink-2); line-height: 1.72; }
.card .tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.tag {
  font-size: 12px; font-weight: 600; color: var(--brand-dark);
  background: #eff6ff; padding: 4px 10px; border-radius: 6px;
}

/* ============ 条目列表 ============ */
.list-item {
  display: flex; gap: 15px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 20px 22px; transition: all .2s;
}
.list-item:hover { border-color: #bfdbfe; background: #fbfdff; }
.list-check {
  flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #16a34a); color: #fff;
  display: grid; place-items: center; font-size: 13px; font-weight: 700; margin-top: 2px;
}
.list-item h3 { font-size: 15.5px; font-weight: 700; margin-bottom: 4px; }
.list-item p { font-size: 13.5px; color: var(--ink-2); line-height: 1.65; }

/* ============ 正文 ============ */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 25px; font-weight: 800; margin: 40px 0 14px; letter-spacing: -0.015em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18px; font-weight: 700; margin: 26px 0 10px; }
.prose p { font-size: 16px; color: var(--ink-2); margin-bottom: 16px; line-height: 1.85; }
.prose ul, .prose ol { margin: 0 0 18px 22px; color: var(--ink-2); font-size: 16px; line-height: 1.9; }
.prose li { margin-bottom: 7px; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }

/* ============ 表格 ============ */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
table.data { width: 100%; border-collapse: collapse; font-size: 14.5px; background: #fff; }
table.data th {
  background: var(--bg-soft); text-align: left; padding: 13px 16px;
  font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
table.data td { padding: 12px 16px; border-bottom: 1px solid #f1f5f9; color: var(--ink-2); }
table.data tr:last-child td { border-bottom: none; }
table.data tr:hover td { background: #fbfdff; }

/* ============ FAQ ============ */
.faq { max-width: 880px; margin: 0 auto; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  margin-bottom: 12px; overflow: hidden; transition: border-color .2s, box-shadow .2s;
}
.faq details[open] { border-color: #bfdbfe; box-shadow: 0 8px 24px rgba(37,99,235,0.08); }
.faq summary {
  cursor: pointer; padding: 19px 24px; font-weight: 600; font-size: 15.5px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  list-style: none; transition: color .18s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--brand); }
.faq summary::after {
  content: "+"; font-size: 21px; font-weight: 400; color: var(--brand);
  flex: 0 0 auto; transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 24px 21px; color: var(--ink-2); font-size: 14.5px; line-height: 1.78; }

/* ============ CTA ============ */
.cta {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 52%, #0ea5e9 100%);
  border-radius: 20px; padding: 56px 40px; text-align: center;
  color: #fff; position: relative; overflow: hidden;
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.14) 1px, transparent 1px);
  background-size: 24px 24px; opacity: .55;
}
.cta > * { position: relative; z-index: 1; }
.cta h2 { font-size: clamp(22px, 3vw, 31px); font-weight: 800; margin-bottom: 14px; letter-spacing: -0.02em; }
.cta p { font-size: 16px; opacity: .92; margin-bottom: 28px; max-width: 620px; margin-left: auto; margin-right: auto; }
.cta .btn-light {
  background: #fff; color: var(--brand-dark); padding: 15px 40px;
  font-size: 16.5px; border-radius: 11px; box-shadow: 0 10px 28px rgba(0,0,0,0.18);
}
.cta .btn-light:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0,0,0,0.26); }

/* ============ 页脚 ============ */
.site-footer { background: #0f172a; color: #94a3b8; padding: 54px 0 28px; font-size: 14px; }
.footer-top {
  display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px;
  padding-bottom: 36px; border-bottom: 1px solid rgba(148,163,184,0.18);
}
.footer-brand { color: #fff; font-weight: 800; font-size: 16px; letter-spacing: -0.01em; margin-bottom: 14px; }
.footer-brand::after {
  content: ''; display: block; margin-top: 9px;
  width: 38px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--brand-light), var(--accent));
}
.footer-desc { line-height: 1.75; font-size: 13.5px; max-width: 330px; }
.footer-col h4 { color: #e2e8f0; font-size: 14px; font-weight: 700; margin-bottom: 15px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: 13.5px; transition: color .18s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  padding-top: 24px; display: flex; justify-content: space-between;
  align-items: center; gap: 18px; flex-wrap: wrap; font-size: 13px;
}

/* ============ 首页：数据条 ============ */
.hero-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line);
  border-radius: 14px; overflow: hidden; margin-top: 62px;
  box-shadow: 0 10px 34px rgba(15,23,42,0.06);
}
.stat { background: #fff; padding: 26px 18px; }
.stat-num {
  font-size: 30px; font-weight: 800; letter-spacing: -0.02em;
  background: linear-gradient(120deg, var(--brand), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1.2;
}
.stat-label { font-size: 13.5px; color: var(--ink-3); margin-top: 5px; }

/* ============ 罐型卡 ============ */
.tank-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 18px; }
.tank-item {
  background: #fff; border: 1px solid var(--line); border-radius: 13px;
  padding: 24px 20px; text-align: center; transition: all .2s;
}
.tank-item:hover { border-color: var(--brand); box-shadow: 0 10px 26px rgba(37,99,235,0.1); }
.tank-item .emoji { font-size: 30px; margin-bottom: 12px; }
.tank-item h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.tank-item p { font-size: 13px; color: var(--ink-3); line-height: 1.65; }

/* ============ 方法列表 ============ */
.method-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.method {
  display: flex; gap: 15px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 20px 22px; transition: all .2s;
}
.method:hover { border-color: #bfdbfe; background: #fbfdff; }
.method-check {
  flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #16a34a); color: #fff;
  display: grid; place-items: center; font-size: 13px; font-weight: 700; margin-top: 2px;
}
.method h3 { font-size: 15.5px; font-weight: 700; margin-bottom: 4px; }
.method p { font-size: 13.5px; color: var(--ink-2); line-height: 1.65; }

/* ============ 联系卡 ============ */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.contact-item {
  text-align: center; padding: 30px 20px; background: #fff;
  border: 1px solid var(--line); border-radius: 14px; transition: all .2s;
}
.contact-item:hover { border-color: var(--brand); box-shadow: 0 10px 26px rgba(37,99,235,0.1); }
.contact-item .emoji { font-size: 27px; margin-bottom: 12px; }
.contact-item .k { font-size: 12.5px; color: var(--ink-3); font-weight: 600; letter-spacing: .04em; margin-bottom: 6px; }
.contact-item .v { font-size: 16px; font-weight: 700; }

/* ============ 可点击卡片（内部链接）============ */
a.card { display: block; color: inherit; }
a.card:hover h3 { color: var(--brand); }

/* ============ 响应式 ============ */
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 760px) {
  .nav-links a { display: none; }
  .section { padding: 54px 0; }
  .hero { padding: 46px 0 44px; }
  .cta { padding: 42px 24px; border-radius: 16px; }
  .footer-top { grid-template-columns: 1fr; }
  .site-nav .wrap { height: 60px; }
}
