/* ==========================================================================
   绿叶green加速器 - 官方样式系统 (Pure Vanilla CSS)
   ========================================================================== */

:root {
  --primary-orange: #ff7a18;
  --primary-hover: #ff5f00;
  --primary-gradient: linear-gradient(135deg, #ff8c2b 0%, #ff5e13 100%);
  --secondary-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --accent-green: #10b981;
  --accent-green-light: #e6f7ef;
  --bg-warm: #fff9f5;
  --bg-gradient: radial-gradient(circle at 80% 20%, rgba(255, 235, 222, 0.7) 0%, rgba(255, 249, 245, 1) 60%),
                 radial-gradient(circle at 10% 80%, rgba(255, 225, 205, 0.4) 0%, rgba(255, 249, 245, 1) 70%);
  --card-bg: rgba(255, 255, 255, 0.85);
  --card-border: rgba(255, 195, 150, 0.35);
  --text-main: #2b1d14;
  --text-muted: #6b584d;
  --text-light: #9c8a7e;
  --border-light: #fae8dc;
  --shadow-sm: 0 4px 12px rgba(230, 120, 50, 0.08);
  --shadow-md: 0 10px 25px rgba(220, 100, 30, 0.12);
  --shadow-lg: 0 20px 40px rgba(220, 90, 20, 0.16);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-family);
  background-color: var(--bg-warm);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg-gradient);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* 容器与布局 */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 90px 0;
  position: relative;
}

/* 头部导航 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 249, 245, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 215, 185, 0.4);
  transition: all 0.3s ease;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.brand-logo:hover {
  transform: scale(1.04);
}

.brand-logo:active {
  transform: scale(0.96);
}

.logo-icon-svg {
  width: 36px;
  height: 36px;
  display: block;
}

.brand-name {
  font-size: 21px;
  font-weight: 800;
  color: #1e1e1e;
  letter-spacing: -0.3px;
}

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

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

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

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: var(--primary-orange);
  transition: width 0.25s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

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

/* 按钮通用风格 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.btn-primary {
  background: var(--primary-gradient);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 20px rgba(255, 110, 20, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(255, 110, 20, 0.42);
  filter: brightness(1.04);
}

.btn-primary:active {
  transform: translateY(1px);
}

.btn-outline {
  background: #ffffff;
  color: var(--primary-orange);
  border: 1.5px solid rgba(255, 130, 30, 0.4);
}

.btn-outline:hover {
  background: #fff4ec;
  border-color: var(--primary-orange);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 130, 30, 0.15);
}

.btn-badge-special {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.28);
}

.btn-badge-special:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(16, 185, 129, 0.38);
}

/* 主视觉区 (Hero Section) */
.hero-section {
  padding: 60px 0 100px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 50px;
}

.hero-platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: #fff0e5;
  border: 1px solid rgba(255, 140, 50, 0.25);
  color: #ff6818;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.hero-title {
  font-size: 54px;
  line-height: 1.15;
  font-weight: 900;
  color: #24140b;
  margin-bottom: 22px;
  letter-spacing: -1px;
}

.hero-title span {
  display: inline-block;
}

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

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
}

.hero-guarantee {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13.5px;
  color: var(--text-light);
}

.hero-guarantee span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 视觉右侧动态卡片展示 */
.hero-visual-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-card-display {
  position: relative;
  width: 100%;
  max-width: 510px;
  background: linear-gradient(145deg, #ffe0cc 0%, #ffeedd 50%, #fff7f0 100%);
  border-radius: 36px;
  padding: 24px;
  box-shadow: 0 25px 60px rgba(230, 110, 30, 0.18);
  border: 2px solid rgba(255, 255, 255, 0.85);
  overflow: hidden;
}

/* 浮动与流光元素 */
.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 200, 160, 0.4);
  z-index: 10;
  animation: floatAnim 4s ease-in-out infinite alternate;
}

.badge-top-right {
  top: 18px;
  right: 18px;
}

.badge-bottom-left {
  bottom: 22px;
  left: 18px;
  animation-delay: -2s;
}

@keyframes floatAnim {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-8px); }
}

.mock-device-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 16px 8px;
}

.mock-phone {
  background: #ffffff;
  border-radius: 26px;
  border: 4px solid #f6d8c4;
  padding: 20px 14px;
  box-shadow: 0 15px 35px rgba(220, 100, 20, 0.15);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.mock-power-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff9447 0%, #ff5d14 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin: 18px 0;
  box-shadow: 0 0 24px rgba(255, 100, 20, 0.45);
  animation: pulseGlow 2.5s infinite;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(255, 110, 20, 0.5); }
  70% { box-shadow: 0 0 0 16px rgba(255, 110, 20, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 110, 20, 0); }
}

.mock-node-card {
  width: 100%;
  background: #fff6ee;
  border-radius: 12px;
  padding: 10px;
  margin-top: 10px;
  font-size: 12px;
  color: #64493a;
  text-align: left;
  border: 1px dashed #ffcaa4;
}

