/* 蓝海加速 — 海洋测绘制图与编辑印刷美学样式表 */
:root {
  --bg-paper: #FAF8F3;
  --ink-primary: #0E2A47;
  --ink-secondary: #3B5570;
  --ink-muted: #5C738A;
  --accent-buoy: #D9532F;
  --accent-buoy-hover: #BA3F1D;
  --accent-chart: #E6EEF5;
  --border-grid: rgba(14, 42, 71, 0.15);
  --border-strong: rgba(14, 42, 71, 0.35);
  --radius-sharp: 2px;
  --font-heading: 'Space Grotesk', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-body: 'Inter', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-mono: 'JetBrains Mono', Consolas, 'Courier New', monospace;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-paper);
  background-image:
    linear-gradient(to right, rgba(14, 42, 71, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(14, 42, 71, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  color: var(--ink-primary);
  font-family: var(--font-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--ink-primary);
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 等宽数据与坐标标签 */
.mono-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--ink-secondary);
  background: var(--accent-chart);
  border: 1px solid var(--border-grid);
  border-radius: var(--radius-sharp);
  padding: 3px 9px;
  display: inline-block;
  line-height: 1.4;
}

.mono-num {
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
}

/* 顶部测绘标尺装饰条 */
.top-ruler {
  border-bottom: 1px solid var(--border-grid);
  background: rgba(230, 238, 245, 0.45);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--ink-secondary);
  padding: 6px 0;
}

.top-ruler-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

/* 页眉导航 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 243, 0.96);
  border-bottom: 1px solid var(--border-strong);
}

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

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ink-primary);
  letter-spacing: 0.04em;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border: 1.5px solid var(--ink-primary);
  border-radius: var(--radius-sharp);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--accent-chart);
}

.brand-mark::before {
  content: "";
  width: 10px;
  height: 10px;
  border: 1.5px solid var(--accent-buoy);
  transform: rotate(45deg);
}

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

.site-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-primary);
  padding: 4px 2px;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--accent-buoy);
  border-bottom-color: var(--accent-buoy);
}

.header-cta {
  background: var(--accent-buoy);
  color: #FAF8F3;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 9px 18px;
  border-radius: var(--radius-sharp);
  border: 1px solid var(--accent-buoy);
  white-space: nowrap;
}

.header-cta:hover {
  background: var(--accent-buoy-hover);
  border-color: var(--accent-buoy-hover);
  color: #FAF8F3;
}

/* 按钮体系 */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent-buoy);
  color: #FAF8F3;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 13px 26px;
  border-radius: var(--radius-sharp);
  border: 1.5px solid var(--accent-buoy);
}

.btn-primary:hover {
  background: var(--accent-buoy-hover);
  border-color: var(--accent-buoy-hover);
  color: #FAF8F3;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent-chart);
  color: var(--ink-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 13px 24px;
  border-radius: var(--radius-sharp);
  border: 1.5px solid var(--ink-primary);
}

.btn-secondary:hover {
  background: var(--ink-primary);
  color: #FAF8F3;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: transparent;
  color: var(--ink-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 10px 18px;
  border-radius: var(--radius-sharp);
  border: 1px solid var(--ink-primary);
}

.btn-outline:hover {
  background: var(--ink-primary);
  color: #FAF8F3;
}

/* 区块通用框架 */
.chart-section {
  padding: 72px 0;
  border-bottom: 1px solid var(--border-grid);
  position: relative;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 36px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-strong);
  flex-wrap: wrap;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.9rem;
  line-height: 1.25;
  color: var(--ink-primary);
  margin-top: 8px;
}

.section-desc {
  max-width: 480px;
  font-size: 0.96rem;
  color: var(--ink-secondary);
}

/* Hero 主视觉区 */
.hero-section {
  padding: 64px 0 72px;
  border-bottom: 1px solid var(--border-strong);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 0;
  border: 1px solid var(--border-strong);
  background: rgba(250, 248, 243, 0.92);
  border-radius: var(--radius-sharp);
}

.hero-main {
  padding: 44px 40px;
  border-right: 1px solid var(--border-grid);
  position: relative;
}

.hero-main::before {
  content: "＋";
  position: absolute;
  top: 10px;
  left: 12px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--border-strong);
}

.hero-main::after {
  content: "＋";
  position: absolute;
  bottom: 10px;
  right: 12px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--border-strong);
}

.hero-main h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.65rem;
  line-height: 1.2;
  color: var(--ink-primary);
  margin: 16px 0 18px;
}

.hero-lead {
  font-size: 1.06rem;
  color: var(--ink-secondary);
  margin-bottom: 28px;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border-grid);
  padding-top: 20px;
  gap: 16px;
}

.metric-item strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  color: var(--ink-primary);
}

