/* ===== 基础重置 ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #1a73e8;
  --primary-dark: #1557b0;
  --primary-light: #e8f0fe;
  --text-main: #1f2937;
  --text-sub: #6b7280;
  --bg-gray: #f6f8fb;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(26, 115, 232, 0.10);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  color: var(--text-main);
  background: var(--white);
  line-height: 1.7;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

/* ===== 导航栏 ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #eef1f5;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
}

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

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

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

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

/* ===== 首屏 ===== */
.hero {
  background: linear-gradient(180deg, #f0f6ff 0%, #ffffff 100%);
  padding: 90px 0 70px;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-text h1 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.35;
  font-weight: 800;
}

.highlight {
  color: var(--primary);
}

.hero-sub {
  margin: 22px 0 30px;
  color: var(--text-sub);
  font-size: 17px;
  max-width: 560px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== 按钮 ===== */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 18px rgba(26, 115, 232, 0.30);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1.5px solid var(--primary);
  color: var(--primary);
  background: #fff;
}

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

/* ===== 二维码卡片 ===== */
.qr-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 20px 14px;
  text-align: center;
  width: 240px;
  margin: 0 auto;
}

.qr-card img {
  width: 100%;
  border-radius: 8px;
  display: block;
}

.qr-card p {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-sub);
}

.qr-big {
  width: 280px;
}

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

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

.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 800;
}

.section-desc {
  text-align: center;
  color: var(--text-sub);
  margin: 10px 0 50px;
  font-size: 16px;
}

/* ===== 功能卡片 ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: #fff;
  border: 1px solid #eef1f5;
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.25s, box-shadow 0.25s;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 18px;
}

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

.feature-card p {
  color: var(--text-sub);
  font-size: 15px;
}

/* ===== 使用流程 ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(31, 41, 55, 0.06);
}

.step-num {
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #4f9bff);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

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

/* ===== 扫码区 ===== */
.cta-section {
  background: linear-gradient(135deg, #1557b0 0%, #1a73e8 60%, #4f9bff 100%);
  color: #fff;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.cta-section .qr-card {
  background: #fff;
}

.cta-text h2 {
  font-size: 30px;
  margin-bottom: 14px;
}

.cta-text p {
  font-size: 16px;
  opacity: 0.92;
}

/* ===== 页脚 ===== */
.footer {
  background: #10192b;
  color: #cbd5e1;
  padding: 34px 0;
  text-align: center;
}

.footer-name {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
}

.footer-sub {
  margin-top: 6px;
  font-size: 14px;
}

.footer-icp {
  margin-top: 14px;
  font-size: 13px;
}

.footer-icp a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-icp a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-inner {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-btns {
    justify-content: center;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 560px) {
  .feature-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    gap: 36px;
  }
}
