:root {
  --primary: #4f46e5;
  --primary-dark: #3730a3;
  --secondary: #06b6d4;
  --accent-pink: #ec4899;
  --accent-orange: #f97316;
  --accent-yellow: #eab308;
  --accent-green: #10b981;
  --rainbow-gradient: linear-gradient(135deg, #4f46e5 0%, #06b6d4 25%, #10b981 50%, #f97316 75%, #ec4899 100%);
  --rainbow-subtle: linear-gradient(135deg, rgba(79,70,229,0.06) 0%, rgba(6,182,212,0.06) 25%, rgba(16,185,129,0.06) 50%, rgba(249,115,22,0.06) 75%, rgba(236,72,153,0.06) 100%);
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #64748b;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 16px -2px rgba(15,23,42,0.08);
  --shadow-lg: 0 12px 28px -4px rgba(15,23,42,0.12);
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-full: 9999px;
  --max-w: 1200px;
}

*, *::before, *::after {
  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;
  color: var(--text-main);
  background-color: var(--bg-page);
  line-height: 1.6;
}

body {
  width: 100%;
  overflow-x: hidden;
  background: radial-gradient(circle at 10% 10%, rgba(79,70,229,0.03) 0%, transparent 40%),
              radial-gradient(circle at 90% 90%, rgba(236,72,153,0.03) 0%, transparent 40%),
              var(--bg-page);
  min-height: 100vh;
}

.site-container {
  width: 100%;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

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

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

.brand-logo-box {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo-box img.ai-page-logo {
  max-height: 38px;
  width: auto;
  object-fit: contain;
}

.brand-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

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

.nav-links li a {
  display: inline-block;
  padding: 8px 12px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  border-radius: 6px;
}

.nav-links li a:hover {
  color: var(--primary);
  background: rgba(79,70,229,0.05);
}

.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: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn-rainbow {
  background: var(--rainbow-gradient);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(79,70,229,0.3);
}

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

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

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(79,70,229,0.04);
}

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

section {
  padding: 80px 0;
  position: relative;
}

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

.section-tag {
  display: inline-block;
  padding: 4px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(79,70,229,0.08);
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.section-head p {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.hero-section {
  padding: 90px 0 70px;
  background: radial-gradient(circle at 50% 0%, rgba(6,182,212,0.1) 0%, rgba(79,70,229,0.05) 35%, transparent 70%);
  border-bottom: 1px solid var(--border-color);
}

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

.rainbow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1px solid rgba(79,70,229,0.2);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-dark);
}

.rainbow-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rainbow-gradient);
  display: inline-block;
}

.hero-content h1 {
  font-size: 2.9rem;
  font-weight: 900;
  line-height: 1.25;
  color: var(--text-main);
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-content h1 span.gradient-text {
  background: var(--rainbow-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

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

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

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

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

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

.stat-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(79,70,229,0.3);
}

.stat-val {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 6px;
}

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

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--rainbow-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(79,70,229,0.25);
}

.feature-card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: var(--rainbow-subtle);
  border: 1px solid rgba(79,70,229,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  flex-grow: 1;
  line-height: 1.6;
}

.tags-pill-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 30px;
}

.model-pill {
  padding: 8px 16px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.model-pill:hover {
  border-color: var(--primary);
  background: rgba(79,70,229,0.05);
  color: var(--primary);
  transform: scale(1.04);
}

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

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

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--rainbow-gradient);
  color: #ffffff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.1rem;
}

.step-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.media-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 30px;
}

.media-item {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.media-img-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #f1f5f9;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-img-container.square {
  aspect-ratio: 1 / 1;
}

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

.media-item:hover .media-img-container img {
  transform: scale(1.03);
}

.media-info {
  padding: 18px;
}

.media-info h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.media-info p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.review-banner {
  background: var(--rainbow-subtle);
  border: 2px solid rgba(79,70,229,0.2);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 20px;
}

.review-score-box {
  display: flex;
  align-items: center;
  gap: 16px;
}

.score-num {
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.stars-row {
  color: #f59e0b;
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

table.comp-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 680px;
}

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

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

table.comp-table th.highlight-col, table.comp-table td.highlight-col {
  background: rgba(79,70,229,0.03);
  font-weight: 700;
  color: var(--primary-dark);
}

.badge-tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
}

.badge-green { background: #dcfce7; color: #15803d; }
.badge-blue { background: #e0f2fe; color: #0369a1; }
.badge-yellow { background: #fef9c3; color: #a16207; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.review-body {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: normal;
}

.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #f1f5f9;
  padding-top: 14px;
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--rainbow-gradient);
  color: #ffffff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.reviewer-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

.reviewer-info p {
  font-size: 0.8rem;
  color: var(--text-light);
}

.faq-container {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.faq-trigger {
  width: 100%;
  text-align: left;
  padding: 18px 24px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  gap: 16px;
}

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

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

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  background: #fafafa;
}

.faq-content-inner {
  padding: 0 24px 20px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.form-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-md);
}

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

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

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

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

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

.contact-info-card {
  background: var(--rainbow-subtle);
  border: 1px solid rgba(79,70,229,0.15);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-main);
}

.contact-list strong {
  min-width: 80px;
  color: var(--text-muted);
}

.qr-code-box {
  text-align: center;
  background: #ffffff;
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  display: inline-block;
  max-width: 180px;
  margin: 0 auto;
}

.qr-code-box img {
  width: 130px;
  height: 130px;
  object-fit: contain;
  margin-bottom: 8px;
  display: block;
}

.qr-code-box span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.article-card-link {
  display: block;
  padding: 16px 20px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.article-card-link:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.agent-banner {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 50px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 30px;
  align-items: center;
}

.agent-content h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: #ffffff;
}

.agent-content p {
  font-size: 1.05rem;
  color: #cbd5e1;
  margin-bottom: 24px;
  line-height: 1.6;
}

.agent-perks {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}

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

footer.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  padding: 50px 0 24px;
}

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

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 12px;
  max-width: 380px;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
}

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

.footer-links-list li a {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.friend-links-box {
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  margin-bottom: 24px;
}

.friend-links-box h5 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}

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

.friend-links-wrap a {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

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

.float-bar {
  position: fixed;
  right: 24px;
  bottom: 30px;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.float-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--primary);
  text-decoration: none;
  font-size: 1.2rem;
  transition: transform 0.2s ease, background 0.2s ease;
}

.float-btn:hover {
  transform: scale(1.08);
  background: var(--rainbow-subtle);
  border-color: var(--primary);
}

.wechat-popover {
  position: relative;
}

.wechat-dropdown {
  position: absolute;
  bottom: 0;
  right: 60px;
  background: #ffffff;
  padding: 12px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  display: none;
  width: 140px;
  text-align: center;
}

.wechat-popover:hover .wechat-dropdown {
  display: block;
}

.wechat-dropdown img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-steps { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .media-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .agent-banner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .mobile-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
  }
  .nav-links.active { display: flex; }
  .hero-content h1 { font-size: 2.1rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .flow-steps { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .media-gallery-grid { grid-template-columns: 1fr; }
  .form-layout { grid-template-columns: 1fr; padding: 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .agent-banner { padding: 30px 20px; }
  .agent-perks { grid-template-columns: 1fr; }
}