/* ==========================================================================
   龙猫云 (LONGMAOYUN.MOM) - 威尔逊云室与粒子径迹风 (Cloud Chamber Track)
   Dark Dark Chamber Aesthetic: #050709
   ========================================================================== */

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

:root {
  --bg-dark: #050709;
  --bg-card: rgba(10, 14, 20, 0.78);
  --bg-card-hover: rgba(18, 25, 36, 0.88);
  --border-mist: rgba(255, 255, 255, 0.12);
  --border-active: rgba(0, 243, 255, 0.4);
  
  --text-main: #f0f4f8;
  --text-muted: #8892b0;
  --text-dim: #4a5568;
  --accent-cyan: #00f3ff;
  --accent-glow: rgba(0, 243, 255, 0.2);
  --accent-white-glow: rgba(255, 255, 255, 0.15);

  --font-mono: 'JetBrains Mono', monospace;
  --font-sans: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

body {
  position: relative;
  min-height: 100vh;
  line-height: 1.6;
  background-color: var(--bg-dark);
  cursor: default;
}

/* Custom Particle Canvas Cursor */
#particle-cursor-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
}

/* Background Particle Track Canvas */
#cloud-chamber-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* Observation Window Overlay Lines & Ticks */
.obs-window-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.6;
}

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* Tick & Scale Header Tags */
.obs-scale-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-cyan);
  letter-spacing: 2px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 243, 255, 0.05);
  padding: 4px 12px;
  border: 1px solid rgba(0, 243, 255, 0.2);
  border-radius: 2px;
  margin-bottom: 16px;
}
.obs-scale-tag::before {
  content: '│┼│';
  color: var(--accent-cyan);
  opacity: 0.7;
}

/* Navbar */
.nav-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 7, 9, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-mist);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 700;
  font-size: 1.25rem;
  font-family: var(--font-mono);
}

.brand-logo .logo-icon {
  width: 32px;
  height: 32px;
  background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
  border: 1px solid var(--accent-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px var(--accent-glow);
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-family: var(--font-mono);
  transition: all 0.3s ease;
}

.nav-links a:hover {
  color: var(--accent-cyan);
  text-shadow: 0 0 8px var(--accent-glow);
}

/* Primary Cloud Chamber Button */
.btn-chamber {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: #050709;
  background: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 2px;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.btn-chamber:hover {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 30px rgba(0, 243, 255, 0.6);
  transform: translateY(-2px);
}

.btn-chamber-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-mist);
  box-shadow: none;
}

.btn-chamber-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 15px var(--accent-glow);
}

/* Hero Section */
.hero-section {
  padding: 100px 0 80px 0;
  text-align: center;
  position: relative;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #8892b0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 780px;
  margin: 0 auto 40px auto;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Latency Ticker Bar */
.ticker-bar {
  display: inline-flex;
  gap: 24px;
  background: rgba(10, 14, 20, 0.9);
  border: 1px solid var(--border-mist);
  padding: 12px 24px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.8);
}

.ticker-item span {
  color: var(--accent-cyan);
  font-weight: 600;
}

/* Glassmist Module Cards */
.mist-card {
  background: var(--bg-card);
  border: 1px solid var(--border-mist);
  border-radius: 4px;
  padding: 32px;
  position: relative;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.mist-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.mist-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-active);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 20px var(--accent-glow);
}

/* Section Title Style */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.2rem;
  font-family: var(--font-mono);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

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

.price-card.featured {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 25px var(--accent-glow);
}

.badge-featured {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--accent-cyan);
  color: #050709;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 2px;
}

.plan-name {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 8px;
}

.plan-price {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 16px;
}

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

.plan-features {
  list-style: none;
  margin-bottom: 32px;
  border-top: 1px dashed var(--border-mist);
  padding-top: 16px;
}

