/* 蓝海加速 — 深海声呐与精密航海仪表盘样式表 */
:root {
  --bg-abyss: #071320;
  --bg-slate: #0E2034;
  --bg-slate-elev: #122840;
  --border-glow: rgba(186, 224, 255, 0.12);
  --border-strong: rgba(186, 224, 255, 0.24);
  --text-main: #F0F7FF;
  --text-muted: #8BA3BE;
  --accent-brass: #E0A458;
  --accent-brass-hover: #EDB66F;
  --accent-mint: #38D9A9;
  --accent-mint-soft: rgba(56, 217, 169, 0.14);
  --font-sans: 'Plus Jakarta Sans', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-mono: 'JetBrains Mono', Consolas, 'Courier New', monospace;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --max-w: 1180px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-abyss);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-abyss);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(28, 72, 118, 0.28), transparent 65%),
    linear-gradient(180deg, rgba(7, 19, 32, 0.96) 0%, #071320 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

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

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* 顶部导航 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 19, 32, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-glow);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  color: var(--text-main);
  flex-shrink: 0;
}

.brand img {
  width: 30px;
  height: 30px;
}

.brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-mint);
  box-shadow: 0 0 8px rgba(56, 217, 169, 0.55);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-main);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  background: var(--bg-slate);
  border: 1px solid var(--border-glow);
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* 按钮体系 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  line-height: 1.2;
}

.btn-primary {
  background: var(--accent-brass);
  color: #071320;
  box-shadow: 0 6px 20px rgba(224, 164, 88, 0.18);
}

.btn-primary:hover {
  background: var(--accent-brass-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(14, 32, 52, 0.85);
  color: var(--text-main);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--accent-mint);
  color: var(--accent-mint);
  background: rgba(56, 217, 169, 0.08);
}

.btn-ghost {
  background: transparent;
  color: var(--accent-brass);
  border-color: rgba(224, 164, 88, 0.35);
}

.btn-ghost:hover {
  background: rgba(224, 164, 88, 0.1);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.88rem;
}

/* 卡片与克制鼠标跟随微光 */
.glow-card {
  position: relative;
  background: var(--bg-slate);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.glow-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.28s ease;
  background: radial-gradient(
    420px circle at var(--mx, 50%) var(--my, 50%),
    rgba(186, 224, 255, 0.14),
    rgba(56, 217, 169, 0.06) 40%,
    transparent 70%
  );
}

.glow-card:hover {
  border-color: rgba(186, 224, 255, 0.24);
}

.glow-card:hover::before {
  opacity: 1;
}

.glow-card > * {
  position: relative;
  z-index: 1;
}

/* 主视觉区 Hero */
.hero {
  padding: 64px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-mint-soft);
  border: 1px solid rgba(56, 217, 169, 0.28);
  color: var(--accent-mint);
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-badge .pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-mint);
  animation: beacon 2.4s infinite ease-in-out;
}

@keyframes beacon {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.8); }
}

.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  color: var(--text-main);
}

.hero h1 span {
  color: var(--accent-brass);
}

.hero-desc {
  color: var(--text-muted);
  font-size: 1.04rem;
  max-width: 540px;
  margin-bottom: 28px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

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

.metric-item strong {
  display: block;
  font-size: 1.35rem;
  color: var(--accent-mint);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

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

/* 声呐航线仪表盘 */
.sonar-panel {
  padding: 22px;
  background: linear-gradient(160deg, #0E2034 0%, #091726 100%);
}

.sonar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.sonar-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-mint);
  font-weight: 600;
}

.sonar-canvas-wrap {
  position: relative;
  background: #06101B;
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-sm);
  padding: 10px;
  margin-bottom: 16px;
}

.sonar-svg {
  width: 100%;
  height: auto;
  display: block;
}

.sonar-arc {
  fill: none;
  stroke: var(--accent-brass);
  stroke-width: 2;
  stroke-dasharray: 6 4;
  transition: d 0.45s ease;
}

.sonar-arc-glow {
  fill: none;
  stroke: rgba(224, 164, 88, 0.25);
  stroke-width: 6;
}

