:root {
  --primary: #e6005c;
  --primary-hover: #c4004e;
  --primary-light: #fff0f5;
  --primary-soft: #fde2ec;
  --accent: #ff4081;
  --text-main: #1f2937;
  --text-muted: #4b5563;
  --text-light: #6b7280;
  --bg-page: #fdfafb;
  --bg-card: #ffffff;
  --border-color: #f3d2df;
  --border-subtle: #fae8f0;
  --shadow-sm: 0 2px 8px rgba(230, 0, 92, 0.04);
  --shadow-md: 0 6px 20px rgba(230, 0, 92, 0.08);
  --shadow-lg: 0 12px 32px rgba(230, 0, 92, 0.12);
  --radius: 12px;
  --radius-lg: 18px;
  --max-w: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

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

/* 顶部导航 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

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

.brand-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  max-width: 140px;
}

.brand-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  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 a {
  display: block;
  padding: 8px 14px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 6px;
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(230, 0, 92, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-hover), var(--primary));
  box-shadow: 0 6px 18px rgba(230, 0, 92, 0.4);
  transform: translateY(-2px);
  color: #ffffff;
}

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

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

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

/* 首屏 Hero */
.hero-section {
  position: relative;
  padding: 70px 0 60px;
  background: radial-gradient(circle at 50% 0%, #fff0f5 0%, #ffffff 70%, var(--bg-page) 100%);
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--primary-light);
  border: 1px solid var(--border-color);
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 24px;
}

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

.hero-title .highlight {
  color: var(--primary);
}

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

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

.hero-btns .btn-large {
  padding: 14px 34px;
  font-size: 1.1rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

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

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

.stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* 主内容区通用 */
.section {
  padding: 70px 0;
}

.section-alt {
  background-color: #ffffff;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

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

.section-subtitle {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.section-title {
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 14px;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
}

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

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

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  align-items: start;
}

.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

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

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: bold;
  margin-bottom: 18px;
}

.card-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-main);
}

.card-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* 场景标签流 */
.scenario-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.scenario-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 10px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 4px;
  margin-bottom: 14px;
}

/* 模型聚合矩阵 */
.model-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 30px;
}

.model-badge {
  padding: 8px 16px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-main);
  transition: all 0.2s ease;
}

.model-badge:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* 图文与素材展示 */
.media-box {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  background: #ffffff;
}

.media-box img {
  display: block;
  width: 100%;
  height: auto;
}

.media-content {
  padding: 20px;
}

/* 对比评测表格 */
.table-container {
  overflow-x: auto;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

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

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

.compare-table th {
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
}

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

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.95rem;
}

.text-star {
  color: #ffb703;
  letter-spacing: 2px;
}

/* 流程步骤 */
.steps-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.step-card {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  padding: 28px 20px;
  text-align: center;
}

.step-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 auto 16px;
}

/* 评论卡片 */
.review-card {
  background: #ffffff;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.review-author {
  font-weight: 700;
  color: var(--text-main);
  font-size: 1rem;
}

.review-role {
  font-size: 0.85rem;
  color: var(--primary);
  background: var(--primary-light);
  padding: 2px 8px;
  border-radius: 4px;
}

/* FAQ 折叠 */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #ffffff;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-question {
  padding: 18px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  color: var(--text-main);
  user-select: none;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  font-size: 1.2rem;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  background: var(--primary-light);
}

.faq-answer-inner {
  padding: 16px 24px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  border-top: 1px solid var(--border-subtle);
}

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

.faq-item.active .faq-answer {
  max-height: 500px;
  transition: max-height 0.3s ease-in-out;
}

/* 文章列表 */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.article-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.article-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 12px;
}

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

/* 表单与需求匹配 */
.form-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

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

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease;
  background: #ffffff;
  font-family: inherit;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

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

/* 页脚 */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px;
  color: var(--text-muted);
}

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

.footer-col-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 18px;
}

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

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

.qr-code-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.qr-code-box img {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.footer-friend-links {
  border-top: 1px solid var(--border-subtle);
  padding: 20px 0;
  margin-top: 20px;
  font-size: 0.9rem;
}

.friend-links-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}

.friend-links-wrap a {
  color: var(--text-muted);
}

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

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-light);
}

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

.float-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(230, 0, 92, 0.4);
  cursor: pointer;
  border: none;
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}

.float-btn:hover {
  transform: scale(1.08);
}

/* 响应式断点 */
@media (max-width: 992px) {
  .grid-3, .articles-grid, .steps-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 16px 24px;
    box-shadow: var(--shadow-md);
  }
  .nav-menu.show {
    display: block;
  }
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-links li {
    width: 100%;
  }
  .nav-links li a {
    padding: 10px 0;
  }
  .nav-actions {
    display: none;
  }
  .grid-3, .grid-4, .articles-grid, .steps-wrapper, .hero-stats {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .form-card {
    padding: 24px;
  }
}