/* 家校学习互动平台页面专用样式 */
:root {
  --hs-primary-blue: #1677ff;
  --hs-accent-yellow: #ffe082;
  --hs-accent-green: #34c759;
  --hs-accent-pink: #ff5e94;
  --hs-bg: #f8faff;
  --hs-card-bg: #fff;
  --hs-text-dark: #222;
}
body {
  background: linear-gradient(135deg, #f8faff 0%, #eaf2fb 100%);
  color: var(--hs-text-dark);
  min-height: 100vh;
  overflow-x: hidden;
}
.hs-banner {
  position: relative;
  width: 100vw;
  min-height: 540px;
  background: url('/images/home-school-banner.png') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0;
  overflow: hidden;
}
.hs-banner-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(255,255,255,0.62);
  z-index: 1;
}
.hs-banner-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 110px 20px 60px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hs-banner-title {
  font-size: 2.8rem;
  font-weight: 900;
  color: #1677ff;
  text-shadow: 0 2px 24px #fff, 0 2px 12px #1677ff33;
  margin-bottom: 18px;
  letter-spacing: 1px;
  background: linear-gradient(90deg, #1677ff 60%, #4a8bff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  transform: translateY(60px) scale(0.98);
  animation: bannerTitleIn 1.2s 0.2s cubic-bezier(.4,0,.2,1) forwards;
  position: relative;
  z-index: 2;
}
.hs-banner-title-bg {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 110%;
  height: 120%;
  background: rgba(255,255,255,0.72);
  border-radius: 30px;
  z-index: 1;
  filter: blur(2px);
}
.hs-banner-title-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 45px;
}
.hs-banner-desc {
    font-size: 1.7rem;
    color: #0d47a1;
    background: rgb(22 119 255 / 17%);
    border-radius: 12px;
    padding: 12px 32px;
    margin-bottom: 0;
    box-shadow: 0 2px 12px #1677ff22;
    animation: fadeInUp 1.2s 0.7s forwards;
    z-index: 2;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
    font-weight: 700;
}
.hs-banner-gradient-bar {
  width: 100vw;
  height: 32px;
  background: linear-gradient(90deg, #ffe082 0%, #34c759 50%, #4a8bff 100%);
  opacity: 0.18;
  margin-top: -18px;
  z-index: 2;
}
/* 模块区左右结构 */
.hs-modules {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-top: 60px;
  position: relative;
  z-index: 2;
}
.hs-module {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.92);
  border-radius: 18px;
  box-shadow: 0 8px 30px rgba(46,107,190,0.10);
  min-height: 180px;
  padding: 0 30px 0 0;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s, opacity 0.6s;
}
.hs-module.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
@keyframes moduleIn {
  0% { opacity: 0; transform: translateY(60px) scale(0.98); }
  60% { opacity: 1; transform: translateY(-10px) scale(1.04); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.hs-module:hover {
  box-shadow: 0 16px 48px #1677ff33;
  transform: translateY(-8px) scale(1.03);
  background: rgba(255,255,255,0.98);
}
.hs-module-left {
  flex: 2;
  padding: 38px 32px 38px 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.hs-module-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1677ff;
  margin-bottom: 16px;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, #1677ff 60%, #ffe082 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hs-module-title .icon {
  font-size: 1.7rem;
  margin-right: 12px;
  color: #34c759;
}
.hs-module-title.yellow .icon { color: #ffe082; }
.hs-module-title.pink .icon { color: #ff5e94; }
.hs-module-desc {
  font-size: 1.13rem;
  color: #444;
  margin-bottom: 18px;
  line-height: 1.9;
}
.hs-module-desc .highlight {
  color: #1677ff;
  font-weight: 700;
  background: linear-gradient(90deg, #eaf2fb 60%, #ffe082 100%);
  border-radius: 4px;
  padding: 0 4px;
}
.hs-module-img-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 160px;
  background: linear-gradient(135deg, #eaf2fb 60%, #f8faff 100%);
  border-radius: 18px;
  box-shadow: 0 2px 12px #1677ff11;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 1.2s 0.3s both;
}
.hs-module-img {
  width: 90%;
  max-width: 220px;
  border-radius: 12px;
  box-shadow: 0 4px 18px #1677ff11;
  display: block;
}
.hs-module-extra {
  font-size: 1rem;
  color: #ff5e94;
  margin-top: 10px;
  font-weight: 600;
}
/* 背景装饰元素 */
.hs-bg-decor {
  position: fixed;
  left: 0; top: 0; width: 100%; height: 100%;
  min-height: 100vh;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 10% 20%, #ffe08255 0%, transparent 60%),
    radial-gradient(circle at 90% 60%, #34c75933 0%, transparent 60%),
    radial-gradient(circle at 50% 80%, #1677ff33 0%, transparent 60%),
    radial-gradient(circle at 80% 10%, #ff5e9444 0%, transparent 60%),
    radial-gradient(circle at 30% 90%, #00b8a944 0%, transparent 60%);
}
.feature-highlight {
    margin-top: 15px;
    text-align: center;
    font-weight: 700;
    font-size: 1.2rem;
    padding: 8px 15px;
    display: inline-block;
    border-radius: 30px;
    /* margin-left: auto;
    margin-right: auto; */
}

.hs-module:nth-child(1) .feature-highlight {
    background: rgba(74, 139, 255, 0.1);
    color: #4a8bff;
}

.hs-module:nth-child(2) .feature-highlight {
    background: rgba(0, 184, 169, 0.1);
    color: #00b8a9;
}

.hs-module:nth-child(3) .feature-highlight {
    background: rgba(52, 168, 83, 0.1);
    color: #34a853;
}

/* icon颜色与feature-highlight一致 */
.hs-module:nth-child(1) .hs-module-title .icon .fa-sync-alt::before { color: #4a8bff;}
.hs-module:nth-child(2) .hs-module-title .icon .fa-comments::before { color: #00b8a9; }
.hs-module:nth-child(3) .hs-module-title .icon .fa-shield-alt::before { color: #34a853; }

@media (max-width: 1000px) {
  .hs-main {
    padding: 10px 2px 30px 2px;
  }
  .hs-modules {
    gap: 24px;
  }
  .hs-module {
    flex-direction: column;
    min-width: 0;
    padding: 0;
  }
  .hs-module-left {
    padding: 24px 12px 18px 16px;
  }
  .hs-module-img-wrap {
    border-radius: 0 0 18px 18px;
    min-height: 120px;
    padding: 10px 0;
  }
}
@media (max-width: 600px) {
  .hs-banner-content {
    padding: 30px 5px 20px 5px;
  }
  .hs-banner-title {
    font-size: 1.3rem;
  }
  .hs-module {
    min-height: 120px;
  }
  .hs-module-left {
    padding: 10px 8px 8px 8px;
  }
  .hs-module-img-wrap {
    min-width: 100px;
    min-height: 80px;
    padding: 4px 0;
  }
}
.hs-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px 60px 20px;
  position: relative;
}
/* 入场动画与3s-pcse.html一致 */
.hs-banner-title,
.hs-banner-desc,
.module1,
.module2,
.module3 {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(.4,0,.2,1), transform 0.8s cubic-bezier(.4,0,.2,1);
}
.hs-banner-title.active,
.hs-banner-desc.active,
.module1.active,
.module2.active,
.module3.active {
  opacity: 1;
  transform: translateY(0);
}
.module1 {
  transition-delay: 0.2s;
}
.module2 {
  transition-delay: 0.5s;
}
.module3 {
  transition-delay: 0.8s;
} 
