/* 奈云 (Naiyun) 梦想云主题全套样式 - Dream Cloud Aesthetic */
:root {
  --primary: #7000ff;
  --primary-light: #9d4edd;
  --secondary: #00f0ff;
  --secondary-glow: rgba(0, 240, 255, 0.4);
  --accent: #ff007f;
  --bg-dark: #0a0814;
  --bg-card: rgba(20, 16, 38, 0.65);
  --bg-card-hover: rgba(32, 26, 58, 0.85);
  --text-main: #f0f2fe;
  --text-muted: #9499c3;
  --border-color: rgba(112, 0, 255, 0.25);
  --border-glow: rgba(0, 240, 255, 0.5);
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  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 */
#mouse-trail-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
}

/* 梦想云背景梦幻星云与浮云 */
.dream-cloud-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.cloud-blob {
  position: absolute;
  filter: blur(90px);
  opacity: 0.35;
  border-radius: 50%;
  animation: floatCloud 20s infinite alternate cubic-bezier(0.45, 0.05, 0.55, 0.95);
}

.cloud-blob-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #7000ff 0%, transparent 70%);
  top: -100px;
  left: -100px;
}

.cloud-blob-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #00f0ff 0%, transparent 70%);
  top: 40%;
  right: -150px;
  animation-delay: -7s;
}

.cloud-blob-3 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #ff007f 0%, transparent 70%);
  bottom: -100px;
  left: 20%;
  animation-delay: -12s;
}

@keyframes floatCloud {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.1); }
  100% { transform: translate(-40px, 80px) scale(0.95); }
}

/* 容器限制 */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
  background: rgba(10, 8, 20, 0.7);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

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

.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px var(--secondary-glow);
}

.logo-text {
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(90deg, #ffffff 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}

.logo-tag {
  font-size: 11px;
  background: rgba(0, 240, 255, 0.15);
  color: var(--secondary);
  padding: 2px 8px;
  border-radius: 20px;
  border: 1px solid var(--secondary);
  text-transform: uppercase;
  font-weight: 600;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--secondary);
  text-shadow: 0 0 10px var(--secondary-glow);
}

.btn-cta {
  background: linear-gradient(135deg, var(--primary) 0%, #00c3ff 100%);
  color: #fff;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 0 25px rgba(112, 0, 255, 0.5);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 35px var(--secondary-glow);
  background: linear-gradient(135deg, #8b1dff 0%, #00f0ff 100%);
}

.btn-cta-glow {
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 15px rgba(0, 240, 255, 0.4); }
  50% { box-shadow: 0 0 30px rgba(112, 0, 255, 0.8), 0 0 40px rgba(0, 240, 255, 0.6); }
  100% { box-shadow: 0 0 15px rgba(0, 240, 255, 0.4); }
}

/* Hero Section */
.hero {
  padding: 160px 0 90px;
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(112, 0, 255, 0.15);
  border: 1px solid var(--border-color);
  border-radius: 30px;
  color: var(--secondary);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 56px;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #ffffff 30%, #c4b5fd 70%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  padding: 12px 28px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: var(--transition);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--secondary);
  color: var(--secondary);
}

/* Feature stats bar */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(12px);
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 4px;
}

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

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  color: var(--secondary);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 38px;
  font-weight: 800;
  color: #fff;
}

/* Key Features Grid */
.features-section {
  padding: 90px 0;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-glow);
  box-shadow: 0 15px 35px rgba(0, 240, 255, 0.15);
  background: var(--bg-card-hover);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: rgba(112, 0, 255, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--secondary);
  border: 1px solid rgba(0, 240, 255, 0.3);
}

.feature-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

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

/* 核心要求：价格格式弄成一排 (Horizontal Pricing Row) */
.pricing-section {
  padding: 90px 0;
  position: relative;
}

.pricing-row-container {
  display: flex;
  gap: 24px;
  justify-content: space-between;
  align-items: stretch;
  overflow-x: auto;
  padding: 20px 5px 30px;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) transparent;
}

.pricing-row-container::-webkit-scrollbar {
  height: 6px;
}

.pricing-row-container::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 10px;
}

.pricing-card {
  flex: 1;
  min-width: 260px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: var(--transition);
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: var(--secondary);
  box-shadow: 0 20px 40px rgba(112, 0, 255, 0.3);
}

.pricing-card.featured {
  background: linear-gradient(180deg, rgba(112, 0, 255, 0.25) 0%, rgba(20, 16, 38, 0.8) 100%);
  border: 2px solid var(--secondary);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.25);
}

.featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #ff007f 0%, var(--primary) 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

.plan-name {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.plan-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
  min-height: 38px;
}

.plan-price {
  font-size: 36px;
  font-weight: 900;
  color: var(--secondary);
  margin-bottom: 24px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.plan-price span {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 400;
}

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

.plan-features li {
  font-size: 14px;
  color: var(--text-main);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-features li svg {
  color: var(--secondary);
  flex-shrink: 0;
}

.btn-plan {
  width: 100%;
  text-align: center;
  padding: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 700;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.pricing-card.featured .btn-plan,
.btn-plan:hover {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 20px var(--secondary-glow);
}

/* SEO 文章板块 (Blog & Articles Grid) */
.articles-section {
  padding: 90px 0;
  background: rgba(15, 12, 30, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.article-card:hover {
  transform: translateY(-6px);
  border-color: var(--secondary);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.article-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-tag {
  display: inline-block;
  color: var(--secondary);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}

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

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

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

.article-excerpt {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.read-more {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.read-more:hover {
  text-decoration: underline;
}

/* 用户评价 (Testimonials) */
.testimonials-section {
  padding: 90px 0;
}

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

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
}

.stars {
  color: #ffb800;
  margin-bottom: 16px;
  font-size: 16px;
}

.testimonial-content {
  font-size: 15px;
  color: var(--text-main);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

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

.user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
}

.user-details h4 {
  font-size: 15px;
  color: #fff;
  font-weight: 700;
}

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

/* FAQ 常见问题 */
.faq-section {
  padding: 90px 0;
  background: rgba(15, 12, 30, 0.4);
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
}

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

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

.faq-question svg {
  transition: transform 0.3s ease;
  color: var(--secondary);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

/* 【核心任务 2：页脚 PBN 权重精准输血管道】 */
footer {
  background: #06040d;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 60px 0 30px;
  text-align: center;
  position: relative;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}

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

/* 友情链接与 PBN 输血管道区 */
.pbn-links-wrapper {
  margin-top: 20px;
  padding-top: 24px;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  width: 100%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.pbn-title {
  font-size: 12px;
  color: rgba(148, 153, 195, 0.6);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pbn-links-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.pbn-link-item {
  color: rgba(148, 153, 195, 0.7);
  font-size: 12px;
  text-decoration: none;
  transition: var(--transition);
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.pbn-link-item:hover {
  color: var(--secondary);
  border-color: var(--secondary);
  background: rgba(0, 240, 255, 0.08);
}

.footer-copyright {
  font-size: 13px;
  color: rgba(148, 153, 195, 0.5);
}

/* 移动端适配 Responsive Styles */
@media (max-width: 1024px) {
  .features-grid,
  .articles-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 36px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }

  .nav-links {
    display: none;
  }

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

  .hero-stats {
    grid-template-columns: 1fr;
  }

  /* 移动端价格一排仍然可通过滑动保持一排且体验优异 */
  .pricing-row-container {
    justify-content: flex-start;
  }
}
