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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: #333;
  line-height: 1.7;
}

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

/* 导航 */
.header {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
}

.logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: #2563eb;
  text-decoration: none;
}

nav a {
  margin-left: 24px;
  color: #666;
  text-decoration: none;
  font-size: 0.95rem;
}

nav a:hover { color: #2563eb; }

/* 按钮 */
.btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
}

.btn-white { background: #fff; color: #2563eb; }
.btn-white:hover { background: #f0f0f0; }

.btn-line {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.6);
}

.btn-line:hover { background: rgba(255,255,255,0.1); }

.btn-blue { background: #2563eb; color: #fff; }
.btn-blue:hover { background: #1d4ed8; }

.btn-full { width: 100%; }

/* 首屏 */
.hero {
  background: #2563eb;
  color: #fff;
  padding: 80px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: center;
}

.label {
  font-size: 0.85rem;
  opacity: 0.8;
  margin-bottom: 12px;
}

.hero-text h1 {
  font-size: 2rem;
  line-height: 1.35;
  margin-bottom: 16px;
}

.desc {
  opacity: 0.9;
  margin-bottom: 24px;
}

.hero-btns {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-tags {
  list-style: none;
  display: flex;
  gap: 16px;
  font-size: 0.875rem;
  opacity: 0.85;
}

.hero-box {
  background: #fff;
  color: #333;
  border-radius: 10px;
  padding: 24px;
}

.hero-box h3 {
  font-size: 1rem;
  color: #2563eb;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
}

.hero-box ul { list-style: none; }

.hero-box li {
  padding: 10px 0;
  border-bottom: 1px solid #f3f4f6;
}

.hero-box li:last-child { border-bottom: none; }

.hero-box strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.hero-box span {
  font-size: 0.8rem;
  color: #888;
}

/* 通用区块 */
.section { padding: 64px 0; }

.bg-gray { background: #f9fafb; }

.title {
  font-size: 1.5rem;
  margin-bottom: 24px;
  color: #111;
}

.section p {
  color: #666;
  margin-bottom: 12px;
}

/* 卡片 */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.card-grid.three { grid-template-columns: repeat(3, 1fr); }

.card {
  background: #fff;
  padding: 24px;
  border-radius: 8px;
  border: 1px solid #eee;
}

.card h3 {
  font-size: 1.05rem;
  color: #2563eb;
  margin-bottom: 8px;
}

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

.tag {
  display: inline-block;
  padding: 2px 8px;
  background: #eff6ff;
  color: #2563eb;
  border-radius: 4px;
  font-size: 0.75rem;
  margin-bottom: 8px;
}

/* 联系 */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.info-list {
  list-style: none;
  margin-top: 8px;
}

.info-list li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  font-size: 0.95rem;
  color: #666;
}

.info-list strong {
  color: #333;
  margin-right: 12px;
}

.form input,
.form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
}

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: #2563eb;
}

.form textarea { resize: vertical; }

/* 页脚 */
.footer {
  background: #111;
  color: #999;
  padding: 28px 0;
  text-align: center;
  font-size: 0.875rem;
}

.beian { margin-top: 10px; }

.beian a {
  color: #999;
  text-decoration: none;
  font-size: 0.8rem;
}

.beian a:hover { color: #ccc; }

/* 响应式 */
@media (max-width: 768px) {
  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .card-grid.three {
    grid-template-columns: 1fr;
  }

  .header-inner {
    flex-direction: column;
    height: auto;
    padding: 14px 0;
    gap: 10px;
  }

  nav a { margin: 0 10px; }

  .hero-text h1 { font-size: 1.5rem; }
}