/* ==========================================================================
   大象网络 (daxiang-wangluo.lol) - 全站核心样式系统 (style.css)
   世界观：浮空岛灯塔 (海、灯光扫射、浮岛、航标)
   画风：剪纸层叠 (多层平面错位，投影表现层次)
   版式原型：横向卷轴 (桌面端部分区块横向滚动，移动端回退纵向)
   配色方案：类比色 + 主色相 195° (青蓝)
   招牌动效：光束扫射 (灯塔探照灯光束扫过标题，2.2s，离开视口或减弱动效时固定)
   辅助动效：横向卷轴错位视差 + 浮岛悬浮微动
   规范：纯原生 CSS3，零外部依赖，移动端优先，语义化无障碍，符合 Layer 2
   ========================================================================== */

:root {
  --nn-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --nn-font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  /* 设计说明 02 核心色板 */
  --bg-sea: #0A1E2B;              /* 深邃海域底色 */
  --paper-mid: #1E3A4C;           /* 剪纸中景层（浮岛本体） */
  --paper-dark: #122838;          /* 剪纸深景阴影基座 */
  --paper-elevated: #264A60;      /* 剪纸浮起层（卡片表面） */
  --paper-border: rgba(91, 192, 222, 0.32); /* 剪纸切边微光 */
  --line-cyan: #5BC0DE;           /* 航标青蓝标线 */
  --line-cyan-glow: rgba(91, 192, 222, 0.22);
  --accent-gold: #F0C14A;         /* 唯一 CTA：灯塔透镜暖金色 */
  --accent-gold-hover: #f7ce63;   /* CTA 悬浮微亮 */
  --accent-gold-edge: #b58a22;    /* 剪纸按键切边硬阴影 */

  /* 文字层级墨色（极高对比度） */
  --text-main: #E8F4F8;           /* 纸白主文字，清晰通透 */
  --text-soft: #C5DCE6;           /* 浅海青次级文字 */
  --text-muted: #8AABB8;          /* 雾海辅助文字与元数据 */
  --text-dark: #0A1E2B;           /* CTA 按键内高对比度深色文字 */

  /* 剪纸层叠硬阴影（Layered Drop Shadow） */
  --shadow-layer: rgba(0, 0, 0, 0.38);
  --shadow-paper-1: 0 3px 0 0 rgba(6, 18, 26, 0.8), 0 6px 14px -2px var(--shadow-layer);
  --shadow-paper-2: 0 4px 0 0 rgba(6, 18, 26, 0.85), 0 12px 24px -4px var(--shadow-layer);
  --shadow-paper-elevated: 0 6px 0 0 rgba(6, 18, 26, 0.9), 0 20px 36px -6px rgba(0, 0, 0, 0.55);

  /* 圆角与间距规范 */
  --radius-cut-sm: 6px;
  --radius-cut-md: 10px;
  --radius-cut-lg: 14px;
  --radius-full: 9999px;

  --nn-max-width: 1160px;
  --nn-transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 基础重置 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background-color: var(--bg-sea);
}

body {
  font-family: var(--nn-font);
  background-color: var(--bg-sea);
  color: var(--text-main);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image: 
    radial-gradient(ellipse 90% 50% at 50% -10%, rgba(91, 192, 222, 0.12), transparent),
    radial-gradient(circle at 10% 40%, rgba(30, 58, 76, 0.35), transparent 40%),
    radial-gradient(circle at 90% 70%, rgba(30, 58, 76, 0.4), transparent 45%);
  background-attachment: fixed;
}

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

a {
  color: var(--line-cyan);
  text-decoration: none;
  transition: var(--nn-transition);
}

a:hover {
  color: #8de4fa;
}

ul, ol {
  list-style: none;
}

/* 容器 */
.nn-container {
  width: 100%;
  max-width: var(--nn-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

main {
  flex: 1;
}

/* ==========================================================================
   Header 导航 → 灯塔顶部航标牌
   ========================================================================== */
.nn-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(10, 30, 43, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--paper-border);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

.nn-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nn-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-main);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.nn-brand:hover {
  color: var(--line-cyan);
}

.nn-brand-logo {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-cut-sm);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.nn-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nn-nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 0.35rem 0;
}

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

.nn-nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--line-cyan);
  box-shadow: 0 0 8px var(--line-cyan);
  border-radius: 2px;
}

