/* ===== 基础重置 ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #06b6d4;
  --accent-green: #10b981;
  --text-main: #1e293b;
  --text-sub: #64748b;
  --bg-light: #f8fafc;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(37, 99, 235, 0.08);
  --shadow-hover: 0 8px 30px rgba(37, 99, 235, 0.15);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", -apple-system, sans-serif;
  color: var(--text-main);
  line-height: 1.7;
  background: var(--white);
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== 导航栏 ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(37, 99, 235, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
}

.logo img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  font-size: 15px;
  color: var(--text-main);
  transition: color 0.2s;
  position: relative;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: width 0.25s;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== Hero 区 ===== */
.hero {
  padding: 150px 0 90px;
  background:
    radial-gradient(ellipse at top right, rgba(6, 182, 212, 0.10), transparent 55%),
    radial-gradient(ellipse at top left, rgba(37, 99, 235, 0.12), transparent 55%),
    linear-gradient(180deg, #f0f6ff 0%, var(--white) 100%);
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.hero-text h1 {
  font-size: 46px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 1px;
}

.gradient-text {
  background: linear-gradient(120deg, var(--primary) 30%, var(--accent) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  margin-top: 22px;
  font-size: 17px;
  color: var(--text-sub);
  max-width: 520px;
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  gap: 16px;
}

.btn {
  display: inline-block;
  padding: 13px 34px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.25s;
}

.btn-primary {
  background: linear-gradient(120deg, var(--primary), var(--accent));
  color: var(--white);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.45);
}

.btn-outline {
  border: 1.5px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px 34px;
  box-shadow: var(--shadow);
  text-align: center;
  min-width: 180px;
  transition: transform 0.25s;
}

.stat-card:hover {
  transform: translateY(-4px);
}

.stat-num {
  font-size: 30px;
  font-weight: 800;
  background: linear-gradient(120deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  margin-top: 4px;
  font-size: 14px;
  color: var(--text-sub);
}

/* ===== 通用区块 ===== */
.section {
  padding: 90px 0;
}

.section-alt {
  background: var(--bg-light);
}

.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  position: relative;
  padding-bottom: 16px;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 48px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(120deg, var(--primary), var(--accent));
}

.section-desc {
  text-align: center;
  margin-top: 18px;
  margin-bottom: 56px;
  color: var(--text-sub);
  font-size: 16px;
}

.grid {
  display: grid;
  gap: 28px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

/* ===== 卡片 ===== */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 30px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(37, 99, 235, 0.05);
  transition: all 0.25s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.card-icon {
  font-size: 34px;
  margin-bottom: 18px;
}

.card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
}

.card p {
  font-size: 15px;
  color: var(--text-sub);
}

.card-tall ul {
  margin-top: 16px;
}

.card-tall li {
  position: relative;
  padding-left: 22px;
  margin-top: 10px;
  font-size: 14px;
  color: var(--text-sub);
}

.card-tall li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-green);
  font-weight: 700;
}

.tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  background: rgba(37, 99, 235, 0.08);
  margin-bottom: 16px;
}

/* ===== 理由 ===== */
.feature {
  padding: 34px 30px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(37, 99, 235, 0.04), rgba(6, 182, 212, 0.04));
  border: 1px solid rgba(37, 99, 235, 0.08);
  transition: all 0.25s;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.feature-num {
  font-size: 40px;
  font-weight: 800;
  background: linear-gradient(120deg, rgba(37, 99, 235, 0.25), rgba(6, 182, 212, 0.25));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 16px;
}

.feature h3 {
  font-size: 19px;
  margin-bottom: 12px;
}

.feature p {
  font-size: 15px;
  color: var(--text-sub);
}

/* ===== 关于我们 ===== */
.about-inner {
  max-width: 860px;
}

.about-text .section-title {
  text-align: left;
}

.about-text .section-title::after {
  left: 0;
  transform: none;
}

.about-text p {
  margin-top: 20px;
  font-size: 16px;
  color: var(--text-sub);
  text-align: justify;
}

.about-tags {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tag-outline {
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--primary);
  border: 1px solid rgba(37, 99, 235, 0.35);
}

/* ===== 联系我们 ===== */
.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid rgba(37, 99, 235, 0.05);
  transition: all 0.25s;
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.contact-card h3 {
  font-size: 18px;
  margin: 6px 0 14px;
}

.contact-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  word-break: break-all;
}

.contact-note {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-sub);
}

/* ===== 页脚 ===== */
.footer {
  background: #0f1e3d;
  color: rgba(255, 255, 255, 0.85);
  padding: 56px 0 32px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
}

.footer-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.footer-desc {
  margin-top: 14px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links {
  margin-top: 26px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-copyright {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    flex-direction: row;
    width: 100%;
  }

  .stat-card {
    flex: 1;
    min-width: 0;
    padding: 18px 10px;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .hero {
    padding-top: 120px;
  }

  .hero-text h1 {
    font-size: 32px;
  }

  .hero-stats {
    flex-direction: column;
  }

  .section-title {
    font-size: 26px;
  }

  /* 移动端菜单 */
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
  }

  .nav-links.open {
    max-height: 300px;
  }

  .nav-links a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid rgba(37, 99, 235, 0.06);
  }

  .nav-links a::after {
    display: none;
  }
}