/* ============================================
   价值主张页 - 页面特有样式
   共享样式（topbar/footer/btn/section-title）在 site.css 中
   ============================================ */

/* nav active 样式 */
.nav a.active {
  color: var(--primary-color);
  border-color: var(--primary-color);
  font-weight: 500;
}

/* Hero区域 */
.values-hero {
  padding: 60px 24px;
  text-align: center;
  background: var(--gradient-1);
  border-radius: var(--card-radius);
  margin-bottom: var(--section-gap);
  color: white;
}
.values-hero h1 {
  margin: 0 0 16px 0;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
}
.values-hero p {
  margin: 0;
  font-size: clamp(16px, 2vw, 20px);
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* 通用 Section 容器 */
.content-section {
  padding: 48px 24px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  border-radius: var(--card-radius);
  margin-bottom: var(--section-gap);
}

/* section-title 覆盖：居中 + 无下划线 */
.content-section .section-title {
  display: block;
  text-align: center;
  color: var(--text-primary);
  margin: 0 0 16px 0;
}
.content-section .section-title::after {
  display: none;
}

/* section-subtitle */
.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto 32px auto;
  line-height: 1.6;
}

/* Section 1：三个困扰 */
.troubles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.trouble-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--card-radius);
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.trouble-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.trouble-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-1);
  color: white;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}
.trouble-card h3 {
  margin: 0 0 12px 0;
  font-size: 1.2em;
  color: var(--primary-color);
}
.trouble-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95em;
  line-height: 1.6;
}

/* Section 2：KSME模型 */
.ksme-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.ksme-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--card-radius);
  padding: 28px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform 0.2s, box-shadow 0.2s;
}
.ksme-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.ksme-letter {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  color: white;
}
.ksme-k { background: #6366f1; }
.ksme-s { background: #8b5cf6; }
.ksme-m { background: #ec4899; }
.ksme-e { background: #10b981; }
.ksme-card h3 {
  margin: 0 0 6px 0;
  font-size: 1.1em;
  color: var(--text-primary);
}
.ksme-card .ksme-owner {
  font-size: 0.85em;
  color: var(--primary-color);
  font-weight: 500;
  margin: 0 0 8px 0;
}
.ksme-card p:last-child {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95em;
  line-height: 1.5;
}

/* Section 3：三个条件 */
.conditions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.condition-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--card-radius);
  padding: 28px 24px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.condition-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.condition-icon {
  font-size: 2.5em;
  margin-bottom: 12px;
}
.condition-card h3 {
  margin: 0 0 10px 0;
  font-size: 1.1em;
  color: var(--primary-color);
}
.condition-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95em;
  line-height: 1.5;
}

/* Section 4：六步工作流 */
.workflow-container {
  max-width: 900px;
  margin: 0 auto;
}
.workflow-detail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.workflow-detail-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--card-radius);
  padding: 24px;
}
.workflow-detail-card h4 {
  margin: 0 0 8px 0;
  font-size: 1em;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 8px;
}
.workflow-detail-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.93em;
  line-height: 1.6;
}
.step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gradient-1);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

/* Section 5：规则驱动 vs 对话式 */
.compare-container {
  max-width: 800px;
  margin: 0 auto;
}
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--card-radius);
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--bg-white);
}
.compare-table th {
  padding: 16px 20px;
  text-align: left;
  font-size: 1em;
  font-weight: 600;
}
.compare-table th:first-child {
  background: var(--bg-light);
  color: var(--text-secondary);
  width: 25%;
}
.compare-table th:nth-child(2) {
  background: var(--gradient-1);
  color: white;
}
.compare-table th:nth-child(3) {
  background: var(--bg-light);
  color: var(--text-secondary);
}
.compare-table td {
  padding: 14px 20px;
  border-top: 1px solid var(--border-color);
  font-size: 0.95em;
  line-height: 1.5;
  color: var(--text-secondary);
}
.compare-table td:first-child {
  font-weight: 500;
  color: var(--text-primary);
}
.compare-table tr:hover td {
  background: rgba(99, 102, 241, 0.03);
}
.compare-highlight {
  color: var(--primary-color);
  font-weight: 500;
}
.compare-verdict {
  text-align: center;
  margin-top: 24px;
  padding: 20px;
  background: rgba(99, 102, 241, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(99, 102, 241, 0.1);
}
.compare-verdict p {
  margin: 0;
  font-size: 1.05em;
  color: var(--text-primary);
  line-height: 1.6;
}

/* CTA区域 */
.cta-section {
  text-align: center;
  padding: 48px 24px;
  background: var(--gradient-1);
  border-radius: var(--card-radius);
  margin-bottom: var(--section-gap);
  color: white;
}
.cta-section h2 {
  margin: 0 0 16px 0;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
}
.cta-section p {
  margin: 0 0 24px 0;
  opacity: 0.9;
  font-size: 16px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 24px;
}
.cta-section .btn {
  background: white;
  color: var(--primary-color);
  font-weight: 600;
  border-color: white;
}
.cta-section .btn:hover {
  background: rgba(255, 255, 255, 0.9);
}

/* 响应式 */
@media (max-width: 767px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .nav {
    width: 100%;
    justify-content: center;
  }
  .values-hero { padding: 40px 20px; }
  .content-section { padding: 32px 20px; }
  .troubles-grid,
  .conditions-grid {
    grid-template-columns: 1fr;
  }
  .ksme-grid {
    grid-template-columns: 1fr;
  }
  .workflow-detail {
    grid-template-columns: 1fr;
  }
  .compare-table { font-size: 14px; }
  .compare-table th,
  .compare-table td { padding: 10px 12px; }
}
