/* ==========================================================================
   良心云 (Liangxinyun) 官方落地页 - 样式设计系统
   主题配色：高质感青色 / 碧绿科技渐变 (Teal & Cyan Tech Theme)
   ========================================================================== */

:root {
  /* 核心颜色变量 */
  --primary-cyan: #06b6d4;
  --cyan-light: #22d3ee;
  --cyan-dark: #0891b2;
  --cyan-deep: #155e75;
  --cyan-glow: rgba(6, 182, 212, 0.4);
  --cyan-bg-light: #ecfeff;
  --cyan-gradient: linear-gradient(135deg, #06b6d4 0%, #0891b2 50%, #0f766e 100%);
  --cyan-accent-gradient: linear-gradient(90deg, #22d3ee, #06b6d4, #14b8a6);
  
  /* 暗调/光效背景变量 */
  --bg-main: #0b1329;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(21, 36, 64, 0.85);
  --border-cyan: rgba(6, 182, 212, 0.25);
  --border-cyan-bright: rgba(34, 211, 238, 0.6);
  
  /* 字体颜色 */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-sub: #cbd5e1;
  --text-cyan: #22d3ee;
  
  /* 基础设计规格 */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-glow: 0 0 25px rgba(6, 182, 212, 0.25);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --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: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

body {
  position: relative;
  background: radial-gradient(circle at 50% 0%, #0d2838 0%, #0b1329 70%);
  min-height: 100vh;
}

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

/* 通用容器与工具类 */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  color: var(--text-cyan);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--cyan-light);
  text-shadow: 0 0 8px var(--cyan-glow);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  gap: 8px;
}

.btn-primary {
  background: var(--cyan-gradient);
  color: #ffffff;
  box-shadow: 0 4px 20px var(--cyan-glow);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(34, 211, 238, 0.5);
  color: #ffffff;
}

.btn-outline {
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid var(--border-cyan-bright);
  color: var(--cyan-light);
}

.btn-outline:hover {
  background: rgba(6, 182, 212, 0.25);
  box-shadow: 0 0 15px var(--cyan-glow);
  color: #ffffff;
}

.btn-recommend {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-recommend:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(16, 185, 129, 0.5);
}

.badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  background: rgba(6, 182, 212, 0.15);
  color: var(--cyan-light);
  border: 1px solid var(--border-cyan);
}

/* 顶部通知栏 */
.top-notice-bar {
  background: linear-gradient(90deg, rgba(6, 182, 212, 0.2), rgba(15, 23, 42, 0.9), rgba(6, 182, 212, 0.2));
  border-bottom: 1px solid var(--border-cyan);
  padding: 8px 0;
  font-size: 13px;
  text-align: center;
  color: var(--text-sub);
}

.top-notice-bar span {
  color: var(--cyan-light);
  font-weight: bold;
}

/* 顶部导航 Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 19, 41, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-cyan);
}

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

.logo-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--cyan-gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  box-shadow: 0 0 15px var(--cyan-glow);
}

.logo-text {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: var(--cyan-accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav-menu a {
  color: var(--text-sub);
  font-size: 15px;
  font-weight: 500;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--cyan-light);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 24px;
  cursor: pointer;
}

/* Hero Banner 区域 */
.hero-section {
  padding: 80px 0 50px;
  position: relative;
  text-align: center;
}

.hero-content {
  max-width: 850px;
  margin: 0 auto;
}

.hero-title {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.25;
  margin: 20px 0;
  letter-spacing: -1px;
}

.hero-title .highlight {
  background: var(--cyan-accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 35px;
  line-height: 1.7;
}

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

/* 华纳云参考风格 - 浮动咨询框弹窗 */
.hero-consult-card {
  max-width: 480px;
  margin: 0 auto 50px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border-cyan-bright);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: 0 10px 30px var(--cyan-glow);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.hero-consult-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--cyan-accent-gradient);
}

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

.consult-title {
  font-weight: 700;
  font-size: 18px;
  color: var(--cyan-light);
}

.consult-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* 核心要求：价格卡片一排横向平铺展示 ("价格格式你帮我弄成一排") */
.pricing-section {
  padding: 40px 0 60px;
}

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

.section-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
}

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

/* 横向一排价格网格 */
.pricing-grid-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.price-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-cyan-bright);
  box-shadow: var(--shadow-glow);
  background: var(--bg-card-hover);
}

.price-card.featured {
  border-color: var(--cyan-light);
  background: rgba(15, 30, 55, 0.9);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
}

.card-tag {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--cyan-gradient);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 10px;
  box-shadow: 0 2px 8px var(--cyan-glow);
}

