/* ==========================================================================
   suyunticloud.ink - Celestial Stellar Observatory & Armillary Astrolabe
   Design Language: Concentric Celestial Orbit, Gold Star-Pin Obsidian Cards
   ========================================================================== */

:root {
  --bg-space: #090714;
  --bg-nebula: #110c24;
  --bg-surface: #181230;
  --bg-surface-hover: #221a42;
  --bg-surface-elevated: #2c2154;

  --gold-supernova: #f59e0b;
  --gold-starlight: #fbbf24;
  --gold-brass: #d97706;
  --astral-violet: #818cf8;
  --astral-indigo: #6366f1;

  --text-pure: #ffffff;
  --text-platinum: #f8fafc;
  --text-muted: #cbd5e1;
  --text-dim: #94a3b8;

  --border-celestial: rgba(245, 158, 11, 0.22);
  --border-celestial-active: rgba(251, 191, 36, 0.65);
  --border-violet: rgba(129, 140, 248, 0.25);

  --glow-gold: 0 0 25px rgba(245, 158, 11, 0.25);
  --glow-violet: 0 0 35px rgba(99, 102, 241, 0.28);
  --radius-astral: 12px;
  --radius-pill: 9999px;

  --font-serif-display: "Songti SC", "Source Han Serif CN", Georgia, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", sans-serif;
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-space);
  color: var(--text-muted);
  line-height: 1.6;
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background: 
    radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 80% 40%, rgba(245, 158, 11, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, var(--bg-space) 0%, var(--bg-nebula) 50%, var(--bg-space) 100%);
}

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

/* ==========================================================================
   Celestial Masthead & Navigation
   ========================================================================== */

.celestial-masthead, .ink-masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 7, 20, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-celestial);
  transition: all 0.3s ease;
}

.masthead-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.celestial-logo-svg, .ink-logo-svg {
  height: 42px;
  width: auto;
  display: block;
}

.celestial-nav-menu, .ink-nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
}

.celestial-nav-menu a, .ink-nav-menu a {
  color: var(--text-platinum);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.5px;
  position: relative;
  transition: color 0.25s ease;
  white-space: nowrap;
}

.celestial-nav-menu a:hover, .ink-nav-menu a:hover,
.celestial-nav-menu a.active, .ink-nav-menu a.active {
  color: var(--gold-starlight);
  text-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

.celestial-nav-menu a.active::after, .ink-nav-menu a.active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-supernova), var(--gold-starlight));
  border-radius: 2px;
  box-shadow: 0 0 8px var(--gold-supernova);
}

.header-action {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 32px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 6px;
  padding: 6px 5px;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.mobile-menu-btn .bar {
  width: 100%;
  height: 2px;
  background: var(--gold-starlight);
  border-radius: 2px;
  transition: all 0.25s ease;
}

.mobile-menu-btn.active {
  background: rgba(245, 158, 11, 0.2);
  border-color: var(--gold-starlight);
}

.mobile-menu-btn.active .bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-menu-btn.active .bar:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active .bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  display: none;
  flex-direction: column;
  padding: 14px 18px 20px;
  background: rgba(9, 7, 20, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 2px solid var(--gold-starlight);
  gap: 8px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.85);
  position: relative;
  z-index: 99;
}

.mobile-nav-drawer.open {
  display: flex;
  animation: celestialDrawerSlide 0.22s ease-out;
}

@keyframes celestialDrawerSlide {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.drawer-link {
  color: var(--text-platinum);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(245, 158, 11, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.drawer-link:hover, .drawer-link.active {
  background: rgba(245, 158, 11, 0.15);
  border-color: var(--gold-starlight);
  color: var(--gold-starlight);
}

.drawer-link.drawer-hub-link {
  color: var(--gold-supernova);
  border-color: rgba(251, 191, 36, 0.35);
  background: rgba(251, 191, 36, 0.06);
}

.drawer-cta-wrap {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(245, 158, 11, 0.15);
}

.drawer-cta-wrap .btn-celestial-primary,
.drawer-cta-wrap .btn-ink-primary {
  width: 100%;
  text-align: center;
  justify-content: center;
  padding: 11px;
  font-size: 14px;
  box-sizing: border-box;
}

.btn-celestial-primary, .btn-ink-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--gold-supernova) 0%, var(--gold-starlight) 100%);
  color: #1a0f02;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-decoration: none;
  border-radius: var(--radius-pill);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.35);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-celestial-primary:hover, .btn-ink-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(251, 191, 36, 0.6);
}

