:root {
  --primary: #4f46e5;
  --primary-light: #818cf8;
  --secondary: #06b6d4;
  --accent: #f43f5e;
  --accent-warm: #fb923c;
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #64748b;
  --border-color: #e2e8f0;
  --border-focus: #c7d2fe;
  --grad-banner: linear-gradient(135deg, #eef2ff 0%, #fae8ff 50%, #e0f2fe 100%);
  --grad-accent: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #06b6d4 100%);
  --grad-warm: linear-gradient(135deg, #f43f5e 0%, #fb923c 100%);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --container-max: 1200px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
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-main);
  color: var(--text-main);
  line-height: 1.6;
}
body {
  background: radial-gradient(circle at 10% 20%, #fdf4ff 0%, #f8fafc 40%),
              radial-gradient(circle at 90% 80%, #f0fdfa 0%, #f8fafc 50%);
  background-attachment: fixed;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.site-container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
/* Header & Nav */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  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: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand-group {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.ai-page-logo {
  height: 38px;
  width: auto;
  display: block;
}
.brand-text {
  font-size: 20px;
  font-weight: 800;
  color: #1e1b4b;
  letter-spacing: -0.5px;
}
.brand-badge {
  font-size: 11px;
  font-weight: 700;
  background: #ede9fe;
  color: #6366f1;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}
.nav-links li {
  margin: 0;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a:focus {
  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-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 1px solid transparent;
  outline: none;
}
.btn-primary {
  background: var(--grad-accent);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35);
  color: #ffffff;
}
.btn-outline {
  background: #ffffff;
  color: var(--primary);
  border-color: #c7d2fe;
}
.btn-outline:hover {
  background: #eef2ff;
  border-color: var(--primary);
}
.btn-warm {
  background: var(--grad-warm);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(244, 63, 94, 0.25);
}
.btn-warm:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(244, 63, 94, 0.35);
  color: #ffffff;
}
.btn-sm {
  padding: 6px 14px;
  font-size: 13px;
}
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-color);
  padding: 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--text-main);
}
/* Main Content */
main {
  flex: 1;
}
.section-wrapper {
  padding: 72px 0;
  position: relative;
}
.section-wrapper.alt-bg {
  background: rgba(241, 245, 249, 0.6);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.section-wrapper.highlight-bg {
  background: linear-gradient(180deg, #f8fafc 0%, #fdf2f8 50%, #f8fafc 100%);
}
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 48px;
}
.section-tag {
  display: inline-block;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-full);
  background: #ede9fe;
  color: #6366f1;
  margin-bottom: 12px;
}
.section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}
/* Hero Section */
.hero-section {
  padding: 80px 0 60px;
  background: var(--grad-banner);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}
.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.hero-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: #ffffff;
  border: 1px solid #e0e7ff;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.hero-badge-wrap .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
.hero-badge-wrap span {
  font-size: 13px;
  font-weight: 600;
  color: #4338ca;
}
.hero-title {
  font-size: 44px;
  font-weight: 900;
  line-height: 1.25;
  color: #1e1b4b;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero-title .text-gradient {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-desc {
  font-size: 18px;
  color: #334155;
  max-width: 760px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-portal-btn {
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(79, 70, 229, 0.35);
}
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-md);
}
.hero-stat-item {
  text-align: center;
}
.hero-stat-val {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}
.hero-stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}
/* Service Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.card-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.card-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-focus);
}
.card-badge {
  align-self: flex-start;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  background: #fdf2f8;
  color: #db2777;
}
.card-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
  line-height: 1.4;
}
.card-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}
.card-feature-list {
  list-style: none;
  border-top: 1px dashed var(--border-color);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card-feature-list li {
  font-size: 13px;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 8px;
}
.card-feature-list li::before {
  content: "✓";
  color: #10b981;
  font-weight: bold;
}
/* Model Cloud */
.model-tags-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.model-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.model-tag {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  transition: all 0.2s ease;
}
.model-tag:hover {
  background: #ede9fe;
  color: var(--primary);
  border-color: #c7d2fe;
  transform: translateY(-2px);
}
/* Comparison Table */
.table-responsive {
  overflow-x: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}
