:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-subtle: #f1f5f9;
  --ink: #0f172a;
  --ink-secondary: #334155;
  --ink-muted: #64748b;
  --brand: #0f2942;
  --brand-accent: #0e7490;
  --brand-soft: #ecfeff;
  --border: #e2e8f0;
  --warn-bg: #fffbeb;
  --warn-border: #f59e0b;
  --warn-text: #92400e;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(15, 23, 42, 0.05), 0 8px 24px rgba(15, 23, 42, 0.04);
  --max-w: 1020px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans SC", "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
}

a {
  color: var(--brand-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(var(--max-w), calc(100% - 32px));
  margin: 0 auto;
}

/* 内部预览草稿提示条（正式上线前删除） */
.draft-banner {
  background: var(--warn-bg);
  border-bottom: 2px solid var(--warn-border);
  color: var(--warn-text);
  font-size: 14px;
  line-height: 1.6;
  padding: 12px 0;
}

.draft-banner strong {
  color: #78350f;
}

/* 顶部导航 */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.01em;
}

.brand-mark:hover {
  text-decoration: none;
}

.brand-badge {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--brand);
  color: #38bdf8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--ink-secondary);
  font-size: 14px;
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--brand-accent);
  text-decoration: none;
}

/* 首屏 */
.hero {
  background: linear-gradient(150deg, #0f2942 0%, #163b5c 58%, #0e5a72 100%);
  color: #ffffff;
  padding: 56px 0 52px;
}

.hero-eyebrow {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 13px;
  color: #e0f2fe;
  margin-bottom: 16px;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4.4vw, 40px);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hero-lead {
  margin: 0 0 26px;
  max-width: 720px;
  color: #e2e8f0;
  font-size: 17px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: #ffffff;
  color: var(--brand);
}

.btn-primary:hover {
  background: #e0f2fe;
  text-decoration: none;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  text-decoration: none;
}

.btn-outline {
  background: var(--surface);
  color: var(--brand);
  border-color: var(--border);
  font-size: 14px;
  padding: 8px 14px;
}

.btn-outline:hover {
  background: var(--surface-subtle);
  text-decoration: none;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.meta-item {
  background: rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 12px 14px;
}

.meta-label {
  display: block;
  font-size: 12px;
  color: #bae6fd;
  margin-bottom: 2px;
}

.meta-value {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

/* 主体章节 */
main {
  padding: 44px 0 60px;
}

.section {
  margin-bottom: 44px;
  scroll-margin-top: 84px;
}

.section:last-child {
  margin-bottom: 0;
}

.section-head {
  margin-bottom: 20px;
}

.section-head h2 {
  margin: 0 0 6px;
  font-size: 24px;
  color: var(--brand);
  line-height: 1.35;
}

.section-head p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 15px;
}

/* 卡片网格 */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.card-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-accent);
  background: var(--brand-soft);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: var(--brand);
  line-height: 1.4;
}

.card p {
  margin: 0 0 12px;
  color: var(--ink-secondary);
  font-size: 14.5px;
}

.card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--ink-secondary);
  font-size: 14px;
}

.card li {
  margin-bottom: 6px;
}

.card li:last-child {
  margin-bottom: 0;
}

.placeholder-tag {
  display: inline;
  background: #fef3c7;
  color: #92400e;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.92em;
}

/* 询盘流程与模板 */
.inquiry-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 18px;
  align-items: start;
}

.step-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.step-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--brand);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.step-item h4 {
  margin: 0 0 4px;
  font-size: 16px;
  color: var(--brand);
}

.step-item p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-secondary);
}

.template-box {
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Microsoft YaHei", monospace;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--ink);
  white-space: pre-wrap;
  margin: 12px 0 14px;
}

.template-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.copy-feedback {
  font-size: 13px;
  color: var(--brand-accent);
  font-weight: 600;
}

/* 商务联系与企业信息 */
.contact-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 18px;
}

.info-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.info-row {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  font-size: 14.5px;
}

.info-row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.info-row dt {
  color: var(--ink-muted);
  font-weight: 600;
}

.info-row dd {
  margin: 0;
  color: var(--ink);
  word-break: break-word;
}

.note-box {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--surface-subtle);
  font-size: 13.5px;
  color: var(--ink-secondary);
}

/* 页脚 */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 24px 0;
  font-size: 13.5px;
  color: var(--ink-muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .hero-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-grid,
  .inquiry-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 0;
    gap: 8px;
  }

  .hero {
    padding: 40px 0 36px;
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }

  .info-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
