/* ==========================================================================
   v2lnk (v2lnk.lol) — 深海生物发光 · 声呐水文科考图谱
   Visual System: Abyssal Bioluminescent Ocean / Deep-Sea Sonar, Coral Reef & Aqua Bathymetric Atlas
   Color Palette:
     Mariana Trench Abyssal Navy : #04121C (--bg-abyss / --bg-void)
     Deep Pelagic Ocean Surface  : #082233 (--bg-pelagic / --bg-carbon)
     Bathymetric Contour Card    : #0D3147 (--bg-contour / --bg-surface)
     Elevated Trench Panel       : #123E59 (--bg-trench / --bg-surface-elevated)
     Crisp Seafoam White Text    : #E8F8FA (--text-main)
     Submarine Current Muted     : #8AB4C5 (--text-muted)
     Deep Water Dim Text         : #568296 (--text-dim)
     Bioluminescent Jellyfish    : #00F5D4 (--sonar-aqua / --hud-cyan)
     Deep-Sea Coral Reef CTA     : #FF6B6B (hover #FA5252) (--coral-cta / --hud-red)
     Bathymetric Beacon Amber    : #F4A261 (--beacon-amber / --hud-yellow)
     Sonar Ring Hairline Border  : rgba(0, 245, 212, 0.24)
   ========================================================================== */

:root {
  --bg-abyss: #04121C;
  --bg-pelagic: #082233;
  --bg-contour: #0D3147;
  --bg-trench: #123E59;

  /* Compatibility variable aliases */
  --bg-void: #04121C;
  --bg-carbon: #082233;
  --bg-surface: #0D3147;
  --bg-surface-elevated: #123E59;

  --text-main: #E8F8FA;
  --text-muted: #8AB4C5;
  --text-dim: #568296;

  --sonar-aqua: #00F5D4;
  --coral-cta: #FF6B6B;
  --coral-cta-hover: #FA5252;
  --beacon-amber: #F4A261;

  /* Compatibility accent aliases */
  --hud-cyan: #00F5D4;
  --hud-yellow: #F4A261;
  --hud-red: #FF6B6B;
  --hud-red-glow: rgba(255, 107, 107, 0.42);
  --hud-mint: #00F5D4;
  --hud-blue: #123E59;

  --border-sonar: 1px solid rgba(0, 245, 212, 0.24);
  --border-hud: 1px solid rgba(0, 245, 212, 0.24);
  --border-bright: 1.5px solid rgba(244, 162, 97, 0.68);
  --border-metal: 1px solid rgba(138, 180, 197, 0.2);

  --glow-aqua: 0 0 22px rgba(0, 245, 212, 0.26);
  --glow-coral: 0 0 24px rgba(255, 107, 107, 0.36);
  --glow-amber: 0 0 20px rgba(244, 162, 97, 0.3);

  --glow-cyan: 0 0 22px rgba(0, 245, 212, 0.26);
  --glow-red: 0 0 24px rgba(255, 107, 107, 0.36);
  --glow-yellow: 0 0 20px rgba(244, 162, 97, 0.3);

  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Courier New", monospace;
  --max-w: 1220px;
}

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

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-abyss);
  /* Deep-sea bathymetric contour rings & latitude/longitude sonar grid */
  background-image:
    radial-gradient(circle at 50% 8%, rgba(0, 245, 212, 0.12) 0%, rgba(8, 34, 51, 0.45) 42%, transparent 72%),
    radial-gradient(circle at 85% 65%, rgba(244, 162, 97, 0.06) 0%, transparent 45%),
    repeating-radial-gradient(circle at 50% 240px, rgba(0, 245, 212, 0.035) 0px, rgba(0, 245, 212, 0.035) 1px, transparent 1px, transparent 90px),
    linear-gradient(rgba(0, 245, 212, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 245, 212, 0.035) 1px, transparent 1px);
  background-size: 100% 900px, 100% 100%, 100% 900px, 48px 48px, 48px 48px;
  color: var(--text-main);
  line-height: 1.72;
  overflow-x: hidden;
}