.plan-features li {
  padding: 8px 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.plan-features li::before {
  content: '⚡';
  font-size: 0.8rem;
  color: var(--accent-cyan);
}

/* Grid layout for features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border: 1px solid var(--border-mist);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
}

.feature-title {
  font-size: 1.2rem;
  font-family: var(--font-mono);
  color: #ffffff;
  margin-bottom: 12px;
}

/* Reviews Section (80% Colloquial Voice) */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.review-card {
  position: relative;
  padding: 28px;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--border-mist);
  border: 1px solid var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--accent-cyan);
}

.user-name {
  font-weight: 600;
  color: #ffffff;
  font-size: 0.95rem;
}

.user-tag {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.rating-stars {
  color: #ffd700;
  letter-spacing: 2px;
  font-size: 0.9rem;
}

.review-text {
  color: #d1d5db;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* FAQ Section */
.faq-container {
  max-width: 840px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 16px;
  border: 1px solid var(--border-mist);
  border-radius: 4px;
  background: var(--bg-card);
  overflow: hidden;
  transition: all 0.3s ease;
}

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

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--accent-cyan);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  content: '−';
}

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

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px 24px;
  border-top: 1px dashed var(--border-mist);
}

/* SEO Articles Showcase Section */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.article-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.article-date {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-cyan);
  margin-bottom: 12px;
}

.article-card-title {
  font-size: 1.15rem;
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.4;
}

.article-card-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.article-link {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-cyan);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  transition: gap 0.2s ease;
}

.article-link:hover {
  gap: 10px;
  text-shadow: 0 0 8px var(--accent-glow);
}

/* Article Detail Page Layout */
.article-page {
  padding: 80px 0 100px 0;
}

.article-header-meta {
  margin-bottom: 40px;
  text-align: center;
}

.article-body-content {
  background: var(--bg-card);
  border: 1px solid var(--border-mist);
  padding: 48px;
  border-radius: 4px;
  font-size: 1.05rem;
  line-height: 1.85;
  color: #e2e8f0;
}

.article-body-content h1, 
.article-body-content h2, 
.article-body-content h3 {
  font-family: var(--font-mono);
  color: #ffffff;
  margin: 32px 0 16px 0;
}

.article-body-content h2 {
  font-size: 1.5rem;
  border-bottom: 1px dashed var(--border-mist);
  padding-bottom: 8px;
}

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

.article-body-content ul, 
.article-body-content ol {
  margin: 0 0 24px 24px;
  color: var(--text-muted);
}

.article-body-content li {
  margin-bottom: 8px;
}

.article-body-content strong {
  color: var(--accent-cyan);
}

.cta-box {
  background: linear-gradient(135deg, rgba(0, 243, 255, 0.08) 0%, rgba(5, 7, 9, 0.9) 100%);
  border: 1px solid var(--accent-cyan);
  padding: 32px;
  text-align: center;
  margin: 40px 0;
  border-radius: 4px;
  box-shadow: 0 0 20px var(--accent-glow);
}

/* Footer & PBN Injection Area */
footer.site-footer {
  background: #020304;
  border-top: 1px solid var(--border-mist);
  padding: 48px 0 32px 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  position: relative;
  z-index: 10;
}

.footer-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-brand {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-desc {
  margin-bottom: 24px;
  color: var(--text-dim);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* PBN Friendly Links Zone (页脚 PBN 输血管道) */
.pbn-links-wrapper {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px dashed rgba(255, 255, 255, 0.06);
}

.pbn-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 1px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.pbn-links-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pbn-links-list a {
  color: #64748b;
  text-decoration: none;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  transition: color 0.2s ease;
}

.pbn-links-list a:hover {
  color: var(--accent-cyan);
  text-shadow: 0 0 6px var(--accent-glow);
}

.copyright-text {
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    height: auto;
    padding: 16px 0;
  }
  
  .hero-section {
    padding: 60px 0 40px 0;
  }

  .ticker-bar {
    flex-direction: column;
    gap: 8px;
    padding: 12px 16px;
  }

  .article-body-content {
    padding: 24px;
  }
}
