/* ==========================================================================
   HUANJI CLOUD (huajic.mom) - CELESTIAL CARTOGRAPHY DESIGN SYSTEM
   大航海领航与暗礁测绘风 (Celestial Cartography)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=JetBrains+Mono:wght@300;400;500;700&family=Noto+Serif+SC:wght@400;600;700;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Dark Celestial Palette */
  --bg-deep-sea: #060B12;
  --bg-abyssal-dark: #04070D;
  --bg-card-logbook: rgba(10, 19, 32, 0.75);
  --bg-card-hover: rgba(16, 29, 48, 0.88);
  
  /* Celestial Brass & Copper Gold Accents */
  --gold-primary: #C5A880;
  --gold-light: #E2C391;
  --gold-dark: #8C7350;
  --gold-glow: rgba(197, 168, 128, 0.25);
  --gold-line: rgba(197, 168, 128, 0.35);
  --gold-line-fine: rgba(197, 168, 128, 0.15);

  /* Status Colors */
  --cyan-beam: #4DF2ED;
  --emerald-safe: #2EE59D;
  --ruby-warning: #FF5252;
  --text-main: #E6EAF0;
  --text-muted: #94A3B8;
  --text-gold: #D4AF37;

  /* Typography */
  --font-serif: 'Cinzel', 'Noto Serif SC', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Grid & Scale */
  --border-fine: 0.5px solid var(--gold-line);
}

/* --- Base & Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-deep-sea);
  color: var(--text-main);
}

body {
  font-family: var(--font-sans);
  background: radial-gradient(ellipse at 50% 0%, #0D1B2A 0%, var(--bg-deep-sea) 70%);
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Sextant Longitude & Latitude Mesh Grid Background Overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    linear-gradient(to right, rgba(197, 168, 128, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(197, 168, 128, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(197, 168, 128, 0.03) 0%, transparent 60%);
  background-size: 60px 60px, 60px 60px, 100% 100%;
  pointer-events: none;
  z-index: 0;
}

/* Celestial Compass Canvas Background Overlay */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
}

/* --- Custom Celestial Compass Follower Cursor --- */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  margin-top: -16px;
  margin-left: -16px;
  border: 1px solid var(--gold-primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.08s ease-out, opacity 0.3s ease;
  transform: translate3d(0, 0, 0);
  box-shadow: 0 0 15px var(--gold-glow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-cursor::after {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--gold-light);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--cyan-beam);
}

.cursor-trail {
  position: fixed;
  pointer-events: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-primary);
  opacity: 0.6;
  z-index: 9998;
  animation: fadeOutTrail 0.6s linear forwards;
}

@keyframes fadeOutTrail {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(0.1); opacity: 0; }
}

/* Hide default cursor on desktop */
@media (min-width: 1025px) {
  body {
    cursor: default;
  }
}

/* --- Header / Celestial Navigation Bar --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(6, 11, 18, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: var(--border-fine);
  transition: all 0.3s ease;
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.8rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--gold-light);
}

.brand-logo svg {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 0 6px var(--gold-glow));
}

.brand-text {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #FFFFFF;
  text-transform: uppercase;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--gold-primary);
  letter-spacing: 1px;
  display: block;
  margin-top: -3px;
}

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

.nav-links a {
  color: var(--text-main);
  text-decoration: none;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  letter-spacing: 1px;
  transition: color 0.3s ease;
  position: relative;
  padding: 0.4rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1px;
  background: var(--gold-primary);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--gold-light);
}

.nav-links a:hover::after {
  width: 100%;
}

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

.coord-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gold-primary);
  background: rgba(197, 168, 128, 0.08);
  border: var(--border-fine);
  padding: 0.3rem 0.6rem;
  border-radius: 2px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.coord-pulse {
  width: 6px;
  height: 6px;
  background: var(--emerald-safe);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--emerald-safe);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 0.4; }
  50% { opacity: 1; }
  100% { opacity: 0.4; }
}

/* Nautical Button Style */
.btn-nautical {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.6rem;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #060B12;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 100%);
  border: 1px solid var(--gold-light);
  border-radius: 2px;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 20px rgba(197, 168, 128, 0.25);
}

.btn-nautical::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

.btn-nautical:hover::before {
  left: 100%;
}

.btn-nautical:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(197, 168, 128, 0.45);
  color: #04070D;
}

.btn-nautical-ghost {
  background: transparent;
  color: var(--gold-light);
  border: 1px solid var(--gold-primary);
  box-shadow: none;
}

