:root {
  --primary: #7928ca;
  --primary-light: #9d4edd;
  --primary-dark: #5a189a;
  --accent: #ff0080;
  --accent-soft: #f72585;
  --bg-page: #f8f6fc;
  --bg-card: #ffffff;
  --text-main: #1f1a2e;
  --text-muted: #5e5873;
  --border-light: #e6def2;
  --shadow-sm: 0 4px 12px rgba(121, 40, 202, 0.06);
  --shadow-md: 0 10px 30px rgba(121, 40, 202, 0.1);
  --shadow-lg: 0 20px 45px rgba(121, 40, 202, 0.15);
  --radius-lg: 16px;
  --radius-sm: 8px;
  --container-width: 1200px;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
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-page);
  color: var(--text-main);
  line-height: 1.6;
}
body {
  background: radial-gradient(circle at 10% 20%, rgba(247, 37, 133, 0.04) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(121, 40, 202, 0.05) 0%, transparent 40%),
              #f8f6fc;
  min-height: 100vh;
}
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}
/* 导航 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}
.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ai-page-logo {
  max-height: 42px;
  width: auto;
  object-fit: contain;
}
.brand-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: 0.5px;
}
.nav-menu {
  display: flex;
  align-items: center;
}
.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0;
}
.nav-links li {
  margin: 0 10px;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 4px;
  transition: all 0.25s ease;
  position: relative;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(121, 40, 202, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(121, 40, 202, 0.45);
}
.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline:hover {
  background: rgba(121, 40, 202, 0.06);
  transform: translateY(-2px);
}
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--primary-dark);
  cursor: pointer;
}

/* 模块公共样式 */
.section {
  padding: 80px 0;
}
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 50px;
}
.section-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  background: rgba(121, 40, 202, 0.08);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 14px;
  line-height: 1.3;
}
.section-desc {
  font-size: 16px;
  color: var(--text-muted);
}

/* Hero 首屏 (无图片) */
.hero-section {
  padding: 90px 0 70px;
  background: radial-gradient(circle at 50% 0%, rgba(121, 40, 202, 0.12) 0%, rgba(248, 246, 252, 0) 70%);
  position: relative;
  overflow: hidden;
}
.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 30px;
  box-shadow: var(--shadow-sm);
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 24px;
}
.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
}
.hero-title {
  font-size: 46px;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 20px;
  color: var(--text-main);
}
.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 50px;
}
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.stat-card {
  background: var(--bg-card);
  padding: 24px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.stat-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}
.stat-label {
  font-size: 13px;
  color: var(--text-muted);
}

/* 平台支持模型标签 */
.models-banner {
  padding: 24px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  margin-top: 30px;
  box-shadow: var(--shadow-sm);
}
.models-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
  text-align: center;
}
.tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.model-tag {
  background: rgba(121, 40, 202, 0.05);
  border: 1px solid rgba(121, 40, 202, 0.12);
  color: var(--primary-dark);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

/* 服务能力卡片 */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 30px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}
.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(121, 40, 202, 0.1) 0%, rgba(255, 0, 128, 0.1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--primary);
  margin-bottom: 20px;
}
.service-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
}
.service-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  flex-grow: 1;
}

/* 场景矩阵 */
.scene-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.scene-item {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  padding: 20px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}
.scene-item:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.scene-item h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
}
.scene-item p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* 流程步骤 */
.steps-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.step-box {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 30px 20px;
  text-align: center;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.step-num {
  width: 44px;
  height: 44px;
  line-height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  margin: 0 auto 16px;
  box-shadow: 0 4px 12px rgba(121, 40, 202, 0.3);
}
.step-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-main);
}
.step-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* 案例展示 */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease;
}
.case-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.case-img-wrap {
  position: relative;
  overflow: hidden;
  background: #eae4f5;
  aspect-ratio: 16 / 9;
}
.case-img-wrap.square {
  aspect-ratio: 1 / 1;
}
.case-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.case-card:hover .case-img-wrap img {
  transform: scale(1.04);
}
.case-info {
  padding: 20px;
}
.case-info h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-main);
}
.case-info p {
  font-size: 13px;
  color: var(--text-muted);
}

