/* ==========================================================================
   地鼠机场 (dishujichang.cfd) - 核心设计语言与样式表
   天然科技元素 · 地鼠光影主题 · 暗黑极客流线设计
   ========================================================================== */

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

:root {
  /* 品牌核心色彩 - 自然与高科技融合绿洲色系 */
  --primary: #10b981;
  --primary-hover: #059669;
  --primary-light: #34d399;
  --primary-glow: rgba(16, 185, 129, 0.35);
  
  --accent-cyan: #06b6d4;
  --accent-lime: #84cc16;
  --accent-gold: #f59e0b;

  /* 暗色自然底色 - 地下洞穴与星云交织 */
  --bg-dark: #070a12;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --bg-glass: rgba(16, 24, 40, 0.65);
  
  /* 边框与分隔 */
  --border-light: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(16, 185, 129, 0.3);

  /* 文本颜色 */
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;

  /* 字体设置 - 天然有机科技风 */
  --font-family: 'Outfit', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* 阴影 */
  --shadow-lg: 0 10px 30px -5px rgba(0, 0, 0, 0.5), 0 0 20px rgba(16, 185, 129, 0.15);
  --shadow-glow: 0 0 25px rgba(16, 185, 129, 0.4);

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

/* 基础重置 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(16, 185, 129, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 85% 60%, rgba(6, 182, 212, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 50% 85%, rgba(132, 204, 22, 0.05) 0%, transparent 50%);
  background-attachment: fixed;
}

/* 地鼠洞穴几何背景线段元素 */
.gopher-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.15;
  background-image: radial-gradient(rgba(16, 185, 129, 0.4) 1px, transparent 1px);
  background-size: 32px 32px;
}

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: var(--transition);
}
a:hover {
  color: var(--primary);
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* 渐变标题 */
.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, var(--primary-light) 50%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(16, 185, 129, 0.5);
  color: #ffffff;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(10px);
}
.btn-outline:hover {
  border-color: var(--primary);
  background: rgba(16, 185, 129, 0.1);
  color: var(--primary-light);
}

.btn-sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.9rem;
}

/* 导航栏 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: var(--transition);
  backdrop-filter: blur(12px);
  background: rgba(7, 10, 18, 0.7);
  border-bottom: 1px solid var(--border-light);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.logo img {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 12px var(--primary-glow);
  object-fit: cover;
}

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

.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.98rem;
}
.nav-links a:hover {
  color: #ffffff;
}

/* Hero 区域 */
.hero-section {
  padding: 11rem 0 6rem 0;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 1.2rem;
  letter-spacing: -1px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-full);
  color: var(--primary-light);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.hero-features-bar {
  display: flex;
  gap: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
}

.stat-item h4 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-light);
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* 地鼠 3D 视觉卡片 */
.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
  text-align: center;
}

.gopher-mascot-wrapper {
  position: relative;
  margin: 0 auto 1.5rem auto;
  width: 220px;
  height: 220px;
}

.gopher-mascot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: 0 0 35px var(--primary-glow);
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}

.hero-badge {
  display: inline-block;
  background: linear-gradient(90deg, var(--accent-lime), var(--primary));
  color: #000;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

/* Section 通用 */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3.5rem auto;
}

.section-header h2 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.08rem;
}

/* 5指令：实时节点速度表 (Real-time Speed Table) */
.speed-table-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lg);
}

.speed-table-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.speed-status-indicator {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.status-dot {
  width: 10px;
  height: 10px;
  background-color: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary);
  animation: pulse 2s infinite;
}

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

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.node-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.node-table th {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-weight: 600;
  border-bottom: 1px solid var(--border-light);
}

.node-table td {
  padding: 1.1rem 1rem;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

.node-table tr:hover {
  background: rgba(16, 185, 129, 0.04);
}

.flag-icon {
  width: 24px;
  height: 18px;
  margin-right: 0.5rem;
  vertical-align: middle;
  border-radius: 3px;
}

.ping-badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  font-family: monospace;
  font-weight: 700;
  font-size: 0.88rem;
}
.ping-fast { background: rgba(16, 185, 129, 0.15); color: var(--primary-light); border: 1px solid rgba(16, 185, 129, 0.3); }
.ping-medium { background: rgba(245, 158, 11, 0.15); color: var(--accent-gold); border: 1px solid rgba(245, 158, 11, 0.3); }

