:root {
  --primary: #4f46e5;
  --primary-glow: #6366f1;
  --secondary: #ec4899;
  --accent: #06b6d4;
  --accent-warm: #f59e0b;
  --success: #10b981;
  --dark-text: #0f172a;
  --body-text: #334155;
  --muted-text: #64748b;
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --border-light: #e2e8f0;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.04);
  --shadow-md: 0 10px 25px -5px rgba(79, 70, 229, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 30px -10px rgba(79, 70, 229, 0.15);
  --radius-lg: 16px;
  --radius-md: 10px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
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(--body-text);
  line-height: 1.6;
}
body {
  overflow-x: hidden;
  background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.08), transparent 400px),
              radial-gradient(circle at 10% 20%, rgba(236, 72, 153, 0.06), transparent 300px),
              var(--bg-main);
}
.site-wrapper {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}
/* 导航栏 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.3s ease;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand-box {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ai-page-logo {
  height: 38px;
  width: auto;
  display: block;
}
.brand-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark-text);
  letter-spacing: -0.5px;
}
.nav-links {
  display: flex;
  gap: 0;
  list-style: none;
  align-items: center;
}
.nav-links a {
  display: inline-block;
  padding: 8px 14px;
  text-decoration: none;
  color: var(--body-text);
  font-size: 0.93rem;
  font-weight: 600;
  transition: color 0.2s ease, transform 0.2s ease;
}
.nav-links a:hover {
  color: var(--primary);
  transform: translateY(-1px);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 50%, var(--secondary) 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 20px rgba(236, 72, 153, 0.4);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background: #ffffff;
  color: var(--primary) !important;
  border: 1.5px solid var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-secondary:hover {
  background: #f1f5f9;
  transform: translateY(-1px);
}
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark-text);
}
/* 首屏 HERO - 严禁出现图片 */
.hero-section {
  padding: 70px 0 50px;
  text-align: center;
  position: relative;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, rgba(79,70,229,0.1), rgba(236,72,153,0.12));
  border: 1px solid rgba(79,70,229,0.25);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
}
.hero-title {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.25;
  color: var(--dark-text);
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.gradient-text {
  background: linear-gradient(135deg, #4f46e5 0%, #ec4899 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-subtitle {
  font-size: 1.2rem;
  color: var(--body-text);
  max-width: 820px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.hero-cta-group {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.hero-cta-group .btn-primary {
  padding: 14px 34px;
  font-size: 1.1rem;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 24px 16px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.stat-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 6px;
}
.stat-desc {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted-text);
}
/* 通用区块 */
.page-section {
  padding: 70px 0;
}
.section-header {
  text-align: center;
  margin-bottom: 45px;
}
.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--secondary);
  background: rgba(236, 72, 153, 0.1);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.section-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--dark-text);
  margin-bottom: 12px;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--muted-text);
  max-width: 680px;
  margin: 0 auto;
}
/* 模型聚合轮播条 */
.model-strip {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 40px;
}
.model-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.model-badge {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #1e293b;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.model-badge:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-2px);
}
/* 核心能力卡片 */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(79, 70, 229, 0.4);
}
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(79,70,229,0.12), rgba(236,72,153,0.15));
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  font-weight: 800;
}
.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 10px;
}
.card-text {
  font-size: 0.95rem;
  color: var(--body-text);
  line-height: 1.65;
  flex-grow: 1;
}
/* 场景展示板块（带图） */
.media-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  margin-top: 30px;
}
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 20px;
}
.media-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  background: #f8fafc;
}
.media-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.media-item:hover img {
  transform: scale(1.05);
}
.media-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: linear-gradient(to top, rgba(15,23,42,0.85), transparent);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 600;
}
/* 流程步骤 */
.steps-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
.step-box {
  background: #ffffff;
  padding: 28px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  position: relative;
}
.step-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: rgba(79, 70, 229, 0.15);
  position: absolute;
  top: 15px;
  right: 20px;
  line-height: 1;
}
.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 8px;
}
.step-desc {
  font-size: 0.9rem;
  color: var(--muted-text);
  line-height: 1.55;
}
/* 对比评测表格 */
.comparison-wrap {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.rating-highlight {
  background: linear-gradient(135deg, #4f46e5, #ec4899);
  color: #ffffff;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.rating-info h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 4px;
}
.rating-score {
  display: flex;
  align-items: center;
  gap: 12px;
}
.score-badge {
  font-size: 2.4rem;
  font-weight: 900;
  background: #ffffff;
  color: var(--primary);
  padding: 4px 18px;
  border-radius: 12px;
}
.table-responsive {
  width: 100%;
  overflow-x: auto;
}
.comp-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.comp-table th, .comp-table td {
  padding: 16px 20px;
  border-bottom: 1px solid #f1f5f9;
}
.comp-table th {
  background: #f8fafc;
  color: var(--dark-text);
  font-weight: 700;
}
.comp-table tr:hover td {
  background: #fcfaff;
}
.tag-pro {
  background: rgba(16, 185, 129, 0.12);
  color: var(--success);
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
}
/* 评论卡片 */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 26px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.review-stars {
  color: var(--accent-warm);
  font-size: 1.1rem;
  margin-bottom: 12px;
}
.review-text {
  font-size: 0.95rem;
  color: var(--body-text);
  line-height: 1.65;
  flex-grow: 1;
  margin-bottom: 20px;
  font-style: italic;
}
.review-user {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #f1f5f9;
  padding-top: 16px;
}
.user-avatar-placeholder {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
}
.user-meta h4 {
  font-size: 0.95rem;
  color: var(--dark-text);
}
.user-meta span {
  font-size: 0.82rem;
  color: var(--muted-text);
}
/* FAQ 手风琴 */
.faq-wrap {
  max-width: 900px;
  margin: 0 auto;
}
.faq-item {
  background: #ffffff;
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq-question {
  padding: 18px 22px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  transition: background-color 0.2s ease;
}
.faq-question:hover {
  background: #f8fafc;
}
.faq-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  color: var(--primary);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 22px;
  background: #fafafa;
  color: var(--body-text);
  font-size: 0.95rem;
  line-height: 1.7;
}
.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 14px 22px 20px;
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
}
/* 需求表单与联系 */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 30px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.contact-sidebar {
  background: linear-gradient(145deg, #1e1b4b 0%, #312e81 100%);
  color: #ffffff;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.contact-sidebar h3 {
  font-size: 1.6rem;
  margin-bottom: 14px;
}
.contact-info-list {
  list-style: none;
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-info-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: #e2e8f0;
}
.qr-box {
  background: rgba(255, 255, 255, 0.1);
  padding: 16px;
  border-radius: var(--radius-md);
  text-align: center;
  margin-top: 20px;
}
.qr-box img {
  width: 130px;
  height: 130px;
  border-radius: 8px;
  margin-bottom: 8px;
}
.qr-box span {
  display: block;
  font-size: 0.85rem;
  color: #cbd5e1;
}
.form-box {
  padding: 36px 30px;
}
.form-box h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark-text);
  margin-bottom: 20px;
}
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--dark-text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background: #f8fafc;
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
  background: #ffffff;
}
textarea.form-control {
  resize: vertical;
  min-height: 100px;
}
/* 文章与百科 */
.article-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.article-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  text-decoration: none;
  color: var(--dark-text);
  font-weight: 600;
  transition: all 0.2s ease;
}
.article-item:hover {
  border-color: var(--primary);
  transform: translateX(4px);
  color: var(--primary);
}
/* 页脚 */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 50px 0 24px;
  margin-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}
.footer-col h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 16px;
  font-weight: 700;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}
.footer-links a:hover {
  color: #ffffff;
}
.friendly-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}
.friendly-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.88rem;
  background: rgba(255,255,255,0.05);
  padding: 4px 10px;
  border-radius: 4px;
}
.friendly-links a:hover {
  color: #ffffff;
  background: rgba(255,255,255,0.15);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
}
/* 浮动工具 */
.floating-actions {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 900;
}
.float-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  font-size: 1.2rem;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease;
}
.float-btn:hover {
  transform: scale(1.1);
}
/* 响应式适配 */
@media (max-width: 1024px) {
  .stats-grid, .grid-4, .steps-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3, .reviews-grid, .media-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.1rem;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 16px;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
  }
  .nav-links.show {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
  .header-actions .btn-secondary {
    display: none;
  }
  .stats-grid, .grid-3, .grid-2, .grid-4, .reviews-grid, .media-grid, .steps-container, .contact-container, .footer-grid {
    grid-template-columns: 1fr;
  }
  .rating-highlight {
    flex-direction: column;
    align-items: flex-start;
  }
}