a {
  color: var(--sonar-aqua);
  text-decoration: none;
  font-weight: 700;
  transition: all 0.18s ease;
}

a:hover {
  color: var(--beacon-amber);
  text-shadow: var(--glow-amber);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--sonar-aqua);
  outline-offset: 3px;
}

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

ul, ol { list-style: none; }

.layout-container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ==========================================================================
   深海声呐水压进度槽 (Top Bathymetric Sonar Progress Bar)
   ========================================================================== */
.telemetry-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, var(--sonar-aqua), var(--beacon-amber), var(--coral-cta));
  box-shadow: 0 0 14px var(--sonar-aqua);
  z-index: 300;
  transition: width 0.08s linear;
}

/* ==========================================================================
   深海科考船桥声呐顶栏 (Abyssal Sonar Bridge Header)
   ========================================================================== */
.cockpit-hud-header,
.site-header {
  position: sticky;
  top: 0.75rem;
  z-index: 150;
  padding: 0 0.85rem;
  margin-bottom: 1.25rem;
}

.cockpit-hud-header__inner,
.site-header__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  background: rgba(8, 34, 51, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: var(--border-sonar);
  border-left: 4px solid var(--sonar-aqua);
  border-radius: 10px;
  box-shadow: 0 12px 36px rgba(2, 10, 16, 0.78), var(--glow-aqua);
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.hud-brand-unit {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hud-brand-logo,
.site-header__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.32rem;
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: 0.04em;
  min-height: 44px;
}

.hud-brand-logo__gauge,
.site-header__logo-mark {
  width: 38px;
  height: 38px;
  background: radial-gradient(circle at 30% 30%, var(--sonar-aqua), #007F8C);
  color: #04121C;
  border-radius: 50%;
  border: 2px solid rgba(232, 248, 250, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 900;
  box-shadow: 0 0 16px rgba(0, 245, 212, 0.55);
}

.hud-telemetry-tag {
  display: none;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0, 245, 212, 0.1);
  border: 1px solid rgba(0, 245, 212, 0.32);
  color: var(--sonar-aqua);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
}

@media (min-width: 990px) {
  .hud-telemetry-tag { display: inline-flex; }
}

.hud-nav-toggle,
.site-header__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  background: rgba(13, 49, 71, 0.7);
  border: 1px solid var(--sonar-aqua);
  color: var(--sonar-aqua);
  cursor: pointer;
  border-radius: 8px;
}

.hud-nav-menu-box {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: rgba(8, 34, 51, 0.98);
  border: var(--border-sonar);
  border-radius: 10px;
  box-shadow: 0 16px 42px rgba(2, 10, 16, 0.9);
  padding: 1.25rem;
}

.hud-nav-menu-box--open { display: block; }

.hud-nav-list,
.site-header__menu {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.hud-nav-item,
.site-header__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.95rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
  border-radius: 999px;
  transition: all 0.16s ease;
}

.hud-nav-item:hover,
.site-header__link:hover {
  background: rgba(0, 245, 212, 0.14);
  color: var(--sonar-aqua);
  transform: translateY(-1px);
}

.hud-nav-item--cta,
.site-header__link--cta {
  background: linear-gradient(135deg, var(--coral-cta), var(--coral-cta-hover));
  color: #FFFFFF !important;
  box-shadow: var(--glow-coral);
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
}

.hud-nav-item--cta:hover,
.site-header__link--cta:hover {
  background: var(--coral-cta-hover);
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 107, 107, 0.55);
}

@media (min-width: 840px) {
  .hud-nav-toggle,
  .site-header__toggle { display: none; }
  .hud-nav-menu-box {
    display: block;
    position: static;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
  }
  .hud-nav-list,
  .site-header__menu {
    flex-direction: row;
    align-items: center;
    gap: 0.35rem;
  }
  .hud-nav-item--cta,
  .site-header__link--cta {
    margin-left: 0.45rem;
    padding: 0 1.25rem;
  }
}

