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

:root {
  --font-heading: 'Cinzel', 'Noto Serif SC', serif;
  --font-body: 'Noto Serif SC', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, serif;
  --font-decorative: 'Cinzel Decorative', 'Noto Serif SC', serif;

  --bg-dark: #07080c;
  --bg-card: rgba(18, 20, 32, 0.75);
  --bg-card-hover: rgba(28, 32, 52, 0.85);
  --border-gold: rgba(212, 175, 55, 0.3);
  --border-gold-bright: rgba(255, 215, 0, 0.8);
  
  --gold-primary: #d4af37;
  --gold-light: #f9e79f;
  --gold-glow: #ffd700;
  --purple-divine: #7b2cbf;
  --blue-cosmic: #3a86ef;
  
  --text-main: #f0f3f8;
  --text-muted: #94a3b8;
  --text-gold: #f3cf7a;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.7;
}

body {
  overflow-x: hidden;
  position: relative;
  background: radial-gradient(circle at 50% 0%, #1a103c 0%, #080a12 60%, #030407 100%);
  min-height: 100vh;
}

/* 神灵背景星空与漫照效果 (Divine Background Ray & Glow) */
.divine-bg-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background: 
    radial-gradient(2px 2px at 20px 30px, #ffffff, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 40px 70px, #ffd700, rgba(0,0,0,0)),
    radial-gradient(1px 1px at 90px 40px, #ffffff, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 160px 120px, #d4af37, rgba(0,0,0,0));
  background-repeat: repeat;
  background-size: 200px 200px;
  opacity: 0.25;
}

.divine-light-ray {
  position: fixed;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 80vw;
  height: 80vh;
  background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.15) 0%, rgba(123, 44, 191, 0.1) 45%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  animation: pulseGlow 8s infinite alternate ease-in-out;
}

@keyframes pulseGlow {
  0% { opacity: 0.6; transform: translateX(-50%) scale(0.95); }
  100% { opacity: 1; transform: translateX(-50%) scale(1.05); }
}

/* 导航栏 (Navbar) */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.2rem 2rem;
  background: rgba(7, 8, 12, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-gold);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-icon {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
}

.brand-title {
  font-family: var(--font-decorative);
  font-size: 1.6rem;
  font-weight: 700;
  background: linear-gradient(135deg, #fff 0%, var(--gold-glow) 50%, var(--gold-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 2px;
}

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

.nav-links a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--gold-glow);
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.8rem 1.8rem;
  background: linear-gradient(135deg, #d4af37 0%, #b8860b 50%, #996515 100%);
  color: #000;
  font-family: var(--font-heading);
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
  background: linear-gradient(135deg, #ffe066 0%, #d4af37 100%);
  color: #000;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.8rem 1.8rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  font-family: var(--font-heading);
  font-weight: 600;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.btn-secondary:hover {
  border-color: var(--gold-glow);
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-glow);
}

/* Hero Section */
.hero {
  position: relative;
  z-index: 1;
  padding: 10rem 2rem 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.hero-tag {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: 50px;
  color: var(--gold-light);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 1.5rem;
  background: linear-gradient(180deg, #ffffff 0%, #f3cf7a 70%, #d4af37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 4rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 1.8rem 1rem;
  backdrop-filter: blur(10px);
  text-align: center;
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-glow);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold-glow);
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Sections Base */
.section {
  position: relative;
  z-index: 1;
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 3.5rem;
}

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

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #fff;
}

/* 实时节点测速面板 (Directive 5) */
.speed-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.speed-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  gap: 1rem;
}

.speed-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--gold-light);
}

.live-dot {
  width: 10px;
  height: 10px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
  animation: blink 1.5s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.table-wrapper {
  overflow-x: auto;
}

.speed-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.speed-table th, .speed-table td {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.speed-table th {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.speed-table tr:hover {
  background: rgba(212, 175, 55, 0.05);
}

.flag-icon {
  margin-right: 8px;
  font-size: 1.1rem;
}

.ping-good {
  color: #10b981;
  font-weight: 700;
}

.speed-badge {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Feature Cards Grid - 直排 (Vertical Stack Layout) */
.features-grid {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  max-width: 960px;
  margin: 0 auto;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 2rem 2.2rem;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 2rem;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateX(10px);
  border-color: var(--gold-glow);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.25);
  background: var(--bg-card-hover);
}

.feature-icon-box {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(255, 215, 0, 0.25) 0%, rgba(212, 175, 55, 0.08) 70%);
  border: 1px solid var(--border-gold-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.35);
}

.feature-icon-box svg {
  width: 44px;
  height: 44px;
}

.feature-content {
  flex: 1;
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  color: var(--gold-light);
}

.feature-desc {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.7;
}

@media (max-width: 640px) {
  .feature-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.5rem;
  }
}

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

.pricing-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.8rem;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.pricing-card.featured {
  border-color: var(--gold-glow);
  background: linear-gradient(180deg, rgba(30, 25, 50, 0.9) 0%, rgba(18, 20, 32, 0.9) 100%);
  box-shadow: 0 0 35px rgba(212, 175, 55, 0.25);
  transform: scale(1.03);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #ffd700, #d4af37);
  color: #000;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.3rem 1.2rem;
  border-radius: 20px;
  letter-spacing: 1px;
}

.pricing-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--gold-glow);
  margin-bottom: 1.5rem;
}

