/* NiceOffer PSEO — 自包含样式（不依赖 Tailwind 也能完整展示） */

:root {
  --seo-deep: #0a2540;
  --seo-deep-mid: #143552;
  --seo-gold: #c9a227;
  --seo-gold-light: #e8c547;
  --seo-ink: #1d1d1f;
  --seo-muted: #86868b;
  --seo-body: #515154;
  --seo-link: #0066cc;
  --seo-bg: #fbfbfd;
  --seo-line: #e5e5ea;
  --seo-soft: #f0f0f5;
  --seo-blue-soft: #eef4ff;
  --seo-radius: 14px;
  --seo-font: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Segoe UI", sans-serif;
  --seo-display: "Noto Serif SC", "Songti SC", "STSong", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.seo-page {
  margin: 0;
  min-height: 100vh;
  font-family: var(--seo-font);
  background: var(--seo-bg);
  color: var(--seo-ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; }

/* Header */
.seo-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(10, 37, 64, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.seo-header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.seo-brand {
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.seo-nav {
  display: none;
  align-items: center;
  gap: 22px;
  font-size: 13px;
}
.seo-nav-link {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
}
.seo-nav-link:hover { color: #fff; }
.seo-nav-link.is-active { color: #fff; font-weight: 600; }

@media (min-width: 640px) {
  .seo-nav { display: flex; }
}

.seo-btn-consult {
  font-size: 13px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 980px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--seo-gold), var(--seo-gold-light));
  color: var(--seo-deep);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.seo-btn-consult:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(201, 162, 39, 0.35);
}
.seo-btn-consult--lg {
  padding: 12px 26px;
  font-size: 14px;
}

/* Mobile subnav */
.seo-mobile-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 24px 12px;
  background: #fff;
  border-bottom: 1px solid var(--seo-line);
  margin-top: 56px;
  -webkit-overflow-scrolling: touch;
}
.seo-mobile-nav a {
  flex: 0 0 auto;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 980px;
  background: var(--seo-soft);
  color: var(--seo-body);
  text-decoration: none;
}
.seo-mobile-nav a.is-active {
  background: var(--seo-deep);
  color: #fff;
}
@media (min-width: 640px) {
  .seo-mobile-nav { display: none; }
  .seo-main { padding-top: 88px !important; }
}

/* Main */
.seo-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 24px 72px;
}
.seo-main--index { max-width: 800px; }

.seo-breadcrumb {
  font-size: 13px;
  color: var(--seo-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}
.seo-breadcrumb a {
  color: var(--seo-link);
  text-decoration: none;
}
.seo-breadcrumb a:hover { text-decoration: underline; }
.seo-breadcrumb span:last-child {
  display: inline;
  word-break: break-all;
}

.seo-article-kicker {
  font-size: 13px;
  color: var(--seo-muted);
  margin: 0 0 10px;
  letter-spacing: 0.02em;
}
.seo-article-title {
  margin: 0;
  font-family: var(--seo-display);
  font-size: clamp(1.55rem, 4.2vw, 2.1rem);
  font-weight: 700;
  line-height: 1.28;
  color: var(--seo-deep);
  letter-spacing: -0.02em;
}
.seo-article-meta {
  font-size: 13px;
  color: var(--seo-muted);
  margin: 12px 0 0;
}

.seo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.seo-tag {
  font-size: 12px;
  padding: 4px 11px;
  border-radius: 980px;
  background: var(--seo-soft);
  color: var(--seo-body);
}

/* Body typography */
.seo-body {
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--seo-ink);
  margin-top: 8px;
}
.seo-body h2 {
  font-family: var(--seo-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 2.4rem 0 0.85rem;
  color: var(--seo-deep);
  letter-spacing: -0.01em;
}
.seo-body h3 {
  font-size: 1.12rem;
  font-weight: 650;
  margin: 1.6rem 0 0.55rem;
  color: var(--seo-deep-mid);
}
.seo-body p { margin: 0.85rem 0; }
.seo-body strong { font-weight: 650; color: var(--seo-deep); }
.seo-body code {
  font-size: 0.88em;
  background: #f5f5f7;
  padding: 2px 6px;
  border-radius: 5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: #b42318;
}
.seo-body pre.seo-code {
  background: linear-gradient(160deg, #071828 0%, #0a2540 100%);
  color: #e8e8ed;
  padding: 18px 18px;
  border-radius: 12px;
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.55;
  margin: 1.15rem 0;
  border: 1px solid rgba(255,255,255,0.06);
}
.seo-body pre.seo-code code {
  background: none;
  padding: 0;
  color: inherit;
  font-size: inherit;
}
.seo-body pre.seo-code[data-lang]::before {
  content: attr(data-lang);
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.45);
  margin-bottom: 10px;
  font-family: var(--seo-font);
}
.seo-body .seo-callout {
  background: var(--seo-blue-soft);
  border-left: 4px solid var(--seo-link);
  padding: 14px 16px;
  border-radius: 0 10px 10px 0;
  margin: 1.2rem 0;
  font-size: 15px;
  color: var(--seo-deep);
  line-height: 1.65;
}
.seo-body .seo-list {
  margin: 0.85rem 0 1rem;
  padding-left: 1.35rem;
}
.seo-body .seo-list li {
  margin: 0.4rem 0;
  padding-left: 0.2rem;
}
.seo-body .seo-list li::marker {
  color: var(--seo-gold);
  font-weight: 700;
}
.seo-table-wrap {
  overflow-x: auto;
  margin: 1.15rem 0;
  border-radius: 12px;
  border: 1px solid var(--seo-line);
  background: #fff;
}
.seo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 360px;
}
.seo-table th, .seo-table td {
  border-bottom: 1px solid var(--seo-line);
  padding: 11px 14px;
  text-align: left;
  vertical-align: top;
}
.seo-table th {
  background: #f7f7fa;
  font-weight: 650;
  color: var(--seo-deep);
  white-space: nowrap;
}
.seo-table tr:last-child td { border-bottom: none; }
.seo-figure {
  margin: 1.2rem 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--seo-line);
}

/* CTA */
.seo-cta-box {
  margin-top: 3rem;
  padding: 28px 24px;
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(232, 197, 71, 0.18), transparent 55%),
    linear-gradient(135deg, #071828 0%, #0a2540 45%, #143552 100%);
  color: #fff;
  text-align: center;
  box-shadow: 0 16px 40px rgba(10, 37, 64, 0.18);
}
.seo-cta-title {
  font-family: var(--seo-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.seo-cta-desc {
  font-size: 14px;
  opacity: 0.88;
  margin: 0 0 18px;
  line-height: 1.55;
}

/* Related */
.seo-related {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--seo-line);
}
.seo-related-title {
  font-family: var(--seo-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 1rem;
  color: var(--seo-deep);
}
.seo-related-list { list-style: none; padding: 0; margin: 0; }
.seo-related-link {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f5;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}
.seo-related-link:hover strong { color: #004bb0; }
.seo-related-link strong {
  display: block;
  color: var(--seo-link);
  font-size: 15px;
  font-weight: 650;
}
.seo-related-link span {
  display: block;
  font-size: 13px;
  color: var(--seo-muted);
  margin-top: 5px;
  line-height: 1.45;
}

/* Footer */
.seo-footer {
  background: var(--seo-deep);
  color: rgba(255,255,255,0.72);
  margin-top: auto;
}
.seo-footer-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 24px;
  font-size: 12px;
}
.seo-footer a {
  color: rgba(255,255,255,0.88);
  text-decoration: none;
}
.seo-footer a:hover { text-decoration: underline; }
.seo-footer-brand {
  font-size: 14px;
  font-weight: 650;
  color: #fff;
  margin: 0 0 8px;
}
.seo-footer-links { margin: 10px 0 0; }
.seo-footer-icp { margin: 18px 0 0; opacity: 0.55; }

/* Index */
.seo-index-header { margin-bottom: 28px; }
.seo-index-title {
  margin: 0;
  font-family: var(--seo-display);
  font-size: clamp(1.7rem, 4vw, 2.15rem);
  font-weight: 700;
  color: var(--seo-deep);
  letter-spacing: -0.02em;
}
.seo-index-intro {
  color: var(--seo-body);
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.55;
  max-width: 36em;
}
.seo-index-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.seo-index-tab {
  font-size: 13px;
  padding: 7px 15px;
  border-radius: 980px;
  background: var(--seo-soft);
  color: var(--seo-body);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.seo-index-tab:hover { background: #e4e4ea; }
.seo-index-tab.is-active {
  background: var(--seo-deep);
  color: #fff;
}
.seo-index-list {
  list-style: none;
  padding: 0;
  margin: 0;
  background: #fff;
  border: 1px solid var(--seo-line);
  border-radius: 16px;
  overflow: hidden;
}
.seo-index-item { border-bottom: 1px solid var(--seo-line); }
.seo-index-item:last-child { border-bottom: none; }
.seo-index-link {
  display: block;
  padding: 20px 22px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}
.seo-index-link:hover { background: #fafafc; }
.seo-index-link h2 {
  font-size: 17px;
  font-weight: 650;
  color: var(--seo-link);
  margin: 0 0 7px;
  line-height: 1.35;
}
.seo-index-link p {
  font-size: 14px;
  color: var(--seo-body);
  margin: 0;
  line-height: 1.55;
}
.seo-index-date {
  font-size: 12px;
  color: var(--seo-muted);
  margin-top: 10px;
  display: inline-block;
}
.seo-empty {
  color: var(--seo-muted);
  font-size: 15px;
  padding: 28px;
  background: #fff;
  border: 1px dashed var(--seo-line);
  border-radius: 14px;
}
.seo-empty a { color: var(--seo-link); }

/* Pagination */
.seo-pager {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--seo-line);
}
.seo-pager-meta {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--seo-muted);
  text-align: center;
}
.seo-pager-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: center;
}
.seo-pager-btn,
.seo-pager-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--seo-line);
  background: #fff;
  color: var(--seo-deep);
  text-decoration: none;
  font-size: 14px;
  font-weight: 550;
}
.seo-pager-btn:hover,
.seo-pager-num:hover {
  border-color: #cfd5de;
  background: var(--seo-soft);
}
.seo-pager-num.is-active {
  background: var(--seo-deep);
  border-color: var(--seo-deep);
  color: #fff;
}
.seo-pager-btn.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}
.seo-pager-ellipsis {
  color: var(--seo-muted);
  padding: 0 4px;
  user-select: none;
}

