/* ==========================================================================
   糖果云 (TangGuo Cloud) - 全局原生 CSS 样式表 (浅色极简高转化率主题)
   ========================================================================== */

/* 1. 全局变量定义 (全新独家薄荷蜜桃暖彩金浅色主题 - 区别于 1 及 2) */
:root {
  --bg-main: #faf8f5;            /* 柔和奶油暖白背景 */
  --bg-card: #ffffff;            /* 纯白卡片背景 */
  --bg-nav: rgba(255, 255, 255, 0.94);
  --bg-alt: #f0f7f4;             /* 浅薄荷气泡分栏背景 */
  
  --text-main: #132a28;          /* 深翡翠黑高对比文字 */
  --text-muted: #3d5855;         /* 暖墨绿沉稳副文本 */
  --text-light: #657e7a;         /* 柔和辅助文字 */
  
  --primary: #0d9488;            /* 品牌薄荷翡翠青 */
  --primary-hover: #0f766e;
  --accent: #f43f5e;             /* 珊瑚水蜜桃粉红 */
  --accent-hover: #e11d48;
  
  --gradient-candy: linear-gradient(135deg, #0d9488 0%, #06b6d4 45%, #f43f5e 100%);
  --gradient-badge: linear-gradient(135deg, #f43f5e 0%, #fb923c 100%);
  --gradient-bg: linear-gradient(180deg, #e6f7f3 0%, #faf8f5 100%);
  
  --border-color: #e2ece9;
  --border-highlight: #99f6e4;
  
  --shadow-sm: 0 2px 4px rgba(13, 148, 136, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(13, 148, 136, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 20px 35px -10px rgba(13, 148, 136, 0.22), 0 10px 15px -8px rgba(0, 0, 0, 0.03);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --max-width: 1200px;
}

/* 2. 基础重置与全局样式 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  background-color: var(--bg-main);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--primary-hover);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* 3. 头部导航 (Navbar) */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-nav);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-candy);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 20px;
  box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
}

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

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

.nav-links a:hover {
  color: var(--primary);
}

/* 4. 按钮组件 (CTA Buttons) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-candy);
  color: #ffffff !important;
  box-shadow: 0 8px 20px -4px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px -4px rgba(99, 102, 241, 0.5);
  opacity: 0.95;
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-main) !important;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary) !important;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 18px;
  font-weight: 700;
}

.btn-full {
  width: 100%;
}

/* 5. 区域通用排版 */
.section {
  padding: 80px 0;
}

.section-alt {
  background-color: var(--bg-alt);
}

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

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: #ccfbf1;
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.section-title {
  font-size: 34px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

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

/* 6. 主视觉区 (Hero Section) */
.hero {
  padding: 80px 0 70px 0;
  background: var(--gradient-bg);
  position: relative;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  text-align: left;
  margin-bottom: 50px;
}

.hero-content {
  flex: 1;
}

.hero-visual {
  flex: 0 0 360px;
  max-width: 100%;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px -10px rgba(99, 102, 241, 0.3), 0 10px 20px -5px rgba(236, 72, 153, 0.25);
  border: 4px solid #ffffff;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  background: #ffffff;
}

.hero-image-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 30px 50px -10px rgba(99, 102, 241, 0.4), 0 15px 30px -5px rgba(236, 72, 153, 0.35);
}

.hero-img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--border-highlight);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

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

.hero-title span {
  background: var(--gradient-candy);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 0 36px 0;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  justify-content: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
  max-width: 900px;
  margin: 0 auto;
}

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

.stat-num {
  font-size: 26px;
  font-weight: 800;
  color: var(--primary);
}

.stat-desc {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 4px;
}

/* 7. 产品核心优势区 (Core Advantages) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

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

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

.feature-icon {
  width: 54px;
  height: 54px;
  background: #e6f7f3;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
  color: var(--primary);
}

.feature-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

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

/* 8. 流媒体与 AI 支持区 (Streaming & AI) */
.unlock-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.unlock-card {
  background: var(--bg-card);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.unlock-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.unlock-icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.unlock-name {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.unlock-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: #fce7f3;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

/* 9. 套餐价格对比表 (Pricing Section) */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.pricing-card.featured {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}

.pricing-card.featured:hover {
  transform: scale(1.05);
}

.badge-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-candy);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 18px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(236, 72, 153, 0.3);
}

.plan-name {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 10px;
}

.plan-desc {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 24px;
}

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

.plan-price span {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-light);
}

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

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

.plan-features li::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: #dcfce7;
  color: #16a34a;
  font-size: 12px;
  font-weight: 800;
  border-radius: 50%;
}

/* 10. 用户评价区 (Testimonials) */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.review-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.review-stars {
  color: #f59e0b;
  font-size: 16px;
  margin-bottom: 14px;
}

.review-content {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gradient-candy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
}

