:root {
  --primary: #10b981;
  --primary-dark: #059669;
  --primary-light: #ecfdf5;
  --accent: #047857;
  --lime: #84cc16;
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --text-main: #0f172a;
  --text-sub: #475569;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --border-focus: #10b981;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(16, 185, 129, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --container-width: 1200px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  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.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

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

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

.brand-wrapper img {
  height: 40px;
  width: auto;
}

.brand-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.5px;
}

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

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-sub);
  padding: 8px 12px;
  border-radius: 6px;
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

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

.btn-primary:hover {
  background-color: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

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

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

.btn-sm {
  padding: 6px 14px;
  font-size: 13px;
}

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

/* 首屏 Hero (严格无图片) */
.hero-section {
  padding: 70px 0 60px;
  background: linear-gradient(180deg, #ecfdf5 0%, #f8fafc 100%);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -50px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(132, 204, 22, 0.15) 0%, rgba(16, 185, 129, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hero-content h1 {
  font-size: 38px;
  line-height: 1.25;
  font-weight: 800;
  color: #064e3b;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-content p {
  font-size: 17px;
  color: var(--text-sub);
  margin-bottom: 28px;
  max-width: 600px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-badge-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #d1fae5;
  color: #065f46;
  font-size: 13px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 9999px;
  box-shadow: var(--shadow-sm);
}

.hero-code-card {
  background: #ffffff;
  border: 1px solid #a7f3d0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.code-dots {
  display: flex;
  gap: 6px;
}

.code-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #f87171; }
.dot-yellow { background: #fbbf24; }
.dot-green { background: #34d399; }

.code-tag {
  font-size: 12px;
  color: var(--text-muted);
  font-family: monospace;
}

.code-stat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.code-stat-box {
  background: var(--primary-light);
  border: 1px solid #d1fae5;
  border-radius: 10px;
  padding: 14px;
  text-align: center;
}

.stat-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
}

.stat-label {
  font-size: 12px;
  color: var(--text-sub);
  margin-top: 4px;
}

.model-cloud-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.model-pill {
  font-size: 12px;
  padding: 3px 8px;
  background: #f1f5f9;
  color: #334155;
  border-radius: 4px;
  font-family: monospace;
}

/* 通用 Section */
.section {
  padding: 70px 0;
  border-bottom: 1px solid var(--border);
}

.section-light {
  background-color: #ffffff;
}

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

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-dark);
  background: var(--primary-light);
  padding: 4px 14px;
  border-radius: 9999px;
  margin-bottom: 12px;
  border: 1px solid #a7f3d0;
}

.section-title {
  font-size: 30px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-sub);
}

/* 服务与能力网格 */
.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: 28px;
}

.card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  border-color: #a7f3d0;
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--accent);
  margin-bottom: 16px;
}

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

.card-text {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.6;
  flex-grow: 1;
}

/* 平台聚合图谱 */
.platform-chip-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-top: 30px;
}

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

.chips-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #1e293b;
  transition: all 0.2s ease;
}

.chip:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--accent);
}

/* 对比评测板块 */
.rating-banner {
  background: linear-gradient(135deg, #064e3b 0%, #047857 100%);
  color: #ffffff;
  border-radius: 14px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  box-shadow: var(--shadow-md);
}

.rating-score {
  font-size: 44px;
  font-weight: 900;
  color: #a7f3d0;
  line-height: 1;
}

.rating-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}

.rating-info p {
  font-size: 14px;
  opacity: 0.9;
}

.table-container {
  overflow-x: auto;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid var(--border);
}

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

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

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

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

.highlight-col {
  background: #f0fdf4;
  font-weight: 600;
  color: #065f46;
}

/* 素材图展示区 */
.media-showcase-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.media-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.media-box img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.media-caption {
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
}

/* 宣传横幅图组 */
.promo-banners-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.promo-banners-wrap .media-box img {
  height: 180px;
}

/* 流程板块 */
.steps-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
  position: relative;
}

.step-num {
  font-size: 28px;
  font-weight: 900;
  color: #a7f3d0;
  line-height: 1;
  margin-bottom: 12px;
}

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

.step-desc {
  font-size: 13px;
  color: var(--text-sub);
}

/* 评论卡片 */
.testimonial-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #d1fae5;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}

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

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

.testimonial-text {
  font-size: 13.5px;
  color: var(--text-sub);
  line-height: 1.6;
}

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

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group-full {
  grid-column: span 2;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-main);
  outline: none;
  transition: border-color 0.2s;
  background: #ffffff;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

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

/* FAQ 常见问题 */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}

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

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

.faq-question:hover {
  background-color: #fafafa;
}

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

.faq-answer {
  padding: 0 24px 18px;
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.7;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

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

/* 文章与资讯 */
.article-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.article-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.article-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 80%;
}

.article-link {
  font-size: 13px;
  color: var(--primary-dark);
  font-weight: 600;
}

/* 友情链接与网络 */
.friend-links-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  margin-top: 30px;
}

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

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

.friend-links-flex a {
  font-size: 13px;
  color: var(--text-sub);
}

.friend-links-flex a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

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

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

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

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

.footer-col ul a {
  font-size: 13px;
  color: #94a3b8;
}

.footer-col ul a:hover {
  color: #34d399;
}

.footer-contact-item {
  font-size: 13px;
  margin-bottom: 8px;
  color: #cbd5e1;
}

.footer-qr {
  width: 90px;
  height: 90px;
  background: #ffffff;
  padding: 4px;
  border-radius: 6px;
  margin-top: 10px;
}

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

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

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

.float-btn:hover {
  transform: scale(1.08);
  background: var(--primary-dark);
}

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

.qr-popup img {
  width: 100%;
  border-radius: 4px;
}

.qr-popup p {
  font-size: 11px;
  color: var(--text-main);
  margin-top: 6px;
  font-weight: 600;
}

.float-service:hover .qr-popup {
  display: block;
}

/* 响应式断点 */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .grid-3, .steps-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .media-showcase-grid {
    grid-template-columns: 1fr;
  }
  .promo-banners-wrap {
    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: 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }
  .nav-links.active {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
  .grid-3, .grid-4, .grid-2, .steps-container, .article-list, .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group-full {
    grid-column: span 1;
  }
  .hero-content h1 {
    font-size: 28px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .rating-banner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
}