/* style.css */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, "Microsoft YaHei", "PingFang SC", sans-serif;
  background: #f5f7fb;
  color: #333;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* 顶部导航 */
.header {
  background: #1a2332;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.logo {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}
.nav { display: flex; gap: 8px; }
.nav a {
  color: #b0bec5;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  transition: background .2s, color .2s;
}
.nav a:hover, .nav a.active {
  background: #3b82f6;
  color: #fff;
}

/* 页面主体 */
.main {
  flex: 1;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

/* 首页横幅 */
.hero {
  background: linear-gradient(135deg, #1e3a5f, #3b82f6);
  color: #fff;
  text-align: center;
  padding: 80px 24px;
  border-radius: 14px;
  margin-bottom: 40px;
}
.hero h1 { font-size: 32px; margin-bottom: 12px; }
.hero p { font-size: 16px; opacity: .85; margin-bottom: 28px; }
.hero-btn {
  display: inline-block;
  background: #fff;
  color: #3b82f6;
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .15s;
}
.hero-btn:hover { transform: translateY(-2px); }

/* 优势卡片 */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.feature-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  text-align: center;
}
.feature-card .icon { font-size: 36px; margin-bottom: 12px; }
.feature-card h3 { font-size: 16px; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: #666; }

/* 页脚 */
.footer {
  background: #1a2332;
  color: #78909c;
  text-align: center;
  padding: 20px;
  font-size: 13px;
}

/* 联系页 */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.contact-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.contact-card h3 { margin-bottom: 12px; font-size: 16px; }
.contact-card p { font-size: 14px; color: #555; margin-bottom: 6px; }
.contact-card a { color: #3b82f6; text-decoration: none; }

/* 价格页表格（沿用之前） */
.tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.tab-btn {
  padding: 8px 18px;
  border: 1px solid #d0d5dd;
  border-radius: 20px;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
}
.tab-btn.active {
  background: #3b82f6;
  color: #fff;
  border-color: #3b82f6;
}
.section-title {
  max-width: 1100px;
  margin: 0 auto 12px;
  font-size: 17px;
  font-weight: 700;
  padding-left: 4px;
}
.table-wrap {
  display: none;
  max-width: 1100px;
  margin: 0 auto 36px;
  overflow-x: auto;
}
.table-wrap.active { display: block; }
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,.06);
  font-size: 14px;
}
th, td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid #ebeef5;
}
th { background: #f8fafc; font-weight: 600; white-space: nowrap; }
tr:last-child td { border-bottom: none; }
tr:hover { background: #f9fbff; }
.price { color: #3b82f6; font-weight: 700; white-space: nowrap; }
@media (max-width: 700px) {
  th, td { padding: 10px 10px; font-size: 13px; }
  .hero h1 { font-size: 24px; }
}