/* ========== 基础重置 ========== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: #555;
  background: #fff;
  line-height: 1.8;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3 {
  color: #333;
  line-height: 1.3;
}

p {
  margin-bottom: 14px;
  font-size: 16px;
  color: #666;
  text-indent: 2em;
}

/* ========== 通用容器 ========== */
.container {
  width: 1200px;
  max-width: calc(100% - 40px);
  margin: 0 auto;
}

/* ========== 顶部导航 ========== */
.site-header {
  height: 108px;
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  font-size: 24px;
  font-weight: 700;
  color: #333;
}

.main-nav {
  display: flex;
  gap: 32px;
}

.main-nav a {
  font-size: 16px;
  color: #555;
  padding: 8px 0;
  position: relative;
  transition: color 0.2s;
}

.main-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #333;
  transform: scaleX(0);
  transition: transform 0.25s;
}

.main-nav a:hover {
  color: #333;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

/* ========== 首屏横幅 ========== */
.hero {
  position: relative;
  height: 400px;
  background: url("https://myimg.suxunke.com/public/upload/1/1/37ef37a253f69073bf4d29650d1d56ca.jpg") center / cover no-repeat;
  display: flex;
  align-items: center;
}

.hero-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.1) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
}

.hero-content h1 {
  font-size: 56px;
  color: #fff;
  margin-bottom: 16px;
  text-indent: 0;
}

.hero-subtitle {
  font-size: 22px;
  color: rgba(255,255,255,0.9);
  text-indent: 0;
  margin: 0;
}

/* ========== 内容区块 ========== */
.section {
  padding: 80px 0;
}

.bg-light {
  background: #f7f7f7;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.two-col.reverse {
  direction: rtl;
}

.two-col.reverse > * {
  direction: ltr;
}

.text-col h2 {
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 8px;
}

.title-underline {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #e74c3c, #f39c12);
  border-radius: 2px;
  margin-bottom: 24px;
}

.img-col img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* ========== 页脚 ========== */
.site-footer {
  background: #474747;
  color: #fff;
  padding: 40px 0;
  text-align: center;
}

.footer-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-inner p {
  color: #fff;
  font-size: 14px;
  margin: 0;
  text-indent: 0;
}

.footer-inner a {
  color: #fff;
  font-size: 14px;
}

.footer-inner a:hover {
  text-decoration: underline;
}

/* ========== 滚动淡入 ========== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== 响应式 ========== */
@media (max-width: 960px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .two-col.reverse {
    direction: ltr;
  }

  .site-header {
    height: auto;
    padding: 16px 0;
  }

  .header-inner {
    flex-direction: column;
    gap: 12px;
  }

  .hero {
    height: 300px;
  }

  .hero-content h1 {
    font-size: 40px;
  }

  .section {
    padding: 50px 0;
  }
}

@media (max-width: 600px) {
  .brand {
    font-size: 18px;
  }

  .main-nav {
    gap: 16px;
    font-size: 14px;
  }

  .hero {
    height: 240px;
  }

  .hero-content h1 {
    font-size: 30px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .text-col h2 {
    font-size: 26px;
  }
}
