:root {
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --text-main: #0f172a;
  --text-sub: #475569;
  --text-muted: #64748b;
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --border-light: #e2e8f0;
  --irid-grad: linear-gradient(135deg, rgba(224, 231, 255, 0.7) 0%, rgba(243, 232, 255, 0.7) 35%, rgba(254, 240, 138, 0.4) 70%, rgba(204, 251, 241, 0.6) 100%);
  --irid-border: linear-gradient(90deg, #6366f1, #a855f7, #ec4899, #06b6d4);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 35px -10px rgba(99, 102, 241, 0.15);
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-sm: 6px;
}
* {
  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);
  line-height: 1.6;
}
body {
  background-image: 
    radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.08) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(236, 72, 153, 0.08) 0px, transparent 50%);
  background-attachment: fixed;
}
.site-wrapper {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}
header.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand-group {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ai-page-logo {
  max-height: 38px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}
.nav-links li a {
  display: block;
  padding: 8px 14px;
  text-decoration: none;
  color: var(--text-sub);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav-links li a:hover {
  color: var(--primary);
}
.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, #4f46e5, #7c3aed);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background: #ffffff;
  color: var(--text-main) !important;
  border: 1px solid var(--border-light);
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-secondary:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-main);
}
section {
  padding: 70px 0;
  position: relative;
}
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-badge {
  display: inline-block;
  padding: 4px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #6366f1;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 20px;
  margin-bottom: 12px;
  border: 1px solid rgba(99, 102, 241, 0.2);
}
.section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.section-desc {
  font-size: 16px;
  color: var(--text-sub);
  max-width: 720px;
  margin: 0 auto;
}
.hero-section {
  padding: 90px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-glow-card {
  background: var(--irid-grad);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  padding: 50px 30px;
  box-shadow: var(--shadow-md);
  position: relative;
}
.hero-badge-group {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.hero-badge {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border-light);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  color: #4338ca;
}
.hero-title {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.25;
  color: #1e1b4b;
  margin-bottom: 20px;
  letter-spacing: -0.8px;
}
.hero-subtitle {
  font-size: 18px;
  color: var(--text-sub);
  max-width: 820px;
  margin: 0 auto 32px;
  line-height: 1.6;
}
.hero-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 30px;
}
.hero-stat-box {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--radius-md);
  padding: 18px;
  text-align: center;
  transition: transform 0.2s ease;
}
.hero-stat-box:hover {
  transform: translateY(-3px);
}
.stat-num {
  font-size: 26px;
  font-weight: 800;
  color: #4f46e5;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 13px;
  color: var(--text-sub);
  font-weight: 500;
}
.irid-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}
.irid-card:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.card-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
  color: var(--primary);
}
.card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}
.card-text {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.55;
  flex-grow: 1;
}
.card-tag {
  align-self: flex-start;
  margin-top: 14px;
  font-size: 12px;
  padding: 3px 8px;
  background: #f1f5f9;
  border-radius: 4px;
  color: #475569;
  font-weight: 500;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.model-tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 20px;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}
.model-pill {
  padding: 6px 14px;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  font-size: 13px;
  color: var(--text-sub);
  font-weight: 500;
}
.table-responsive {
  width: 100%;
  overflow-x: auto;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}
.eval-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}
.eval-table th, .eval-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
}
.eval-table th {
  background: #f8fafc;
  color: var(--text-main);
  font-weight: 600;
}
.eval-table tr:last-child td {
  border-bottom: none;
}
.badge-highlight {
  display: inline-block;
  padding: 4px 10px;
  background: #e0e7ff;
  color: #4338ca;
  font-weight: 600;
  border-radius: 20px;
  font-size: 12px;
}
.steps-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
.step-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.step-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-main);
}
.step-desc {
  font-size: 13px;
  color: var(--text-sub);
}
.image-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  align-items: stretch;
}
.media-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.media-img-wrap {
  width: 100%;
  background: #f1f5f9;
  position: relative;
}
.media-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.media-info {
  padding: 16px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto;
}
.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.2s ease;
}
.faq-question {
  width: 100%;
  padding: 18px 24px;
  text-align: left;
  background: none;
  border: none;
  outline: none;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-question:hover {
  background: #f8fafc;
}
.faq-icon {
  font-size: 18px;
  transition: transform 0.3s ease;
}
.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.6;
}
.faq-item.active .faq-answer {
  padding: 0 24px 18px 24px;
  max-height: 200px;
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
}
.comment-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.comment-user {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.comment-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
}
.user-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
}
.user-role {
  font-size: 12px;
  color: var(--text-muted);
}
.comment-body {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.55;
  margin-bottom: 12px;
}
.comment-stars {
  color: #f59e0b;
  font-size: 13px;
}
.form-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  max-width: 720px;
  margin: 0 auto;
}
.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: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 14px;
  outline: none;
  background: #f8fafc;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.form-control:focus {
  border-color: var(--primary);
  background: #ffffff;
}
textarea.form-control {
  resize: vertical;
  min-height: 110px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.articles-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.article-item {
  padding: 16px 20px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: var(--text-main);
  transition: all 0.2s ease;
}
.article-item:hover {
  border-color: var(--primary);
  transform: translateX(4px);
  color: var(--primary);
}
.article-item span {
  font-size: 14px;
  font-weight: 500;
}
.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 50px 0 30px;
  border-top: 1px solid #1e293b;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 30px;
  margin-bottom: 40px;
}
.footer-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}
.footer-links a:hover {
  color: #ffffff;
}
.footer-qr {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.footer-qr img {
  width: 110px;
  height: 110px;
  border-radius: var(--radius-sm);
  background: #ffffff;
  padding: 4px;
}
.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: #64748b;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.friend-links-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  font-size: 13px;
}
.friend-links-box a {
  color: #94a3b8;
  text-decoration: none;
}
.friend-links-box a:hover {
  color: #38bdf8;
}
.floating-bar {
  position: fixed;
  right: 20px;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 999;
}
.float-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  text-decoration: none;
  border: 1px solid var(--border-light);
  font-size: 20px;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.float-btn:hover {
  transform: scale(1.08);
  background: #f8fafc;
}
.ai-page-home-link {
  color: inherit;
  text-decoration: none;
}
@media (max-width: 992px) {
  .grid-4, .steps-container, .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .image-grid {
    grid-template-columns: 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: 20px 0;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--border-light);
  }
  .nav-links.active {
    display: flex;
  }
  .hero-title {
    font-size: 28px;
  }
  .grid-2, .grid-3, .grid-4, .steps-container, .hero-stats-grid, .articles-list, .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-cta {
    flex-direction: column;
  }
  .hero-cta a {
    width: 100%;
  }
}