/* 青海妙言网络科技 — 子页面公共样式（about / cases / blog） */
:root {
  --primary: #ff2442;
  --primary-dark: #e01c37;
  --secondary: #2563eb;
  --ink: #0f172a;
  --ink-soft: #475569;
  --muted: #94a3b8;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --border: #e2e8f0;
  --radius: 14px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; margin: 0 auto; padding: 0 24px; }

/* 导航 */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.9); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 700; letter-spacing: .5px; }
.logo img { height: 38px; width: auto; border-radius: 8px; }
.logo span { color: var(--primary); }
.nav-links { display: flex; gap: 24px; font-size: 15px; color: var(--ink-soft); align-items: center; }
.nav-links a:hover { color: var(--primary); }
.nav-links a.active { color: var(--primary); font-weight: 600; }
.nav-cta { background: var(--primary); color: #fff !important; padding: 8px 18px; border-radius: 999px; font-size: 14px; }
.nav-cta:hover { background: var(--primary-dark); }

/* 页头 */
.page-head {
  padding: 64px 0 44px; text-align: center;
  background: radial-gradient(600px 280px at 15% 0%, rgba(255,36,66,.08), transparent),
              radial-gradient(500px 260px at 88% 20%, rgba(37,99,235,.08), transparent),
              var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
.page-head .kicker { display: inline-block; font-size: 13px; font-weight: 600; color: var(--primary); letter-spacing: 3px; margin-bottom: 10px; }
.page-head h1 { font-size: 34px; line-height: 1.35; letter-spacing: .5px; }
.page-head p { margin: 14px auto 0; max-width: 660px; color: var(--ink-soft); font-size: 16px; }
.crumb { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.crumb a:hover { color: var(--primary); }

/* 正文排版 */
article { padding: 56px 0 40px; }
article h2 { font-size: 24px; margin: 44px 0 14px; padding-left: 12px; border-left: 4px solid var(--primary); line-height: 1.4; }
article h3 { font-size: 18px; margin: 28px 0 10px; }
article p { margin: 12px 0; color: #334155; font-size: 16px; }
article ul, article ol { margin: 12px 0 12px 22px; color: #334155; font-size: 16px; }
article li { margin: 7px 0; }
article strong { color: var(--ink); }
article em { font-style: normal; background: linear-gradient(transparent 62%, rgba(255,36,66,.18) 62%); }
.lead { font-size: 17px; color: var(--ink-soft); border-left: 3px solid var(--border); padding-left: 16px; margin: 18px 0 26px; }

/* 表格 */
.table-wrap { overflow-x: auto; margin: 18px 0 24px; border: 1px solid var(--border); border-radius: 10px; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; background: #fff; }
th, td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
th { background: #f1f6fd; color: #1f3864; font-weight: 700; white-space: nowrap; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:nth-child(even) { background: #fcfdff; }
td.num { white-space: nowrap; font-weight: 600; }

/* 提示块 */
.note {
  background: #fff8f0; border: 1px solid #ffdfc2; border-left: 4px solid #f59e0b;
  border-radius: 8px; padding: 14px 18px; margin: 20px 0; font-size: 14.5px; color: #7c4a03;
}
.note.blue { background: #f2f7ff; border-color: #cfe0f7; border-left-color: var(--secondary); color: #1e3a8a; }
.note b { color: inherit; }

/* 卡片/列表 */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 22px 0; }
.mini-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 22px 22px; }
.mini-card h3 { font-size: 16px; margin-bottom: 8px; }
.mini-card p, .mini-card li { font-size: 14.5px; color: var(--ink-soft); }
.mini-card ul { margin: 8px 0 0 18px; }

/* FAQ */
details { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 16px 20px; margin-bottom: 10px; }
summary { font-weight: 600; font-size: 15.5px; cursor: pointer; list-style: none; }
summary::before { content: "Q · "; color: var(--primary); font-weight: 700; }
summary::-webkit-details-marker { display: none; }
details p { margin-top: 8px; font-size: 15px; color: var(--ink-soft); }

/* CTA */
.cta {
  background: linear-gradient(135deg, rgba(255,36,66,.07), rgba(37,99,235,.07));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 36px 32px; margin: 44px 0 10px; text-align: center;
}
.cta h3 { font-size: 21px; margin-bottom: 8px; }
.cta p { color: var(--ink-soft); font-size: 15px; margin-bottom: 18px; }
.btn { display: inline-block; padding: 12px 28px; border-radius: 999px; font-size: 15px; font-weight: 600; transition: all .2s; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 22px rgba(255,36,66,.24); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid var(--border); color: var(--ink-soft); background: #fff; }
.btn-ghost:hover { border-color: var(--secondary); color: var(--secondary); }

/* 页脚 */
footer { border-top: 1px solid var(--border); padding: 32px 0; margin-top: 40px; font-size: 14px; color: var(--muted); }
.foot-links { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-bottom: 12px; font-size: 14px; }
.foot-links a { color: var(--ink-soft); }
.foot-links a:hover { color: var(--primary); }
.foot-brand { display: flex; align-items: center; justify-content: center; gap: 10px; }
.foot-brand img { height: 26px; border-radius: 6px; }

@media (max-width: 860px) {
  .page-head h1 { font-size: 25px; }
  .cards { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  article h2 { font-size: 21px; }
  footer { font-size: 13px; }
}