.btn-nautical-ghost:hover {
  background: rgba(197, 168, 128, 0.12);
  color: #FFFFFF;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  z-index: 2;
  padding: 11rem 1.5rem 6rem;
  max-width: 1280px;
  margin: 0 auto;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-tagline {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--gold-primary);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(197, 168, 128, 0.06);
  padding: 0.4rem 1.2rem;
  border: var(--border-fine);
  border-radius: 30px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.25;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.hero-title span {
  background: linear-gradient(135deg, #FFFFFF 30%, var(--gold-light) 70%, var(--gold-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.hero-cta-group {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 4rem;
}

/* Section Coordinates Header */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

.section-coord {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gold-primary);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: #FFFFFF;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
  margin: 0.8rem auto 0;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin-top: 0.8rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Nautical Logbook Window Card --- */
.logbook-card {
  background: var(--bg-card-logbook);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: var(--border-fine);
  border-radius: 4px;
  padding: 2rem;
  position: relative;
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Brass Corner Rivets & Logbook Window Headers */
.logbook-card::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 6px;
  width: 6px;
  height: 6px;
  border-top: 1px solid var(--gold-primary);
  border-left: 1px solid var(--gold-primary);
}

.logbook-card::after {
  content: '';
  position: absolute;
  bottom: 6px;
  right: 6px;
  width: 6px;
  height: 6px;
  border-bottom: 1px solid var(--gold-primary);
  border-right: 1px solid var(--gold-primary);
}

.logbook-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(197, 168, 128, 0.6);
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(197, 168, 128, 0.12);
}

.card-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px dashed rgba(197, 168, 128, 0.2);
  padding-bottom: 0.8rem;
  margin-bottom: 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gold-primary);
}

/* --- Radar / Live Node Status Grid Section --- */
.radar-section {
  padding: 5rem 1.5rem;
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
}

.radar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
}

.node-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.node-flag {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
}

.node-flag span {
  font-size: 1.4rem;
}

.node-metrics {
  margin: 1.2rem 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.8rem;
  border-radius: 4px;
  border: 1px solid rgba(197, 168, 128, 0.1);
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.metric-value {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--cyan-beam);
}

.metric-value.safe {
  color: var(--emerald-safe);
}

/* --- Pricing Section --- */
.pricing-section {
  padding: 6rem 1.5rem;
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.price-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: var(--border-fine);
  position: relative;
}

.price-card.featured {
  border: 1px solid var(--gold-light);
  box-shadow: 0 0 30px rgba(197, 168, 128, 0.2);
  background: linear-gradient(180deg, rgba(16, 30, 50, 0.95) 0%, rgba(10, 19, 32, 0.9) 100%);
}

.featured-ribbon {
  position: absolute;
  top: -12px;
  right: 20px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
  color: #04070D;
  font-family: var(--font-serif);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 0.2rem 0.8rem;
  border-radius: 2px;
  text-transform: uppercase;
}

.plan-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: #FFFFFF;
  margin-bottom: 0.4rem;
}

.plan-price {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--gold-light);
  margin: 1rem 0;
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
}

.plan-price span {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-weight: 400;
}

.plan-features {
  list-style: none;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-main);
}

.plan-features li svg {
  width: 16px;
  height: 16px;
  color: var(--gold-primary);
  flex-shrink: 0;
}

/* --- SEO Articles Grid Section --- */
.articles-section {
  padding: 6rem 1.5rem;
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.article-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gold-primary);
  margin-bottom: 0.8rem;
}

.article-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
  color: #FFFFFF;
  margin-bottom: 0.8rem;
  transition: color 0.3s ease;
}

.article-card:hover .article-title {
  color: var(--gold-light);
}

.article-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
}

.tag-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  background: rgba(197, 168, 128, 0.08);
  border: 1px solid rgba(197, 168, 128, 0.15);
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
}

.read-more-link {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  transition: gap 0.3s ease;
}

.article-card:hover .read-more-link {
  gap: 0.7rem;
  color: var(--gold-light);
}

/* --- Testimonials / User Reviews Section --- */
.testimonials-section {
  padding: 6rem 1.5rem;
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.8rem;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(197, 168, 128, 0.2);
}

.avatar-badge {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--bg-deep-sea));
  border: 1px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--gold-light);
}

.author-info h4 {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: #FFFFFF;
}

.author-info p {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

.star-rating {
  color: #FFC107;
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}

/* --- FAQ Section --- */
.faq-section {
  padding: 6rem 1.5rem;
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.faq-item {
  border: var(--border-fine);
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-card-logbook);
  transition: all 0.3s ease;
}

.faq-question {
  width: 100%;
  padding: 1.4rem 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--gold-primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 1.8rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.8rem 1.4rem;
  border-top: 1px dashed rgba(197, 168, 128, 0.15);
}

/* --- Article Detail Page Styles --- */
.article-page {
  padding: 10rem 1.5rem 6rem;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--gold-primary);
  margin-bottom: 2rem;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: var(--gold-light);
}

