:root {
  --primary-color: #0b57d0;
  --primary-light: #e8f0fe;
  --secondary-color: #00875a;
  --accent-color: #ff6d00;
  --text-main: #1f2937;
  --text-muted: #4b5563;
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 24px rgba(11,87,208,0.12);
  --radius-md: 10px;
  --radius-lg: 16px;
  --max-width: 1200px;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
.site-container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
/* 顶部导航 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand-box {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-box .ai-page-logo {
  height: 40px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-links a {
  padding: 8px 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-links a:hover {
  color: var(--primary-color);
  background: var(--primary-light);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  background: var(--primary-color);
  border: 1px solid var(--primary-color);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 6px rgba(11,87,208,0.25);
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-primary:hover {
  background: #0842a0;
  box-shadow: 0 4px 12px rgba(11,87,208,0.35);
  transform: translateY(-1px);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-color);
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-outline:hover {
  background: var(--primary-light);
  border-color: var(--primary-color);
}
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-color);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
}
/* 首屏 Hero */
.hero-section {
  padding: 64px 0 54px;
  background: linear-gradient(180deg, #ffffff 0%, #edf4fe 100%);
  border-bottom: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}
.hero-wrapper {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #dbeafe;
  color: var(--primary-color);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero-title {
  font-size: 38px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
}
.hero-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 32px;
}
.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stat-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 16px 12px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.stat-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 4px;
}
.stat-label {
  font-size: 13px;
  color: var(--text-muted);
}
/* 通用章节 */
.content-section {
  padding: 72px 0;
  border-bottom: 1px solid var(--border-color);
}
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 44px;
}
.section-tag {
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.section-title {
  font-size: 30px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
}
.section-desc {
  font-size: 15px;
  color: var(--text-muted);
}
/* 模块网格 */
.grid-cols-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-cols-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.grid-cols-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  align-items: start;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}
.card-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-light);
  color: var(--primary-color);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 16px;
}
.card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #0f172a;
}
.card-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}
/* 标签胶囊 */
.tag-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.model-badge {
  background: #ffffff;
  border: 1px solid #d1d5db;
  color: #374151;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
/* 对比评测卡片 */
.review-score-banner {
  background: linear-gradient(135deg, #0b57d0 0%, #1e40af 100%);
  color: #ffffff;
  padding: 32px;
  border-radius: var(--radius-lg);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.score-main {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.score-number {
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
}
.score-rating {
  font-size: 18px;
  color: #fde047;
}
.table-wrapper {
  overflow-x: auto;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 600px;
}
.data-table th, .data-table td {
  padding: 16px 20px;
  font-size: 14px;
  border-bottom: 1px solid var(--border-color);
}
.data-table th {
  background: #f1f5f9;
  font-weight: 700;
  color: #0f172a;
}
.data-table tr:hover {
  background: #f8fafc;
}
.check-icon {
  color: var(--secondary-color);
  font-weight: 700;
}
/* 流程步骤 */
.steps-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.step-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px;
  position: relative;
}
.step-seq {
  font-size: 12px;
  font-weight: 800;
  color: var(--primary-color);
  background: var(--primary-light);
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 10px;
}
/* 图片展示区 */
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.media-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: #ffffff;
}
.media-container img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.media-caption {
  padding: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  background: #ffffff;
}
/* 评论列表 */
.testimonial-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  border-top: 1px solid #f1f5f9;
  padding-top: 12px;
}
.author-role {
  font-size: 12px;
  color: var(--text-muted);
}
.author-name {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}
/* 表单组件 */
.contact-form {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #374151;
}
.form-control {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color 0.2s;
  background: #ffffff;
}
.form-control:focus {
  border-color: var(--primary-color);
}
/* 折叠面板 */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-question {
  padding: 18px 20px;
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-question:hover {
  background: #f8fafc;
}
.faq-icon {
  font-size: 18px;
  transition: transform 0.2s ease;
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
}
.faq-answer {
  display: none;
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}
.faq-item.active .faq-answer {
  display: block;
}
/* 文章与外链 */
.article-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}
.article-link-tag {
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--primary-color);
  transition: all 0.2s;
}
.article-link-tag:hover {
  border-color: var(--primary-color);
  background: var(--primary-light);
}
/* 底部通用 */
.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 60px 0 30px;
  border-top: 1px solid #1e293b;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 40px;
}
.footer-col h4 {
  color: #ffffff;
  font-size: 16px;
  margin-bottom: 16px;
}
.footer-col p {
  font-size: 13px;
  line-height: 1.8;
  color: #94a3b8;
}
.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links-list a {
  font-size: 13px;
  color: #94a3b8;
  transition: color 0.2s;
}
.footer-links-list a:hover {
  color: #ffffff;
}
.qrcode-box {
  display: inline-block;
  background: #ffffff;
  padding: 8px;
  border-radius: 8px;
  margin-top: 10px;
}
.qrcode-box img {
  width: 100px;
  height: 100px;
  display: block;
}
.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #64748b;
}
.friend-links-box {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.friend-links-box a {
  color: #94a3b8;
  font-size: 12px;
}
.friend-links-box a:hover {
  color: #38bdf8;
}
/* 浮动侧边 */
.floating-widget {
  position: fixed;
  right: 20px;
  bottom: 30px;
  z-index: 990;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.float-btn {
  background: var(--primary-color);
  color: #ffffff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
  cursor: pointer;
  border: none;
  font-size: 12px;
  font-weight: 600;
  transition: transform 0.2s ease;
}
.float-btn:hover {
  transform: scale(1.08);
}
/* 响应式 */
@media (max-width: 992px) {
  .grid-cols-4, .steps-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-cols-3, .media-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
  }
  .nav-links.active {
    display: flex;
  }
  .nav-actions .btn-outline {
    display: none;
  }
  .hero-title {
    font-size: 26px;
  }
  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-cols-2, .grid-cols-3, .grid-cols-4, .media-grid, .steps-container, .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}