.node-status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  margin-right: 4px;
}

/* 章节头部通用 */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

.section-tag {
  display: inline-block;
  padding: 5px 16px;
  background: #ffebe0;
  color: var(--primary-orange);
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

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

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

/* 核心优势板块 (3个卡片) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-gradient);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 140, 50, 0.5);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: #fff0e2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 24px;
  color: var(--primary-orange);
}

.feature-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
}

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

/* 流媒体与 AI 支持图卡 */
.support-media-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.support-item-card {
  background: #ffffff;
  border: 1px solid rgba(255, 215, 185, 0.6);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.support-item-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-orange);
  box-shadow: var(--shadow-md);
}

.support-badge-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.support-info h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 2px;
}

.support-info p {
  font-size: 12.5px;
  color: var(--text-muted);
}

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

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

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

.pricing-card.popular {
  border-color: var(--primary-orange);
  background: linear-gradient(180deg, #ffffff 0%, #fff7f2 100%);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
  z-index: 2;
}

.pricing-card.popular:hover {
  transform: scale(1.05) translateY(-4px);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-gradient);
  color: #fff;
  padding: 4px 18px;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(255, 100, 20, 0.35);
}

.plan-name {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-main);
}

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

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 24px;
}

.currency {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-orange);
}

.amount {
  font-size: 46px;
  font-weight: 900;
  color: var(--primary-orange);
  line-height: 1;
}

.period {
  font-size: 14px;
  color: var(--text-light);
}

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

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

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

/* 12篇 SEO 文章专区 */
.articles-section {
  background: rgba(255, 255, 255, 0.5);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

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

.article-card {
  background: #ffffff;
  border: 1px solid rgba(255, 220, 195, 0.6);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
}

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

.article-category {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 10px;
  background: #fff2e8;
  color: var(--primary-orange);
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  margin-bottom: 12px;
}

.article-title {
  font-size: 17.5px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-snippet {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
  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: 12.5px;
  color: var(--text-light);
  border-top: 1px solid #f6eee8;
  padding-top: 12px;
}

.article-read-more {
  color: var(--primary-orange);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* 用户评价板块 */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: #ffffff;
  border: 1px solid rgba(255, 220, 195, 0.5);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}

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

.review-text {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 18px;
}

.reviewer-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffe3d1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary-orange);
}

.reviewer-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
}

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

/* 常见问题 FAQ 手风琴 */
.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid rgba(255, 220, 195, 0.6);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  background: none;
  border: none;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--primary-orange);
}

.faq-icon {
  font-size: 20px;
  transition: transform 0.3s ease;
}

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

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

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: 22px;
  transition: max-height 0.35s ease-in;
}

/* 右侧章节悬浮指示器与上下切换按钮 */
.floating-section-navigator {
  position: fixed;
  right: 24px;
  bottom: 80px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 999;
}

.nav-arrow-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(255, 140, 50, 0.35);
  box-shadow: 0 6px 18px rgba(230, 90, 20, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--primary-orange);
  font-size: 18px;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  user-select: none;
}

.nav-arrow-btn:hover {
  background: var(--primary-orange);
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(255, 110, 20, 0.32);
}

.nav-arrow-btn:active {
  transform: scale(0.92);
}

/* 页脚区域 */
.site-footer {
  background: #20150f;
  color: #ded1c8;
  padding: 70px 0 35px;
  border-top: 3px solid var(--primary-orange);
}

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

.footer-nav-link {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
  padding: 6px 12px;
  border-radius: 6px;
}

.footer-nav-link:hover {
  color: var(--primary-orange);
  background: rgba(255, 255, 255, 0.05);
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 30px;
}

/* 页脚 PBN 外链与版权 */
.footer-pbn-statement {
  text-align: center;
  font-size: 14px;
  color: #b5a59a;
  line-height: 1.8;
}

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

.pbn-link {
  color: #ff9852;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px dashed rgba(255, 152, 82, 0.5);
  transition: all 0.2s ease;
}

.pbn-link:hover {
  color: #ffffff;
  border-bottom-style: solid;
}

.copyright-text {
  font-size: 13px;
  color: #8c7b70;
}

/* 响应式媒体查询 (移动端优先与单栏优化) */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

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

  .hero-cta-group {
    justify-content: center;
  }

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

  .features-grid,
  .pricing-grid,
  .articles-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pricing-card.popular {
    transform: none;
  }

  .pricing-card.popular:hover {
    transform: translateY(-4px);
  }

  .support-media-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .floating-section-navigator {
    right: 14px;
    bottom: 24px;
  }
}

@media (max-width: 768px) {
  .site-header .container {
    height: 64px;
  }

  .nav-links {
    display: none;
  }

  .hero-title {
    font-size: 34px;
  }

  .btn {
    width: 100%;
    padding: 14px 20px;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .support-media-grid {
    grid-template-columns: 1fr;
  }

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