.article-header {
  margin-bottom: 3rem;
  border-bottom: 1px solid rgba(197, 168, 128, 0.2);
  padding-bottom: 2rem;
}

.article-header h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #FFFFFF;
  line-height: 1.3;
  margin-bottom: 1.2rem;
}

.article-body {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #D1D5DB;
}

.article-body h2 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--gold-light);
  margin: 2.5rem 0 1rem;
  border-left: 3px solid var(--gold-primary);
  padding-left: 1rem;
}

.article-body h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: #FFFFFF;
  margin: 1.8rem 0 0.8rem;
}

.article-body p {
  margin-bottom: 1.4rem;
}

.article-body ul, .article-body ol {
  margin: 1.2rem 0 1.5rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.article-body blockquote {
  background: rgba(197, 168, 128, 0.05);
  border-left: 4px solid var(--gold-primary);
  padding: 1.2rem 1.5rem;
  margin: 1.8rem 0;
  font-style: italic;
  color: #E2C391;
}

.article-cta-box {
  margin: 3.5rem 0;
  background: linear-gradient(135deg, rgba(16, 30, 50, 0.9) 0%, rgba(6, 11, 18, 0.95) 100%);
  border: 1px solid var(--gold-primary);
  padding: 2.5rem;
  text-align: center;
  border-radius: 4px;
}

.article-cta-box h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: #FFFFFF;
  margin-bottom: 0.8rem;
}

.article-nav-links {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px dashed rgba(197, 168, 128, 0.2);
}

.article-nav-links a {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--gold-primary);
  text-decoration: none;
  max-width: 45%;
  transition: color 0.3s ease;
}

.article-nav-links a:hover {
  color: var(--gold-light);
}

/* --- Footer & PBN Friendship Link Matrix Section --- */
.site-footer {
  background: #04070D;
  border-top: var(--border-fine);
  padding: 4rem 1.5rem 2rem;
  position: relative;
  z-index: 2;
  color: var(--text-muted);
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2.5rem;
}

.footer-brand {
  max-width: 400px;
}

.footer-brand p {
  font-size: 0.9rem;
  margin-top: 1rem;
  line-height: 1.7;
}

.footer-nav-col h4 {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: #FFFFFF;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.footer-nav-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-nav-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.3s ease;
}

.footer-nav-col a:hover {
  color: var(--gold-light);
}

/* PBN Network Links Section */
.pbn-link-matrix {
  border-top: 1px dashed rgba(197, 168, 128, 0.15);
  padding-top: 2rem;
}

.pbn-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pbn-links-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.5rem;
}

.pbn-links-grid a {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: rgba(197, 168, 128, 0.55);
  text-decoration: none;
  transition: all 0.3s ease;
}

.pbn-links-grid a:hover {
  color: var(--gold-light);
  text-shadow: 0 0 8px var(--gold-glow);
}

.footer-bottom {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.5rem;
}

/* --- Mobile Navigation & Responsive Adjustments --- */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--gold-primary);
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle svg {
  width: 26px;
  height: 26px;
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(6, 11, 18, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: var(--border-fine);
    transform: translateY(-150%);
    transition: transform 0.4s ease;
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .menu-toggle {
    display: block;
  }

  .coord-badge {
    display: none;
  }

  .hero {
    padding-top: 8rem;
  }
}

/* ==========================================================================
   DOWNLOAD MODAL & DOWNLOAD CENTER STYLES
   大航海领航风客户端下载弹窗与下载中心
   ========================================================================== */

/* --- Download Modal Overlay --- */
.download-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 7, 13, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
  padding: 1.25rem;
}

.download-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* --- Modal Card --- */
.download-modal-card {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: radial-gradient(ellipse at 50% 0%, rgba(20, 36, 60, 0.96) 0%, rgba(8, 14, 24, 0.98) 100%);
  border: 1px solid var(--gold-line);
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.8), 0 0 30px var(--gold-glow);
  border-radius: 12px;
  padding: 2.2rem 2rem;
  color: var(--text-main);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.download-modal-overlay.active .download-modal-card {
  transform: translateY(0) scale(1);
}

/* --- Modal Close Button --- */
.modal-close-btn {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(197, 168, 128, 0.1);
  border: 1px solid var(--gold-line);
  color: var(--gold-primary);
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.modal-close-btn:hover {
  background: var(--gold-primary);
  color: #04070D;
  transform: rotate(90deg);
  box-shadow: 0 0 15px var(--gold-light);
}

/* --- Modal Header --- */
.modal-header {
  text-align: center;
  margin-bottom: 1.4rem;
}

.modal-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(197, 168, 128, 0.12);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  margin-bottom: 0.8rem;
  box-shadow: 0 0 16px var(--gold-glow);
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--gold-light);
  letter-spacing: 0.05em;
  margin-bottom: 0.45rem;
  font-weight: 700;
}

