/* 龙猫云 (longmaoyun.cfd) 核心样式表 - 国风黑金霓虹科技风 */
:root {
  --bg-dark: #070913;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --gold-primary: #f59e0b;
  --gold-light: #fef08a;
  --cyan-primary: #06b6d4;
  --cyan-light: #a5f3fc;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border-glow: rgba(245, 158, 11, 0.25);
  --border-cyan: rgba(6, 182, 212, 0.25);
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --radius-lg: 16px;
  --radius-md: 12px;
  --shadow-glow: 0 0 25px rgba(245, 158, 11, 0.15);
  --shadow-cyan: 0 0 25px rgba(6, 182, 212, 0.15);
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-family);
  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: 99999;
}

/* 龙魂粒子背景 Canvas */
#dragon-bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* 容器布局 */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* 导航栏 */
header.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 9, 19, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

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

.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--gold-primary), var(--cyan-primary));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 22px;
  color: #070913;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
}

.logo-text {
  font-size: 1.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, var(--gold-light) 50%, var(--cyan-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.5px;
}

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

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

.nav-links a:hover {
  color: var(--gold-primary);
  text-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* 通用按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-primary) 0%, #d97706 100%);
  color: #070913;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(245, 158, 11, 0.55);
}

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

.btn-secondary:hover {
  background: rgba(6, 182, 212, 0.25);
  transform: translateY(-2px);
  box-shadow: var(--shadow-cyan);
}

.btn-recommend {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.2) 0%, rgba(245, 158, 11, 0.2) 100%);
  color: #ffffff;
  border: 1px solid var(--gold-primary);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.25);
}

.btn-recommend:hover {
  background: linear-gradient(135deg, var(--cyan-primary) 0%, var(--gold-primary) 100%);
  color: #070913;
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.6);
}

/* HERO Section */
.hero {
  padding: 5rem 0 3rem;
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid var(--border-glow);
  border-radius: 50px;
  color: var(--gold-light);
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  letter-spacing: -0.5px;
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 0%, var(--gold-light) 40%, var(--cyan-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto 2.5rem;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.hero-banner-box {
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-glow);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), var(--shadow-glow);
  transition: transform 0.5s ease;
}

.hero-banner-box:hover {
  transform: scale(1.01);
}

.hero-banner-img {
  width: 100%;
  height: auto;
  display: block;
}

/* 核心特性区 */
.features-section {
  padding: 5rem 0;
}

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

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

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

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(12px);
}

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

.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(245, 158, 11, 0.12);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}

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

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

/* 横向一排价格套餐区 (Pricing Section - Single Horizontal Row) */
.pricing-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, rgba(7, 9, 19, 0) 0%, rgba(15, 23, 42, 0.5) 50%, rgba(7, 9, 19, 0) 100%);
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.toggle-label {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}

.toggle-switch {
  position: relative;
  width: 60px;
  height: 30px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.3s;
}

.toggle-switch.active {
  background: var(--gold-primary);
}

.toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  background: #ffffff;
  border-radius: 50%;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toggle-switch.active .toggle-knob {
  transform: translateX(30px);
}

.discount-badge {
  background: rgba(6, 182, 212, 0.2);
  color: var(--cyan-light);
  border: 1px solid var(--border-cyan);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* 一排排版核心核心点：Horizontal Row Grid */
.pricing-row-wrapper {
  overflow-x: auto;
  padding-bottom: 1.5rem;
}

.pricing-row {
  display: flex;
  flex-direction: row;
  gap: 1.25rem;
  justify-content: center;
  align-items: stretch;
  min-width: 1000px; /* 保证桌面上并排一排展示 */
}

.pricing-card {
  flex: 1;
  min-width: 240px;
  max-width: 300px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: var(--cyan-primary);
  box-shadow: var(--shadow-cyan);
}

.pricing-card.featured {
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-glow);
  background: rgba(30, 41, 59, 0.9);
}

.featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold-primary), #d97706);
  color: #070913;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.plan-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.plan-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  height: 40px;
}