/* ==========================================================================
   深海珊瑚礁与生物发光按钮系统 (Bioluminescent & Coral Reef CTA Buttons)
   ========================================================================== */
.ignition-btn,
.action-btn,
.action-btn--primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 52px;
  padding: 0.82rem 1.9rem;
  font-size: 1.04rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  border: none;
  cursor: pointer;
  position: relative;
  text-align: center;
  border-radius: 999px;
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  text-decoration: none;
}

.ignition-btn--primary,
.action-btn--primary {
  background: linear-gradient(135deg, var(--coral-cta), var(--coral-cta-hover));
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 6px 24px rgba(255, 107, 107, 0.4), 0 0 0 1px rgba(255, 107, 107, 0.45);
}

.ignition-btn--primary:hover,
.action-btn--primary:hover {
  background: linear-gradient(135deg, #FF8282, var(--coral-cta-hover));
  box-shadow: 0 8px 30px rgba(255, 107, 107, 0.65), 0 0 14px rgba(255, 255, 255, 0.4);
  transform: translateY(-2px) scale(1.015);
  color: #FFFFFF;
}

.ignition-btn--primary:active {
  transform: translateY(1px);
}

.ignition-btn--cyan {
  background: rgba(0, 245, 212, 0.11);
  color: var(--sonar-aqua);
  border: 1.5px solid var(--sonar-aqua);
  box-shadow: 0 0 16px rgba(0, 245, 212, 0.22);
}

.ignition-btn--cyan:hover {
  background: var(--sonar-aqua);
  color: #04121C;
  box-shadow: 0 0 26px rgba(0, 245, 212, 0.6);
  transform: translateY(-2px);
}

.ignition-btn--yellow {
  background: linear-gradient(135deg, var(--beacon-amber), #E76F51);
  color: #04121C;
  box-shadow: 0 0 18px rgba(244, 162, 97, 0.35);
}

.ignition-btn--yellow:hover {
  background: #F6B27A;
  color: #04121C;
  box-shadow: 0 0 26px rgba(244, 162, 97, 0.6);
  transform: translateY(-2px);
}

.ignition-btn--block {
  width: 100%;
}

/* ==========================================================================
   HERO: 深海声呐水文科考总控台 (Abyssal Sonar Bathymetric Hero)
   ========================================================================== */
.cockpit-hero {
  padding: 1.25rem 0 4.25rem;
  position: relative;
}

.cockpit-instrument-cluster {
  background:
    radial-gradient(circle at 50% 22%, rgba(0, 245, 212, 0.16) 0%, rgba(13, 49, 71, 0.5) 48%, rgba(8, 34, 51, 0.96) 100%),
    repeating-radial-gradient(circle at 50% 50%, rgba(0, 245, 212, 0.06) 0px, rgba(0, 245, 212, 0.06) 1px, transparent 1px, transparent 58px);
  border: var(--border-sonar);
  border-radius: 18px;
  box-shadow: 0 24px 64px rgba(2, 9, 15, 0.85), inset 0 1px 0 rgba(0, 245, 212, 0.25);
  padding: 2.25rem 1.35rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

@media (min-width: 860px) {
  .cockpit-instrument-cluster {
    padding: 3.6rem 2.75rem 3.2rem;
  }
}

.telemetry-status-tape {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: rgba(4, 18, 28, 0.78);
  border: 1px solid rgba(0, 245, 212, 0.38);
  padding: 0.4rem 1.1rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--sonar-aqua);
  margin-bottom: 1.5rem;
  box-shadow: 0 0 16px rgba(0, 245, 212, 0.15);
}

.telemetry-dot {
  width: 9px;
  height: 9px;
  background-color: var(--sonar-aqua);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--sonar-aqua);
  display: inline-block;
}

.cockpit-hero__headline {
  font-size: 2.15rem;
  font-weight: 900;
  line-height: 1.24;
  letter-spacing: -0.015em;
  color: var(--text-main);
  margin-bottom: 1.2rem;
  text-shadow: 0 4px 24px rgba(2, 10, 16, 0.9);
}

.cockpit-hero__headline-glow {
  background: linear-gradient(180deg, #E8F8FA 15%, var(--sonar-aqua) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.cockpit-hero__lead {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 2.25rem;
}

@media (min-width: 900px) {
  .cockpit-hero__headline {
    font-size: 2.95rem;
  }
}

/* 交互式海底光缆声呐探测与水深计算舱 (Interactive Submarine Sonar Ping & Depth Calculator) */
.throttle-console {
  max-width: 880px;
  margin: 0 auto 2.35rem;
  background: rgba(4, 18, 28, 0.78);
  border: var(--border-sonar);
  border-top: 3px solid var(--sonar-aqua);
  border-radius: 14px;
  box-shadow: 0 14px 36px rgba(2, 9, 15, 0.8), inset 0 0 28px rgba(0, 245, 212, 0.05);
  padding: 1.65rem 1.35rem;
}

.sonar-console-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px dashed rgba(0, 245, 212, 0.22);
}

.sonar-console-title {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 900;
  color: var(--sonar-aqua);
  letter-spacing: 0.05em;
}

.sonar-ping-coordinates {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--beacon-amber);
  background: rgba(244, 162, 97, 0.12);
  border: 1px solid rgba(244, 162, 97, 0.35);
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
}