/* ==========================================================================
   Monumental Celestial Hero (Centered Armillary Astrolabe)
   ========================================================================== */

.celestial-hero {
  padding: 90px 0 110px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.astrolabe-bg-rings {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 680px;
  height: 680px;
  pointer-events: none;
  opacity: 0.22;
  z-index: 1;
}

.celestial-hero-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin: 0 auto;
}

.astronomy-epoch-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 20px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid var(--border-celestial);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-starlight);
  letter-spacing: 1.2px;
  margin-bottom: 28px;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.15);
}

.astronomy-star-pin {
  width: 6px;
  height: 6px;
  background: var(--gold-starlight);
  transform: rotate(45deg);
  box-shadow: 0 0 8px var(--gold-starlight);
}

.hero-title {
  font-size: 54px;
  font-weight: 900;
  line-height: 1.2;
  color: var(--text-pure);
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.astral-gold-gradient {
  background: linear-gradient(135deg, #fffbeb 0%, var(--gold-starlight) 50%, var(--gold-brass) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  text-shadow: 0 0 35px rgba(245, 158, 11, 0.35);
}

.hero-desc {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-dim);
  max-width: 680px;
  margin: 0 auto 36px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

/* Secondary Authority Link - strictly dofollow, no rel="nofollow" */
.btn-celestial-recommend {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  background: rgba(24, 18, 48, 0.8);
  border: 1px solid var(--border-celestial);
  color: var(--text-platinum);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-pill);
  transition: all 0.3s ease;
}

.btn-celestial-recommend:hover {
  background: rgba(245, 158, 11, 0.15);
  border-color: var(--gold-starlight);
  color: var(--gold-starlight);
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.25);
}

/* Celestial Orbital Telemetry Capsules */
.celestial-telemetry-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}

.telemetry-capsule {
  background: rgba(24, 18, 48, 0.85);
  border: 1px solid var(--border-celestial);
  border-radius: 10px;
  padding: 16px 20px;
  position: relative;
  text-align: left;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.capsule-coord {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-starlight);
  letter-spacing: 1.5px;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.capsule-val {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-pure);
  font-variant-numeric: tabular-nums;
}

.capsule-unit {
  font-size: 13px;
  font-weight: 600;
  color: var(--astral-violet);
  margin-left: 3px;
}

/* ==========================================================================
   Section Transitions & Celestial Dividers
   ========================================================================== */

.celestial-section {
  padding: 90px 0;
  position: relative;
}

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

.section-subtag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-starlight);
  margin-bottom: 12px;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--text-pure);
  line-height: 1.3;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.65;
}

/* Celestial Meridian Divider */
.celestial-meridian-divider {
  width: 100%;
  height: 2px;
  background: radial-gradient(circle at center, var(--gold-supernova) 0%, rgba(245, 158, 11, 0.1) 70%, transparent 100%);
  margin: 0 0 1px 0;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
}

/* ==========================================================================
   Core Advantages (星穹观测板与星钉卡片)
   ========================================================================== */

.celestial-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.astral-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-celestial);
  border-radius: var(--radius-astral);
  padding: 32px 24px;
  position: relative;
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
}

.astral-card:hover {
  transform: translateY(-6px);
  background: var(--bg-surface-hover);
  border-color: var(--gold-starlight);
  box-shadow: var(--glow-gold), 0 15px 35px rgba(0, 0, 0, 0.4);
}

/* Four Corner Star-Pins (Brass Studs) */
.astral-card::before, .astral-card::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--gold-starlight);
  transform: rotate(45deg);
}

.astral-card::before { top: 8px; left: 8px; }
.astral-card::after { top: 8px; right: 8px; }

.astral-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid var(--border-celestial);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--gold-starlight);
}

.astral-icon-box svg {
  width: 26px;
  height: 26px;
}

.astral-card-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 12px;
  line-height: 1.35;
}

.astral-card-desc {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ==========================================================================
   Streaming & AI Support Matrix (星轨遥测矩阵)
   ========================================================================== */

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

.celestial-matrix-card {
  background: linear-gradient(180deg, var(--bg-surface) 0%, rgba(17, 12, 36, 0.95) 100%);
  border: 1px solid var(--border-violet);
  border-radius: var(--radius-astral);
  padding: 32px 28px;
  position: relative;
  transition: all 0.3s ease;
}

.celestial-matrix-card:hover {
  border-color: var(--astral-violet);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
  transform: translateY(-4px);
}

.matrix-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.matrix-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid var(--border-violet);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--astral-violet);
}