.metric-item span {
  font-size: 0.84rem;
  color: var(--ink-muted);
}

/* 右侧航海节点坐标面板 */
.hero-chart-panel {
  padding: 32px 28px;
  background: rgba(230, 238, 245, 0.35);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-grid);
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--ink-secondary);
}

.node-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.node-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: var(--bg-paper);
  border: 1px solid var(--border-grid);
  border-radius: var(--radius-sharp);
}

.node-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink-primary);
}

.node-coord {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--ink-secondary);
}

.node-status {
  margin-top: 18px;
  padding: 12px;
  background: var(--bg-paper);
  border: 1px dashed var(--border-strong);
  font-size: 0.85rem;
  color: var(--ink-secondary);
}

/* 外露网格三栏卡片 */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border-grid);
  border-left: 1px solid var(--border-grid);
}

.grid-card {
  padding: 28px 26px;
  background: rgba(250, 248, 243, 0.92);
  border-right: 1px solid var(--border-grid);
  border-bottom: 1px solid var(--border-grid);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}

.grid-card-visual {
  border: 1px solid var(--border-grid);
  background: var(--accent-chart);
  padding: 12px;
  border-radius: var(--radius-sharp);
}

.grid-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink-primary);
}

.grid-card p {
  font-size: 0.94rem;
  color: var(--ink-secondary);
}

/* 客户端下载四栏 */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border-grid);
  border-left: 1px solid var(--border-grid);
}

.client-card {
  padding: 26px 22px;
  background: rgba(250, 248, 243, 0.95);
  border-right: 1px solid var(--border-grid);
  border-bottom: 1px solid var(--border-grid);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.client-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  margin-top: 10px;
}

.client-card p {
  font-size: 0.9rem;
  color: var(--ink-secondary);
}

.client-card .btn-outline,
.client-card .btn-primary {
  width: 100%;
  font-size: 0.9rem;
  padding: 10px 14px;
}

/* 套餐价格对比表 */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border-strong);
  border-left: 1px solid var(--border-strong);
}

.plan-col {
  padding: 34px 28px;
  background: rgba(250, 248, 243, 0.95);
  border-right: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  position: relative;
}

.plan-col.featured {
  background: var(--accent-chart);
}

.plan-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  background: var(--accent-buoy);
  color: #FAF8F3;
  padding: 3px 10px;
  border-radius: var(--radius-sharp);
  margin-bottom: 10px;
}

.plan-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
}

.plan-price {
  margin: 14px 0 6px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.price-current {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink-primary);
}

.price-unit {
  font-size: 0.92rem;
  color: var(--ink-secondary);
}

.price-promo {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-buoy);
  background: rgba(217, 83, 47, 0.1);
  border: 1px solid rgba(217, 83, 47, 0.35);
  padding: 6px 10px;
  border-radius: var(--radius-sharp);
  margin-top: 8px;
}

.plan-features {
  list-style: none;
  border-top: 1px solid var(--border-grid);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--ink-primary);
}

.plan-features li::before {
  content: "▸ ";
  color: var(--accent-buoy);
  font-weight: 700;
}

/* 用户评价 */
.review-card {
  padding: 26px 24px;
  background: rgba(250, 248, 243, 0.95);
  border-right: 1px solid var(--border-grid);
  border-bottom: 1px solid var(--border-grid);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.review-quote {
  font-size: 0.95rem;
  color: var(--ink-primary);
  line-height: 1.75;
}

.review-meta {
  border-top: 1px solid var(--border-grid);
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--ink-secondary);
}

/* 原生 HTML FAQ 折叠 */
.faq-list {
  border-top: 1px solid var(--border-strong);
}

.faq-item {
  border-bottom: 1px solid var(--border-grid);
  background: rgba(250, 248, 243, 0.94);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "＋";
  font-family: var(--font-mono);
  font-size: 1.15rem;
  color: var(--accent-buoy);
  flex-shrink: 0;
}

.faq-item[open] summary {
  background: var(--accent-chart);
}

.faq-item[open] summary::after {
  content: "－";
}

.faq-answer {
  padding: 18px 24px 24px;
  font-size: 0.95rem;
  color: var(--ink-secondary);
  border-top: 1px solid var(--border-grid);
}

/* 页脚（严格 4 个链接） */
.site-footer {
  background: var(--ink-primary);
  color: #FAF8F3;
  padding: 40px 0;
}

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

.footer-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
}

.footer-copy {
  font-size: 0.85rem;
  color: rgba(250, 248, 243, 0.72);
  margin-top: 6px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #FAF8F3;
  font-size: 0.92rem;
  border-bottom: 1px solid rgba(250, 248, 243, 0.35);
  padding-bottom: 2px;
}