.throttle-gear-selector {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 1.45rem;
}

.gear-tab-btn {
  min-height: 46px;
  padding: 0.55rem 1.2rem;
  background: rgba(13, 49, 71, 0.65);
  border: 1px solid rgba(0, 245, 212, 0.25);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
  border-radius: 999px;
  transition: all 0.18s ease;
}

.gear-tab-btn:hover {
  background: rgba(0, 245, 212, 0.14);
  color: var(--text-main);
  border-color: var(--sonar-aqua);
}

.gear-tab-btn--active {
  background: var(--sonar-aqua);
  color: #04121C;
  border-color: var(--sonar-aqua);
  box-shadow: 0 0 18px rgba(0, 245, 212, 0.55);
}

.dyno-readout-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .dyno-readout-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.dyno-dial {
  background: rgba(13, 49, 71, 0.72);
  border: 1px solid rgba(0, 245, 212, 0.18);
  border-radius: 10px;
  padding: 0.9rem 0.7rem;
  text-align: center;
}

.dyno-dial__label {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.dyno-dial__value {
  font-family: var(--font-mono);
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--beacon-amber);
}

.dyno-dial__unit {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.dyno-route-narrative {
  background: rgba(0, 245, 212, 0.08);
  border-left: 3px solid var(--sonar-aqua);
  border-radius: 0 8px 8px 0;
  padding: 0.85rem 1.1rem;
  text-align: left;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
}

/* 水深流量预估计算器条 (Bathymetric Depth & Quota Estimator) */
.depth-calc-strip {
  margin-top: 1.15rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(0, 245, 212, 0.18);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  text-align: left;
}

.depth-calc-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.depth-calc-label {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text-muted);
}

.depth-calc-btn {
  padding: 0.32rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 800;
  border-radius: 999px;
  border: 1px solid rgba(0, 245, 212, 0.28);
  background: rgba(8, 34, 51, 0.85);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}

.depth-calc-btn:hover,
.depth-calc-btn--active {
  background: rgba(244, 162, 97, 0.2);
  border-color: var(--beacon-amber);
  color: var(--beacon-amber);
}

.depth-calc-result {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--sonar-aqua);
  font-family: var(--font-mono);
}

.cockpit-actions-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.15rem;
  margin-bottom: 2rem;
}

.cockpit-chassis-specs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.75rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-muted);
}

.cockpit-chassis-spec-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

/* ==========================================================================
   章节通用等深线标题框 (Bathymetric Section Headers)
   ========================================================================== */
