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

:root {
  --primary: #1a5cff;
  --primary-dark: #0b3fd1;
  --primary-light: #4d84ff;
  --accent: #00c2a8;
  --text: #2b3345;
  --text-light: #6b7688;
  --bg: #ffffff;
  --bg-gray: #f5f7fb;
  --border: #e6eaf2;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(26, 92, 255, 0.08);
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* ========== 导航栏 ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
  transition: var(--transition);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.logo-text {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.nav {
  display: flex;
  gap: 8px;
}

.nav-link {
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 15px;
  color: var(--text-light);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: rgba(26, 92, 255, 0.08);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ========== 首屏 ========== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a1e46 0%, #123a8f 45%, #1a5cff 100%);
}

.hero-bg::before,
.hero-bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
}

.hero-bg::before {
  width: 480px;
  height: 480px;
  background: var(--accent);
  top: -120px;
  right: -80px;
}

.hero-bg::after {
  width: 380px;
  height: 380px;
  background: #7c5cff;
  bottom: -100px;
  left: -60px;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  animation: fadeUp 0.9s ease both;
}

.hero-title {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: 4px;
  margin-bottom: 18px;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 28px;
}

.hero-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.hero-tags span {
  padding: 8px 22px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
}

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

.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  transition: var(--transition);
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

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

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* ========== 数据统计 ========== */
.stats {
  background: #fff;
  padding: 40px 0;
  margin-top: -56px;
  position: relative;
  z-index: 2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px 24px;
}

.stat-item {
  text-align: center;
}

.stat-item strong {
  display: block;
  font-size: 34px;
  color: var(--primary);
  font-weight: 700;
}

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

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

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

.section-head {
  text-align: center;
  margin-bottom: 56px;
}

.section-head h2 {
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 8px;
}

.section-head p {
  color: var(--text-light);
  letter-spacing: 4px;
  font-size: 14px;
}

.section-head.light h2,
.section-head.light p {
  color: #fff;
}

/* ========== 关于我们 ========== */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-text h3 {
  font-size: 24px;
  margin-bottom: 18px;
  color: var(--primary-dark);
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 14px;
  text-align: justify;
}

.about-cards {
  display: grid;
  gap: 20px;
}

.about-card {
  background: var(--bg-gray);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 24px 28px;
  transition: var(--transition);
}

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

.about-icon {
  font-size: 26px;
  margin-bottom: 6px;
}

.about-card h4 {
  font-size: 18px;
  margin-bottom: 6px;
}

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

/* ========== 核心业务 ========== */
.biz-list {
  display: grid;
  gap: 28px;
}

.biz-item {
  display: flex;
  gap: 32px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 36px;
  transition: var(--transition);
}

.biz-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--primary-light);
}

.biz-icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(26, 92, 255, 0.12), rgba(0, 194, 168, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
}

.biz-body h3 {
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--primary-dark);
}

.biz-intro {
  color: var(--text-light);
  margin-bottom: 16px;
  text-align: justify;
}

.biz-points {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}

.biz-points li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--text);
}

.biz-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

/* ========== 联系我们 ========== */
.section-dark {
  background: linear-gradient(135deg, #0a1e46, #123a8f);
  color: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.contact-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
  transition: var(--transition);
}

.contact-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-6px);
}

.contact-icon {
  font-size: 36px;
  margin-bottom: 14px;
}

.contact-card h3 {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
  font-weight: 500;
}

.contact-card p {
  font-size: 20px;
  font-weight: 600;
}

.contact-card a:hover {
  color: var(--accent);
}

/* ========== 页脚 ========== */
.footer {
  background: #071531;
  color: rgba(255, 255, 255, 0.6);
  padding: 28px 0;
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

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

/* ========== 动画 ========== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== 响应式 ========== */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #fff;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    padding: 12px 24px;
    display: none;
  }

  .nav.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

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

  .section {
    padding: 64px 0;
  }

  .biz-item {
    flex-direction: column;
    gap: 20px;
    padding: 28px 24px;
  }

  .biz-points {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 520px) {
  .logo-text {
    font-size: 15px;
  }
}
