/* ============================================================
   Createlink B2B 询盘站原型 — 共享样式
   设计基调：工业蓝 + 琥珀CTA，白底，零外部依赖（离线可预览）
   ============================================================ */

:root {
  --primary: #178A58;
  --primary-700: #12704A;
  --primary-900: #0B3D2A;
  --primary-50: #EDF8F2;
  --primary-border: #C8E6D6;
  --accent: #F59E0B;
  --accent-600: #D97706;
  --ink: #0E1B2C;
  --text: #3D4C5E;
  --muted: #64748B;
  --line: #E2E8F0;
  --bg: #FFFFFF;
  --bg-soft: #F4F7FA;
  --ok: #0E9F6E;
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, .10);
}

/* ---------- 基础 ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -.01em; }
h2 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -.01em; }
h3 { font-size: 19px; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }

:focus-visible { outline: 3px solid #7DD6AB; outline-offset: 2px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--primary-900); color: #fff; padding: 10px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 10px;
  font-weight: 700; font-size: 15.5px; line-height: 1.2;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
  text-decoration: none !important;
}
.btn:hover { text-decoration: none !important; }
.btn-accent { background: var(--accent); color: #26170A; }
.btn-accent:hover { background: var(--accent-600); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-700); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost { border-color: var(--primary); color: var(--primary); background: rgba(255,255,255,.9); }
.btn-ghost:hover { background: var(--primary-50); }
.btn-lg { padding: 15px 30px; font-size: 16.5px; }

/* ---------- 头部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; position: relative; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none !important; }
.brand-mark { width: 56px; height: 56px; flex: none; object-fit: contain; border-radius: 4px; }
.site-footer .brand-mark { width: 64px; height: 64px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 800; font-size: 23px; color: var(--ink); letter-spacing: -.01em; }
.brand-sub { font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { color: var(--ink); font-weight: 600; font-size: 15px; padding: 6px 2px; }
.site-nav a:hover { color: var(--primary); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--primary); box-shadow: inset 0 -2px 0 var(--primary); }
.nav-cta { padding: 10px 18px !important; border-radius: 10px !important; }
.nav-cta:hover { color: #fff !important; box-shadow: var(--shadow-md) !important; }
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 10px;
  border: 1.5px solid var(--line); background: #fff; cursor: pointer; color: var(--ink);
}
@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: -24px; right: -24px;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px 24px 20px; box-shadow: var(--shadow-md);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 6px; border-bottom: 1px solid #F1F5F9; }
  .site-nav .nav-cta { text-align: center; margin-top: 10px; }
}

/* ---------- 首页 Hero ---------- */
.hero { background: linear-gradient(180deg, #EFF9F3 0%, #fff 100%); }
.hero-inner {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px;
  align-items: center; padding: 72px 0 80px;
}
.hero .lead { font-size: 18px; color: var(--text); max-width: 520px; margin-bottom: 0; }
.hero h1 { margin-bottom: 18px; }
.hero h1 .accent-line {
  box-shadow: inset 0 -0.32em 0 rgba(245, 158, 11, .35);
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-note { font-size: 13.5px; color: var(--muted); margin-top: 16px; display: flex; align-items: center; gap: 7px; }
.hero-note .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); flex: none; }
.hero-art svg { width: 100%; height: auto; }

@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; padding: 56px 0 64px; gap: 36px; }
}