.cinematic-section {
  padding: 4.5rem 0;
  border-top: 1px solid rgba(0, 245, 212, 0.16);
  position: relative;
}

.cinematic-section--alt {
  background: rgba(8, 34, 51, 0.68);
}

.slate-header {
  margin-bottom: 2.75rem;
  position: relative;
}

.slate-header__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--sonar-aqua);
  background: rgba(0, 245, 212, 0.1);
  border: 1px solid rgba(0, 245, 212, 0.34);
  padding: 0.24rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.slate-header__title {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.26;
  margin-bottom: 0.6rem;
}

.slate-header__desc {
  font-size: 1.02rem;
  color: var(--text-muted);
  max-width: 740px;
}

@media (min-width: 768px) {
  .slate-header__title {
    font-size: 2.25rem;
  }
}

/* ==========================================================================
   SONAR 01: 跨洋海底光缆与BGP中转架构 (4 Submarine Architecture Cards)
   ========================================================================== */
.dyno-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem;
}

.dyno-card {
  background: linear-gradient(165deg, var(--bg-contour) 0%, var(--bg-pelagic) 100%);
  border: var(--border-sonar);
  border-top: 3px solid var(--sonar-aqua);
  border-radius: 12px;
  padding: 1.75rem;
  position: relative;
  transition: all 0.22s ease;
}

.dyno-card:hover {
  transform: translateY(-4px);
  border-color: var(--sonar-aqua);
  box-shadow: 0 14px 34px rgba(2, 9, 15, 0.75), var(--glow-aqua);
}

.dyno-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.dyno-card__index {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 900;
  color: var(--sonar-aqua);
  background: rgba(0, 245, 212, 0.12);
  border: 1px solid rgba(0, 245, 212, 0.28);
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
}

.dyno-card__gauge-badge {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--beacon-amber);
}

.dyno-card__title {
  font-size: 1.24rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 0.65rem;
  line-height: 1.35;
}

.dyno-card__desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .dyno-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   SONAR 02: 全球流媒体声呐解锁阵列 (6 Streaming Sonar Cards)
   ========================================================================== */
.radar-stream-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

@media (min-width: 600px) {
  .radar-stream-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .radar-stream-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.radar-target-cell {
  background: radial-gradient(circle at 90% 15%, rgba(0, 245, 212, 0.09), transparent 55%), var(--bg-contour);
  border: var(--border-sonar);
  border-radius: 12px;
  padding: 1.35rem;
  position: relative;
  transition: all 0.2s ease;
}

.radar-target-cell:hover {
  border-color: var(--sonar-aqua);
  box-shadow: var(--glow-aqua);
  transform: translateY(-3px);
}

.radar-target-cell__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.7rem;
}

.radar-target-cell__name {
  font-size: 1.08rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.35;
}

.radar-target-cell__status {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--sonar-aqua);
  background: rgba(0, 245, 212, 0.12);
  border: 1px solid rgba(0, 245, 212, 0.35);
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
}

