/* 良心云 (liangxinyun.mom) - 全局样式表 */
:root {
  --bg-dark: #070a12;
  --bg-card: #111827;
  --bg-card-hover: #1f2937;
  --primary-blue: #2563eb;
  --primary-cyan: #06b6d4;
  --accent-glow: #38bdf8;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(56, 189, 248, 0.35);
  --gradient-hero: linear-gradient(135deg, #1d4ed8 0%, #1e3a8a 50%, #0f172a 100%);
  --gradient-btn: linear-gradient(90deg, #0284c7 0%, #06b6d4 100%);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

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

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* 鼠标跟随 Canvas 尾翼 */
#cursor-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(7, 10, 18, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #38bdf8, #2563eb);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.5);
}

.logo-icon svg {
  width: 22px;
  height: 22px;
  fill: #ffffff;
}

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

.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.2s ease;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: #fff;
}

.btn-primary {
  background: var(--gradient-btn);
  color: #fff;
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.4);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(6, 182, 212, 0.6);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--accent-glow);
}

/* Mobile Menu Button */
.menu-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section (解决“图2底层背景太空了”：采用饱满大牌的大蓝框 Hero Container 视觉) */
.hero {
  padding: 120px 0 60px;
  position: relative;
}

.hero-banner-box {
  background: var(--gradient-hero);
  border-radius: 24px;
  padding: 56px 48px;
  box-shadow: 0 20px 60px rgba(29, 78, 216, 0.35);
  border: 1px solid rgba(56, 189, 248, 0.25);
  position: relative;
  overflow: hidden;
}

.hero-banner-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.22;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
  color: #ffffff;
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 36px;
  max-width: 600px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* 解决“图5图片换成其他的”：使用生成的高清3D云加速科技风效果图 */
.hero-img-box {
  position: relative;
}

.hero-card-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(56, 189, 248, 0.4);
  display: block;
  transition: transform 0.3s ease;
}

.hero-card-img:hover {
  transform: scale(1.02);
}

/* Feature Grid */
.features {
  padding: 90px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #fff;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  transition: all 0.3s ease;
  position: relative;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  background: var(--bg-card-hover);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: rgba(37, 99, 235, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent-glow);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

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

/* 价格套餐一排展示 Pricing Horizontal Row */
.pricing-section {
  padding: 90px 0;
  background: rgba(15, 23, 42, 0.6);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.pricing-row-wrapper {
  overflow-x: auto;
  padding-bottom: 20px;
}

.pricing-row {
  display: flex;
  flex-direction: row;
  gap: 20px;
  min-width: 1000px;
  justify-content: space-between;
}

.pricing-card {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  position: relative;
}

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

.pricing-card.popular {
  border-color: var(--primary-cyan);
  background: linear-gradient(180deg, rgba(6, 182, 212, 0.12) 0%, var(--bg-card) 100%);
  box-shadow: 0 0 30px rgba(6, 182, 212, 0.25);
}

.badge-popular {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--gradient-btn);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 12px;
}

.pricing-header h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.price {
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 6px;
}

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

.pricing-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 26px;
}

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

.pricing-features li::before {
  content: '✓';
  color: var(--primary-cyan);
  font-weight: bold;
}

/* Articles Grid Section */
.articles-section {
  padding: 90px 0;
}

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

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

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

.article-card .tag {
  display: inline-block;
  background: rgba(56, 189, 248, 0.1);
  color: var(--accent-glow);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 14px;
}

.article-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
  color: #fff;
}

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

.article-card .read-more {
  color: var(--primary-cyan);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Testimonials */
.testimonials {
  padding: 80px 0;
  background: rgba(15, 23, 42, 0.4);
}

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

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
}

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

.testimonial-text {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 20px;
  font-style: italic;
}

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

.user-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
}

.user-details h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

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

/* FAQ Accordion */
.faq-section {
  padding: 90px 0;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.faq-item.active {
  border-color: var(--border-glow);
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
}

.faq-toggle {
  font-size: 1.3rem;
  color: var(--accent-glow);
  transition: transform 0.3s ease;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s 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;
}

/* Footer & PBN 输血管道区 */
.footer {
  background: #05070e;
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

.footer-about p {
  margin-top: 14px;
  color: var(--text-dim);
  font-size: 0.88rem;
  max-width: 320px;
}

.footer-links h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 18px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-dim);
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent-glow);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* 【核心任务 2 & 改进要求：图3 友情链接要有 机场测试 机场教程】 */
.pbn-links-section {
  width: 100%;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  text-align: center;
}

.pbn-links-title {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.pbn-links-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
  list-style: none;
}

.pbn-links-list a {
  font-size: 0.82rem;
  color: #64748b;
  transition: all 0.2s ease;
}

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

.pbn-links-list a.highlight-link {
  color: var(--accent-glow);
  font-weight: 600;
}

/* 文章详情页样式 Article Detail Page Styles */
.article-detail-body {
  padding-top: 120px;
  padding-bottom: 80px;
  max-width: 920px;
}

.breadcrumb {
  font-size: 0.88rem;
  color: var(--text-dim);
  margin-bottom: 24px;
}

.breadcrumb a {
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--accent-glow);
}

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

.article-header h1 {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.35;
  color: #ffffff;
  margin-bottom: 16px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.article-content {
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.85;
}

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

.article-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 44px;
  margin-bottom: 20px;
  padding-left: 14px;
  border-left: 4px solid var(--primary-cyan);
}

.article-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-top: 32px;
  margin-bottom: 16px;
}

.article-content ul, .article-content ol {
  margin-bottom: 28px;
  padding-left: 24px;
}

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

.article-content strong {
  color: #ffffff;
  font-weight: 700;
}

.article-cta-box {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  margin: 40px 0;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.article-cta-box h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 12px;
}

.article-cta-box p {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 0;
}

/* 响应式适配 Responsive */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-btns {
    justify-content: center;
  }

  .features-grid, .articles-grid, .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-banner-box {
    padding: 36px 20px;
  }

  .nav-links {
    display: none;
  }
  
  .menu-btn {
    display: block;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .features-grid, .articles-grid, .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .pricing-row-wrapper {
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
  }
}
