/* 狗狗加速 - 极简高能浅色主题样式表 (Pure Native CSS) */

:root {
  --bg-main: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-subtle: #F1F5F9;
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --primary-color: #2563EB;
  --primary-hover: #1D4ED8;
  --primary-light: #EFF6FF;
  --accent-orange: #FF6B00;
  --accent-orange-hover: #E05D00;
  --accent-green: #10B981;
  --border-color: #E2E8F0;
  --border-hover: #CBD5E1;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 24px -4px rgba(15, 23, 42, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --container-max: 1200px;
}

/* 基础重置与规范 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 统一布局容器 */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* 通用按钮规范 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  border: 1px solid transparent;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--accent-orange);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(255, 107, 0, 0.3);
}

.btn-primary:hover {
  background-color: var(--accent-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.18));
}

.btn:hover .btn-icon {
  transform: translateY(-2px) scale(1.18) rotate(-6deg);
}

.btn-secondary {
  background-color: var(--primary-light);
  color: var(--primary-color);
  border-color: #BFDBFE;
}

.btn-secondary:hover {
  background-color: #DBEAFE;
  color: var(--primary-hover);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.125rem;
  border-radius: var(--radius-lg);
}

/* 导航栏 Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.logo-img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 3px 10px rgba(255, 107, 0, 0.25);
  border: 1.5px solid #FFFFFF;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo:hover .logo-img {
  transform: scale(1.08) rotate(-4deg);
}

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

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

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

/* 版块结构通用样式 */
.section {
  padding: 96px 0;
}

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

.section-title-wrap {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px auto;
}

.section-tag {
  display: inline-block;
  padding: 6px 14px;
  background-color: var(--primary-light);
  color: var(--primary-color);
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.8px;
}

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

/* 1. Hero 主视觉区 */
.hero {
  padding: 80px 0 100px 0;
  text-align: center;
  background: radial-gradient(circle at 50% 0%, #EFF6FF 0%, #F8FAFC 70%);
}

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

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

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 24px;
  letter-spacing: -1.5px;
}

.hero-title span {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.hero-features-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
  margin-bottom: 40px;
}

.hero-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.15), var(--shadow-lg);
  border: 4px solid #FFFFFF;
  max-width: 900px;
  margin: 0 auto;
  transition: transform 0.3s ease;
}

.hero-image-wrap:hover {
  transform: translateY(-4px);
}

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

.feature-tag-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.feature-tag-item .icon-check {
  color: var(--accent-green);
  font-weight: 900;
}

/* 2. 核心优势 */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

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

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

.adv-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.adv-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.adv-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* 3. 流媒体与 AI 支持 */
.media-ai-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.media-card {
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  padding: 28px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.2s ease;
}

.media-card:hover {
  background: #FFFFFF;
  border-color: #BFDBFE;
  box-shadow: var(--shadow-md);
}

.media-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.media-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: bold;
}

.badge-netflix { background: #FEE2E2; color: #DC2626; }
.badge-disney { background: #DBEAFE; color: #1D4ED8; }
.badge-youtube { background: #FFE4E6; color: #E11D48; }
.badge-openai { background: #D1FAE5; color: #059669; }
.badge-claude { background: #FEF3C7; color: #D97706; }
.badge-gaming { background: #EDE9FE; color: #6D28D9; }

.media-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.media-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

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

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

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

.pricing-card.popular {
  border: 2px solid var(--primary-color);
  box-shadow: 0 12px 36px rgba(37, 99, 235, 0.18);
}

.popular-badge {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #FF6B00 0%, #FF8800 100%);
  color: #FFFFFF;
  padding: 7px 20px;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 6px 18px rgba(255, 107, 0, 0.4), 0 2px 6px rgba(0, 0, 0, 0.1);
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

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

.plan-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

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

.plan-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.plan-price {
  font-size: 3rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
}

.plan-unit {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.plan-features {
  list-style: none;
  margin-bottom: 32px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.plan-features li .check-icon {
  color: var(--accent-green);
  font-weight: 900;
  font-size: 1.1rem;
}

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

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

.review-stars {
  color: #F59E0B;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.review-content {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  font-style: italic;
}

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

.avatar-circle {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background-color: var(--primary-light);
  color: var(--primary-color);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.user-info .user-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

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

/* 6. FAQ 手风琴 (纯 CSS HTML 原生 details/summary) */
.faq-wrap {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.faq-item[open] {
  border-color: var(--primary-color);
}

.faq-summary {
  padding: 20px 24px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--primary-color);
  font-weight: 400;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-summary::after {
  content: "−";
}

.faq-body {
  padding: 0 24px 20px 24px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* 页脚 Footer - 严格限定四个标题链接 */
.footer {
  background-color: #FFFFFF;
  border-top: 1px solid var(--border-color);
  padding: 48px 0;
  margin-top: auto;
}

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

.footer-brand {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
}

.footer-links-strict {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  list-style: none;
}

.footer-links-strict a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

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

.footer-copy {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* 独立子页面通用排版样式 (about, terms, privacy, sitemap) */
.page-hero {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  padding: 60px 0;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.page-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.doc-content {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 48px;
  margin: 48px 0;
  box-shadow: var(--shadow-sm);
}

.doc-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 32px 0 16px 0;
  color: var(--text-primary);
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: 8px;
}

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

.doc-content p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.doc-content ul {
  margin: 0 0 24px 24px;
  color: var(--text-secondary);
}

.doc-content li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.highlight-box {
  background-color: var(--primary-light);
  border-left: 4px solid var(--primary-color);
  padding: 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 24px 0;
}

.highlight-box p {
  color: var(--primary-color);
  font-weight: 600;
  margin: 0;
}

/* 网站地图层级树 */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.sitemap-block {
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
}

.sitemap-block h3 {
  font-size: 1.2rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.sitemap-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sitemap-list a {
  color: var(--primary-color);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sitemap-list a:hover {
  text-decoration: underline;
}

/* 响应式适配 (手机端单栏自适应与触控优化) */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: repeat(1, 1fr);
    max-width: 480px;
    margin: 0 auto;
  }
  .media-ai-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .reviews-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (max-width: 640px) {
  .header-nav {
    height: 64px;
  }
  .nav-links {
    display: none; /* 移动端隐藏冗余菜单，保留品牌与按钮 */
  }
  .hero {
    padding: 48px 0 64px 0;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .btn {
    width: 100%; /* 移动端全宽大触控按钮 */
    padding: 16px 24px;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .hero-features-bar {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .media-ai-grid {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 56px 0;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .doc-content {
    padding: 24px 18px;
  }
  .sitemap-grid {
    grid-template-columns: 1fr;
  }
  .footer-links-strict {
    flex-direction: column;
    gap: 16px;
  }
}

/* 推荐资讯 (News / Blog) 网格卡片与文章专用样式 */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 32px;
}

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

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

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

.news-tag {
  background-color: var(--primary-light);
  color: var(--primary-color);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.8rem;
}

.news-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 12px;
}

.news-card-title a {
  transition: color 0.2s ease;
}

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

.news-card-excerpt {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.news-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--primary-color);
  font-size: 0.95rem;
}

.news-read-more:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

/* 文章头部与单返回按钮组件 */
.article-back-wrap {
  margin-bottom: 24px;
}

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

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

