/* 狗狗加速 - 极简原生样式表 (零外部依赖) */
:root {
  --bg-light: #ffffff;
  --bg-muted: #f6f8fc;
  --text-main: #0f172a;
  --text-secondary: #475569;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --accent: #0ea5e9;
  --success: #10b981;
  --border-light: #e2e8f0;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-glow: 0 10px 24px rgba(37, 99, 235, 0.24);
  --container-max: 1140px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

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

ul,
ol {
  list-style: none;
}

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

/* 按钮规范：高对比、适合桌面与手机手指点击 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  text-align: center;
  border: 1px solid transparent;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-hover), var(--primary));
  transform: translateY(-2px);
}

.btn-outline-light {
  background-color: #ffffff;
  color: var(--text-main);
  border-color: #cbd5e1;
}

.btn-outline-light:hover {
  background-color: #eff6ff;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-dark {
  background-color: #ffffff;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-dark:hover {
  background-color: #eff6ff;
}

.btn-sm {
  min-height: 40px;
  padding: 8px 18px;
  font-size: 14px;
}

.btn-block {
  width: 100%;
}

/* 顶部导航栏 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-main);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.3px;
  flex-shrink: 0;
}

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.15s ease;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* 主视觉区 Hero */
.hero {
  background: radial-gradient(circle at 50% -10%, rgba(37, 99, 235, 0.1), transparent 55%),
    radial-gradient(circle at 85% 30%, rgba(14, 165, 233, 0.08), transparent 45%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  color: var(--text-main);
  border-bottom: 1px solid var(--border-light);
  padding: 84px 0 76px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background-color: #eff6ff;
  border: 1px solid #bfdbfe;
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.02em;
  max-width: 820px;
  margin: 0 auto 20px;
}

.hero-highlight {
  background: linear-gradient(120deg, #2563eb, #0284c7, #059669);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: clamp(16px, 2.2vw, 19px);
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.75;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
}

.stat-item {
  padding: 8px 12px;
}

.stat-value {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

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

.hero-media {
  max-width: 960px;
  margin: 40px auto 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  background-color: #ffffff;
}

.hero-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* 通用区块样式 */
.section {
  padding: 76px 0;
}

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

.section-dark {
  background-color: #f1f5f9;
  color: var(--text-main);
}

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

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}

.section-dark .section-tag {
  color: var(--primary);
}

.section-title {
  font-size: clamp(26px, 3.6vw, 36px);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 14px;
}

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

.section-dark .section-desc {
  color: var(--text-secondary);
}

/* 核心优势卡片网格 */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.card {
  background-color: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background-color: #eff6ff;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
}

.card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* 流媒体与 AI 支持 */
.support-card {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.support-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
}

.support-card p {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 22px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background-color: #f8fafc;
  border: 1px solid var(--border-light);
  color: var(--text-main);
  font-size: 14px;
  font-weight: 500;
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--success);
}

.region-bar {
  margin-top: 28px;
  padding: 22px 28px;
  border-radius: var(--radius-md);
  background-color: #eff6ff;
  border: 1px solid #bfdbfe;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.region-bar-text strong {
  display: block;
  font-size: 17px;
  margin-bottom: 4px;
  color: var(--text-main);
}

.region-bar-text span {
  font-size: 14px;
  color: var(--text-secondary);
}

/* 套餐与价格对比表 */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 44px;
  align-items: stretch;
}

.price-card {
  position: relative;
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.price-card.featured {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-md);
}

.price-badge {
  position: absolute;
  top: -13px;
  right: 24px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}

.price-tier {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.price-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.price-amount {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-main);
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.price-amount small {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}

.price-features {
  flex: 1;
  margin-bottom: 28px;
}

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

.check-mark {
  color: var(--success);
  font-weight: 800;
  flex-shrink: 0;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
  text-align: left;
}

.compare-table th,
.compare-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
  font-size: 15px;
}

.compare-table thead th {
  background-color: #f8fafc;
  font-weight: 700;
  color: var(--text-main);
}

.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.compare-table tbody tr:hover {
  background-color: #f8fafc;
}

.table-highlight {
  color: var(--primary);
  font-weight: 700;
}

/* 用户评价 */
.review-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-stars {
  color: #f59e0b;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.review-text {
  font-size: 15px;
  color: var(--text-main);
  margin-bottom: 20px;
  line-height: 1.75;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.author-role {
  font-size: 13px;
  color: var(--text-secondary);
}

/* 常见问题解答 FAQ (纯 HTML details/summary 零 JS) */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item summary {
  padding: 20px 24px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 500;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

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

.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.75;
}

/* 底部行动号召 */
.cta-banner {
  background: linear-gradient(135deg, #eff6ff 0%, #e0f2fe 100%);
  border: 1px solid #bfdbfe;
  color: var(--text-main);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  text-align: center;
}

.cta-banner h2 {
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-banner p {
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 28px;
}

.cta-banner-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* 页脚：严格只保留四个标题，点击打开新页面 */
.site-footer {
  background-color: #f8fafc;
  border-top: 1px solid var(--border-light);
  padding: 36px 0;
}

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

.footer-nav a {
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 600;
  padding: 10px 6px;
  transition: color 0.15s ease;
}

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

/* 独立子页面文档排版 */
.page-hero {
  background: linear-gradient(180deg, #f1f5f9 0%, #f8fafc 100%);
  border-bottom: 1px solid var(--border-light);
  color: var(--text-main);
  padding: 52px 0;
}

.page-hero h1 {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  margin-bottom: 8px;
}

.page-hero p {
  color: var(--text-secondary);
  font-size: 15px;
}

.doc-section {
  padding: 56px 0 72px;
}

.doc-card {
  max-width: 860px;
  margin: 0 auto;
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.doc-card h2 {
  font-size: 21px;
  font-weight: 700;
  margin: 28px 0 12px;
  padding-left: 12px;
  border-left: 4px solid var(--primary);
}

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

.doc-card p {
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.8;
}

.doc-card ul {
  margin: 10px 0 18px 20px;
  list-style: disc;
  color: var(--text-secondary);
}

.doc-card li {
  margin-bottom: 8px;
  line-height: 1.75;
}

.doc-card a.inline-link {
  color: var(--primary);
  font-weight: 600;
}

.doc-card a.inline-link:hover {
  text-decoration: underline;
}

.pricing-note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-secondary);
  text-align: center;
}

.doc-actions {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* 高科技网格卡片布局 (Grid Cards) - 推荐咨询文章列表 */
.tech-section {
  padding: 56px 0 72px;
  background: radial-gradient(circle at 12% 10%, rgba(37, 99, 235, 0.05), transparent 35%),
    radial-gradient(circle at 88% 20%, rgba(14, 165, 233, 0.06), transparent 35%),
    var(--bg-muted);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 32px;
}

.tech-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #dbeafe;
  border-top: 3px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
}

.tech-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(37, 99, 235, 0.07) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.45;
  pointer-events: none;
}

.tech-card > * {
  position: relative;
  z-index: 1;
}

.tech-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.14);
}

.tech-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  background-color: #eff6ff;
  border: 1px solid #bfdbfe;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
}