.sonar-ripple {
  fill: none;
  stroke: var(--accent-mint);
  stroke-width: 1.5;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

.sonar-ripple.active {
  animation: sonarWave 1.2s ease-out forwards;
}

@keyframes sonarWave {
  0% { opacity: 0.85; transform: scale(0.4); }
  100% { opacity: 0; transform: scale(3.2); }
}

.node-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.node-btn {
  background: rgba(7, 19, 32, 0.7);
  border: 1px solid var(--border-glow);
  color: var(--text-muted);
  padding: 7px 13px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all 0.2s ease;
}

.node-btn:hover {
  border-color: var(--border-strong);
  color: var(--text-main);
}

.node-btn.active {
  background: rgba(224, 164, 88, 0.14);
  border-color: var(--accent-brass);
  color: var(--accent-brass);
  font-weight: 600;
}

.telemetry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.telemetry-box {
  background: rgba(7, 19, 32, 0.72);
  border: 1px solid var(--border-glow);
  border-radius: 8px;
  padding: 10px 12px;
}

.telemetry-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.telemetry-val {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--accent-mint);
}

.telemetry-val.brass {
  color: var(--accent-brass);
}

/* 通用区块 */
.section {
  padding: 68px 0;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 42px;
}

.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-brass);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.25;
}

.section-head p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* 核心优势 3 列 */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-media {
  background: #081523;
  border: 1px solid var(--border-glow);
  border-radius: 10px;
  overflow: hidden;
  padding: 12px;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.93rem;
}

/* 流媒体与人工智能 */
.media-ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
  padding: 32px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 24px;
}

.pill-tag {
  padding: 6px 13px;
  background: rgba(7, 19, 32, 0.75);
  border: 1px solid var(--border-glow);
  border-radius: 999px;
  font-size: 0.86rem;
  color: var(--text-main);
}

.pill-tag strong {
  color: var(--accent-mint);
  font-weight: 600;
}

/* 客户端下载 4 端 */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.client-card {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.client-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(224, 164, 88, 0.12);
  border: 1px solid rgba(224, 164, 88, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-brass);
  font-weight: 700;
  font-family: var(--font-mono);
  font-size: 0.95rem;
}

.client-card h3 {
  font-size: 1.08rem;
  margin-bottom: 6px;
}

.client-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* 套餐周期切换器 */
.billing-switch-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 34px;
}

.billing-switch {
  position: relative;
  display: inline-grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--bg-slate);
  border: 1px solid var(--border-glow);
  border-radius: 999px;
  padding: 5px;
  width: 340px;
  max-width: 100%;
}

.billing-slider {
  position: absolute;
  top: 5px;
  left: 5px;
  width: calc((100% - 10px) / 3);
  height: calc(100% - 10px);
  background: var(--accent-brass);
  border-radius: 999px;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 0;
}

.billing-btn {
  position: relative;
  z-index: 1;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 9px 10px;
  cursor: pointer;
  border-radius: 999px;
  transition: color 0.22s ease;
}

.billing-btn.active {
  color: #071320;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.price-card {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.price-card.featured {
  border-color: rgba(224, 164, 88, 0.45);
  background: linear-gradient(180deg, rgba(224, 164, 88, 0.08) 0%, var(--bg-slate) 45%);
}

.plan-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(224, 164, 88, 0.16);
  color: var(--accent-brass);
  margin-bottom: 12px;
}

.save-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 600;
  background: var(--accent-mint-soft);
  color: var(--accent-mint);
}

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

.price-now {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-main);
}

