/* ============================================================
   cno3.cn 独立站点样式 v2（自建壳模板）
   覆盖：基础排版 / 头部导航 / 页脚 / 通用组件 / 产品页
   ============================================================ */

:root {
  --cno3-ink: #0b1a14;
  --cno3-body: #2c3a34;
  --cno3-muted: #64756c;
  --cno3-green: #0b6b4f;
  --cno3-green-d: #084d39;
  --cno3-green-l: #14a06e;
  --cno3-tint: #f2f7f4;
  --cno3-line: #dfe8e3;
  --cno3-radius: 14px;
  --cno3-header-h: 66px;
}

/* ---------- 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--cno3-body);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; border: 0; }
a { color: var(--cno3-green); }
h1, h2, h3, h4 { color: var(--cno3-ink); line-height: 1.4; }
p { margin: 0 0 1em; }
#wpadminbar { display: none; }

.cno3-section { padding: 72px 0; }
.cno3-section.is-tint { background: var(--cno3-tint); }
.cno3-wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* ---------- 头部 ---------- */
.cno3-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--cno3-line);
}
.cno3-header-in {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  height: var(--cno3-header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.cno3-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.cno3-logo img { height: 44px; width: auto; }
.cno3-wordmark {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--cno3-ink);
  padding-left: 12px;
  border-left: 1px solid var(--cno3-line);
  line-height: 1.2;
  white-space: nowrap;
}
.cno3-foot-site {
  font-size: 15px !important;
  font-weight: 700;
  letter-spacing: .06em;
  color: #fff !important;
  margin: 0 0 8px !important;
}
.cno3-nav { display: flex; align-items: center; gap: 6px; }
.cno3-nav a {
  display: block;
  padding: 8px 14px;
  font-size: 15px;
  color: var(--cno3-body);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
}
.cno3-nav a:hover { background: var(--cno3-tint); color: var(--cno3-green-d); }
.cno3-nav a.is-active { color: var(--cno3-green); background: rgba(11,107,79,.08); font-weight: 600; }
.cno3-nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.cno3-nav-toggle span { display: block; width: 22px; height: 2px; background: var(--cno3-ink); margin: 5px 0; border-radius: 2px; }

/* ---------- 面包屑 ---------- */
.cno3-crumb {
  background: var(--cno3-tint);
  border-bottom: 1px solid var(--cno3-line);
  font-size: 13.5px;
  color: var(--cno3-muted);
}
.cno3-crumb-in { max-width: 1160px; margin: 0 auto; padding: 10px 20px; }
.cno3-crumb a { color: var(--cno3-muted); text-decoration: none; }
.cno3-crumb a:hover { color: var(--cno3-green); }
.cno3-crumb .sep { margin: 0 8px; color: #b8c4be; }

/* ---------- 页面头 ---------- */
.cno3-pagehero {
  background: linear-gradient(135deg, #083f2e 0%, #0b6b4f 55%, #12a173 100%);
  color: #fff;
  padding: 58px 0 50px;
}
.cno3-pagehero h1 { color: #fff; font-size: 36px; margin: 0 0 14px; font-weight: 700; }
.cno3-pagehero p { color: rgba(255,255,255,.85); max-width: 760px; margin: 0; font-size: 16.5px; line-height: 1.8; }

/* ---------- HERO（首页） ---------- */
.cno3-hero {
  background: linear-gradient(135deg, #083f2e 0%, #0b6b4f 55%, #12a173 100%);
  color: #fff;
  padding: 84px 0 64px;
}
.cno3-hero h1 { font-size: 42px; line-height: 1.32; color: #fff; margin: 0 0 20px; font-weight: 700; max-width: 900px; }
.cno3-hero p.lead { font-size: 17px; line-height: 1.85; color: rgba(255,255,255,.86); max-width: 760px; margin: 0 0 30px; }
.cno3-hero .cno3-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }

/* ---------- 按钮 ---------- */
.cno3-btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  background: #fff;
  color: var(--cno3-green-d);
  border: 1px solid #fff;
  transition: .18s;
  cursor: pointer;
}
.cno3-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,.16); }
.cno3-btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.cno3-btn.ghost:hover { background: rgba(255,255,255,.12); }
.cno3-btn.solid { background: var(--cno3-green); color: #fff; border-color: var(--cno3-green); }

.cno3-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  border-top: 1px solid rgba(255,255,255,.18);
  padding-top: 28px;
}
.cno3-metrics div b { display: block; font-size: 26px; font-weight: 700; color: #fff; line-height: 1.2; }
.cno3-metrics div span { font-size: 13px; color: rgba(255,255,255,.72); }

/* ---------- 标题组 ---------- */
.cno3-eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--cno3-green);
  background: rgba(11,107,79,.08);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.cno3-head { max-width: 760px; margin-bottom: 40px; }
.cno3-head h2 { font-size: 34px; line-height: 1.3; color: var(--cno3-ink); margin: 0 0 14px; font-weight: 700; }
.cno3-head p { color: var(--cno3-muted); font-size: 16px; line-height: 1.8; margin: 0; }

/* ---------- 卡片 ---------- */
.cno3-grid { display: grid; gap: 22px; }
.cno3-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cno3-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cno3-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.cno3-card {
  background: #fff;
  border: 1px solid var(--cno3-line);
  border-radius: var(--cno3-radius);
  padding: 26px 24px;
  transition: .18s;
  height: 100%;
}
.cno3-card:hover { border-color: var(--cno3-green-l); box-shadow: 0 10px 26px rgba(11,107,79,.08); }
.cno3-card .cno3-tag {
  display: inline-block;
  font-size: 12px;
  color: var(--cno3-green);
  background: rgba(11,107,79,.08);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}
.cno3-card h3 { font-size: 19px; color: var(--cno3-ink); margin: 0 0 10px; line-height: 1.45; font-weight: 700; }
.cno3-card p { font-size: 14px; line-height: 1.8; color: var(--cno3-muted); margin: 0 0 14px; }
.cno3-card .cno3-more { font-size: 14px; color: var(--cno3-green); font-weight: 600; }
.cno3-card.is-link { display: block; text-decoration: none; color: inherit; }

.cno3-card.product { border-left: 3px solid var(--cno3-green); }
.cno3-card.product .cno3-model {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  color: var(--cno3-green-d);
}
.cno3-card.product .cno3-url {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12.5px;
  color: var(--cno3-green-d);
  background: var(--cno3-tint);
  padding: 7px 10px;
  border-radius: 6px;
  word-break: break-all;
}

/* ---------- 产品页 ---------- */
.cno3-pitem { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; }
.cno3-pitem h1 { font-size: 34px; margin: 0 0 12px; }
.cno3-pitem .cno3-tagline { font-size: 17px; color: var(--cno3-muted); line-height: 1.85; margin: 0 0 22px; }
.cno3-spec {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  background: #fff;
  border: 1px solid var(--cno3-line);
  border-radius: 12px;
  overflow: hidden;
}
.cno3-spec th, .cno3-spec td { padding: 11px 16px; border-bottom: 1px solid var(--cno3-line); text-align: left; vertical-align: top; }
.cno3-spec tr:last-child th, .cno3-spec tr:last-child td { border-bottom: none; }
.cno3-spec th { width: 38%; background: var(--cno3-tint); color: var(--cno3-ink); font-weight: 600; white-space: nowrap; }
.cno3-spec td { color: var(--cno3-body); }
.cno3-spec-note { font-size: 13px; color: var(--cno3-muted); margin-top: 10px; }

.cno3-badge {
  display: inline-block;
  font-size: 13px;
  color: var(--cno3-green-d);
  background: rgba(11,107,79,.1);
  border: 1px solid rgba(11,107,79,.22);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

/* ---------- 表格（通用） ---------- */
.cno3-table-wrap { overflow-x: auto; border: 1px solid var(--cno3-line); border-radius: 12px; background: #fff; }
.cno3-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.cno3-table th, .cno3-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--cno3-line); }
.cno3-table th { background: var(--cno3-tint); color: var(--cno3-ink); font-weight: 600; white-space: nowrap; }
.cno3-table tr:last-child td { border-bottom: none; }
.cno3-table td { color: var(--cno3-body); }

/* ---------- 信任条 ---------- */
.cno3-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cno3-trust .item { background: #fff; border: 1px solid var(--cno3-line); border-radius: 12px; padding: 22px 20px; }
.cno3-trust .item b { display: block; font-size: 15px; color: var(--cno3-ink); margin-bottom: 8px; }
.cno3-trust .item span { font-size: 13.5px; color: var(--cno3-muted); line-height: 1.7; }

/* ---------- FAQ ---------- */
.cno3-faq { max-width: 880px; }
.cno3-faq details { background: #fff; border: 1px solid var(--cno3-line); border-radius: 12px; padding: 20px 22px; margin-bottom: 14px; }
.cno3-faq details summary { font-size: 16.5px; font-weight: 600; color: var(--cno3-ink); cursor: pointer; list-style: none; line-height: 1.6; }
.cno3-faq details summary::-webkit-details-marker { display: none; }
.cno3-faq details summary::before {
  content: "Q";
  display: inline-block;
  width: 24px; height: 24px;
  line-height: 24px;
  text-align: center;
  border-radius: 50%;
  background: var(--cno3-green);
  color: #fff;
  font-size: 12px;
  margin-right: 10px;
  vertical-align: 1px;
}
.cno3-faq details p { margin: 14px 0 0; font-size: 15px; line-height: 1.85; color: var(--cno3-body); }

/* ---------- CTA ---------- */
.cno3-cta {
  background: var(--cno3-ink);
  border-radius: 18px;
  padding: 44px 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: #fff;
  flex-wrap: wrap;
}
.cno3-cta h3 { color: #fff; font-size: 24px; margin: 0 0 10px; font-weight: 700; }
.cno3-cta p { color: rgba(255,255,255,.72); margin: 0; font-size: 15px; line-height: 1.75; }

/* ---------- 列表点 ---------- */
.cno3-points { list-style: none; padding: 0; margin: 0; }
.cno3-points li { position: relative; padding-left: 26px; margin-bottom: 14px; font-size: 15px; line-height: 1.8; color: var(--cno3-body); }
.cno3-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 14px; height: 14px;
  border-radius: 4px;
  background: var(--cno3-green-l);
}

/* ---------- 页脚 ---------- */
.cno3-footer { background: #0a0f0d; color: #8a9a92; margin-top: 72px; }
.cno3-footer-in { max-width: 1160px; margin: 0 auto; padding: 46px 20px 26px; }
.cno3-footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.cno3-footer h4 { color: #d7e2dc; font-size: 15px; margin: 0 0 14px; font-weight: 600; }
.cno3-footer ul { list-style: none; padding: 0; margin: 0; }
.cno3-footer li { margin-bottom: 9px; font-size: 13.5px; }
.cno3-footer a { color: #8a9a92; text-decoration: none; }
.cno3-footer a:hover { color: #cfe0d8; }
.cno3-footer .brand img { height: 40px; width: auto; margin-bottom: 14px; filter: brightness(0) invert(1); opacity: .92; }
.cno3-footer .brand p { font-size: 13.5px; line-height: 1.8; margin: 0; color: #7c8c84; }
.cno3-footer .contact li { display: flex; gap: 8px; }
.cno3-footer .contact b { color: #cfe0d8; font-weight: 500; white-space: nowrap; }
.cno3-footer-bar {
  border-top: 1px solid #1c2622;
  margin-top: 34px;
  padding-top: 18px;
  text-align: center;
  font-size: 13px;
  color: #6e7f77;
}
.cno3-footer-bar a { color: #a8b8b0; text-decoration: none; }
.cno3-footer-bar a:hover { text-decoration: underline; }

/* ---------- 404 ---------- */
.cno3-404 { text-align: center; padding: 90px 20px 60px; }
.cno3-404 b { font-size: 72px; color: var(--cno3-green); display: block; margin-bottom: 10px; }
.cno3-404 h1 { font-size: 26px; margin: 0 0 12px; }
.cno3-404 p { color: var(--cno3-muted); }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .cno3-footer-cols { grid-template-columns: 1fr 1fr; }
  .cno3-pitem { grid-template-columns: 1fr; gap: 26px; }
  .cno3-nav {
    display: none;
    position: absolute;
    top: var(--cno3-header-h);
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 16px 16px;
    border-bottom: 1px solid var(--cno3-line);
    box-shadow: 0 12px 24px rgba(0,0,0,.08);
  }
  .cno3-nav.open { display: flex; }
  .cno3-nav a { padding: 12px 10px; border-radius: 8px; }
  .cno3-nav-toggle { display: block; }
  .cno3-grid.cols-3, .cno3-grid.cols-4, .cno3-metrics, .cno3-trust { grid-template-columns: repeat(2, 1fr); }
  .cno3-hero h1 { font-size: 30px; }
  .cno3-head h2 { font-size: 26px; }
  .cno3-section { padding: 52px 0; }
  .cno3-pagehero h1 { font-size: 28px; }
}
@media (max-width: 600px) {
  .cno3-grid.cols-3, .cno3-grid.cols-4, .cno3-grid.cols-2, .cno3-metrics, .cno3-trust { grid-template-columns: 1fr; }
  .cno3-footer-cols { grid-template-columns: 1fr; gap: 24px; }
  .cno3-cta { padding: 30px 24px; }
  .cno3-hero { padding: 56px 0 44px; }
  .cno3-header-in { height: 58px; }
  .cno3-logo img { height: 36px; }
  .cno3-wordmark { font-size: 15px; padding-left: 8px; }
  :root { --cno3-header-h: 58px; }
}