.speed-bar-wrapper {
  width: 120px;
  background: rgba(255, 255, 255, 0.08);
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.6rem;
}

.speed-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-cyan), var(--primary-light));
  border-radius: 4px;
}

/* 核心优势 Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-lg);
}

.feature-icon-box {
  width: 54px;
  height: 54px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  color: var(--primary-light);
  font-size: 1.5rem;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* 价格方案 Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.price-card.popular {
  border-color: var(--primary);
  background: rgba(16, 24, 40, 0.95);
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.25);
  transform: scale(1.03);
}

.popular-tag {
  position: absolute;
  top: -14px;
  right: 24px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-cyan) 100%);
  color: #000;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.25rem 0.8rem;
  border-radius: var(--radius-full);
}

.price-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.price-amount {
  font-size: 2.8rem;
  font-weight: 800;
  color: #ffffff;
  margin: 1rem 0;
}
.price-amount span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

.price-features {
  list-style: none;
  margin: 1.5rem 0 2rem 0;
  flex-grow: 1;
}

.price-features li {
  padding: 0.5rem 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.price-features li::before {
  content: "✓";
  color: var(--primary-light);
  font-weight: 800;
}

/* SEO 文章预读 Card */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  transition: var(--transition);
}

.article-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}

.article-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

.article-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
}

.article-meta {
  font-size: 0.82rem;
  color: var(--text-dim);
  display: flex;
  justify-content: space-between;
}

/* 用户评价 Grid */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.8rem;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.8rem;
}

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

.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent-cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #000;
}

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

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

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

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

.faq-question {
  padding: 1.4rem;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-main);
}

.faq-answer {
  padding: 0 1.4rem 1.4rem 1.4rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 0.5rem;
  padding-top: 1rem;
}

.faq-item.active .faq-answer {
  display: block;
}

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

/* 核心任务 2：页脚 PBN 权重输血管道样式 */
footer {
  background: #04060c;
  border-top: 1px solid var(--border-light);
  padding: 3rem 0 2rem 0;
  color: var(--text-dim);
  text-align: center;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-nav {
  display: flex;
  gap: 1.8rem;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
}

.footer-nav a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* 低调、美观、小字号的友情链接区 */
.pbn-links-area {
  margin-top: 1rem;
  padding-top: 1.2rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.06);
  width: 100%;
  max-width: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 0.82rem;
  color: #6b7280;
}

.pbn-links-area label {
  font-weight: 500;
  color: #4b5563;
}

.pbn-links-area a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.2s ease;
}

.pbn-links-area a:hover {
  color: var(--primary-light);
  text-decoration: underline;
}

/* 文章页面模版专用样式 */
.article-detail-body {
  padding-top: 9rem;
  padding-bottom: 5rem;
}

.article-content {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 3rem;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}

.article-content h1 {
  font-size: 2.2rem;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: #ffffff;
}

.article-header-meta {
  display: flex;
  gap: 1.5rem;
  color: var(--text-dim);
  font-size: 0.88rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 2rem;
}

.article-text p {
  margin-bottom: 1.4rem;
  font-size: 1.05rem;
  color: #d1d5db;
  line-height: 1.8;
}

.article-text h2 {
  font-size: 1.5rem;
  color: var(--primary-light);
  margin: 2rem 0 1rem 0;
}

.article-text h3 {
  font-size: 1.25rem;
  color: #ffffff;
  margin: 1.5rem 0 0.8rem 0;
}

.cta-banner-box {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
  border: 1px solid var(--primary-glow);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  margin: 2.5rem 0;
}

/* 响应式调整 */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content h1 { font-size: 2.6rem; }
  .hero-actions { justify-content: center; }
  .hero-features-bar { justify-content: center; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-content h1 { font-size: 2.1rem; }
  .article-content { padding: 1.8rem; }
}