.nn-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nn-menu-btn {
  display: none;
  background: var(--paper-mid);
  border: 1px solid var(--paper-border);
  border-radius: var(--radius-cut-sm);
  padding: 0.5rem;
  cursor: pointer;
  color: var(--text-main);
}

/* ==========================================================================
   按钮系统：金光 CTA 唯一法则
   ========================================================================== */
.nn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-cut-md);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: var(--nn-transition);
  min-height: 44px;
  position: relative;
  user-select: none;
}

/* 唯一主 CTA：金光透镜 */
.nn-btn-primary,
.nn-btn-cta,
.nn-final-cta-btn {
  background-color: var(--accent-gold);
  color: var(--text-dark);
  border-color: #ffd875;
  box-shadow: 0 3px 0 0 var(--accent-gold-edge), 0 8px 18px rgba(240, 193, 74, 0.28);
}

.nn-btn-primary:hover,
.nn-btn-cta:hover,
.nn-final-cta-btn:hover {
  background-color: var(--accent-gold-hover);
  color: var(--text-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 0 0 var(--accent-gold-edge), 0 12px 24px rgba(240, 193, 74, 0.38);
}

.nn-btn-primary:active,
.nn-btn-cta:active,
.nn-final-cta-btn:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 0 var(--accent-gold-edge), 0 4px 8px rgba(240, 193, 74, 0.2);
}

/* 次级按钮：航标切面边框 */
.nn-btn-secondary {
  background-color: var(--paper-mid);
  color: var(--text-main);
  border-color: var(--paper-border);
  box-shadow: 0 3px 0 0 rgba(6, 18, 26, 0.6);
}

.nn-btn-secondary:hover {
  background-color: var(--paper-elevated);
  border-color: var(--line-cyan);
  color: #ffffff;
  transform: translateY(-1px);
}

.nn-btn-lg {
  font-size: 1.05rem;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-cut-md);
}

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

/* ==========================================================================
   Hero 区块 → 灯塔主灯视角与航线
   ========================================================================== */
.nn-hero {
  position: relative;
  padding: 4.5rem 0 3.75rem;
  overflow: hidden;
  border-bottom: 1px solid var(--paper-border);
  background: 
    radial-gradient(ellipse 70% 40% at 50% 15%, rgba(91, 192, 222, 0.16), transparent 70%),
    linear-gradient(180deg, rgba(18, 40, 56, 0.6) 0%, var(--bg-sea) 100%);
}

.nn-hero-content {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

/* 航标徽章 */
.nn-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.95rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--line-cyan);
  background-color: var(--paper-mid);
  border: 1px solid var(--paper-border);
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* 招牌动效：灯塔光束扫射 (Lighthouse Beam Sweep)
   时长 2.2s，从左侧斜向扫过主标题，模拟夜间探照灯掠过浮岛航线 */
.nn-hero-title-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 1.25rem;
}

.nn-hero-title {
  /* 规范字体层级：H1 48–56px / 700 */
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
  letter-spacing: -0.02em;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* 光束扫射高光层 */
.nn-hero-title-wrap::before {
  content: "";
  position: absolute;
  top: -20%;
  left: -150%;
  width: 120%;
  height: 140%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(91, 192, 222, 0) 35%,
    rgba(91, 192, 222, 0.38) 50%,
    rgba(240, 193, 74, 0.45) 54%,
    rgba(91, 192, 222, 0.38) 58%,
    rgba(91, 192, 222, 0) 70%,
    transparent 100%
  );
  transform: skewX(-24deg);
  pointer-events: none;
  z-index: 3;
  animation: lighthouse-beam-sweep 2.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  mix-blend-mode: screen;
}

@keyframes lighthouse-beam-sweep {
  0% {
    left: -140%;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  65% {
    opacity: 1;
  }
  85% {
    left: 140%;
    opacity: 0;
  }
  100% {
    left: 140%;
    opacity: 0;
  }
}

.nn-hero-desc {
  font-size: 1.125rem;
  color: var(--text-soft);
  line-height: 1.75;
  max-width: 680px;
  margin: 0 auto 2.25rem;
}

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

/* 客户端支持标签 */
.nn-hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  font-size: 0.85rem;
}

.nn-trust-label {
  color: var(--text-muted);
  font-weight: 600;
}

.nn-trust-badge {
  background-color: var(--paper-mid);
  color: var(--text-main);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-cut-sm);
  font-family: var(--nn-font-mono);
  font-size: 0.8rem;
  border: 1px solid var(--paper-border);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

