:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --text: #1f2937;
  --text-light: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --border: #e5e7eb;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--bg);
}

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

/* 导航 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 16px;
}

.nav-menu {
  display: flex;
  gap: 28px;
}

.nav-menu a {
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s;
}

.nav-menu a:hover {
  color: var(--primary);
}

/* Hero */
.hero {
  padding: 96px 0;
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 60%);
}

.hero-inner {
  text-align: center;
}

.hero h1 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: 1px;
}

.hero-sub {
  margin-top: 16px;
  font-size: 18px;
  color: var(--text-light);
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  gap: 16px;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-ghost {
  border: 1px solid var(--primary);
  color: var(--primary);
}

.btn-ghost:hover {
  background: #eff6ff;
}

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

.section-alt {
  background: var(--bg-alt);
}

.section-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 40px;
}

/* 公司介绍 */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}

.about-text p {
  margin-bottom: 16px;
  color: var(--text);
}

.about-points {
  list-style: none;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}

.about-points li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.about-points li:last-child {
  border-bottom: none;
}

.about-points strong {
  color: var(--primary);
}

/* 主营业务 */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

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

.card h3 {
  font-size: 19px;
  margin-bottom: 12px;
}

.card p {
  color: var(--text-light);
  font-size: 14px;
}

/* 服务优势 */
.adv-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.adv-item {
  text-align: center;
  padding: 24px;
}

.adv-item h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--primary);
}

.adv-item p {
  color: var(--text-light);
  font-size: 14px;
}

/* 联系我们 */
.contact-wrap {
  text-align: center;
}

.contact-intro {
  color: var(--text-light);
  margin-bottom: 32px;
}

.contact-info p {
  margin-bottom: 8px;
}

/* 页脚 */
.site-footer {
  background: #111827;
  color: #9ca3af;
  padding: 32px 0;
  font-size: 14px;
}

.footer-inner {
  text-align: center;
}

.footer-inner p {
  margin-bottom: 8px;
}

.footer-inner a {
  color: #9ca3af;
  text-decoration: none;
}

.footer-inner a:hover {
  color: #fff;
}

/* 响应式 */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 30px;
  }

  .nav-menu {
    display: none;
  }

  .about-grid,
  .card-grid,
  .adv-list {
    grid-template-columns: 1fr;
  }
}