.price-unit {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.price-orig {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.price-note {
  font-size: 0.84rem;
  color: var(--accent-mint);
  margin-bottom: 18px;
  min-height: 22px;
}

.plan-features {
  list-style: none;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.plan-features li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
}

.plan-features li::before {
  content: '•';
  position: absolute;
  left: 4px;
  color: var(--accent-mint);
  font-weight: 700;
}

/* 用户评价 */
.review-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.review-stars {
  color: var(--accent-brass);
  font-size: 0.92rem;
  letter-spacing: 2px;
}

.review-text {
  font-size: 0.93rem;
  color: var(--text-main);
  line-height: 1.7;
}

.review-author {
  font-size: 0.84rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-glow);
  padding-top: 12px;
}

/* FAQ */
.faq-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.faq-item {
  padding: 22px 24px;
}

.faq-item h3 {
  font-size: 1.04rem;
  margin-bottom: 10px;
  color: var(--text-main);
}

.faq-item p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* 页脚（严格 4 个标题链接） */
.site-footer {
  border-top: 1px solid var(--border-glow);
  background: #050E18;
  padding: 38px 0;
  margin-top: 48px;
}

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

.footer-brand {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-brand strong {
  color: var(--text-main);
  margin-right: 8px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--accent-brass);
}

/* 文章与内页排版 */
.page-hero {
  padding: 52px 0 32px;
  border-bottom: 1px solid var(--border-glow);
}

.breadcrumb {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.breadcrumb a:hover {
  color: var(--accent-brass);
}

.page-hero h1 {
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
  line-height: 1.25;
  margin-bottom: 12px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.prose {
  max-width: 820px;
  margin: 0 auto;
  padding: 40px 0 56px;
}

.prose h2 {
  font-size: 1.42rem;
  margin: 34px 0 14px;
  padding-left: 12px;
  border-left: 3px solid var(--accent-brass);
  color: var(--text-main);
}

.prose h3 {
  font-size: 1.14rem;
  margin: 24px 0 10px;
  color: var(--accent-mint);
}

.prose p {
  margin-bottom: 16px;
  color: #D5E4F4;
  font-size: 1rem;
  line-height: 1.85;
}

.prose ul, .prose ol {
  margin: 12px 0 18px 22px;
  color: #D5E4F4;
}

.prose li {
  margin-bottom: 8px;
  line-height: 1.75;
}

.prose a {
  color: var(--accent-brass);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose a:hover {
  color: var(--accent-mint);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0;
  font-size: 0.92rem;
  background: var(--bg-slate);
  border: 1px solid var(--border-glow);
}

.prose th, .prose td {
  padding: 12px 14px;
  border: 1px solid var(--border-glow);
  text-align: left;
}

.prose th {
  background: rgba(7, 19, 32, 0.8);
  color: var(--accent-brass);
  font-weight: 600;
}

.prose pre {
  background: #06101B;
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-sm);
  padding: 16px;
  overflow-x: auto;
  margin: 18px 0;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--accent-mint);
}

.callout {
  background: var(--bg-slate);
  border: 1px solid var(--border-glow);
  border-left: 3px solid var(--accent-mint);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin: 24px 0;
}

.cta-banner {
  margin-top: 38px;
  padding: 28px;
  text-align: center;
  background: linear-gradient(135deg, rgba(224, 164, 88, 0.12), var(--bg-slate));
  border: 1px solid rgba(224, 164, 88, 0.35);
  border-radius: var(--radius-md);
}

.cta-banner h3 {
  color: var(--text-main);
  margin: 0 0 10px;
}

.cta-banner p {
  color: var(--text-muted);
  margin-bottom: 18px;
}

/* 资讯卡片网格 */
.article-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  padding: 40px 0 56px;
}

.article-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.article-card h2 {
  font-size: 1.16rem;
  line-height: 1.4;
}

.article-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* 响应式适配 */
@media (max-width: 1024px) {
  .hero-grid,
  .media-ai-grid {
    grid-template-columns: 1fr;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #081625;
    border-bottom: 1px solid var(--border-glow);
    padding: 18px 24px;
    gap: 16px;
    align-items: flex-start;
  }
  .nav-links.open {
    display: flex;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .nav-actions .btn-primary {
    display: none;
  }
  .grid-3,
  .grid-4,
  .pricing-grid,
  .faq-list,
  .article-grid,
  .hero-metrics,
  .telemetry-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 40px 0 36px;
  }
  .section {
    padding: 48px 0;
  }
  .media-ai-grid {
    padding: 22px;
  }
}