.matrix-icon-circle svg {
  width: 22px;
  height: 22px;
}

.matrix-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-pure);
}

.matrix-desc {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 22px;
}

.matrix-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.matrix-tag-chip {
  font-size: 12px;
  padding: 4px 12px;
  background: rgba(9, 7, 20, 0.8);
  border: 1px solid var(--border-violet);
  border-radius: var(--radius-pill);
  color: var(--text-platinum);
}

/* ==========================================================================
   Pricing Comparison Table (3 Tiers, Astrolabe Golden Tiers)
   ========================================================================== */

.celestial-pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-celestial);
  border-radius: var(--radius-astral);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}

.celestial-pricing-card.featured {
  background: linear-gradient(180deg, var(--bg-surface-elevated) 0%, var(--bg-surface) 100%);
  border: 1px solid var(--gold-starlight);
  box-shadow: var(--glow-gold), 0 20px 40px rgba(0, 0, 0, 0.4);
  transform: scale(1.03);
  z-index: 2;
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 18px;
  background: linear-gradient(90deg, var(--gold-supernova), var(--gold-starlight));
  color: #1a0f02;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  white-space: nowrap;
}

.plan-tier-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 8px;
}

.plan-tier-desc {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 24px;
  min-height: 38px;
}

.plan-price-row {
  display: flex;
  align-items: baseline;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(245, 158, 11, 0.15);
}

.price-currency {
  font-size: 20px;
  font-weight: 600;
  color: var(--gold-starlight);
}

.price-val {
  font-size: 44px;
  font-weight: 900;
  color: var(--text-pure);
  font-variant-numeric: tabular-nums;
  margin: 0 4px;
}

.price-period {
  font-size: 14px;
  color: var(--text-dim);
}

.plan-spec-list {
  list-style: none;
  margin-bottom: 36px;
  flex-grow: 1;
}

.plan-spec-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-platinum);
  margin-bottom: 14px;
}

.spec-bullet-svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--gold-starlight);
}

.btn-pricing-action {
  width: 100%;
  padding: 13px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: all 0.25s ease;
  border: 1px solid var(--border-celestial);
  background: rgba(245, 158, 11, 0.08);
  color: var(--gold-starlight);
}

.btn-pricing-action:hover,
.celestial-pricing-card.featured .btn-pricing-action {
  background: linear-gradient(90deg, var(--gold-supernova), var(--gold-starlight));
  color: #1a0f02;
  border-color: transparent;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.45);
}

/* ==========================================================================
   User Testimonials & FAQ Sections
   ========================================================================== */

.celestial-review-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-celestial);
  border-radius: var(--radius-astral);
  padding: 28px;
  position: relative;
}

.review-stars {
  display: flex;
  gap: 4px;
  color: var(--gold-starlight);
  margin-bottom: 16px;
}

.review-stars svg {
  width: 16px;
  height: 16px;
}

.review-body {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.review-user-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(245, 158, 11, 0.12);
}

.user-avatar-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid var(--border-celestial);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--gold-starlight);
  font-size: 14px;
}

.user-info-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-pure);
}

.user-info-role {
  font-size: 12px;
  color: var(--text-dim);
}

/* FAQ Accordion Grid */
.celestial-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.celestial-faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-celestial);
  border-radius: var(--radius-astral);
  padding: 24px;
  transition: all 0.3s ease;
}

.celestial-faq-item:hover {
  border-color: var(--gold-starlight);
}

.faq-q {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-q-tag {
  color: var(--gold-starlight);
  font-weight: 800;
  font-size: 14px;
}

.faq-a {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-dim);
}

/* ==========================================================================
   Article Hub & Detail Styling (Aliases for Backward Compatibility)
   ========================================================================== */

.hub-hero, .scrolls-hero {
  padding: 80px 0 50px;
  text-align: center;
  border-bottom: 1px solid var(--border-celestial);
  background: radial-gradient(circle at 50% 100%, rgba(245, 158, 11, 0.08) 0%, transparent 60%);
}

.hub-hero h1, .scrolls-hero h1 {
  font-size: 38px;
  font-weight: 900;
  color: var(--text-pure);
  margin-bottom: 14px;
}

.hub-hero p, .scrolls-hero p {
  font-size: 16px;
  color: var(--text-dim);
}

.articles-grid, .scrolls-list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  padding: 60px 0 90px;
}

.article-summary-card, .scroll-entry-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-celestial);
  border-radius: var(--radius-astral);
  padding: 30px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
}

