/* ============================================
   组充之 - 明亮阳光主题
   ============================================ */

:root {
  --bg-primary: #f5f7fa;
  --bg-white: #ffffff;
  --accent: #0ea5e9;
  --accent-light: #e0f2fe;
  --accent-glow: rgba(14, 165, 233, 0.25);
  --text-primary: #1a1a2e;
  --text-secondary: #5a6d80;
  --text-muted: #94a3b8;
  --border: #e2e8f0;
  --border-accent: rgba(14, 165, 233, 0.2);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 40px rgba(14, 165, 233, 0.10);
  --gradient-1: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 100%);
  --gradient-2: #0b3d6b;
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  overflow-x: hidden;
}

/* ============================================
   顶部导航
   ============================================ */
.top {
  width: 100%;
  height: 64px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  transition: var(--transition);
}

.top > img {
  width: 140px;
  height: auto;
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
}

.top-navs {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
}

.top-navs > a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 2px;
  position: relative;
  transition: var(--transition);
  padding: 4px 0;
}

.top-navs > a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gradient-1);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.top-navs > a:hover {
  color: var(--accent);
}

.top-navs > a:hover::after {
  width: 100%;
}

/* ============================================
   Banner
   ============================================ */
.banner {
  width: 100%;
  display: block;
  margin-top: 64px;
  position: relative;
  z-index: 1;
}

/* ============================================
   通用区块标题
   ============================================ */
.introduce,
.product,
.scene,
.footer {
  position: relative;
  z-index: 1;
}

.section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  padding-bottom: 16px;
  letter-spacing: 2px;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gradient-1);
  margin: 20px auto 50px;
  border-radius: 2px;
}

/* ============================================
   产品特性
   ============================================ */
.introduce {
  padding: 100px 0 120px;
  max-width: 1366px;
  margin: 0 auto;
}

.introduce-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  padding-bottom: 16px;
  letter-spacing: 2px;
}

.introduce-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gradient-1);
  margin: 20px auto 50px;
  border-radius: 2px;
}

.introduce-con {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 24px;
  padding: 0 20px;
}

.introduce-con-item {
  width: 238px;
  flex-shrink: 0;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: var(--shadow-sm);
}

.introduce-con-item:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

.introduce-con-item-top {
  width: 100%;
  height: 160px;
  background: var(--gradient-2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.introduce-con-item-top > img {
  width: 52px;
  height: 52px;
  margin-bottom: 8px;
  filter: brightness(0) invert(1);
}

.introduce-con-item-top > div {
  font-size: 22px;
  font-weight: 600;
  color: #ffffff;
}

.introduce-con-item-bottom {
  width: 100%;
  padding: 28px 22px;
  background: var(--bg-white);
}

.introduce-con-item-bottom > div {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 22px;
  padding-top: 14px;
  padding-left: 16px;
  position: relative;
}

.introduce-con-item-bottom > div::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--accent);
}

.introduce-con-item-bottom > div:first-of-type {
  padding-top: 0;
}

.introduce-con-item-bottom > div:first-of-type::before {
  top: 5px;
}

/* ============================================
   产品介绍
   ============================================ */
.product {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.product::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #eef0f3;
  z-index: -1;
}

.product-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  padding-bottom: 16px;
  letter-spacing: 2px;
  position: relative;
  z-index: 1;
}

.product-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gradient-1);
  margin: 20px auto 0;
  border-radius: 2px;
}

.product-desc {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 32px;
  letter-spacing: 4px;
  text-align: center;
  padding: 50px 20px 80px;
  position: relative;
  z-index: 1;
}

.product-desc > div {
  margin-bottom: 6px;
}

.product-con {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 60px;
  position: relative;
  z-index: 1;
  padding: 0 20px 80px;
}

.product-con .p-item {
  text-align: center;
  transition: transform 0.4s ease;
}

.product-con .p-item:hover {
  transform: translateY(-6px);
}

.product-con .p-item > img {
  width: 480px;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.4s ease;
}

.product-con .p-item:hover > img {
  box-shadow: var(--shadow-lg);
}

.product-con .p-item-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--accent);
  padding-top: 20px;
  letter-spacing: 2px;
}

/* ============================================
   应用场景
   ============================================ */
.scene {
  padding: 100px 0 120px;
  position: relative;
}

.scene-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  padding-bottom: 16px;
  letter-spacing: 2px;
}

.scene-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gradient-1);
  margin: 20px auto 50px;
  border-radius: 2px;
}

.scene-con {
  max-width: 1260px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 0 20px;
}

.scene-con .item {
  width: 380px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: var(--shadow-sm);
}

.scene-con .item:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

.scene-con .item > img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.scene-con .item:hover > img {
  transform: scale(1.05);
}

.scene-con .item > div {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  padding: 20px 0 12px;
}

.scene-con .item > span {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 22px;
  padding: 0 24px 8px 36px;
  position: relative;
}

.scene-con .item > span::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 24px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
}

/* ============================================
   页脚
   ============================================ */
.footer {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  color: #cbd5e1;
}

.footer-con {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.footer-con-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-con-logo-con {
  width: 240px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.footer-con-info {
  padding: 30px 0;
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
}

.footer-con-info-item > div {
  font-size: 13px;
  font-weight: 400;
  color: #94a3b8;
  line-height: 24px;
  letter-spacing: 1px;
  text-align: left;
}

.footer-con-tips {
  font-size: 12px;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding-bottom: 10px;
  letter-spacing: 1px;
  transition: opacity 0.3s ease;
}

.footer-con-tips:hover {
  color: #38bdf8;
}

.footer-con-tips > img {
  margin-right: 8px;
  opacity: 0.5;
}

/* ============================================
   返回顶部
   ============================================ */
.back {
  position: fixed;
  right: 24px;
  bottom: 40px;
  z-index: 9999;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  display: none;
  cursor: pointer;
}

.back.visible {
  display: flex;
}

.back > div {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-white);
  border: 1px solid var(--border);
  font-size: 18px;
  color: var(--accent);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.back:hover > div {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.back > span {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* ============================================
   滚动入场动画
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-delay-1 { transition-delay: 0.05s; }
.reveal-delay-2 { transition-delay: 0.1s; }
.reveal-delay-3 { transition-delay: 0.15s; }
.reveal-delay-4 { transition-delay: 0.2s; }
.reveal-delay-5 { transition-delay: 0.25s; }
.reveal-delay-6 { transition-delay: 0.3s; }

/* ============================================
   响应式
   ============================================ */
@media (max-width: 1366px) {
  .introduce {
    overflow-x: auto;
  }

  .introduce,
  .scene-con {
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 900px) {
  .introduce {
    overflow-x: auto;
  }

  .introduce-con {
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding: 0 20px;
  }

  .introduce-con-item {
    min-width: 220px;
  }

  .product-con {
    flex-direction: column;
    align-items: center;
  }

  .product-con .p-item > img {
    width: 100%;
    max-width: 400px;
  }

  .scene-con .item {
    width: 100%;
    max-width: 400px;
  }

  .footer-con-info {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
}

@media (max-width: 560px) {
  .introduce-con-item {
    min-width: 200px;
  }

  .top-navs > a {
    font-size: 12px;
    letter-spacing: 1px;
  }

  .top > img {
    left: 14px;
  }

  .introduce-title,
  .product-title,
  .scene-title {
    font-size: 24px;
  }
}