.radar-target-cell__details {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SONAR 03: AI 大模型纯净洋流分流 (6 AI Tool Cards)
   ========================================================================== */
.neural-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

@media (min-width: 600px) {
  .neural-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .neural-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.neural-card {
  background: var(--bg-contour);
  border: var(--border-sonar);
  border-left: 4px solid var(--sonar-aqua);
  border-radius: 10px;
  padding: 1.35rem;
  transition: all 0.18s ease;
}

.neural-card:hover {
  transform: translateX(4px);
  border-color: var(--sonar-aqua);
  box-shadow: var(--glow-aqua);
}

.neural-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.neural-card__title {
  font-size: 1.08rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.35;
}

.neural-card__tag {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--beacon-amber);
  background: rgba(244, 162, 97, 0.12);
  border: 1px solid rgba(244, 162, 97, 0.32);
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
}

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

/* ==========================================================================
   SONAR 04: 三级深潜配额方案 (3 Depth-Gauge Pricing Cards)
   ========================================================================== */
.spec-pricing-deck {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: stretch;
}

.spec-tier-card {
  background: linear-gradient(180deg, var(--bg-contour) 0%, var(--bg-pelagic) 100%);
  border: var(--border-sonar);
  border-radius: 16px;
  padding: 2.1rem 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.22s ease;
}

.spec-tier-card:hover {
  border-color: var(--sonar-aqua);
  box-shadow: 0 16px 38px rgba(2, 9, 15, 0.8), var(--glow-aqua);
}

.spec-tier-card--featured {
  background: linear-gradient(180deg, var(--bg-trench) 0%, var(--bg-contour) 100%);
  border: 2px solid var(--sonar-aqua);
  box-shadow: 0 18px 44px rgba(0, 245, 212, 0.22);
}

.spec-tier-badge {
  position: absolute;
  top: -13px;
  left: 1.5rem;
  background: linear-gradient(135deg, var(--coral-cta), var(--coral-cta-hover));
  color: #FFFFFF;
  font-size: 0.76rem;
  font-weight: 900;
  padding: 0.26rem 0.85rem;
  border-radius: 999px;
  box-shadow: var(--glow-coral);
}

.spec-tier-audience {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--sonar-aqua);
  margin-bottom: 0.4rem;
}

.spec-tier-name {
  font-size: 1.48rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 0.9rem;
}

.spec-tier-price-box {
  background: rgba(4, 18, 28, 0.68);
  border: 1px solid rgba(0, 245, 212, 0.2);
  border-radius: 10px;
  padding: 0.9rem 1.05rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
}

.spec-tier-price {
  font-family: var(--font-mono);
  font-size: 2.3rem;
  font-weight: 900;
  color: var(--beacon-amber);
}

.spec-tier-period {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.spec-tier-specs {
  display: flex;
  flex-direction: column;
  gap: 0.78rem;
  margin-bottom: 2rem;
}

.spec-tier-spec-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.94rem;
  color: var(--text-main);
}

.spec-tier-icon {
  color: var(--sonar-aqua);
  font-weight: 900;
  font-size: 1rem;
}

@media (min-width: 960px) {
  .spec-pricing-deck {
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
  }
  .spec-tier-card--featured {
    transform: scale(1.035);
  }
}

/* ==========================================================================
   SONAR 05: 四类全天候远洋使用场景 (4 Bathymetric Expedition Logs)
   ========================================================================== */
.cinema-reel-deck {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.cinema-frame {
  background: var(--bg-contour);
  border: var(--border-sonar);
  border-radius: 14px;
  box-shadow: 0 14px 36px rgba(2, 9, 15, 0.78);
  position: relative;
  overflow: hidden;
}

.cinema-frame__letterbox-bar {
  background: rgba(4, 18, 28, 0.85);
  padding: 0.55rem 1.15rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(0, 245, 212, 0.18);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--beacon-amber);
}

.cinema-frame__canvas {
  padding: 1.55rem 1.35rem;
  background: radial-gradient(circle at 85% 20%, rgba(0, 245, 212, 0.08), transparent 60%), var(--bg-contour);
}

.cinema-frame__title {
  font-size: 1.22rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 0.6rem;
}

.cinema-frame__device-spec {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--sonar-aqua);
  background: rgba(0, 245, 212, 0.1);
  border: 1px solid rgba(0, 245, 212, 0.25);
  padding: 0.16rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.cinema-frame__narrative {
  font-size: 0.94rem;
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .cinema-reel-deck {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   SONAR 06: 科考站声呐问询记录 (6 FAQ Items)
   ========================================================================== */
.telemetry-faq-list,
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 860px;
  margin: 0 auto;
}

.telemetry-faq-item,
.faq-item {
  background: var(--bg-contour);
  border: var(--border-sonar);
  border-radius: 12px;
  overflow: hidden;
}

.telemetry-faq-summary,
.faq-item__summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 1.35rem;
  font-size: 1.04rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 54px;
}