.tech-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  color: #64748b;
  letter-spacing: 0.04em;
}

.tech-card h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--text-main);
  margin-bottom: 10px;
}

.tech-excerpt {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.tech-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px dashed #cbd5e1;
}

.tech-meta {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
}

/* SEO 文章详情排版 */
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 10px;
}

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

.article-body h2:first-child {
  margin-top: 0;
}

.article-body h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 20px 0 8px;
  color: var(--text-main);
}

.article-body p {
  color: var(--text-secondary);
  margin-bottom: 15px;
  line-height: 1.85;
}

.article-body a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.article-callout {
  background-color: #f0f9ff;
  border: 1px solid #bae6fd;
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 15px;
  color: var(--text-main);
}

/* 响应式媒体查询：确保平板与手机端单栏显示、按钮适合手指点击 */
@media (max-width: 960px) {
  .header-inner {
    flex-wrap: wrap;
    padding-top: 10px;
    padding-bottom: 10px;
    gap: 10px 16px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 18px;
    padding-top: 10px;
    border-top: 1px solid var(--border-light);
  }

  .nav-links a {
    font-size: 14px;
    padding: 4px 2px;
  }

  .grid-3,
  .pricing-cards,
  .tech-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .header-inner {
    min-height: 62px;
  }

  .header-actions .btn-outline-light {
    display: none;
  }

  .hero {
    padding: 56px 0 52px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta .btn,
  .cta-banner-actions .btn,
  .region-bar .btn,
  .doc-actions .btn {
    width: 100%;
    min-height: 50px;
  }

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

  .section {
    padding: 52px 0;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .card,
  .support-card,
  .price-card,
  .doc-card {
    padding: 22px 18px;
  }

  .cta-banner {
    padding: 36px 20px;
  }

  .faq-item summary {
    padding: 18px;
    font-size: 16px;
  }

  .faq-answer {
    padding: 0 18px 18px;
  }

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

  .footer-nav a {
    width: 100%;
    text-align: center;
    padding: 12px 16px;
  }
}