/* ---------- 数据条 ---------- */
.stats { background: var(--primary-900); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding: 36px 0; }
.stat { text-align: center; }
.stat b { display: block; font-size: 28px; font-weight: 800; color: #6FD0A0; letter-spacing: -.01em; }
.stat span { font-size: 13.5px; color: #B9D6C6; }
@media (max-width: 760px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 区块通用 ---------- */
.section { padding: 76px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.section-head .lead { color: var(--muted); font-size: 17px; margin-bottom: 0; }
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .13em;
  text-transform: uppercase; color: var(--primary);
  background: var(--primary-50); border: 1px solid var(--primary-border);
  padding: 5px 14px; border-radius: 999px; margin-bottom: 16px;
}

/* ---------- 网格与卡片 ---------- */
.grid { display: grid; gap: 24px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid.cols-4 { grid-template-columns: repeat(2, 1fr); } .grid.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); transition: .18s ease;
  display: flex; flex-direction: column;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: #C6E6D5; }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0 0 14px; font-size: 14.5px; }
.card .card-link { margin-top: auto; font-weight: 700; font-size: 14.5px; }
.icon-badge {
  width: 48px; height: 48px; border-radius: 12px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-50); color: var(--primary); margin-bottom: 18px;
}
.icon-badge.amber { background: #FFF7E6; color: var(--accent-600); }
.icon-badge svg { width: 24px; height: 24px; }

/* 信任列表（编号式） */
.trust-list { display: grid; gap: 18px; }
.trust-item { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.trust-num {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  background: var(--primary-900); color: #6FD0A0; font-weight: 800; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
}
.trust-item h3 { font-size: 17px; margin-bottom: 4px; }
.trust-item p { margin: 0; font-size: 14.5px; }

/* ---------- CTA 横幅 ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--primary-900) 0%, var(--primary) 100%);
  color: #fff; border-radius: 16px; padding: 46px 52px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap; box-shadow: var(--shadow-md);
}
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: #C9DCF0; margin: 0; max-width: 560px; }

/* ---------- 子页 Hero ---------- */
.page-hero { background: linear-gradient(180deg, #EFF9F3, #fff); border-bottom: 1px solid var(--line); padding: 54px 0 44px; }
.breadcrumb { font-size: 13.5px; color: var(--muted); margin-bottom: 12px; }
.breadcrumb a { color: var(--muted); }
.page-hero .lead { font-size: 17.5px; color: var(--text); max-width: 780px; margin-bottom: 0; }

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
th { background: var(--primary-50); color: var(--ink); text-align: left; padding: 13px 18px; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
td { padding: 14px 18px; border-top: 1px solid var(--line); vertical-align: top; }
tr.hl td { background: #FFF8EC; }
.tag-pop {
  display: inline-block; margin-left: 8px; padding: 2px 10px; border-radius: 999px;
  background: var(--accent); color: #26170A; font-size: 11px; font-weight: 800; letter-spacing: .05em; vertical-align: middle;
}

/* ---------- 徽标 / 胶囊 ---------- */
.pill {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: var(--primary-50); color: var(--primary-700);
  border: 1px solid var(--primary-border); font-size: 13.5px; font-weight: 600;
}
.pill.amber { background: #FFF7E6; color: #8A5A00; border-color: #F2D9A0; }
.pill.dark { background: #0B3D2A; color: #CDE9DA; border-color: #1D5C42; }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- 流程步骤（OEM） ---------- */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
@media (max-width: 960px) { .flow { grid-template-columns: repeat(2, 1fr); } }
.flow-step { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--primary); border-radius: var(--radius); padding: 22px 18px; }
.flow-step .num { font-size: 13px; font-weight: 800; color: var(--accent-600); letter-spacing: .08em; }
.flow-step h3 { font-size: 15.5px; margin: 6px 0 4px; }
.flow-step p { font-size: 13px; color: var(--muted); margin: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; }
details.faq-item { border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 0 20px; margin-bottom: 12px; }
details.faq-item summary {
  cursor: pointer; font-weight: 700; color: var(--ink); padding: 17px 0;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after { content: "+"; font-size: 22px; color: var(--primary); font-weight: 400; flex: none; }
details.faq-item[open] summary::after { content: "–"; }
details.faq-item .faq-body { padding: 0 0 18px; color: var(--text); font-size: 15px; }

/* ---------- 表单 ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 34px; box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 14px; color: var(--ink); }
.field label .req { color: #D93025; }
input, select, textarea {
  border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 14px;
  font: inherit; color: var(--ink); background: #fff; width: 100%;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(23, 138, 88, .13); }
textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.form-ok {
  margin-top: 18px; padding: 16px 18px; border-radius: 10px;
  background: #ECFDF5; border: 1px solid #A7F3D0; color: #065F46; font-weight: 600; font-size: 14.5px;
}
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- 占位图 ---------- */
.ph {
  border: 2px dashed #B4DCC8; border-radius: var(--radius);
  background: repeating-linear-gradient(45deg, #F5FBF7, #F5FBF7 14px, #EDF7F0 14px, #EDF7F0 28px);
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  color: var(--muted); font-size: 13.5px; text-align: center;
  min-height: 220px; padding: 20px; gap: 8px;
}
.ph b { color: var(--primary); font-size: 14.5px; }

/* ---------- 博客 ---------- */
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); transition: .18s; }
.post-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.post-card .cat { font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-600); }
.post-card h3 { font-size: 17px; margin: 8px 0 6px; }
.post-card p { font-size: 13.5px; color: var(--muted); margin: 0 0 12px; }
.post-card .meta { font-size: 12.5px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 12px; }
.featured-post {
  background: linear-gradient(120deg, #0B3D2A, #178A58); color: #fff;
  border-radius: 16px; padding: 40px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center;
}
.featured-post h2 { color: #fff; }
.featured-post p { color: #C9DCF0; }
@media (max-width: 860px) { .featured-post { grid-template-columns: 1fr; } }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--primary-900); color: #B9D6C6; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding: 56px 0 44px; }
.site-footer h4 { color: #fff; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #D6E9DD; font-size: 14.5px; }
.site-footer a:hover { color: #fff; }
.footer-brand p { font-size: 14px; color: #9FC3AE; max-width: 300px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12); padding: 20px 0;
  font-size: 13px; color: #8FB8A2; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
@media (max-width: 920px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp 浮窗 ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .45);
  transition: transform .16s ease;
}
.wa-float:hover { transform: scale(1.08); text-decoration: none; }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- 杂项 ---------- */
.spec-band { background: var(--primary-50); border: 1px solid var(--primary-border); border-radius: var(--radius); padding: 26px 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.spec-band > div { text-align: center; }
.spec-band b { display: block; font-size: 22px; color: var(--primary-900); }
.spec-band span { font-size: 13px; color: var(--muted); }
@media (max-width: 720px) { .spec-band { grid-template-columns: 1fr; } }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
@media (max-width: 880px) { .two-col { grid-template-columns: 1fr; } }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.check-list .ck { color: var(--ok); font-weight: 800; flex: none; }
.note-box { background: #FFF7E6; border: 1px solid #F2D9A0; border-radius: 10px; padding: 14px 18px; font-size: 13.5px; color: #7A5200; }


/* ---------- 真实图片样式（替换 .ph 占位） ---------- */
.section-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: block;
}
.gallery-photo {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
  display: flex;
  flex-direction: column;
  margin: 0;
}
.gallery-photo:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.gallery-photo img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.gallery-photo figcaption {
  padding: 16px 20px 20px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
}
.gallery-photo figcaption span {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 13px;
  margin-top: 5px;
  line-height: 1.5;
}

.stats-card {
  background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-700) 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}
.stats-card .eyebrow {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .2);
  color: #C6E6D5;
  align-self: flex-start;
  margin-bottom: 14px;
}
.stats-card h3 { color: #fff; font-size: 19px; margin: 6px 0 16px; line-height: 1.3; }
.stats-card .check-list { gap: 11px; }
.stats-card .check-list li { color: #C6E6D5; font-size: 14.5px; }
.stats-card .check-list .ck { color: var(--accent); }

.video-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--primary-900);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
}
.video-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
}
.video-frame .play-badge {
  position: relative;
  z-index: 1;
  background: rgba(14, 27, 44, 0.78);
  color: #fff;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* ---------- Blog Article ---------- */
.article-body { max-width: 800px; margin: 0 auto; }
.article-body h2 { margin: 2.2em 0 0.6em; font-size: 26px; }
.article-body h3 { margin: 1.8em 0 0.5em; font-size: 20px; }
.article-body p { font-size: 17px; line-height: 1.78; color: var(--text); margin-bottom: 1.2em; }
.article-body ul, .article-body ol { padding-left: 1.4em; font-size: 16.5px; line-height: 1.75; color: var(--text); }
.article-body li { margin-bottom: 0.5em; }
.article-body strong { color: var(--ink); }
.article-body .table-wrap { margin: 1.5em 0; }
.article-meta { font-size: 14px; color: var(--muted); margin-top: 12px; display: flex; gap: 14px; flex-wrap: wrap; }
.article-cta {
  margin-top: 48px; padding: 30px 32px;
  background: var(--primary-50); border: 1px solid var(--primary-border);
  border-radius: var(--radius); text-align: center;
}
.article-cta h3 { margin-bottom: 6px; }
.article-cta p { margin-bottom: 18px; color: var(--text); }
.back-to-blog { display: inline-block; margin-bottom: 18px; font-weight: 600; font-size: 14.5px; }