/* Hero 主视觉：浮空岛灯塔与看守人背影 */
.nn-hero-visual {
  margin: 1.5rem auto 2.5rem;
  position: relative;
  max-width: 820px;
}

.nn-hero-svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.45));
}

/* Hero 底部特性微卡片 */
.nn-hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  text-align: left;
  margin-top: 2rem;
}

.nn-highlight-card {
  background: var(--paper-mid);
  border: 1px solid var(--paper-border);
  border-radius: var(--radius-cut-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-paper-1);
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  transition: var(--nn-transition);
}

.nn-highlight-card:hover {
  transform: translateY(-3px);
  background-color: var(--paper-elevated);
  border-color: var(--line-cyan);
}

.nn-highlight-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  color: var(--line-cyan);
  margin-top: 2px;
}

.nn-highlight-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.nn-highlight-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   区块通用骨架
   ========================================================================== */
.nn-section {
  padding: 4.75rem 0;
  position: relative;
}

.nn-section-alt {
  background-color: rgba(18, 40, 56, 0.45);
  border-top: 1px solid var(--paper-border);
  border-bottom: 1px solid var(--paper-border);
}

.nn-section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.nn-section-tag {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--line-cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  display: block;
}

/* 规范字体层级：H2 28px / 600 */
.nn-section-title {
  font-size: 1.75rem; /* 28px */
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.nn-section-desc {
  font-size: 1rem;
  color: var(--text-soft);
  line-height: 1.65;
}

/* ==========================================================================
   版式原型：横向卷轴 (Horizontal Scroll on Desktop, Vertical on Mobile)
   特性 (横向展开的浮岛群) & 场景 (潮汐时段航线日志)
   ========================================================================== */
.nn-scroll-wrapper {
  position: relative;
  width: 100%;
}

.nn-scroll-deck {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.5rem 0.25rem 1.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--line-cyan) var(--paper-mid);
}

.nn-scroll-deck::-webkit-scrollbar {
  height: 8px;
}

.nn-scroll-deck::-webkit-scrollbar-track {
  background: var(--paper-dark);
  border-radius: 4px;
}

.nn-scroll-deck::-webkit-scrollbar-thumb {
  background: var(--paper-border);
  border-radius: 4px;
  border: 1px solid var(--paper-mid);
}

.nn-scroll-deck::-webkit-scrollbar-thumb:hover {
  background: var(--line-cyan);
}

/* 卷轴导航提示 */
.nn-scroll-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.825rem;
  color: var(--text-muted);
}

.nn-scroll-hint svg {
  width: 16px;
  height: 16px;
  color: var(--line-cyan);
}

/* 浮岛群特性卡片 */
.nn-island-card {
  flex: 0 0 calc(33.333% - 1rem);
  min-width: 320px;
  scroll-snap-align: start;
  background: var(--paper-mid);
  border: 1px solid var(--paper-border);
  border-radius: var(--radius-cut-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-paper-1);
  transition: var(--nn-transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* 辅助动效 2：浮岛悬浮微动 (transform) */
.nn-island-card:hover {
  transform: translateY(-5px);
  background: var(--paper-elevated);
  border-color: var(--line-cyan);
  box-shadow: var(--shadow-paper-elevated);
}

.nn-island-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  align-self: flex-start;
  padding: 0.2rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--line-cyan);
  background: var(--paper-dark);
  border-radius: var(--radius-cut-sm);
  margin-bottom: 1.25rem;
  border: 1px solid var(--paper-border);
}

.nn-island-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-cut-md);
  background-color: var(--paper-dark);
  border: 1px solid var(--paper-border);
  color: var(--line-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.nn-island-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.65rem;
}

.nn-island-text {
  font-size: 0.925rem;
  color: var(--text-soft);
  line-height: 1.65;
  flex: 1;
}

/* ==========================================================================
   生态支持：流媒体与 AI 工具
   ========================================================================== */
.nn-ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.nn-ecosystem-card {
  background: var(--paper-mid);
  border: 1px solid var(--paper-border);
  border-radius: var(--radius-cut-lg);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-paper-1);
  transition: var(--nn-transition);
}

.nn-ecosystem-card:hover {
  border-color: var(--line-cyan);
  transform: translateY(-3px);
  box-shadow: var(--shadow-paper-2);
}

.nn-ecosystem-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--line-cyan);
  margin-bottom: 0.85rem;
}

