/* ============================================================
   诺记智能 · 统一设计系统 — 组件层
   导航 / Hero / 卡片 / 按钮 / 列表 / 价格 / 表单 / 页脚
   ============================================================ */

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .nav {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 18px; color: var(--ink); letter-spacing: -.02em;
}
.brand .logo-mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 15px;
}
.brand:hover { color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--ink-2); font-weight: 600; font-size: 15px;
  padding: 8px 14px; border-radius: 999px;
}
.nav-links a:hover { background: var(--bg-alt); color: var(--ink); }
.nav-links a.active { color: var(--accent); background: var(--accent-soft); }
.nav-cta { margin-left: 8px; }
.nav-toggle {
  display: none; border: 1px solid var(--line); background: #fff;
  width: 42px; height: 42px; border-radius: 10px; cursor: pointer; font-size: 18px; color: var(--ink);
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .nav-links {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: var(--sp-2) var(--sp-3) var(--sp-3);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .nav-cta { margin: 8px 0 0; }
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 15px; line-height: 1;
  padding: 13px 22px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .12s ease, box-shadow .15s ease, background .15s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-contrast); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-strong); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 480px at 78% -10%, var(--accent-soft), transparent 60%),
    linear-gradient(180deg, #fff, var(--bg-alt));
  padding: var(--sp-6) 0 var(--sp-5);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--sp-5); align-items: center; }
.hero h1 { margin-bottom: var(--sp-2); }
.hero .lead { margin-bottom: var(--sp-3); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: var(--sp-4); margin-top: var(--sp-4); flex-wrap: wrap; }
.hero-stats .num { font-size: 30px; font-weight: 800; color: var(--ink); line-height: 1; }
.hero-stats .lbl { font-size: 14px; color: var(--muted); }
.hero-art {
  border-radius: 20px; padding: 22px; background: #fff; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.hero-art .chip { display: inline-flex; align-items: center; gap: 8px; background: var(--bg-alt);
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 600; margin: 6px; }
.hero-art .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }

@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

/* ---------- 卡片 ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--sp-3); box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .ic {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); font-size: 22px; margin-bottom: var(--sp-2);
}
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li { position: relative; padding-left: 30px; color: var(--ink-2); margin: 10px 0; }
.feature-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; font-size: 13px; font-weight: 800;
}

/* ---------- 徽标/ logo 墙 ---------- */
.logos { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; justify-content: center; opacity: .8; }
.logos .logo-pill {
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 10px 18px; font-weight: 700; color: var(--ink-2); font-size: 15px;
}

/* ---------- 价格表 ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); align-items: stretch; }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }
.price-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: var(--sp-3);
  background: #fff; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
}
.price-card.featured { border-color: var(--accent); box-shadow: var(--shadow); position: relative; }
.price-card.featured::after {
  content: "推荐"; position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: 12px; font-weight: 700;
  padding: 4px 12px; border-radius: 999px;
}
.price-card .tier { font-weight: 800; font-size: 18px; }
.price-card .price { font-size: 36px; font-weight: 800; color: var(--ink); margin: 6px 0; }
.price-card .price small { font-size: 15px; color: var(--muted); font-weight: 600; }
.price-card ul { margin: var(--sp-2) 0 var(--sp-3); }
.price-card .btn { margin-top: auto; }

/* ---------- 表单 ---------- */
.form { display: grid; gap: var(--sp-2); max-width: 560px; }
.form label { font-weight: 600; font-size: 14px; color: var(--ink-2); }
.form input, .form textarea, .form select {
  width: 100%; font: inherit; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.form textarea { min-height: 130px; resize: vertical; }
.form .err { border-color: #e5484d !important; }
.form .hint { font-size: 13px; color: var(--muted); margin: -6px 0 0; }
.form-msg { font-size: 14px; font-weight: 600; padding: 10px 14px; border-radius: var(--radius-sm); display: none; }
.form-msg.ok { display: block; background: #e9f9ef; color: #137a3b; }
.form-msg.bad { display: block; background: #fdecec; color: #c0341f; }

/* ---------- 面包屑/页眉副区块 ---------- */
.page-hero { background: linear-gradient(180deg, #fff, var(--bg-alt)); padding: var(--sp-5) 0 var(--sp-4); }
.page-hero h1 { margin-bottom: var(--sp-1); }
.page-hero .lead { margin: 0; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--ink); color: #c5d0e0; padding: var(--sp-5) 0 var(--sp-3); margin-top: var(--sp-6); }
.site-footer a { color: #c5d0e0; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--sp-4); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: var(--sp-2); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 8px 0; font-size: 14px; }
.footer-brand { font-size: 18px; font-weight: 800; color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); margin-top: var(--sp-4);
  padding-top: var(--sp-3); display: flex; justify-content: space-between; gap: var(--sp-2);
  flex-wrap: wrap; font-size: 13px; color: #8da0bd;
}

/* ---------- CTA 横幅 ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
  color: #fff; border-radius: 20px; padding: var(--sp-5) var(--sp-4); text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 620px; margin: 0 auto var(--sp-3); }
.cta-band .btn-ghost { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.4); }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.24); color: #fff; }

/* ---------- 兄弟站导航卡 ---------- */
.sister-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
@media (max-width: 860px) { .sister-grid { grid-template-columns: 1fr; } }
.sister-card { border: 1px solid var(--line); border-radius: var(--radius); padding: var(--sp-3); background: #fff; box-shadow: var(--shadow-sm); }
.sister-card h3 { margin-bottom: 6px; }
.sister-card p { font-size: 14px; color: var(--muted); margin-bottom: var(--sp-2); }

/* ---------- 提示条 ---------- */
.note {
  border: 1px dashed var(--line); background: var(--bg-alt); border-radius: var(--radius-sm);
  padding: 14px 16px; font-size: 14px; color: var(--muted);
}
