/* ===== 城市页专用样式 ===== */
:root {
  --brand: #ff2442;
  --brand-light: #fff5f6;
  --brand-dark: #d41c34;
  --text-primary: #1a1a2e;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.1);
  --radius: 12px;
  --radius-sm: 8px;
}

.city-hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #2d2d4a 50%, #1a1a2e 100%);
  padding: 64px 0 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.city-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(255,36,66,0.08) 0%, transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(255,36,66,0.05) 0%, transparent 50%);
  pointer-events: none;
}
.city-hero h1 {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
  letter-spacing: -0.5px;
  position: relative;
}
.city-hero p {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
  position: relative;
}
.city-hero .hero-badge {
  display: inline-block;
  background: rgba(255,36,66,0.2);
  color: #ff6b7a;
  font-size: 13px;
  padding: 4px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
  position: relative;
}

.city-section {
  padding: 56px 0;
}
.city-section-alt {
  background: var(--bg-light);
}
.city-section-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  margin: 0 0 8px;
  letter-spacing: -0.3px;
}
.city-section-sub {
  font-size: 15px;
  color: var(--text-secondary);
  text-align: center;
  margin: 0 0 40px;
}

/* 服务卡片 */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all 0.3s ease;
  position: relative;
}
.service-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.service-card .icon-wrap {
  width: 48px;
  height: 48px;
  background: var(--brand-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 22px;
}
.service-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 8px;
}
.service-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* 数据统计 */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.stat-item {
  text-align: center;
  padding: 24px 16px;
  background: var(--bg-white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.stat-item .num {
  font-size: 32px;
  font-weight: 700;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-item .num span { font-size: 16px; font-weight: 400; }
.stat-item .label {
  font-size: 14px;
  color: var(--text-secondary);
}

/* 案例卡片 */
.case-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
  border-left: 3px solid var(--brand);
}
.case-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 8px;
}
.case-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}
.case-card .tag {
  display: inline-block;
  background: var(--brand-light);
  color: var(--brand);
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}

/* 策略框 */
.strategy-box {
  background: var(--brand-light);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius-sm);
  padding: 24px 28px;
  line-height: 1.9;
}
.strategy-box p { margin: 6px 0; font-size: 14px; color: var(--text-secondary); }
.strategy-box strong { color: var(--text-primary); }

/* 用户画像 */
.profile-box {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 32px;
}
.profile-box p { margin: 0; font-size: 14px; color: var(--text-secondary); }
.profile-box strong { color: var(--text-primary); }

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-item .q {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 15px;
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.faq-item .q::before {
  content: 'Q';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.faq-item .a {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  padding-left: 32px;
}

/* 流程条 */
.process-steps {
  display: flex;
  justify-content: center;
  gap: 0;
  position: relative;
}
.process-step {
  text-align: center;
  flex: 1;
  position: relative;
  padding: 0 8px;
}
.process-step .step-num {
  width: 40px;
  height: 40px;
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  margin: 0 auto 10px;
  position: relative;
  z-index: 1;
}
.process-step .step-label {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}
.process-step + .process-step::before {
  content: '';
  position: absolute;
  top: 20px;
  left: -50%;
  width: 100%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

/* CTA区块 */
.cta-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #2d2d4a 100%);
  padding: 48px 0;
  text-align: center;
}
.cta-section h3 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
}
.cta-section p {
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  margin: 0 0 24px;
}
.cta-section .cta-btn {
  display: inline-block;
  padding: 14px 40px;
  background: var(--brand);
  color: #fff;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}
.cta-section .cta-btn:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255,36,66,0.3);
}
.cta-section .contact-info {
  margin-top: 20px;
  font-size: 15px;
  color: rgba(255,255,255,0.6);
}
.cta-section .contact-info strong {
  color: #fff;
}

/* 相关推荐 */
.related-links {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
}
.related-links .link-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 10px;
}
.related-links .link-group a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.related-links .link-group a:hover { color: var(--brand); }
.related-links .link-group .group-label {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 14px;
  min-width: 80px;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .city-hero { padding: 40px 0 32px; }
  .city-hero h1 { font-size: 26px; }
  .service-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .profile-box { grid-template-columns: 1fr; }
  .process-steps { flex-wrap: wrap; gap: 16px; }
  .process-step { flex: 0 0 30%; }
  .process-step + .process-step::before { display: none; }
  .city-section { padding: 36px 0; }
}
@media (max-width: 480px) {
  .stats-row { grid-template-columns: 1fr 1fr; }
}