.nn-ecosystem-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
}

.nn-ecosystem-desc {
  font-size: 0.925rem;
  color: var(--text-soft);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.nn-badges-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.nn-pill {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-main);
  background-color: var(--paper-dark);
  border: 1px solid var(--paper-border);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-cut-sm);
  transition: var(--nn-transition);
}

.nn-pill:hover {
  border-color: var(--line-cyan);
  background-color: var(--paper-mid);
}

/* ==========================================================================
   定价区块 → 航标权限（访客通行 / 驻守[推荐] / 灯塔长）
   遵循 PLANS 为空规则：不编造任何具体价格、流量、设备数字
   ========================================================================== */
.nn-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  align-items: stretch;
}

.nn-pricing-card {
  background: var(--paper-mid);
  border: 1px solid var(--paper-border);
  border-radius: var(--radius-cut-lg);
  padding: 2.25rem 1.75rem;
  box-shadow: var(--shadow-paper-1);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--nn-transition);
}

.nn-pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-paper-elevated);
  border-color: var(--line-cyan);
}

/* 推荐驻守卡片：金光航标高亮 */
.nn-pricing-card.featured {
  background: linear-gradient(180deg, var(--paper-elevated) 0%, var(--paper-mid) 100%);
  border: 2px solid var(--accent-gold);
  box-shadow: 0 4px 0 0 rgba(6, 18, 26, 0.8), 0 14px 28px -4px rgba(240, 193, 74, 0.22);
}

.nn-pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--accent-gold);
  color: var(--text-dark);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.95rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.nn-pricing-header {
  text-align: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--paper-border);
  margin-bottom: 1.5rem;
}

.nn-pricing-perm {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--line-cyan);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}

.nn-pricing-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.45rem;
}

