:root {
  --primary: #4f46e5;
  --primary-bright: #6366f1;
  --secondary: #ec4899;
  --accent-cyan: #06b6d4;
  --accent-amber: #f59e0b;
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --text-main: #0f172a;
  --text-muted: #475569;
  --border-color: #e2e8f0;
  --border-hover: #c7d2fe;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(79, 70, 229, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 20px 30px -10px rgba(79, 70, 229, 0.15);
  --radius-lg: 16px;
  --radius-md: 10px;
  --max-w: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
}

body {
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  background: radial-gradient(circle at 10% 10%, rgba(99, 102, 241, 0.05), transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(236, 72, 153, 0.05), transparent 40%),
              var(--bg-main);
}

.container {
  width: 100%;
  max-width: var(--max-w);
  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.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.3s ease;
}

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

.brand-box {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.ai-page-logo {
  max-height: 40px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  font-size: 20px;
  font-weight: 800;
  background: linear-gradient(135deg, #4f46e5, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav-links li a {
  display: inline-block;
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 8px;
  transition: color 0.2s, background-color 0.2s;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--primary);
  background-color: #f1f5f9;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.45);
}

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

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

.btn-accent {
  background: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(236, 72, 153, 0.35);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(236, 72, 153, 0.45);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-main);
  cursor: pointer;
}

/* 模块公共样式 */
.section {
  padding: 80px 0;
  position: relative;
}

.section-alt {
  background: linear-gradient(180deg, rgba(241, 245, 249, 0.6) 0%, rgba(248, 250, 252, 0.9) 100%);
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px auto;
}

.badge-tag {
  display: inline-block;
  padding: 4px 14px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 30px;
  background: #e0e7ff;
  color: var(--primary);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 首屏 Hero (严格无图，纯CSS与饱和度艳彩构建) */
.hero-section {
  padding: 90px 0 70px 0;
  background: radial-gradient(circle at 50% 20%, rgba(99, 102, 241, 0.12) 0%, rgba(236, 72, 153, 0.08) 35%, transparent 70%);
  position: relative;
}

.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  padding: 6px 18px;
  border-radius: 50px;
  border: 1px solid #e0e7ff;
  box-shadow: var(--shadow-sm);
  font-size: 14px;
  font-weight: 600;
  color: #4338ca;
  margin-bottom: 24px;
}

.hero-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.hero-title {
  font-size: 42px;
  font-weight: 900;
  line-height: 1.25;
  color: var(--text-main);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-title span {
  background: linear-gradient(135deg, #4f46e5 0%, #ec4899 50%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 780px;
  margin: 0 auto 36px auto;
}

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

.hero-official-btn {
  font-size: 17px;
  padding: 14px 34px;
  border-radius: 12px;
  font-weight: 800;
}

/* 核心指标条 */
.stat-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.stat-item-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stat-item-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-hover);
}

.stat-num {
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
  color: var(--primary);
}

.stat-num.pink { color: var(--secondary); }
.stat-num.cyan { color: var(--accent-cyan); }
.stat-num.amber { color: var(--accent-amber); }

.stat-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

/* 平台聚合与多模型轮播标签 */
.model-tags-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.model-tag {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
  transition: all 0.2s;
}

.model-tag:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: scale(1.05);
}

/* 平台介绍大卡片 */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.intro-text-block h3 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-main);
}

.intro-feature-list {
  list-style: none;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.intro-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--text-muted);
}

.intro-feature-list svg {
  flex-shrink: 0;
  margin-top: 4px;
}

.intro-card-matrix {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.intro-subcard {
  background: #ffffff;
  padding: 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.intro-subcard h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-main);
}

.intro-subcard p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* 服务矩阵网格 */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-hover);
}

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

.service-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-main);
}

.service-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 16px;
}

.service-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.service-pill-row span {
  font-size: 12px;
  background: #f1f5f9;
  color: #475569;
  padding: 3px 8px;
  border-radius: 4px;
}

/* 自动化制作流程 */
.workflow-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

.step-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #4f46e5, #ec4899);
  color: #ffffff;
  font-weight: 800;
  border-radius: 50%;
  margin-bottom: 16px;
  font-size: 16px;
}

.step-card h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-main);
}