.telemetry-faq-summary::-webkit-details-marker,
.faq-item__summary::-webkit-details-marker { display: none; }

.telemetry-faq-icon,
.faq-item__indicator {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--sonar-aqua);
  flex-shrink: 0;
}

.telemetry-faq-item[open] .telemetry-faq-summary,
.faq-item[open] .faq-item__summary {
  background: rgba(0, 245, 212, 0.1);
  border-bottom: 1px solid rgba(0, 245, 212, 0.24);
  color: var(--sonar-aqua);
}

.telemetry-faq-body,
.faq-item__answer {
  padding: 1.25rem 1.35rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  background: rgba(4, 18, 28, 0.45);
}

/* ==========================================================================
   SONAR 07: 开启深潜跨洋连接舱 (Final CTA)
   ========================================================================== */
.launch-ignition-stage {
  padding: 4.5rem 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(0, 245, 212, 0.15), rgba(255, 107, 107, 0.08) 48%, transparent 72%),
    var(--bg-pelagic);
  border-top: 1px solid rgba(0, 245, 212, 0.32);
  border-bottom: 1px solid rgba(0, 245, 212, 0.32);
  text-align: center;
}

.launch-ignition-stage__title {
  font-size: 2rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 0.7rem;
}

.launch-ignition-stage__desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   FOOTER & 移动端深潜吸底条
   ========================================================================== */
.cockpit-footer,
.site-footer {
  background: #020A10;
  padding: 3rem 0 5.5rem;
  border-top: 1px solid rgba(0, 245, 212, 0.18);
  font-size: 0.9rem;
  color: var(--text-dim);
}

.cockpit-footer__top,
.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(0, 245, 212, 0.14);
}

.cockpit-footer__links,
.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}

.cockpit-footer__link,
.site-footer__link {
  color: var(--text-muted);
  font-weight: 700;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.cockpit-footer__link:hover,
.site-footer__link:hover { color: var(--sonar-aqua); }

.cockpit-footer__bottom,
.site-footer__bottom {
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

@media (min-width: 768px) {
  .cockpit-footer,
  .site-footer { padding-bottom: 3rem; }
}

.sticky-mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(8, 34, 51, 0.96);
  backdrop-filter: blur(14px);
  border-top: 2px solid var(--sonar-aqua);
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  z-index: 250;
  transform: translateY(100%);
  transition: transform 0.2s ease;
}

.sticky-mobile-cta--visible { transform: translateY(0); }

.sticky-mobile-cta__text {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-main);
}

@media (min-width: 768px) {
  .sticky-mobile-cta { display: none !important; }
}

/* ==========================================================================
   航海日志与水文技术专栏排版 (Bathymetric Expedition Atlas & Article Shell)
   ========================================================================== */
.breadcrumb-bar {
  background: rgba(8, 34, 51, 0.82);
  border-bottom: 1px solid rgba(0, 245, 212, 0.16);
  padding: 0.75rem 0;
  font-size: 0.88rem;
}

.breadcrumb-bar__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
}

.editorial-workspace {
  max-width: var(--max-w);
  margin: 2rem auto 4rem;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

.editorial-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sidebar-widget {
  background: var(--bg-contour);
  border: var(--border-sonar);
  padding: 1.3rem;
  border-radius: 12px;
}

.sidebar-widget--highlight {
  border-color: var(--sonar-aqua);
  box-shadow: var(--glow-aqua);
}

.sidebar-widget__title {
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--sonar-aqua);
  padding-bottom: 0.55rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid rgba(0, 245, 212, 0.2);
  letter-spacing: 0.04em;
}

.toc-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.toc-link {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.38rem 0.6rem;
  border-left: 2px solid transparent;
  border-radius: 0 6px 6px 0;
  transition: all 0.14s ease;
}

.toc-link:hover {
  background: rgba(0, 245, 212, 0.1);
  border-left-color: var(--sonar-aqua);
  color: var(--text-main);
}