.footer-links a:hover {
  color: #FFB099;
  border-bottom-color: #FFB099;
}

/* 内页与文章排版样式 */
.page-hero {
  padding: 48px 0 36px;
  border-bottom: 1px solid var(--border-strong);
  background: rgba(230, 238, 245, 0.35);
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.15rem;
  line-height: 1.3;
  margin: 14px 0 12px;
}

.page-hero p {
  font-size: 1rem;
  color: var(--ink-secondary);
  max-width: 780px;
}

.breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
}

.breadcrumb a {
  color: var(--ink-secondary);
  text-decoration: underline;
}

.content-shell {
  padding: 48px 0 72px;
}

.article-layout {
  max-width: 860px;
  margin: 0 auto;
  background: rgba(250, 248, 243, 0.96);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sharp);
  padding: 44px 48px;
}

.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding-bottom: 18px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border-grid);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--ink-secondary);
}

.article-body h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.48rem;
  margin: 34px 0 14px;
  padding-left: 12px;
  border-left: 3px solid var(--accent-buoy);
  color: var(--ink-primary);
}

.article-body h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.16rem;
  margin: 24px 0 10px;
  color: var(--ink-primary);
}

.article-body p {
  margin-bottom: 16px;
  font-size: 1.01rem;
  line-height: 1.85;
  color: #16304B;
  text-align: justify;
}

.article-body ul,
.article-body ol {
  margin: 14px 0 20px 24px;
  color: #16304B;
}

.article-body li {
  margin-bottom: 8px;
  line-height: 1.8;
}

.article-body a {
  color: var(--accent-buoy);
  text-decoration: underline;
  font-weight: 600;
}

.article-callout {
  background: var(--accent-chart);
  border: 1px solid var(--border-strong);
  border-left: 4px solid var(--ink-primary);
  padding: 20px 22px;
  margin: 24px 0;
  border-radius: var(--radius-sharp);
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0;
  font-size: 0.92rem;
}

.article-table th,
.article-table td {
  border: 1px solid var(--border-strong);
  padding: 10px 12px;
  text-align: left;
}

.article-table th {
  background: var(--accent-chart);
  font-family: var(--font-heading);
  font-weight: 700;
}

.cta-banner {
  margin-top: 36px;
  padding: 28px;
  background: var(--accent-chart);
  border: 1px solid var(--ink-primary);
  border-radius: var(--radius-sharp);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-banner h3 {
  margin: 0 0 6px;
  font-family: var(--font-heading);
  font-size: 1.2rem;
}

.cta-banner p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--ink-secondary);
}

/* 资讯列表卡片 */
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--border-strong);
  border-left: 1px solid var(--border-strong);
}

.news-card {
  padding: 30px 28px;
  background: rgba(250, 248, 243, 0.96);
  border-right: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.news-card h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.4;
}

.news-card h2 a:hover {
  color: var(--accent-buoy);
}

.news-card p {
  font-size: 0.94rem;
  color: var(--ink-secondary);
}

/* 响应式适配 */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-main {
    border-right: none;
    border-bottom: 1px solid var(--border-grid);
    padding: 32px 24px;
  }
  .grid-3,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .article-layout {
    padding: 28px 22px;
  }
}

@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 0;
  }
  .site-nav {
    gap: 14px;
  }
  .hero-main h1 {
    font-size: 1.95rem;
  }
  .hero-metrics {
    grid-template-columns: 1fr;
  }
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .section-header h2 {
    font-size: 1.55rem;
  }
}


/* ===== 风格 2 深度精修：海洋测绘制图与编辑印刷美学 ===== */
.hero-section {
  position: relative;
  border-bottom: 1px solid rgba(14, 42, 71, 0.22);
}
.hero-chart-panel,
.plan-col.featured {
  position: relative;
}
.hero-chart-panel::before,
.hero-chart-panel::after {
  content: "+";
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-buoy);
  line-height: 1;
  pointer-events: none;
}
.hero-chart-panel::before { top: 8px; left: 10px; }
.hero-chart-panel::after { bottom: 8px; right: 10px; }
.pricing-grid {
  border: 1px solid rgba(14, 42, 71, 0.2);
  gap: 0 !important;
}
.pricing-grid .plan-col {
  border: none;
  border-right: 1px solid rgba(14, 42, 71, 0.16);
  border-radius: 0;
}
.pricing-grid .plan-col:last-child {
  border-right: none;
}
.plan-col.featured {
  background: #F4F8FB;
  border-top: 3px solid var(--accent-buoy) !important;
}
@media (max-width: 900px) {
  .pricing-grid .plan-col {
    border-right: none;
    border-bottom: 1px solid rgba(14, 42, 71, 0.16);
  }
  .pricing-grid .plan-col:last-child { border-bottom: none; }
}