.nn-pricing-audience {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.nn-pricing-meta {
  margin: 1.25rem 0 0.5rem;
  background-color: var(--paper-dark);
  padding: 0.75rem;
  border-radius: var(--radius-cut-md);
  border: 1px solid var(--paper-border);
  text-align: center;
}

.nn-pricing-notice {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.nn-pricing-subnotice {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.nn-pricing-features {
  margin-bottom: 2rem;
  flex: 1;
}

.nn-pricing-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--text-soft);
  margin-bottom: 0.85rem;
  line-height: 1.5;
}

.nn-pricing-feature-icon {
  width: 18px;
  height: 18px;
  color: var(--line-cyan);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   使用场景 → 不同潮汐时段的航线日志
   ========================================================================== */
.nn-tide-card {
  flex: 0 0 calc(33.333% - 1rem);
  min-width: 320px;
  scroll-snap-align: start;
  background-color: var(--paper-mid);
  border: 1px solid var(--paper-border);
  border-radius: var(--radius-cut-lg);
  padding: 1.85rem;
  box-shadow: var(--shadow-paper-1);
  display: flex;
  flex-direction: column;
  transition: var(--nn-transition);
}

.nn-tide-card:hover {
  transform: translateY(-4px);
  background-color: var(--paper-elevated);
  border-color: var(--line-cyan);
  box-shadow: var(--shadow-paper-2);
}

.nn-tide-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.15rem;
}

.nn-tide-tag {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  background: var(--paper-dark);
  color: var(--line-cyan);
  border: 1px solid var(--paper-border);
}

.nn-tide-devices {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.nn-tide-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.nn-tide-desc {
  font-size: 0.925rem;
  color: var(--text-soft);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex: 1;
}

.nn-tide-point {
  font-size: 0.85rem;
  color: var(--line-cyan);
  background-color: var(--paper-dark);
  border: 1px solid var(--paper-border);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-cut-sm);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

/* ==========================================================================
   FAQ → 灯塔值班航海日志
   ========================================================================== */
.nn-faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

details.nn-faq-item {
  background: var(--paper-mid);
  border: 1px solid var(--paper-border);
  border-radius: var(--radius-cut-md);
  overflow: hidden;
  box-shadow: var(--shadow-paper-1);
  transition: var(--nn-transition);
}

details.nn-faq-item:hover {
  border-color: var(--line-cyan);
}

details.nn-faq-item[open] {
  background: var(--paper-elevated);
  border-color: var(--line-cyan);
}

summary.nn-faq-question {
  width: 100%;
  list-style: none;
  padding: 1.25rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  user-select: none;
}

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

.nn-faq-icon {
  width: 20px;
  height: 20px;
  color: var(--line-cyan);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

details.nn-faq-item[open] .nn-faq-icon {
  transform: rotate(180deg);
  color: var(--accent-gold);
}

.nn-faq-answer-inner {
  padding: 0 1.5rem 1.35rem;
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.7;
  border-top: 1px dashed var(--paper-border);
  padding-top: 1rem;
}

/* ==========================================================================
   Final CTA → 灯塔启动闸 (点亮灯塔)
   ========================================================================== */
.nn-final-cta {
  padding: 5rem 0;
  background: 
    radial-gradient(circle at 50% 20%, rgba(240, 193, 74, 0.15), transparent 60%),
    linear-gradient(180deg, var(--paper-dark) 0%, #061520 100%);
  border-top: 1px solid var(--paper-border);
  color: var(--text-main);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.nn-final-cta-content {
  max-width: 740px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.nn-beacon-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.9rem;
  background: var(--paper-mid);
  border: 1px solid var(--line-cyan);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
  box-shadow: 0 0 12px rgba(240, 193, 74, 0.25);
}

.nn-final-cta-title {
  font-size: clamp(1.8rem, 3.5vw, 2.35rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-main);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.nn-final-cta-desc {
  font-size: 1.1rem;
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 2.25rem;
}

/* ==========================================================================
   Footer → 浮岛底部坐标与潮汐公告
   严格禁止放置文章列表
   ========================================================================== */
.nn-footer {
  background-color: #06131c;
  color: var(--text-muted);
  padding: 4rem 0 2.5rem;
  font-size: 0.9rem;
  border-top: 1px solid rgba(91, 192, 222, 0.15);
}

.nn-footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(91, 192, 222, 0.15);
}

.nn-footer-brand-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.nn-footer-desc {
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 440px;
}

.nn-footer-col-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.nn-footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.nn-footer-link {
  color: var(--text-muted);
  transition: var(--nn-transition);
}

.nn-footer-link:hover {
  color: var(--line-cyan);
}

.nn-footer-bottom {
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  text-align: center;
  font-size: 0.825rem;
}

.nn-footer-coords {
  font-family: var(--nn-font-mono);
  font-size: 0.78rem;
  color: var(--line-cyan);
  opacity: 0.85;
}

.nn-footer-disclosure {
  color: var(--text-soft);
  background-color: var(--paper-dark);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-cut-sm);
  border: 1px solid var(--paper-border);
  display: inline-block;
  margin: 0 auto;
}

.nn-footer-copy {
  color: #608291;
}

/* ==========================================================================
   移动端吸底 CTA
   ========================================================================== */
.nn-mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background-color: rgba(10, 30, 43, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line-cyan);
  padding: 0.75rem 1.25rem;
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.45);
}

.nn-mobile-sticky-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--nn-max-width);
  margin: 0 auto;
}

.nn-mobile-sticky-info {
  display: flex;
  flex-direction: column;
}

.nn-mobile-sticky-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
}

.nn-mobile-sticky-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   文章正文 / 使用指南通用排版 (剪纸层叠与海域主题)
   ========================================================================== */
.nn-article-layout {
  padding: 3.5rem 0 5rem;
}

.nn-article-container {
  max-width: 820px;
  margin: 0 auto;
}

.nn-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.nn-breadcrumbs a {
  color: var(--text-soft);
}

.nn-breadcrumbs a:hover {
  color: var(--line-cyan);
}

.nn-article-header {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--paper-border);
}

.nn-article-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--line-cyan);
  background-color: var(--paper-mid);
  border: 1px solid var(--paper-border);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-cut-sm);
  margin-bottom: 1rem;
}

.nn-article-title {
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 1rem;
}

.nn-article-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.nn-article-content {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-main);
}

.nn-article-content h2 {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--paper-border);
  position: relative;
}

.nn-article-content h2::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--line-cyan);
}

.nn-article-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--line-cyan);
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.nn-article-content p {
  margin-bottom: 1.5rem;
  color: var(--text-soft);
}

.nn-article-content ul,
.nn-article-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.nn-article-content ul {
  list-style-type: disc;
}

.nn-article-content ol {
  list-style-type: decimal;
}

.nn-article-content li {
  margin-bottom: 0.6rem;
  color: var(--text-soft);
}