.author-info h4 {
  font-size: 15px;
  font-weight: 700;
}

.author-info p {
  font-size: 13px;
  color: var(--text-light);
}

/* 11. 常见问题解答 (FAQ) */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-question::before {
  content: "Q";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: #ccfbf1;
  color: var(--primary);
  font-size: 14px;
  font-weight: 800;
  border-radius: 6px;
}

.faq-answer {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
  padding-left: 36px;
}

/* 12. 极简页脚 (Minimal Footer) */
.footer {
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  padding: 40px 0;
  text-align: center;
}

.footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin-bottom: 20px;
}

.footer-nav a {
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 600;
}

.footer-nav a:hover {
  color: var(--primary);
}

.footer-copyright {
  font-size: 13px;
  color: var(--text-light);
}

/* 13. 独立页面样式 (Legal / Info Pages) */
.page-header {
  padding: 60px 0 40px 0;
  background: var(--gradient-bg);
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.page-title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
}

.page-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 40px;
  margin: 50px auto;
  max-width: 900px;
  box-shadow: var(--shadow-sm);
}

.page-content h2 {
  font-size: 22px;
  margin: 30px 0 14px 0;
  color: var(--text-main);
  border-bottom: 2px solid var(--border-alt, #f1f5f9);
  padding-bottom: 8px;
}

.page-content h2:first-child {
  margin-top: 0;
}

.page-content p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.page-content ul {
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--text-muted);
}

.page-content li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* 14. 响应式媒体查询 (@media Queries for Mobile & Tablet) */
@media (max-width: 992px) {
  .hero-title {
    font-size: 38px;
  }
  
  .features-grid,
  .pricing-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .unlock-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .pricing-card.featured {
    transform: none;
  }
  
  .pricing-card.featured:hover {
    transform: translateY(-5px);
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 14px;
  }
  
  .nav-links {
    gap: 16px;
    font-size: 14px;
  }
  
  .hero {
    padding: 50px 0 40px 0;
  }
  
  .hero-container {
    flex-direction: column;
    text-align: center;
    gap: 32px;
    margin-bottom: 36px;
  }

  .hero-subtitle {
    margin: 0 auto 30px auto;
  }

  .hero-visual {
    flex: none;
    width: 280px;
    margin: 0 auto;
  }

  .hero-img {
    height: 280px;
  }
  
  .hero-title {
    font-size: 30px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .hero-cta {
    flex-direction: column;
    justify-content: center;
    width: 100%;
  }
  
  .btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 16px;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }
  
  .features-grid,
  .unlock-grid,
  .pricing-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .section {
    padding: 50px 0;
  }
  
  .section-title {
    font-size: 26px;
  }

  .footer-nav {
    flex-direction: column;
    gap: 16px;
  }

  .page-content {
    padding: 24px;
    margin: 24px auto;
  }
}

/* 15. 推荐资讯网格卡片 (High-Tech Grid Cards) 样式 */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-highlight);
}

.news-card-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  background: #ccfbf1;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  align-self: flex-start;
}

.news-card-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 12px;
}

.news-card-title a {
  color: var(--text-main);
}

.news-card-title a:hover {
  color: var(--primary);
}

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

.news-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
  font-size: 13px;
  color: var(--text-light);
}

.news-card-readmore {
  color: var(--primary);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.news-card-readmore:hover {
  color: var(--accent);
}

/* 16. 单一返回推荐资讯按钮与 SEO 文章详情页 */
.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: #ccfbf1;
  color: var(--primary) !important;
  font-weight: 700;
  font-size: 14px;
  border-radius: var(--radius-full);
  margin-bottom: 28px;
  transition: all 0.25s ease;
  border: 1px solid var(--border-highlight);
}

.btn-back:hover {
  background: var(--primary);
  color: #ffffff !important;
  transform: translateX(-4px);
}

.article-container {
  max-width: 860px;
  margin: 40px auto 60px auto;
  padding: 0 20px;
}

.article-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-sm);
}

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

.article-title {
  font-size: 32px;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 16px;
}

.article-info {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  color: var(--text-light);
  flex-wrap: wrap;
}

.article-info span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-body {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
}

.article-body h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
  margin: 36px 0 16px 0;
  border-left: 4px solid var(--primary);
  padding-left: 12px;
}

.article-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin: 24px 0 12px 0;
}

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

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

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

.article-body blockquote {
  background: #e6f7f3;
  border-left: 4px solid var(--primary);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin: 24px 0;
  font-style: italic;
  color: var(--text-main);
}

.seo-link-box {
  background: #f0f7f4;
  border: 1px dashed var(--primary);
  padding: 20px;
  border-radius: var(--radius-md);
  margin: 30px 0;
}

.seo-link-box p {
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-main);
}

@media (max-width: 992px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
  .article-wrapper {
    padding: 24px;
  }
  .article-title {
    font-size: 24px;
  }
}

