/* ============================================
   AI681 官网商业化样式 V1.0
   用于官网首页、套餐页、诊断页等商业化页面
   ============================================ */

/* ---- 官网首页容器 ---- */
.official-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Hero 区域 ---- */
.hero-section {
  padding: 80px 0 60px;
  text-align: center;
  background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 50%, #f5f9ff 100%);
  border-radius: 16px;
  margin-bottom: 48px;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(22,119,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(22,119,255,0.1);
  color: #1677ff;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
}
.hero-title {
  font-size: 42px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.hero-title .highlight {
  color: #1677ff;
  background: linear-gradient(135deg, #1677ff, #4096ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 18px;
  color: #666;
  line-height: 1.7;
  max-width: 720px;
  margin: 0 auto 36px;
}
.hero-cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}
.hero-btn-primary {
  background: linear-gradient(135deg, #1677ff, #4096ff);
  color: #fff;
  box-shadow: 0 4px 16px rgba(22,119,255,0.3);
}
.hero-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(22,119,255,0.4);
  color: #fff;
}
.hero-btn-outline {
  background: #fff;
  color: #1677ff;
  border: 2px solid #1677ff;
}
.hero-btn-outline:hover {
  background: #f0f7ff;
  transform: translateY(-2px);
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.hero-stat-item {
  text-align: center;
}
.hero-stat-number {
  font-size: 32px;
  font-weight: 700;
  color: #1677ff;
  margin-bottom: 4px;
}
.hero-stat-label {
  font-size: 14px;
  color: #999;
}

/* ---- 通用 Section ---- */
.section {
  padding: 60px 0;
}
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(22,119,255,0.1);
  color: #1677ff;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 16px;
}
.section-title {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
}
.section-desc {
  font-size: 16px;
  color: #666;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---- 痛点区域 ---- */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pain-card {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  padding: 32px 24px;
  transition: all 0.3s;
  text-align: center;
}
.pain-card:hover {
  border-color: #1677ff;
  box-shadow: 0 8px 24px rgba(22,119,255,0.1);
  transform: translateY(-4px);
}
.pain-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  line-height: 1;
  margin: 0 auto 20px;
  overflow: hidden;
}
.pain-icon-1 { background: #fff2f0; }
.pain-icon-2 { background: #fff7e6; }
.pain-icon-3 { background: #f0f5ff; }
.pain-title {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 12px;
}
.pain-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
}

/* ---- 四款标准Agent ---- */
.agent-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.agent-card {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  padding: 28px 20px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.agent-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1677ff, #4096ff);
  transform: scaleX(0);
  transition: transform 0.3s;
}
.agent-card:hover {
  border-color: #1677ff;
  box-shadow: 0 8px 24px rgba(22,119,255,0.12);
  transform: translateY(-4px);
}
.agent-card:hover::before {
  transform: scaleX(1);
}
.agent-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
  margin: 0 auto 16px;
  overflow: hidden;
}
.agent-card-name {
  font-size: 17px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
}
.agent-card-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 16px;
}
.agent-card-features {
  list-style: none;
  padding: 0;
  margin: 0;
}
.agent-card-features li {
  font-size: 12px;
  color: #888;
  padding: 4px 0;
  position: relative;
  text-align: center;
}
.agent-card-features li::before {
  content: '✓';
  margin-right: 6px;
  color: #1677ff;
  color: #52c41a;
  font-weight: 600;
}

/* ---- 服务流程 ---- */
.process-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  flex-wrap: wrap;
  gap: 16px;
}
.process-step {
  flex: 1;
  min-width: 140px;
  text-align: center;
  position: relative;
}
.process-step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1677ff, #4096ff);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 4px 12px rgba(22,119,255,0.3);
}
.process-step-title {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
}
.process-step-desc {
  font-size: 12px;
  color: #999;
  line-height: 1.5;
}
.process-arrow {
  position: absolute;
  top: 24px;
  right: -12px;
  color: #ddd;
  font-size: 20px;
  z-index: 1;
}

