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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #333;
  line-height: 1.6;
  background: #f5f7fa;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  text-align: center;
  padding: 100px 20px 80px;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero .subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 32px;
}

.btn {
  display: inline-block;
  background: #fff;
  color: #667eea;
  padding: 12px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* 通用标题 */
.section-title {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 48px;
  color: #222;
}

/* 服务卡片 */
.services {
  padding: 80px 0;
  background: #fff;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.card {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.card-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: #111;
}

.card p {
  font-size: 0.95rem;
  color: #666;
}

.card code {
  background: #e8eaed;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.85rem;
}

/* 流程步骤 */
.steps {
  padding: 80px 0;
}

.step-list {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  flex: 1;
  min-width: 260px;
  max-width: 320px;
}

.step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.step h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.step p {
  font-size: 0.9rem;
  color: #666;
}

.step code {
  background: #e8eaed;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.85rem;
}

/* 已部署站点 */
.sites {
  padding: 80px 0;
  background: #fff;
}

.site-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.site-card {
  display: block;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
}

.site-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.site-type {
  display: inline-block;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
  font-weight: 600;
}

.site-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #111;
}

.site-card p {
  font-size: 0.9rem;
  color: #666;
}

.empty {
  text-align: center;
  color: #999;
  font-size: 1rem;
  padding: 40px 0;
}

/* 底部 */
.footer {
  background: #1f2937;
  color: #9ca3af;
  text-align: center;
  padding: 32px 20px;
  font-size: 0.9rem;
}

/* 响应式 */
@media (max-width: 640px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero .subtitle {
    font-size: 1rem;
  }
  .section-title {
    font-size: 1.4rem;
  }
}
