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

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

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

/* 导航栏 */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  transition: all 0.3s;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  font-size: 20px;
  font-weight: bold;
  color: #0056b3;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-size: 15px;
  transition: color 0.3s;
  position: relative;
}

.nav-menu a:hover {
  color: #0056b3;
}

.nav-menu a.active {
  color: #0056b3;
}

.nav-menu a.active::after {
  width: 100%;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #0056b3;
  transition: width 0.3s;
}

.nav-menu a:hover::after {
  width: 100%;
}

/* Banner区域 */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #0056b3 0%, #003d82 50%, #001a3d 100%);
  background-size: cover;
  background-position: center;
}

.hero-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("../images/hero-bg.jpg") center/cover;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
  padding: 0 20px;
}

.hero h1 {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 28px;
  margin-bottom: 15px;
  opacity: 0.95;
}

.hero-desc {
  font-size: 18px;
  opacity: 0.85;
  margin-bottom: 40px;
}

.hero-btn {
  display: inline-block;
  padding: 15px 40px;
  background: white;
  color: #0056b3;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* 区块标题 */
.section-header {
  margin-bottom: 50px;
}

.section-header.center {
  text-align: center;
}

.section-tag {
  display: inline-block;
  color: #0056b3;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-header h2 {
  font-size: 36px;
  color: #222;
  font-weight: 600;
}

/* 关于我们 */
.about {
  padding: 100px 0;
  background: #f8f9fa;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 20px;
}

.btn-outline {
  display: inline-block;
  padding: 12px 30px;
  border: 2px solid #0056b3;
  color: #0056b3;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s;
  margin-top: 10px;
}

.btn-outline:hover {
  background: #0056b3;
  color: white;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* 产品中心 */
.products {
  padding: 100px 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

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

.product-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.product-img {
  height: 200px;
  overflow: hidden;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.product-card:hover .product-img img {
  transform: scale(1.05);
}

.product-card h3 {
  padding: 20px 20px 10px;
  font-size: 20px;
  color: #222;
}

.product-card p {
  padding: 0 20px 20px;
  color: #666;
  font-size: 14px;
  line-height: 1.6;
}

.notice-box {
  margin-top: 40px;
  padding: 20px;
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  border-radius: 5px;
}

.notice-box p {
  color: #856404;
  font-size: 14px;
}

/* 销售渠道 */
.channels {
  padding: 100px 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.channels-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.channel-item {
  text-align: center;
  padding: 30px 15px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
}

.channel-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.channel-icon {
  width: 60px;
  height: 60px;
  background: #0056b3;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  margin: 0 auto 15px;
}

.channel-item h4 {
  font-size: 16px;
  color: #222;
  margin-bottom: 5px;
}

.channel-item p {
  font-size: 13px;
  color: #888;
}

/* 联系我们 */
.contact {
  padding: 100px 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.contact-content {
  max-width: 800px;
  margin: 0 auto;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.contact-item {
  padding: 30px;
  background: #f8f9fa;
  border-radius: 10px;
  text-align: center;
}

.contact-item h4 {
  font-size: 14px;
  color: #0056b3;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-item p {
  font-size: 16px;
  color: #333;
}

/* Footer */
.footer {
  background: #1a1a2e;
  color: #fff;
  padding: 60px 0 30px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.footer-brand p {
  color: #888;
  font-size: 14px;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 16px;
  margin-bottom: 20px;
  color: #fff;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #888;
  text-decoration: none;
  transition: color 0.3s;
}

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

.footer-contact p {
  color: #888;
  margin-bottom: 8px;
  font-size: 14px;
}

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

.footer-bottom p {
  color: #888;
  font-size: 13px;
  margin-bottom: 8px;
}

.icp-notice {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.icp-notice .img {
  margin-left: 10px;
  margin-right: 10px;
}

.icp-notice a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s;
}

.icp-notice a:hover {
  color: #fff;
  text-decoration: underline;
}

.disclaimer {
  margin-top: 15px;
  color: #666 !important;
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .channels-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

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

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

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

  .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .section-header h2 {
    font-size: 28px;
  }
}
