/* OKZTWO - Night Atlas (夜航星图) Style */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,600;1,9..144,300;1,9..144,400&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --night-bg: #060B18;
  --night-card: #0A1124;
  --starlight: #EDEDE6;
  --starlight-dim: #9FA7B3;
  --warm-gold: #F2C46B;
  --gold-glow: rgba(242, 196, 107, 0.15);
  --hairline: rgba(237, 237, 230, 0.12);
  --hairline-gold: rgba(242, 196, 107, 0.25);
  --font-serif: 'Fraunces', Georgia, serif;
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--night-bg);
  color: var(--starlight);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  opacity: 0;
  animation: atlasReveal 400ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes atlasReveal {
  to { opacity: 1; }
}

.mono-nums {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 2;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 150ms ease;
}

/* Starfield Canvas Background */
#star-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--hairline);
  background: rgba(6, 11, 24, 0.85);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.brand-wrap {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--starlight);
}

.brand-tagline {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--warm-gold);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--starlight-dim);
  transition: color 150ms ease;
}

.nav-links a:hover {
  color: var(--starlight);
}

.nav-links a.highlight-nav {
  color: var(--warm-gold);
  border-bottom: 1px solid var(--hairline-gold);
  padding-bottom: 2px;
}

.btn-nav-cta {
  font-size: 13px;
  font-weight: 500;
  padding: 8px 18px;
  border: 1px solid var(--hairline-gold);
  color: var(--warm-gold);
  background: transparent;
  border-radius: 2px;
  transition: background 150ms ease, color 150ms ease;
}

.btn-nav-cta:hover {
  background: var(--warm-gold);
  color: var(--night-bg);
}

/* Hero Section */
.hero-section {
  padding: 100px 0 80px;
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--hairline);
}

.hero-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--warm-gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 24px;
  border: 1px solid var(--hairline-gold);
  padding: 4px 12px;
  border-radius: 20px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--starlight);
  letter-spacing: -0.01em;
  max-width: 920px;
}

.hero-title .gold-italic {
  font-style: italic;
  color: var(--warm-gold);
}

.hero-subrow {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--starlight-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 16px;
  line-height: 1.8;
  color: #B4BCC8;
  max-width: 740px;
  margin-bottom: 40px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.btn-hero-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--warm-gold);
  color: var(--night-bg);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 30px;
  border-radius: 2px;
  transition: transform 120ms ease, opacity 120ms ease;
}

.btn-hero-gold:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.btn-hero-hollow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--starlight);
  font-size: 14px;
  padding: 13px 24px;
  border: 1px solid var(--hairline);
  border-radius: 2px;
  transition: border-color 150ms ease;
}

.btn-hero-hollow:hover {
  border-color: var(--hairline-gold);
  color: var(--warm-gold);
}

/* Sections */
.section {
  padding: 72px 0;
  border-bottom: 1px solid var(--hairline);
  position: relative;
  z-index: 2;
}

.section-tag {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--warm-gold);
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 300;
  color: var(--starlight);
  margin-bottom: 12px;
}

.section-desc {
  font-size: 15px;
  color: var(--starlight-dim);
  max-width: 680px;
  margin-bottom: 36px;
  font-weight: 300;
}

/* Global City Table with Real-time Clock */
.city-table-wrap {
  border: 1px solid var(--hairline);
  background: var(--night-card);
  overflow-x: auto;
}

.city-table {
  width: 100%;
  border-collapse: collapse;
}

.city-table th, .city-table td {
  padding: 16px 24px;
  border-bottom: 1px solid var(--hairline);
  text-align: left;
  font-size: 14px;
}

.city-table th {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--starlight-dim);
  background: rgba(255, 255, 255, 0.02);
  font-weight: 500;
}

.city-table td.city-name {
  font-weight: 500;
  color: var(--starlight);
  display: flex;
  align-items: center;
  gap: 10px;
}

.city-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--warm-gold);
}

.city-table td.city-clock {
  font-variant-numeric: tabular-nums;
  color: var(--warm-gold);
  font-weight: 500;
}

.city-table tbody tr:hover td {
  background: rgba(242, 196, 107, 0.03);
}

/* 3 Core Advantage Cards */
.atlas-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.atlas-card {
  background: var(--night-card);
  border: 1px solid var(--hairline);
  padding: 34px 28px;
  border-radius: 2px;
  transition: transform 150ms ease, border-color 150ms ease;
}

.atlas-card:hover {
  transform: translateY(-2px);
  border-color: var(--hairline-gold);
}

.card-num {
  font-size: 12px;
  color: var(--warm-gold);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  display: block;
}

.atlas-card h3 {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 400;
  margin-bottom: 14px;
  color: var(--starlight);
}

.atlas-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--starlight-dim);
  font-weight: 300;
}

/* Media & AI Cards */
.media-ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.media-ai-card {
  background: var(--night-card);
  border: 1px solid var(--hairline);
  padding: 32px 28px;
}

.media-ai-card h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 12px;
  color: var(--starlight);
}

.media-ai-card p {
  font-size: 14px;
  color: var(--starlight-dim);
  line-height: 1.7;
  margin-bottom: 20px;
  font-weight: 300;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-pill {
  font-size: 12px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--hairline);
  color: var(--starlight);
  border-radius: 2px;
}

/* Pricing Table */
.pricing-wrap {
  border: 1px solid var(--hairline);
  background: var(--night-card);
  overflow-x: auto;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
}

.pricing-table th, .pricing-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--hairline);
  text-align: left;
  font-size: 14px;
}

.pricing-table thead th {
  font-weight: 500;
  background: rgba(255, 255, 255, 0.02);
}

.pricing-table thead th .tier-name {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--starlight);
  display: block;
  margin-bottom: 6px;
}