.article-shell {
  width: 100%;
  max-width: 900px;
  margin: 2rem auto 4rem;
  padding: 2rem 1.35rem;
  background: var(--bg-contour);
  border: var(--border-sonar);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(2, 9, 15, 0.78);
}

.editorial-workspace .article-shell {
  margin: 0;
  max-width: 100%;
}

@media (min-width: 980px) {
  .editorial-workspace {
    grid-template-columns: 290px 1fr;
  }
  .editorial-sidebar {
    position: sticky;
    top: 5.75rem;
  }
  .article-shell {
    padding: 2.75rem 3rem;
  }
}

.article-header {
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(0, 245, 212, 0.2);
}

.article-header__title {
  font-size: 1.95rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 0.85rem;
}

.article-header__meta {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--sonar-aqua);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.article-content h2 {
  font-size: 1.42rem;
  font-weight: 900;
  color: var(--text-main);
  margin: 2.4rem 0 1rem;
  padding: 0.55rem 1rem;
  background: rgba(0, 245, 212, 0.09);
  border-left: 4px solid var(--sonar-aqua);
  border-top: 1px solid rgba(0, 245, 212, 0.22);
  border-radius: 0 8px 8px 0;
}

.article-content h3 {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--beacon-amber);
  margin: 1.6rem 0 0.65rem;
}

.article-content p {
  margin-bottom: 1.2rem;
  color: var(--text-main);
  font-size: 1.02rem;
}

.article-content ul,
.article-content ol {
  margin: 0 0 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.article-content li {
  background: rgba(4, 18, 28, 0.48);
  border: 1px solid rgba(0, 245, 212, 0.16);
  border-radius: 8px;
  padding: 0.78rem 1.15rem;
  font-size: 0.96rem;
  color: var(--text-main);
}

.article-box {
  background: rgba(0, 245, 212, 0.07);
  border: 1px solid rgba(0, 245, 212, 0.3);
  border-left: 4px solid var(--sonar-aqua);
  border-radius: 0 10px 10px 0;
  padding: 1.4rem;
  margin: 1.75rem 0;
}

.article-cta-box {
  background: linear-gradient(180deg, var(--bg-trench) 0%, var(--bg-contour) 100%);
  border: 1.5px solid var(--sonar-aqua);
  border-radius: 14px;
  box-shadow: var(--glow-aqua);
  padding: 2rem;
  margin-top: 2.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.related-links {
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(0, 245, 212, 0.18);
}

.related-links__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin-top: 1rem;
}

/* 航海日志汇总页封面海图卡与网格 */
.guide-cover-dossier {
  background: linear-gradient(135deg, rgba(0, 245, 212, 0.12) 0%, rgba(18, 62, 89, 0.65) 100%), var(--bg-contour);
  border: 1.5px solid var(--sonar-aqua);
  box-shadow: var(--glow-aqua);
  padding: 2.25rem 1.75rem;
  margin-bottom: 2.5rem;
  border-radius: 14px;
}

.guide-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

.guide-card {
  background: var(--bg-contour);
  border: var(--border-sonar);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
  border-radius: 12px;
  overflow: hidden;
}

.guide-card:hover {
  transform: translateY(-4px);
  border-color: var(--sonar-aqua);
  box-shadow: 0 14px 32px rgba(2, 9, 15, 0.78), var(--glow-aqua);
}

.guide-card__thumb {
  background: var(--bg-abyss);
  border-bottom: 1px solid rgba(0, 245, 212, 0.16);
  padding: 1.25rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.guide-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-grow: 1;
}

.guide-card__meta {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--sonar-aqua);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.guide-card__title {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.35;
}

.guide-card__excerpt {
  font-size: 0.92rem;
  color: var(--text-muted);
  flex-grow: 1;
}

.guide-card__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--sonar-aqua);
  font-weight: 800;
}

.guide-card__link:hover {
  color: var(--beacon-amber);
}

@media (min-width: 768px) {
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1040px) {
  .guide-grid { grid-template-columns: repeat(3, 1fr); }
}