.pricing-price span {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: normal;
}

.pricing-list {
  list-style: none;
  margin-bottom: 2rem;
}

.pricing-list li {
  color: var(--text-main);
  font-size: 0.92rem;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-list li svg {
  width: 16px;
  height: 16px;
  fill: #10b981;
  flex-shrink: 0;
}

/* SEO Articles Grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.article-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-glow);
}

.article-tag {
  color: var(--gold-primary);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.article-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  line-height: 1.5;
  margin-bottom: 0.8rem;
}

.article-title a {
  color: #fff;
  text-decoration: none;
  transition: var(--transition);
}

.article-title a:hover {
  color: var(--gold-glow);
}

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

.article-link {
  color: var(--gold-light);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-link:hover {
  color: var(--gold-glow);
}

/* 客户评论平排自动展示 (Directive 4) */
.reviews-marquee-container {
  overflow: hidden;
  position: relative;
  padding: 1rem 0;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.reviews-marquee-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: scrollMarquee 40s linear infinite;
}

.reviews-marquee-track:hover {
  animation-play-state: paused;
}

@keyframes scrollMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.review-card {
  width: 320px;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  flex-shrink: 0;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
}

.avatar-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-primary), var(--purple-divine));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
}

.user-info h4 {
  font-size: 0.95rem;
  color: #fff;
}

.user-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.stars {
  color: #f59e0b;
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
}

.review-text {
  font-size: 0.88rem;
  color: var(--text-main);
  line-height: 1.6;
}

/* 常见问题 FAQ Accordion */
.faq-accordion {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  padding: 1.4rem 1.8rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-question:hover {
  color: var(--gold-glow);
}

.faq-toggle-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  fill: var(--gold-primary);
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
}

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

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.8rem 1.4rem 1.8rem;
}

/* 核心任务 2：页脚 PBN 权重精准输血管道 */
.site-footer {
  position: relative;
  z-index: 10;
  background: rgba(4, 5, 8, 0.95);
  border-top: 1px solid var(--border-gold);
  padding: 3rem 2rem 2rem 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.footer-pbn-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.8rem;
  margin-top: 0.5rem;
  padding-top: 1.2rem;
  border-top: 1px dashed rgba(212, 175, 55, 0.2);
  width: 100%;
  max-width: 600px;
}

.footer-pbn-links span {
  font-size: 0.82rem;
  color: rgba(148, 163, 184, 0.7);
}

.footer-pbn-links a {
  color: rgba(243, 207, 122, 0.85);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}

.footer-pbn-links a:hover {
  color: var(--gold-glow);
  text-decoration: underline;
}

.footer-copyright {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* 文章页面专属样式 (Article Pages Layout) */
.article-container {
  max-width: 900px;
  margin: 8rem auto 4rem auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.article-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-gold);
}

.article-category {
  display: inline-block;
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-glow);
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.article-main-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: #fff;
  line-height: 1.35;
  margin-bottom: 1rem;
}

.article-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.article-body {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 3rem;
  backdrop-filter: blur(12px);
  color: #e2e8f0;
  font-size: 1.05rem;
  line-height: 1.95;
}

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

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

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

.article-body ul, .article-body ol {
  margin: 1rem 0 1.5rem 1.8rem;
}

.article-body li {
  margin-bottom: 0.6rem;
}

.article-body a {
  color: var(--gold-glow);
  text-decoration: underline;
}

.article-cta-box {
  margin: 3rem 0;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(123, 44, 191, 0.2), rgba(212, 175, 55, 0.15));
  border: 1px solid var(--gold-glow);
  border-radius: var(--radius-md);
  text-align: center;
}

.article-cta-box h3 {
  color: #fff;
  margin-bottom: 0.8rem;
}

.article-cta-box p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .navbar { padding: 1rem; }
  .nav-links { display: none; }
  .hero { padding-top: 7rem; }
  .pricing-card.featured { transform: none; }
  .article-body { padding: 1.5rem; }
}