.article-summary-card:hover, .scroll-entry-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-starlight);
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.15);
}

.article-badge, .entry-seal-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-starlight);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid var(--border-celestial);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.article-summary-card h2, .scroll-entry-card h2 {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
}

.article-summary-card h2 a, .scroll-entry-card h2 a {
  color: var(--text-pure);
  text-decoration: none;
  transition: color 0.2s ease;
}

.article-summary-card h2 a:hover, .scroll-entry-card h2 a:hover {
  color: var(--gold-starlight);
}

.article-excerpt, .entry-summary {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-dim);
  margin-bottom: 20px;
  flex-grow: 1;
}

.article-read-more, .entry-read-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-starlight);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}

.article-read-more:hover, .entry-read-link:hover {
  gap: 10px;
}

/* Article Detail */
.article-detail-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 24px 100px;
}

.article-header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-celestial);
}

.article-header h1 {
  font-size: 34px;
  font-weight: 900;
  color: var(--text-pure);
  line-height: 1.3;
  margin: 16px 0;
}

.article-meta-row {
  display: flex;
  gap: 14px;
  font-size: 13px;
  color: var(--text-dim);
}

.content-body {
  font-size: 16px;
  line-height: 1.85;
  color: #cbd5e1;
}

.content-body p {
  margin-bottom: 22px;
}

.content-body h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-pure);
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(245, 158, 11, 0.15);
}

.content-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--gold-starlight);
  margin: 28px 0 12px;
}

/* Critical: In-content Link Color & Visited Color Override */
.content-body a {
  color: var(--gold-starlight) !important;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.content-body a:visited {
  color: var(--gold-starlight) !important;
}

.content-body a:hover {
  color: #ffffff !important;
  text-shadow: 0 0 8px rgba(245, 158, 11, 0.6);
}

/* ==========================================================================
   Footer (Chinese Only, Full Sitemap & About Us)
   ========================================================================== */

.celestial-footer, footer {
  background: #06040d;
  border-top: 1px solid var(--border-celestial);
  padding: 70px 0 30px;
  position: relative;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand-col p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 320px;
}

.footer-col-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.footer-link-list {
  list-style: none;
}

.footer-link-list li {
  margin-bottom: 10px;
}

.footer-link-list a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-link-list a:hover {
  color: var(--gold-starlight);
}

.footer-bottom-bar {
  padding-top: 24px;
  border-top: 1px solid rgba(245, 158, 11, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-dim);
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a {
  color: var(--text-dim);
  text-decoration: none;
}

.footer-legal-links a:hover {
  color: var(--gold-starlight);
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */

@media (max-width: 1024px) {
  html {
    scroll-padding-top: 105px;
  }
  .celestial-masthead, .ink-masthead {
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
  }
  .masthead-inner {
    flex-wrap: wrap;
    padding: 8px 16px;
    gap: 8px 12px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .brand-link {
    order: 1;
    height: 32px;
    flex-shrink: 0;
  }
  .celestial-logo-svg, .ink-logo-svg {
    height: 28px;
    width: auto;
    max-width: 145px;
  }
  .header-action {
    order: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    flex-shrink: 0;
  }
  .btn-celestial-primary, .btn-ink-primary {
    padding: 6px 14px;
    font-size: 13px;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .celestial-nav-menu, .ink-nav-menu {
    order: 3;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    white-space: nowrap;
    padding: 4px 2px 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    box-sizing: border-box;
  }
  .celestial-nav-menu::-webkit-scrollbar,
  .ink-nav-menu::-webkit-scrollbar {
    display: none;
    height: 0;
  }
  .celestial-nav-menu a, .ink-nav-menu a {
    font-size: 12.5px;
    padding: 4px 11px;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.22);
    border-radius: 16px;
    flex-shrink: 0;
    text-decoration: none;
    transition: all 0.2s ease;
  }
  .celestial-nav-menu a.active, .ink-nav-menu a.active {
    background: rgba(245, 158, 11, 0.25);
    border-color: var(--gold-starlight);
    color: var(--gold-starlight);
  }
  .celestial-nav-menu a.active::after, .ink-nav-menu a.active::after {
    display: none;
  }
  .celestial-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .celestial-grid-3,
  .celestial-telemetry-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .celestial-pricing-card.featured {
    transform: none;
  }
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 34px;
  }
  .celestial-grid-4,
  .celestial-grid-3,
  .celestial-telemetry-row,
  .celestial-faq-grid,
  .articles-grid {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom-bar {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