.step-card p {
  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: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.case-img-box {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #f1f5f9;
  overflow: hidden;
}

.case-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.case-card:hover .case-img-box img {
  transform: scale(1.04);
}

.case-body {
  padding: 20px;
  flex-grow: 1;
}

.case-body h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.case-body p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* 对比评测表格与卡片 */
.eval-card {
  background: #ffffff;
  border: 2px solid #e0e7ff;
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  margin-bottom: 30px;
}

.eval-summary-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 24px;
}

.score-badge {
  display: flex;
  align-items: center;
  gap: 12px;
}

.score-number {
  font-size: 40px;
  font-weight: 900;
  color: #e11d48;
  line-height: 1;
}

.score-meta {
  font-size: 14px;
  color: var(--text-muted);
}

.score-stars {
  color: #f59e0b;
  font-size: 18px;
  margin-bottom: 4px;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.compare-table th,
.compare-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
}

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

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

.highlight-col {
  background: #f5f3ff;
  font-weight: 700;
  color: var(--primary);
}

/* 需求表单与代理加盟分栏 */
.form-agent-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
}

.custom-form-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--text-main);
  background: #ffffff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

.agent-card-box {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.agent-card-box h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #ffffff;
}

.agent-card-box p {
  color: #c7d2fe;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.agent-perks {
  list-style: none;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.agent-perks li {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #e0e7ff;
}

.kefu-qr-wrap {
  background: rgba(255, 255, 255, 0.08);
  padding: 16px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.kefu-qr-wrap img {
  width: 90px;
  height: 90px;
  border-radius: 8px;
  background: #ffffff;
}

.kefu-meta-text {
  font-size: 13px;
  color: #c7d2fe;
}

/* 客户评论网格 */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testi-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.avatar-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4f46e5, #ec4899);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
}

.testi-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
}

.testi-role {
  font-size: 12px;
  color: var(--text-muted);
}

.testi-quote {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* FAQ 折叠面板 */
.faq-accordion-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.faq-question {
  width: 100%;
  text-align: left;
  padding: 16px 20px;
  background: none;
  border: none;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.faq-icon {
  font-size: 18px;
  color: var(--primary);
  transition: transform 0.2s;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 20px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: 16px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* 资讯与友情链接 */
.articles-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.info-card-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.info-card-box h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-main);
}

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

.article-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
  background: #f8fafc;
  transition: background-color 0.2s, color 0.2s;
}

.article-list li a:hover {
  background: #eef2ff;
  color: var(--primary);
}

.friend-links-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.friend-links-wrap a {
  font-size: 13px;
  color: #475569;
  text-decoration: none;
  padding: 6px 14px;
  background: #f1f5f9;
  border-radius: 6px;
  transition: all 0.2s;
}

.friend-links-wrap a:hover {
  background: #e0e7ff;
  color: var(--primary);
}

/* 页脚 */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 60px 0 30px 0;
  border-top: 1px solid #1e293b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-brand h4 {
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  color: #94a3b8;
}

.footer-col h5 {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
}

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

.footer-col ul li a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: #ffffff;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid #1e293b;
  font-size: 13px;
  color: #64748b;
}

/* 浮动客服 */
.floating-contact {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.float-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.4);
  cursor: pointer;
  border: none;
  transition: transform 0.2s, background-color 0.2s;
  text-decoration: none;
}

.float-btn:hover {
  transform: scale(1.1);
  background: #4338ca;
}

.float-qr-modal {
  position: absolute;
  bottom: 60px;
  right: 0;
  background: #ffffff;
  padding: 14px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  display: none;
  text-align: center;
  width: 140px;
}

.float-qr-modal img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.float-qr-modal span {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  display: block;
  margin-top: 6px;
}

.floating-contact:hover .float-qr-modal {
  display: block;
}

/* 响应式调整 */
@media (max-width: 1024px) {
  .service-grid,
  .case-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-bar-grid,
  .workflow-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
  .intro-grid,
  .form-agent-grid,
  .articles-links-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
  }
  .nav-links.active {
    display: flex;
  }
  .nav-links li {
    width: 100%;
  }
  .nav-links li a {
    display: block;
    padding: 10px 0;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-title {
    font-size: 30px;
  }
  .hero-desc {
    font-size: 15px;
  }
  .service-grid,
  .case-grid,
  .testimonials-grid,
  .stat-bar-grid,
  .workflow-timeline,
  .faq-accordion-grid,
  .intro-card-matrix {
    grid-template-columns: 1fr;
  }
}