.compare-table th,
.compare-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
}
.compare-table th {
  background: #f8fafc;
  font-weight: 700;
  color: var(--text-main);
}
.compare-table tr:last-child td {
  border-bottom: none;
}
.compare-table .highlight-col {
  background: #f5f3ff;
  font-weight: 600;
  color: var(--primary);
}
.star-score {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  color: #e11d48;
}
/* Flow / Steps */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.process-step {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.step-num {
  width: 44px;
  height: 44px;
  background: var(--grad-accent);
  color: #ffffff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 16px;
}
.step-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.step-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}
/* Media Showcase */
.media-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.media-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.media-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f1f5f9;
}
.media-img-wrap.square {
  aspect-ratio: 1 / 1;
}
.media-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}
.media-item:hover img {
  transform: scale(1.03);
}
.media-body {
  padding: 20px;
}
.media-body h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}
.media-body p {
  font-size: 13px;
  color: var(--text-muted);
}
/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.user-info {
  display: flex;
  flex-direction: column;
}
.user-name {
  font-weight: 700;
  font-size: 15px;
}
.user-role {
  font-size: 12px;
  color: var(--text-light);
}
.review-stars {
  color: #f59e0b;
  font-size: 14px;
}
.review-content {
  font-size: 14px;
  color: #334155;
  line-height: 1.6;
}
/* FAQ Accordion */
.faq-container {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.2s ease;
}
.faq-trigger {
  width: 100%;
  padding: 18px 20px;
  text-align: left;
  background: none;
  border: none;
  outline: none;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.faq-trigger:hover {
  background: #f8fafc;
}
.faq-icon {
  font-size: 18px;
  font-weight: bold;
  color: var(--primary);
  transition: transform 0.3s ease;
}
.faq-answer {
  display: none;
  padding: 0 20px 20px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  border-top: 1px solid #f1f5f9;
  padding-top: 14px;
}
.faq-item.active .faq-answer {
  display: block;
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
}
/* Articles & Form Section */
.grid-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
}
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.form-group {
  margin-bottom: 18px;
}
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-main);
  background: #f8fafc;
  outline: none;
  transition: border-color 0.2s ease;
}
.form-control:focus {
  border-color: var(--primary);
  background: #ffffff;
}
textarea.form-control {
  resize: vertical;
  min-height: 90px;
}
.articles-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}
.article-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 16px;
}
.article-list li {
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border-color);
}
.article-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.article-list a {
  text-decoration: none;
  color: var(--text-main);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease;
  display: block;
}
.article-list a:hover {
  color: var(--primary);
}
.article-meta {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 4px;
}
/* Contact / Channels */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.contact-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.contact-box h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.contact-box p {
  font-size: 14px;
  color: var(--text-muted);
  word-break: break-all;
}
.qr-container {
  width: 140px;
  height: 140px;
  margin: 12px auto 0;
  padding: 6px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: #ffffff;
}
.qr-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Footer */
footer.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 56px 0 24px;
  border-top: 1px solid #1e293b;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}
.footer-col h4 {
  color: #f8fafc;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s ease;
}
.footer-links a:hover {
  color: #ffffff;
}
.friend-links-box {
  border-top: 1px solid #1e293b;
  padding-top: 24px;
  margin-bottom: 24px;
}
.friend-links-box h5 {
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}
.friend-links-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}
.friend-links-flex a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 12px;
  transition: color 0.2s ease;
}
.friend-links-flex a:hover {
  color: #38bdf8;
}
.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  margin: 0;
}
/* Floating Widget */
.floating-kefu {
  position: fixed;
  right: 20px;
  bottom: 80px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.kefu-btn {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: transform 0.2s ease;
  position: relative;
}
.kefu-btn:hover {
  transform: scale(1.08);
}
.kefu-popover {
  display: none;
  position: absolute;
  right: 58px;
  bottom: 0;
  background: #ffffff;
  padding: 12px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  border: 1px solid var(--border-color);
  width: 160px;
  text-align: center;
}
.kefu-popover img {
  width: 130px;
  height: 130px;
  display: block;
  margin: 0 auto 6px;
}
.kefu-popover span {
  font-size: 12px;
  color: var(--text-main);
  font-weight: 600;
}
.kefu-btn:hover .kefu-popover {
  display: block;
}
.back-top {
  width: 44px;
  height: 44px;
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  text-decoration: none;
  transition: all 0.2s ease;
}
.back-top:hover {
  background: #f1f5f9;
}
/* Responsive */
@media (max-width: 992px) {
  .hero-title {
    font-size: 34px;
  }
  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-split {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 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: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
  }
  .nav-links.show {
    display: flex;
  }
  .nav-actions {
    display: none;
  }
  .hero-title {
    font-size: 28px;
  }
  .hero-desc {
    font-size: 15px;
  }
  .media-gallery-grid {
    grid-template-columns: 1fr;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}