/* ---- 套餐区域 ---- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.pricing-card {
  background: #fff;
  border: 2px solid #f0f0f0;
  border-radius: 16px;
  padding: 36px 28px;
  transition: all 0.3s;
  position: relative;
  display: flex;
  flex-direction: column;
}
.pricing-card:hover {
  border-color: #1677ff;
  box-shadow: 0 12px 32px rgba(22,119,255,0.15);
  transform: translateY(-4px);
}
.pricing-card.recommended {
  border-color: #1677ff;
  box-shadow: 0 8px 32px rgba(22,119,255,0.2);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  background: linear-gradient(135deg, #1677ff, #4096ff);
  color: #fff;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}
.pricing-name {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
  text-align: center;
}
.pricing-desc {
  font-size: 13px;
  color: #999;
  text-align: center;
  margin-bottom: 24px;
}
.pricing-price {
  text-align: center;
  margin-bottom: 28px;
}
.pricing-price-value {
  font-size: 36px;
  font-weight: 700;
  color: #1677ff;
}
.pricing-price-unit {
  font-size: 14px;
  color: #999;
}
.pricing-price-contact {
  font-size: 18px;
  font-weight: 600;
  color: #666;
}
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  flex: 1;
}
.pricing-features li {
  font-size: 14px;
  color: #555;
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  border-bottom: 1px solid #f8f8f8;
}
.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #52c41a;
  font-weight: 700;
}
.pricing-features li.disabled {
  color: #ccc;
}
.pricing-features li.disabled::before {
  content: '—';
  color: #ddd;
}
.pricing-btn {
  display: block;
  width: 100%;
  padding: 12px;
  text-align: center;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}
.pricing-btn-primary {
  background: linear-gradient(135deg, #1677ff, #4096ff);
  color: #fff;
}
.pricing-btn-primary:hover {
  box-shadow: 0 4px 16px rgba(22,119,255,0.4);
  color: #fff;
}
.pricing-btn-outline {
  background: #fff;
  color: #1677ff;
  border: 2px solid #1677ff;
}
.pricing-btn-outline:hover {
  background: #f0f7ff;
}

/* ---- 案例区域 ---- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case-card {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
}
.case-card:hover {
  border-color: #1677ff;
  box-shadow: 0 8px 24px rgba(22,119,255,0.1);
  transform: translateY(-4px);
}
.case-card-header {
  padding: 24px;
  background: linear-gradient(135deg, #f0f7ff, #fff);
  border-bottom: 1px solid #f0f0f0;
}
.case-industry {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(22,119,255,0.1);
  color: #1677ff;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 12px;
}
.case-title {
  font-size: 17px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
}
.case-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}
.case-card-body {
  padding: 20px 24px;
}
.case-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  text-align: center;
}
.case-metric-value {
  font-size: 22px;
  font-weight: 700;
  color: #1677ff;
  margin-bottom: 2px;
}
.case-metric-label {
  font-size: 11px;
  color: #999;
}

/* ---- CTA 区域 ---- */
.cta-section {
  background: linear-gradient(135deg, #1677ff 0%, #0958d9 100%);
  border-radius: 16px;
  padding: 60px 40px;
  text-align: center;
  color: #fff;
  margin: 60px 0;
}
.cta-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
}
.cta-desc {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.cta-btn-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-btn-white {
  background: #fff;
  color: #1677ff;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-block;
}
.cta-btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  color: #1677ff;
}
.cta-btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-block;
}
.cta-btn-outline-white:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
  color: #fff;
}

/* ---- FAQ ---- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  padding: 18px 24px;
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}
.faq-question:hover {
  background: #fafafa;
}
.faq-question::after {
  content: '+';
  font-size: 20px;
  color: #1677ff;
  font-weight: 400;
  transition: transform 0.3s;
}
.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}
.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s;
  font-size: 14px;
  color: #666;
  line-height: 1.8;
}
.faq-item.open .faq-answer {
  padding: 0 24px 20px;
  max-height: 500px;
}

/* ---- 诊断页 ---- */
.diagnosis-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 24px;
}
.diagnosis-header {
  text-align: center;
  margin-bottom: 40px;
}
.diagnosis-steps {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 32px;
}
.diagnosis-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #ccc;
}
.diagnosis-step.active {
  color: #1677ff;
  font-weight: 600;
}
.diagnosis-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f0f0f0;
  color: #999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
}
.diagnosis-step.active .diagnosis-step-num {
  background: #1677ff;
  color: #fff;
}
.diagnosis-form-card {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  padding: 36px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}
.form-group {
  margin-bottom: 24px;
}
.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}
.form-label .required {
  color: #ff4d4f;
  margin-left: 2px;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: #1677ff;
  box-shadow: 0 0 0 2px rgba(22,119,255,0.1);
}
.form-textarea {
  resize: vertical;
  min-height: 80px;
}
.form-radio-group, .form-checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.form-radio-item, .form-checkbox-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
}
.form-radio-item:hover, .form-checkbox-item:hover {
  border-color: #1677ff;
}
.form-radio-item.selected, .form-checkbox-item.selected {
  border-color: #1677ff;
  background: #f0f7ff;
  color: #1677ff;
}
.form-btn-group {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 32px;
}
.form-btn {
  padding: 10px 28px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}
.form-btn-primary {
  background: #1677ff;
  color: #fff;
}
.form-btn-primary:hover {
  background: #4096ff;
}
.form-btn-outline {
  background: #fff;
  color: #666;
  border: 1px solid #d9d9d9;
}
.form-btn-outline:hover {
  border-color: #1677ff;
  color: #1677ff;
}

/* 诊断结果页 */
.diagnosis-result-card {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  padding: 36px;
  margin-bottom: 24px;
}
.result-score {
  text-align: center;
  margin-bottom: 32px;
}
.result-score-value {
  font-size: 64px;
  font-weight: 700;
  color: #1677ff;
  line-height: 1;
}
.result-score-label {
  font-size: 16px;
  color: #666;
  margin-top: 8px;
}
.result-section {
  margin-bottom: 28px;
}
.result-section-title {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 16px;
  padding-left: 12px;
  border-left: 3px solid #1677ff;
}
.result-opportunity-item {
  background: #fafafa;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 12px;
}
.result-opportunity-name {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 6px;
}
.result-opportunity-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}
.result-opportunity-meta {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  font-size: 12px;
}
.result-metric {
  color: #999;
}
.result-metric .value {
  color: #1677ff;
  font-weight: 600;
}

/* ---- 响应式 ---- */
@media (max-width: 992px) {
  .agent-grid { grid-template-columns: repeat(2, 1fr); }
  .pain-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .case-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 32px; }
  .section-title { font-size: 26px; }
}
@media (max-width: 576px) {
  .agent-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 26px; }
  .hero-stats { gap: 24px; }
  .process-steps { flex-direction: column; align-items: center; }
  .process-arrow { display: none; }
  .official-page { padding: 0 16px; }
  .diagnosis-form-card { padding: 24px 16px; }
}
