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

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }

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

/* ============ 导航 ============ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(8px);
  z-index: 100;
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
}
.logo { color: #fff; font-size: 20px; font-weight: bold; letter-spacing: 1px; }
.logo span { color: #3b82f6; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a { color: #cbd5e1; font-size: 14px; transition: color .2s; }
.nav-links a:hover { color: #fff; }
.btn-nav {
  background: #3b82f6;
  color: #fff !important;
  padding: 7px 18px;
  border-radius: 6px;
  font-weight: bold;
}
.btn-nav:hover { background: #2563eb; }

/* ============ 首屏 ============ */
.hero {
  padding: 160px 0 100px;
  text-align: center;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  color: #fff;
}
.hero h1 { font-size: 44px; font-weight: bold; margin-bottom: 20px; }
.hero .sub { font-size: 17px; color: #94a3b8; line-height: 1.8; }
.hero-actions { margin-top: 36px; display: flex; gap: 16px; justify-content: center; }

.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  transition: all .2s;
  border: none;
}
.btn-primary { background: #3b82f6; color: #fff; }
.btn-primary:hover { background: #2563eb; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.4); }
.btn-ghost:hover { border-color: #fff; }
.btn-outline { background: transparent; color: #3b82f6; border: 2px solid #3b82f6; }
.btn-outline:hover { background: #3b82f6; color: #fff; }

/* ============ 区块通用 ============ */
.section { padding: 80px 0; }
.section.dark { background: #0f172a; color: #fff; }
.section-title { font-size: 30px; text-align: center; margin-bottom: 12px; }
.section-desc { text-align: center; color: #64748b; margin-bottom: 40px; }
.section.dark .section-desc { color: #94a3b8; }

/* ============ 服务卡片 ============ */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 28px 22px;
  transition: all .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,.1); }
.card-icon { font-size: 34px; margin-bottom: 14px; }
.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p { font-size: 13.5px; color: #64748b; }

/* ============ 为什么找我 ============ */
.why-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.why-item {
  display: flex; gap: 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 20px;
}
.why-item span { font-size: 20px; }
.why-item b { font-size: 15px; display: block; margin-bottom: 4px; }
.why-item p { font-size: 13px; color: #94a3b8; }

/* ============ 价格 ============ */
.price-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.price-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  transition: all .25s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,.1); }
.price-card.highlight {
  border: 2px solid #3b82f6;
  box-shadow: 0 10px 30px rgba(59,130,246,.15);
}
.price-card h3 { font-size: 17px; margin-bottom: 10px; }
.price { font-size: 36px; font-weight: bold; color: #1e3a8a; margin-bottom: 18px; }
.price span { font-size: 14px; font-weight: normal; color: #94a3b8; }
.price-card ul { list-style: none; margin-bottom: 22px; }
.price-card li { font-size: 13.5px; color: #64748b; padding: 5px 0; border-bottom: 1px dashed #e2e8f0; }
.price-card li:last-child { border-bottom: none; }
.note { text-align: center; color: #94a3b8; font-size: 13px; margin-top: 24px; }
.note.center { margin-top: 28px; }

/* ============ 合作流程 ============ */
.flow-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 30px;
}
.step {
  text-align: center;
  padding: 24px 14px;
  background: rgba(255,255,255,.05);
  border-radius: 10px;
}
.step-num {
  width: 40px; height: 40px;
  line-height: 40px;
  margin: 0 auto 12px;
  background: #3b82f6;
  color: #fff;
  border-radius: 50%;
  font-weight: bold;
  font-size: 17px;
}
.step h3 { font-size: 15px; margin-bottom: 8px; }
.step p { font-size: 12.5px; color: #94a3b8; }

/* ============ 成品案例 ============ */
.work {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: #f8fafc;
  border-radius: 16px;
  padding: 40px;
}
.work-info h3 { font-size: 22px; margin-bottom: 12px; }
.work-info p { color: #64748b; font-size: 14px; margin-bottom: 12px; }
.work-info ul { margin: 0 0 18px 18px; }
.work-info li { font-size: 13.5px; color: #475569; padding: 3px 0; }
.work-price { font-size: 18px; font-weight: bold; color: #e11d48; margin-bottom: 16px; }
.tag {
  display: inline-block;
  background: #dcfce7;
  color: #16a34a;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.work-preview .preview-frame {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 15px 40px rgba(0,0,0,.12);
  overflow: hidden;
}
.preview-bar {
  background: #e2e8f0;
  padding: 10px 14px;
  display: flex;
  gap: 6px;
}
.preview-bar span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
}
.preview-content { padding: 24px; }
.pv-row { display: flex; gap: 14px; margin-bottom: 20px; }
.pv-stat {
  flex: 1;
  height: 56px;
  background: linear-gradient(90deg, #dbeafe, #eff6ff);
  border-radius: 8px;
}
.pv-table {
  height: 200px;
  background: linear-gradient(90deg, #f1f5f9, #f8fafc);
  border-radius: 8px;
}

/* ============ 轮播图 ============ */
.carousel {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,.15);
  background: #0f172a;
  user-select: none;
}
.carousel-track {
  display: flex;
  transition: transform .45s ease;
}
.carousel-slide {
  min-width: 100%;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px; height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(15,23,42,.55);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  z-index: 10;
}
.carousel-btn:hover { background: rgba(59,130,246,.85); }
.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }
.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 7px;
  z-index: 10;
}
.carousel-dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  cursor: pointer;
  transition: all .25s;
}
.carousel-dots span.active {
  background: #3b82f6;
  width: 22px;
  border-radius: 5px;
}
.carousel-badge {
  position: absolute;
  top: 10px; right: 10px;
  background: rgba(15,23,42,.7);
  color: #fff;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 14px;
  z-index: 10;
}

/* ============ 联系 ============ */
.contact { text-align: center; }
.contact-text { color: #94a3b8; margin-bottom: 36px; }
.contact-box {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 36px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  padding: 18px 30px;
  text-align: left;
}
.contact-icon { font-size: 28px; }
.contact-item p { font-size: 12.5px; color: #94a3b8; }
.contact-item b { font-size: 18px; color: #fff; }

/* ============ 页脚 ============ */
.footer { background: #0b1220; color: #64748b; text-align: center; padding: 28px 0; font-size: 13px; }
.footer-sub { margin-top: 6px; font-size: 12px; color: #475569; }

/* ============ 响应式 ============ */
@media (max-width: 900px) {
  .cards, .price-cards { grid-template-columns: repeat(2, 1fr); }
  .why-list { grid-template-columns: 1fr; }
  .flow-steps { grid-template-columns: repeat(2, 1fr); }
  .work { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .nav-links { display: none; }
}
@media (max-width: 520px) {
  .cards, .price-cards { grid-template-columns: 1fr; }
  .flow-steps { grid-template-columns: 1fr; }
  .contact-box { flex-direction: column; align-items: center; }
}