.price-header {
  border-bottom: 1px dashed var(--border-cyan);
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.price-name {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.price-val {
  font-size: 30px;
  font-weight: 900;
  color: var(--cyan-light);
}

.price-unit {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: normal;
}

.price-features {
  list-style: none;
  margin-bottom: 24px;
  flex-grow: 1;
}

.price-features li {
  font-size: 13px;
  color: var(--text-sub);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-features li i {
  color: var(--cyan-light);
}

/* 核心优势板块 */
.features-section {
  padding: 60px 0;
  background: rgba(15, 23, 42, 0.4);
  border-top: 1px solid rgba(6, 182, 212, 0.15);
  border-bottom: 1px solid rgba(6, 182, 212, 0.15);
}

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

.feature-item {
  background: var(--bg-card);
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: var(--transition);
}

.feature-item:hover {
  transform: translateY(-5px);
  border-color: var(--border-cyan-bright);
  box-shadow: 0 8px 25px rgba(6, 182, 212, 0.2);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: rgba(6, 182, 212, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--cyan-light);
  margin-bottom: 18px;
  border: 1px solid var(--border-cyan);
}

.feature-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 14px;
  color: var(--text-muted);
}

/* SEO 文章预读网格 (Articles Section) */
.articles-section {
  padding: 70px 0;
}

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

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

.article-card:hover {
  border-color: var(--cyan-light);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(6, 182, 212, 0.2);
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.article-title {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.4;
}

.article-excerpt {
  font-size: 13px;
  color: var(--text-sub);
  margin-bottom: 20px;
  line-height: 1.6;
}

.article-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--cyan-light);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* 用户评价 Section */
.testimonials-section {
  padding: 60px 0;
  background: rgba(15, 23, 42, 0.3);
}

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

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

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

.user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cyan-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #fff;
  font-size: 16px;
}

.user-name {
  font-weight: 700;
  font-size: 15px;
}

.user-role {
  font-size: 12px;
  color: var(--text-muted);
}

.star-rating {
  color: #f59e0b;
  margin-bottom: 12px;
  font-size: 14px;
}

.comment-text {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.6;
}

/* FAQ 常见问题手风琴 Section */
.faq-section {
  padding: 70px 0;
}

.faq-container {
  max-width: 840px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  overflow: hidden;
  transition: var(--transition);
}

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

.faq-answer {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-muted);
  display: none;
  border-top: 1px solid rgba(6, 182, 212, 0.1);
  margin-top: 8px;
  padding-top: 14px;
}

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

.faq-item.active {
  border-color: var(--cyan-light);
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.15);
}

.faq-icon {
  transition: transform 0.3s;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--cyan-light);
}

/* 文章详情页专用样式 */
.article-detail-page {
  padding: 60px 0 100px;
}

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

.article-header-title {
  font-size: 36px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.3;
}

.article-header-meta {
  color: var(--text-muted);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.article-body-content {
  background: var(--bg-card);
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-md);
  padding: 40px;
  font-size: 16px;
  line-height: 1.8;
  color: #e2e8f0;
  margin-bottom: 40px;
}

.article-body-content h2 {
  font-size: 24px;
  color: var(--cyan-light);
  margin: 32px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-cyan);
}

.article-body-content h3 {
  font-size: 20px;
  color: #fff;
  margin: 24px 0 12px;
}

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

.article-body-content ul, .article-body-content ol {
  margin: 0 0 20px 24px;
}

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

.article-cta-box {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.15) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid var(--cyan-light);
  border-radius: var(--radius-md);
  padding: 30px;
  text-align: center;
  margin: 40px 0;
  box-shadow: 0 0 25px var(--cyan-glow);
}

.related-articles-box {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-md);
  padding: 28px;
}

.related-articles-box h3 {
  font-size: 20px;
  color: var(--cyan-light);
  margin-bottom: 16px;
}

.related-links-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.related-links-list a {
  color: var(--text-sub);
  display: block;
  padding: 8px 12px;
  background: rgba(6, 182, 212, 0.05);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(6, 182, 212, 0.15);
}

.related-links-list a:hover {
  background: rgba(6, 182, 212, 0.15);
  color: var(--cyan-light);
  border-color: var(--cyan-light);
}

/* ==========================================================================
   【核心任务 2：页脚 PBN 权重精准输血管道】
   要求：
   - <footer> 标签，水平居中排版
   - 包含两个真实 URL 超链接：
     1. jichangguide.net (锚文本：机场测评)
     2. clashx.club (锚文本：机场教程)
   - target="_blank"，绝对禁止 rel="nofollow"，全 dofollow
   - 低调、美观、小字号，与原页面深度融合
   ========================================================================== */
.site-footer {
  background: #060b17;
  border-top: 1px solid var(--border-cyan);
  padding: 40px 0 30px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--text-sub);
}

/* PBN 友情链接输血专区 */
.pbn-links-area {
  margin: 18px auto;
  padding: 12px 20px;
  max-width: 600px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(6, 182, 212, 0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 12px;
}

.pbn-title {
  color: var(--text-muted);
  font-weight: 500;
}

.pbn-link {
  color: rgba(34, 211, 238, 0.85);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.pbn-link:hover {
  color: #ffffff;
  text-shadow: 0 0 10px var(--cyan-light);
}

.copyright {
  color: var(--text-muted);
  font-size: 12px;
  margin-top: 15px;
}

/* 响应式调整 (Mobile Adaptation) */
@media (max-width: 1024px) {
  .pricing-grid-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .articles-grid, .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .related-links-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 32px;
  }
  .hero-subtitle {
    font-size: 15px;
  }
  .pricing-grid-row {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .articles-grid, .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(11, 19, 41, 0.98);
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--border-cyan);
  }
  .nav-menu.show {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
  .pbn-links-area {
    flex-direction: row;
    gap: 12px;
  }
}