.plan-price {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.plan-price span.currency {
  font-size: 1.2rem;
  color: var(--gold-primary);
}

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

.plan-features {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

.plan-features li i {
  color: var(--cyan-primary);
}

.pricing-card .btn {
  width: 100%;
}

/* SEO 文章 & 知识库 Section */
.articles-section {
  padding: 5rem 0;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (max-width: 768px) {
  .articles-grid {
    grid-template-columns: 1fr;
  }
}

.article-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.article-card-img-wrapper {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
  background: #0d1322;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.article-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.article-card:hover .article-card-img {
  transform: scale(1.05);
}

.article-card-content {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

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

.article-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-light);
  background: rgba(245, 158, 11, 0.15);
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 0.8rem;
}

.article-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  line-height: 1.4;
  color: var(--text-main);
}

.article-excerpt {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1rem;
}

.read-btn {
  color: var(--cyan-primary);
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.read-btn:hover {
  color: var(--cyan-light);
  text-decoration: underline;
}

/* 文章全文弹窗阅读器 (Article Modal Reader) */
.article-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(7, 9, 19, 0.92);
  backdrop-filter: blur(20px);
  z-index: 10000;
  overflow-y: auto;
  padding: 3rem 1.5rem;
}

.article-modal-content {
  max-width: 860px;
  margin: 0 auto;
  background: #0e1222;
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.modal-close-btn:hover {
  background: rgba(245, 158, 11, 0.4);
}

.article-body-content {
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-top: 1.5rem;
}

.article-body-content h1, 
.article-body-content h2, 
.article-body-content h3 {
  color: var(--text-main);
  margin: 1.8rem 0 1rem;
}

.article-body-content h2 {
  font-size: 1.5rem;
  border-left: 4px solid var(--gold-primary);
  padding-left: 12px;
}

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

.article-body-content ul {
  margin: 1rem 0 1.5rem 1.5rem;
}

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

.internal-nav-links {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.internal-nav-links h4 {
  color: var(--gold-light);
  font-size: 1.1rem;
}

.internal-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.internal-link-item {
  background: rgba(6, 182, 212, 0.12);
  color: var(--cyan-light);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  text-decoration: none;
  border: 1px solid var(--border-cyan);
  cursor: pointer;
}

.internal-link-item:hover {
  background: rgba(6, 182, 212, 0.3);
}

/* 用户评价 Section (Testimonials) */
.reviews-section {
  padding: 5rem 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
}

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

.user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-primary), var(--cyan-primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #070913;
  font-size: 1.1rem;
}

.user-info h4 {
  font-size: 1rem;
  font-weight: 700;
}

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

.rating-stars {
  color: var(--gold-primary);
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
}

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

/* FAQ 常见问题 Section */
.faq-section {
  padding: 5rem 0;
}

.faq-accordion {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

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

.faq-question {
  padding: 1.25rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.faq-toggle-icon {
  font-size: 1.2rem;
  color: var(--gold-primary);
  transition: transform 0.3s;
}

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

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

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

/* 【核心任务 2：页脚 PBN 权重精准输血管道】 */
footer.site-footer {
  background: #04060c;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3rem 0 2rem;
  text-align: center;
  position: relative;
  z-index: 10;
}

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

.footer-logo {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
}

/* 低调、美观、小字号友情链接区 */
.pbn-links-area {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.pbn-links-label {
  color: rgba(148, 163, 184, 0.6);
  font-size: 0.8rem;
}

.pbn-link-item {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.pbn-link-item:hover {
  color: var(--gold-primary);
  text-decoration: underline;
}

.copyright-text {
  font-size: 0.82rem;
  color: rgba(148, 163, 184, 0.5);
}

/* 响应式适配 (Mobile Responsive) */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.4rem;
  }
  .pricing-row {
    justify-content: flex-start;
  }
  .nav-links {
    display: none; /* 移动端可展开 */
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 1.9rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .article-modal-content {
    padding: 2rem 1.2rem;
  }
}