.pricing-table thead th .tier-price {
  font-size: 26px;
  font-weight: 600;
  color: var(--starlight);
}

.pricing-table thead th.recommended-tier {
  border-top: 2px solid var(--warm-gold);
  background: rgba(242, 196, 107, 0.04);
}

.pricing-table thead th.recommended-tier .tier-price {
  color: var(--warm-gold);
}

.pricing-badge-gold {
  display: inline-block;
  background: var(--warm-gold);
  color: var(--night-bg);
  font-size: 10px;
  padding: 2px 7px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 6px;
  border-radius: 2px;
}

.btn-price-action {
  display: inline-block;
  width: 100%;
  text-align: center;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 2px;
  border: 1px solid var(--hairline);
  color: var(--starlight);
  background: transparent;
  transition: all 120ms ease;
}

.btn-price-action:hover {
  border-color: var(--warm-gold);
  color: var(--warm-gold);
}

.btn-price-action.btn-gold {
  background: var(--warm-gold);
  color: var(--night-bg);
  border-color: var(--warm-gold);
  font-weight: 600;
}

.btn-price-action.btn-gold:hover {
  opacity: 0.92;
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.faq-box {
  background: var(--night-card);
  border: 1px solid var(--hairline);
  padding: 26px;
}

.faq-box h3 {
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--starlight);
  margin-bottom: 10px;
  font-weight: 400;
}

.faq-box p {
  font-size: 14px;
  color: var(--starlight-dim);
  line-height: 1.7;
  font-weight: 300;
}

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.review-box {
  background: var(--night-card);
  border: 1px solid var(--hairline);
  padding: 24px;
}

.review-author {
  font-size: 14px;
  font-weight: 500;
  color: var(--starlight);
  margin-bottom: 4px;
}

.review-role {
  font-size: 12px;
  color: var(--warm-gold);
  margin-bottom: 12px;
}

.review-text {
  font-size: 13px;
  color: var(--starlight-dim);
  line-height: 1.65;
  font-weight: 300;
}

/* Footer: STRICTLY 4 TITLES */
.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 56px 0 40px;
  background: #040810;
  position: relative;
  z-index: 2;
}

.footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  margin-bottom: 28px;
}

.footer-nav a {
  font-size: 14px;
  color: var(--starlight-dim);
  transition: color 150ms ease;
}

.footer-nav a:hover {
  color: var(--warm-gold);
}

.footer-brand {
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 20px;
  color: var(--warm-gold);
  margin-bottom: 12px;
}

.footer-copy {
  text-align: center;
  font-size: 12px;
  color: #6A7485;
}

/* Subpage Layout */
.subpage-hero {
  padding: 60px 0 48px;
  border-bottom: 1px solid var(--hairline);
  position: relative;
  z-index: 2;
}

.breadcrumb {
  font-size: 12px;
  color: var(--starlight-dim);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: var(--starlight);
}

.subpage-title {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 300;
  color: var(--starlight);
  margin-bottom: 14px;
}

.subpage-meta {
  font-size: 13px;
  color: var(--warm-gold);
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.content-body {
  padding: 60px 0 80px;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.content-body h2 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--starlight);
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--hairline);
}

.content-body h3 {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 400;
  color: var(--warm-gold);
  margin: 24px 0 12px;
}

.content-body p {
  font-size: 15px;
  line-height: 1.8;
  color: #B4BCC8;
  margin-bottom: 20px;
  font-weight: 300;
}

.content-body ul, .content-body ol {
  margin: 0 0 24px 24px;
  color: #B4BCC8;
  font-size: 15px;
  line-height: 1.8;
  font-weight: 300;
}

.content-body li {
  margin-bottom: 8px;
}

.content-body pre {
  background: #040810;
  border: 1px solid var(--hairline);
  color: var(--starlight);
  padding: 18px 22px;
  border-radius: 2px;
  font-size: 13px;
  line-height: 1.6;
  overflow-x: auto;
  margin: 22px 0;
}

.content-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 14px;
  background: var(--night-card);
}

.content-body th, .content-body td {
  border: 1px solid var(--hairline);
  padding: 14px 18px;
  text-align: left;
}

.content-body th {
  background: rgba(255, 255, 255, 0.03);
  color: var(--warm-gold);
  font-weight: 500;
}

.internal-link-card {
  margin: 36px 0;
  padding: 24px;
  background: rgba(242, 196, 107, 0.05);
  border: 1px solid var(--hairline-gold);
  border-radius: 2px;
}

.internal-link-card a {
  color: var(--warm-gold);
  font-weight: 500;
  text-decoration: underline;
}

/* Recommended News Grid */
.articles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 36px;
}

.article-box {
  background: var(--night-card);
  border: 1px solid var(--hairline);
  padding: 30px;
  border-radius: 2px;
  transition: border-color 150ms ease, transform 150ms ease;
}

.article-box:hover {
  border-color: var(--hairline-gold);
  transform: translateY(-2px);
}

.article-tag {
  font-size: 11px;
  color: var(--warm-gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: inline-block;
}

.article-heading {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 400;
  margin-bottom: 12px;
  color: var(--starlight);
}

.article-heading a:hover {
  color: var(--warm-gold);
}

.article-summary {
  font-size: 14px;
  color: var(--starlight-dim);
  line-height: 1.7;
  margin-bottom: 16px;
  font-weight: 300;
}

.article-footer-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #6A7485;
}

/* Responsive */
@media (max-width: 900px) {
  .atlas-grid-3, .media-ai-grid, .faq-grid, .reviews-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
  .footer-nav {
    flex-direction: column;
    gap: 16px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-hero-gold, .btn-hero-hollow {
    justify-content: center;
  }
}