/* 对比评测表格 */
.review-highlight {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(121, 40, 202, 0.08) 0%, rgba(255, 0, 128, 0.08) 100%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  margin-bottom: 30px;
}
.score-box {
  display: flex;
  align-items: center;
  gap: 16px;
}
.score-val {
  font-size: 42px;
  font-weight: 900;
  color: var(--primary);
}
.score-detail {
  font-size: 14px;
  color: var(--text-muted);
}
.stars {
  color: #ffb703;
  font-size: 20px;
  margin-bottom: 4px;
}
.table-responsive {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  background: var(--bg-card);
}
.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}
.custom-table th, .custom-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
}
.custom-table th {
  background: #fdfcfe;
  font-weight: 700;
  color: var(--primary-dark);
}
.custom-table tbody tr:hover {
  background: rgba(121, 40, 202, 0.02);
}
.highlight-cell {
  color: var(--primary);
  font-weight: 700;
}

/* 用户评价 */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.review-body {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  position: relative;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px dashed var(--border-light);
  padding-top: 16px;
}
.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-soft) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}
.author-meta h5 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
}
.author-meta span {
  font-size: 12px;
  color: var(--text-muted);
}

/* FAQ 手风琴 */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
}
.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}
.faq-question {
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-main);
  user-select: none;
}
.faq-question:hover {
  color: var(--primary);
}
.faq-toggle-icon {
  font-size: 18px;
  color: var(--primary);
  transition: transform 0.3s ease;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  background: #faf8fd;
}
.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 16px 24px 20px;
}
.faq-item.active .faq-toggle-icon {
  transform: rotate(45deg);
}

/* 资讯与百科 */
.news-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}
.article-list {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}
.article-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
}
.article-item:last-child {
  border-bottom: none;
}
.article-link {
  color: var(--text-main);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}
.article-link:hover {
  color: var(--primary);
}
.article-date {
  font-size: 12px;
  color: var(--text-muted);
}
.sidebar-box {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

/* 表单与联系区 */
.contact-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 30px;
}
.form-card {
  background: var(--bg-card);
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}
.form-group {
  margin-bottom: 20px;
}
.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-main);
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  font-size: 14px;
  outline: none;
  transition: border-color 0.25s ease;
  background: #faf8fd;
}
.form-control:focus {
  border-color: var(--primary);
  background: #ffffff;
}
.contact-info-card {
  background: linear-gradient(135deg, rgba(121, 40, 202, 0.05) 0%, rgba(255, 0, 128, 0.05) 100%);
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.qr-wrapper {
  text-align: center;
  margin: 20px 0;
}
.qr-wrapper img {
  width: 140px;
  height: 140px;
  border-radius: var(--radius-sm);
  border: 2px solid #fff;
  box-shadow: var(--shadow-sm);
}
.contact-meta-list {
  list-style: none;
  font-size: 14px;
  color: var(--text-muted);
}
.contact-meta-list li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 页脚 */
.site-footer {
  background: #191426;
  color: #c4bcd4;
  padding: 60px 0 30px;
  border-top: 1px solid #2d2440;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h4 {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  color: #a79cb8;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s ease;
}
.footer-links a:hover {
  color: #ffffff;
}
.footer-brand p {
  font-size: 13px;
  line-height: 1.6;
  margin-top: 12px;
  color: #a79cb8;
}
.footer-bottom {
  border-top: 1px solid #2d2440;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #7b6f93;
}
.friendly-links {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #2d2440;
  font-size: 13px;
}
.friendly-links strong {
  color: #fff;
  margin-right: 12px;
}
.friendly-links a {
  color: #a79cb8;
  text-decoration: none;
  margin-right: 16px;
  transition: color 0.2s ease;
}
.friendly-links a:hover {
  color: #ffffff;
}

/* 浮动工具栏 */
.floating-dock {
  position: fixed;
  right: 20px;
  bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 999;
}
.float-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  color: var(--primary);
  font-size: 18px;
  transition: all 0.25s ease;
}
.float-btn:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
}

/* 响应式适配 */
@media (max-width: 992px) {
  .hero-title { font-size: 36px; }
  .hero-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .scene-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-container { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(1, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--border-light);
    display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-links { flex-direction: column; width: 100%; align-items: flex-start; }
  .nav-links li { margin: 8px 0; width: 100%; }
  .mobile-toggle { display: block; }
  .hero-title { font-size: 28px; }
  .section-title { font-size: 24px; }
  .services-grid { grid-template-columns: 1fr; }
  .scene-grid { grid-template-columns: 1fr; }
  .steps-container { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .review-highlight { flex-direction: column; text-align: center; gap: 16px; }
}