.modal-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- Modal Plan Intent --- */
.modal-plan-intent {
  background: rgba(14, 25, 42, 0.85);
  border: 1px dashed var(--gold-line);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  margin-bottom: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.modal-plan-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold-light);
  font-family: var(--font-serif);
}

.modal-plan-tip {
  font-size: 0.78rem;
  color: var(--cyan-beam);
  font-family: var(--font-mono);
}

/* --- Platform Cards in Modal --- */
.modal-platform-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.3rem;
}

.modal-platform-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(12, 22, 38, 0.7);
  border: 1px solid var(--gold-line-fine);
  border-radius: 8px;
  padding: 0.9rem 1.1rem;
  text-decoration: none;
  color: var(--text-main);
  transition: all 0.25s ease;
}

.modal-platform-card:hover {
  background: rgba(19, 36, 62, 0.9);
  border-color: var(--gold-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4), 0 0 15px var(--gold-glow);
}

.platform-card-left {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.platform-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(197, 168, 128, 0.12);
  border: 1px solid var(--gold-line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--gold-light);
  flex-shrink: 0;
}

.platform-card-info h4 {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: #FFFFFF;
  margin-bottom: 0.2rem;
  letter-spacing: 0.02em;
}

.platform-card-info p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.platform-card-action {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
  color: #04070D !important;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.45rem 0.9rem;
  border-radius: 4px;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.modal-platform-card:hover .platform-card-action {
  box-shadow: 0 0 12px var(--gold-light);
  transform: scale(1.04);
}

/* --- Modal Footer --- */
.modal-footer {
  border-top: 1px solid var(--gold-line-fine);
  padding-top: 1rem;
  text-align: center;
}

.modal-footer-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.7rem;
  line-height: 1.4;
}

.modal-footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
}

.modal-footer-links a {
  color: var(--gold-light);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.modal-footer-links a:hover {
  color: #FFFFFF;
  text-shadow: 0 0 8px var(--gold-light);
}

/* --- Download Center Page Specialized Styles --- */
.dl-page-header {
  padding: 7.5rem 1.5rem 2.5rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

.dl-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1.1rem;
  background: rgba(197, 168, 128, 0.12);
  border: 1px solid var(--gold-line);
  border-radius: 9999px;
  font-size: 0.82rem;
  color: var(--gold-light);
  margin-bottom: 1.2rem;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

.dl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.dl-card {
  position: relative;
  background: var(--bg-card-logbook);
  border: 1px solid var(--gold-line);
  border-radius: 8px;
  padding: 2rem 1.6rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.dl-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-primary);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 20px var(--gold-glow);
}

.dl-card.recommended {
  border-color: var(--gold-light);
  box-shadow: 0 0 25px var(--gold-glow);
}

.dl-card-badge {
  position: absolute;
  top: -12px;
  right: 18px;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
  color: #04070D;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.7rem;
  border-radius: 9999px;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.dl-card-icon {
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
  color: var(--gold-light);
}

.dl-card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: #FFFFFF;
  margin-bottom: 0.4rem;
}

.dl-card-meta {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--gold-primary);
  margin-bottom: 0.7rem;
}

.dl-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.4rem;
  flex-grow: 1;
}

.dl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
  color: #04070D !important;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.75rem 1.2rem;
  border-radius: 4px;
  text-decoration: none !important;
  transition: all 0.25s ease;
}

.dl-btn:hover {
  box-shadow: 0 0 16px var(--gold-light);
  transform: scale(1.02);
}

.dl-steps-box {
  background: var(--bg-card-logbook);
  border: 1px solid var(--gold-line);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  margin: 3.5rem 0;
}

.dl-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1.8rem;
}

.dl-step-item {
  background: rgba(14, 25, 42, 0.6);
  border: 1px solid var(--gold-line-fine);
  border-radius: 6px;
  padding: 1.5rem 1.2rem;
}

.dl-step-num {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}

.dl-step-heading {
  font-size: 1.05rem;
  color: #FFFFFF;
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.dl-step-p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (max-width: 480px) {
  .download-modal-card {
    padding: 1.8rem 1.2rem;
  }
  .modal-title {
    font-size: 1.2rem;
  }
  .modal-plan-intent {
    flex-direction: column;
    align-items: flex-start;
  }
  .platform-card-left {
    gap: 0.6rem;
  }
  .platform-card-info h4 {
    font-size: 0.88rem;
  }
  .platform-card-action {
    padding: 0.35rem 0.65rem;
    font-size: 0.75rem;
  }
}
