:root {
  --primary: #10b981;
  --primary-dark: #059669;
  --primary-light: #ecfdf5;
  --primary-tint: #d1fae5;
  --secondary: #064e3b;
  --accent: #14b8a6;
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #64748b;
  --border: #e2e8f0;
  --border-focus: #a7f3d0;
  --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(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  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 {
  overflow-x: hidden;
  background: linear-gradient(180deg, #f0fdf4 0%, #f8fafc 400px, #f8fafc 100%);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Header & Navigation */
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);
  transition: var(--transition);
}

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

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

.brand-area .logo-container {
  max-width: 130px;
  display: flex;
  align-items: center;
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: -0.02em;
}

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

.nav-links a {
  padding: 8px 14px;
  text-decoration: none;
  font-size: 0.935rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.935rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
  transform: translateY(-1px);
}

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

.btn-outline:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--text-main);
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
  display: block;
}

/* Sections Global */
section {
  padding: 72px 0;
  position: relative;
}

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

.section-badge {
  display: inline-block;
  font-size: 0.815rem;
  font-weight: 700;
  color: var(--primary-dark);
  background: var(--primary-light);
  border: 1px solid var(--primary-tint);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.section-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

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

/* Hero Section (No Images as per rule) */
.hero-section {
  padding: 80px 0 60px 0;
  background: radial-gradient(circle at 50% 0%, #d1fae5 0%, #ecfdf5 40%, rgba(248, 250, 252, 0) 80%);
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--primary-tint);
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-dark);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  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 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

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

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

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

.hero-cta-group .btn-lg {
  padding: 14px 32px;
  font-size: 1.05rem;
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: #ffffff;
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.stat-item {
  text-align: center;
}

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

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

/* Model Ecosystem Badge Cloud */
.model-ecosystem-section {
  padding: 30px 0 60px 0;
}

.model-cloud-box {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.model-cloud-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.model-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.model-tag {
  background: var(--bg-page);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
}

.model-tag:hover {
  background: var(--primary-light);
  border-color: var(--primary-tint);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

/* Card Grids */
.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: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.card-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.25rem;
  font-weight: 700;
}

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

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

/* Media Showcase Section */
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.media-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.media-img-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: var(--bg-page);
  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.4s ease;
}

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

.media-info {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.media-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-dark);
  background: var(--primary-light);
  padding: 2px 8px;
  border-radius: 4px;
  align-self: flex-start;
  margin-bottom: 8px;
}

/* Process Timeline Steps */
.step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

.step-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.step-number {
  display: inline-block;
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  background: var(--primary-dark);
  color: #ffffff;
  font-weight: 800;
  border-radius: 50%;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

/* Comparison Table */
.table-container {
  width: 100%;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
}

.rating-summary-banner {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  padding: 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.rating-badge-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.star-rating {
  color: #f59e0b;
  font-size: 1.25rem;
  letter-spacing: 2px;
}

.score-text {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--secondary);
}

.score-text small {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

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

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

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

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

.custom-table .highlight-col {
  background-color: #f0fdf4;
  font-weight: 600;
  color: var(--primary-dark);
}

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

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

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

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

.faq-question svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  color: var(--text-light);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
  background: #fafafa;
}

.faq-answer p {
  padding-bottom: 20px;
  font-size: 0.935rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 8px 24px 0 24px;
}

/* Reviews Grid */
.review-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-tint);
}

.review-stars {
  color: #f59e0b;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.review-content {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  font-style: italic;
}

.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviewer-avatar-placeholder {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.reviewer-name {
  font-weight: 700;
  font-size: 0.925rem;
  color: var(--text-main);
}

.reviewer-role {
  font-size: 0.775rem;
  color: var(--text-light);
}

/* Form & Contact Section */
.contact-container {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}

.form-panel {
  padding: 40px;
}

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

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

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.925rem;
  color: var(--text-main);
  background: #ffffff;
  outline: none;
  transition: var(--transition);
}

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

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

.info-panel {
  background: linear-gradient(180deg, #ecfdf5 0%, #f0fdf4 100%);
  padding: 40px;
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.info-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 20px;
}

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

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.925rem;
  color: var(--text-muted);
}

.info-item strong {
  color: var(--text-main);
}

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

.qr-box img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
}

.qr-text {
  font-size: 0.775rem;
  color: var(--text-light);
  margin-top: 8px;
  font-weight: 600;
}

/* Articles Section */
.article-list-wrap {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.article-row-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.article-row-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-page);
  text-decoration: none;
  color: var(--text-main);
  transition: var(--transition);
}

.article-row-item:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
}

.article-item-title {
  font-weight: 600;
  font-size: 0.935rem;
}

.article-item-arrow {
  color: var(--text-light);
  font-size: 0.85rem;
}

/* Footer & Friend Links */
.site-footer {
  background: #064e3b;
  color: #ecfdf5;
  padding: 56px 0 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-brand h4 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #ffffff;
}

.footer-brand p {
  font-size: 0.875rem;
  color: #a7f3d0;
  line-height: 1.6;
}

.footer-col h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
}

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

.footer-links a {
  color: #a7f3d0;
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.friend-links-box {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 24px;
}

.friend-links-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

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

.friend-links-wrap a {
  color: #a7f3d0;
  text-decoration: none;
  font-size: 0.825rem;
  transition: var(--transition);
}

.friend-links-wrap a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.815rem;
  color: #6ee7b7;
}

/* Floating Tools */
.floating-widget {
  position: fixed;
  right: 20px;
  bottom: 30px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.float-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--primary-dark);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}

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

.float-btn svg {
  width: 22px;
  height: 22px;
}

/* Responsive Rules */
@media (max-width: 1024px) {
  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4, .step-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3, .media-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--border);
    display: none;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.show {
    display: flex;
  }
  .nav-actions {
    display: none;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .grid-3, .grid-4, .grid-2, .media-grid, .step-grid {
    grid-template-columns: 1fr;
  }
  .contact-container {
    grid-template-columns: 1fr;
  }
  .info-panel {
    border-left: none;
    border-top: 1px solid var(--border);
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
}