/* Hub */
.seo-hub {
  max-width: 880px;
  margin: 0 auto;
  padding: 40px 24px 72px;
}
.seo-hub-hero {
  padding: 36px 28px;
  border-radius: 20px;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(232, 197, 71, 0.22), transparent 50%),
    linear-gradient(135deg, #071828, #0a2540 60%, #143552);
  color: #fff;
  margin-bottom: 28px;
}
.seo-hub-hero h1 {
  margin: 0;
  font-family: var(--seo-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
}
.seo-hub-hero p {
  margin: 12px 0 0;
  opacity: 0.85;
  font-size: 14px;
  line-height: 1.55;
  max-width: 34em;
}
.seo-hub-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 640px) {
  .seo-hub-grid { grid-template-columns: 1fr 1fr; }
}
.seo-hub-card {
  display: block;
  padding: 20px 20px;
  background: #fff;
  border: 1px solid var(--seo-line);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s, box-shadow 0.2s, border-color 0.2s;
}
.seo-hub-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(10, 37, 64, 0.08);
  border-color: #d7d7de;
}
.seo-hub-card-kicker {
  font-size: 12px;
  color: var(--seo-muted);
  margin: 0 0 6px;
}
.seo-hub-card h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 650;
  color: var(--seo-deep);
}
.seo-hub-card p {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--seo-body);
  line-height: 1.5;
}
.seo-hub-section-title {
  font-size: 13px;
  font-weight: 650;
  color: var(--seo-muted);
  margin: 28px 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