.nn-callout {
  background-color: var(--paper-mid);
  border-left: 4px solid var(--line-cyan);
  border: 1px solid var(--paper-border);
  border-left-width: 4px;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-cut-sm);
  margin: 1.75rem 0;
  font-size: 0.975rem;
  line-height: 1.7;
  box-shadow: var(--shadow-paper-1);
}

.nn-callout-title {
  font-weight: 700;
  color: var(--line-cyan);
  margin-bottom: 0.4rem;
}

/* 表格响应式 */
.nn-table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 2rem 0;
  border: 1px solid var(--paper-border);
  border-radius: var(--radius-cut-md);
  background: var(--paper-mid);
  box-shadow: var(--shadow-paper-1);
}

.nn-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.nn-table th {
  background-color: var(--paper-dark);
  color: var(--text-main);
  font-weight: 700;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--paper-border);
}

.nn-table td {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--paper-border);
  color: var(--text-soft);
}

.nn-table tr:last-child td {
  border-bottom: none;
}

.nn-table tr:hover td {
  background-color: var(--paper-elevated);
}

/* 文章末尾 CTA 区块 */
.nn-article-cta-box {
  background: linear-gradient(135deg, var(--paper-dark) 0%, var(--paper-mid) 100%);
  border: 1px solid var(--line-cyan);
  border-radius: var(--radius-cut-lg);
  padding: 2.25rem;
  margin: 3.25rem 0;
  text-align: center;
  box-shadow: var(--shadow-paper-elevated);
}

.nn-article-cta-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.6rem;
}

.nn-article-cta-desc {
  font-size: 1rem;
  color: var(--text-soft);
  max-width: 600px;
  margin: 0 auto 1.5rem;
  line-height: 1.65;
}

/* 文章推荐与相关阅读 */
.nn-related-articles {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--paper-border);
}

.nn-related-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1.5rem;
}

.nn-related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.nn-related-card {
  background: var(--paper-mid);
  border: 1px solid var(--paper-border);
  border-radius: var(--radius-cut-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-paper-1);
  transition: var(--nn-transition);
}

.nn-related-card:hover {
  border-color: var(--line-cyan);
  transform: translateY(-2px);
  background-color: var(--paper-elevated);
}

.nn-related-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.4rem;
  line-height: 1.4;
}

.nn-related-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* 合规页样式 */
.nn-legal-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 3.5rem 1.25rem 5rem;
}

.nn-legal-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--paper-border);
}

.nn-legal-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.nn-legal-date {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.nn-legal-body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-soft);
}

.nn-legal-body h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.nn-legal-body p {
  margin-bottom: 1.25rem;
}

.nn-legal-body ul,
.nn-legal-body ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.nn-legal-body ul {
  list-style: disc;
}

.nn-legal-body ol {
  list-style: decimal;
}

.nn-legal-body li {
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   响应式断点与版式自适应
   ========================================================================== */
@media (max-width: 992px) {
  .nn-hero-highlights,
  .nn-pricing-grid,
  .nn-ecosystem-grid {
    grid-template-columns: 1fr;
  }

  .nn-footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* 平板端横向卷轴卡片宽度调整 */
  .nn-island-card,
  .nn-tide-card {
    flex: 0 0 300px;
  }
}

@media (max-width: 768px) {
  .nn-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background-color: rgba(10, 30, 43, 0.98);
    border-bottom: 1px solid var(--paper-border);
    flex-direction: column;
    padding: 1.25rem;
    gap: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  }

  .nn-nav.active {
    display: flex;
  }

  .nn-menu-btn {
    display: block;
  }

  .nn-header-actions .nn-btn {
    display: none;
  }

  .nn-section-title {
    font-size: 1.55rem;
  }

  /* 移动端横向卷轴回退支持：保持平滑滚动触控体验并露出右侧边缘 */
  .nn-scroll-deck {
    gap: 1rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .nn-island-card,
  .nn-tide-card {
    flex: 0 0 82%;
    min-width: 260px;
  }

  .nn-related-grid {
    grid-template-columns: 1fr;
  }

  .nn-mobile-sticky-cta {
    display: block;
  }

  body {
    padding-bottom: 64px;
  }
}

/* ==========================================================================
   无障碍与减弱动效支持 (prefers-reduced-motion)
   招牌动效光束扫射在开启时固定，停止扫射循环
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  /* 光束扫射固定在标题位置 */
  .nn-hero-title-wrap::before {
    animation: none !important;
    left: 0 !important;
    opacity: 0.3 !important;
    width: 100% !important;
  }
}
