/* ========== 全局重置与基础样式 ========== */
* {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden !important;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}
/* 第一个模块产品图保持大图 */
.powerful-tools-area .everything-image:first-of-type .image img{
  width: 65% !important;
}
#screenshot{
  margin-bottom: 39px;
}
#screenshot .screenshot-active{
  padding: 2px 0 0 0;
  margin: 0;
  position: relative;
}
#screenshot .screenshot-active .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}
#screenshot .screenshot-active .swiper-slide img {
  width: 100%;
  max-width: 320px;
  height: auto;
}
.screenshot-active::before{
  position: absolute;
  content: '';
  width: 20%;
  /* padding-top: 44%; */
  height: 98%;
  left: 50%;
  top: 49%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  background-image: url(../img/Smartphone.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
  z-index: 5;
}


.powerful-tools-wrapper{
  padding-bottom: 39px;
}
.section-title{
  padding-bottom: 7px;
}
.home1.banner{
  padding-top: 206px;
  padding-bottom: 293px;
}
.text-area{
  padding-top: 80px;
}

/* 下载按钮样式 */
.download li{
  position: relative;
}
.download li span{
  display: none;
  position: absolute;
  left: 50%;
  bottom: 30px;
  padding: 10px;
  border-radius: 10px;
  background: #f39455;
  box-shadow: 0px 0px 20px 2px #ffffff;
}
.download li span img{
  width: 180px;
  max-width: initial;
}
.download li:hover span{
  display: block;
}
/* ========== hzsc 自定义变量 ========== */
:root {
    --hzsc-primary: #004098;
    --hzsc-primary-light: #0066CC;
    --hzsc-primary-dark: #003070;
    --hzsc-text-dark: #333333;
    --hzsc-text-light: #666666;
    --hzsc-bg-white: #ffffff;
    --hzsc-bg-light: #F0F4F8;
    --hzsc-border: #E8ECF0;
    --hzsc-shadow: 0 4px 20px rgba(0, 64, 152, 0.08);
    --hzsc-shadow-hover: 0 8px 30px rgba(0, 64, 152, 0.15);
    --hzsc-transition: all 0.3s ease;
    --hzsc-radius: 12px;
}

/* ========== 1. 字体样式调整 ========== */

/* 导航栏字体增大 */
.header .nav-link {
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px;
    padding: 10px 18px !important;
    white-space: nowrap;
}

/* 核心产品展示区域字体增大 */
.powerful-tools-area .title,
#discover .title {
    font-size: 2.2rem !important;
    font-weight: 700;
    letter-spacing: 1px;
}

.powerful-tools-area .discover-content p,
#discover .discover-content p {
    font-size: 1.15rem;
    line-height: 1.9;
    letter-spacing: 0.3px;
}

.powerful-tools-area .everything-items h5,
#discover .everything-items h5 {
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* 内容标题字体减小 - 建立视觉层级 */
.section-title h2 {
    font-size: 1.9rem !important;
    font-weight: 700;
}

/* ========== 2. 文本排版优化 ========== */

/* Banner区域信息不换行 */
.hero-content h1 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-content p {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 所有页面标题禁止换行 */
h1, h2, h3, h4, h5, h6 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ========== 3. 交互体验改进 ========== */

/* 导航链接立即响应 - 移除过渡效果 */
.nav-link {
    transition: none !important;
}

.nav-link:active {
    transform: scale(0.98);
}

/* 返回顶部按钮立即响应 */
.top-btn {
    transition: opacity 0.2s ease, visibility 0.2s ease !important;
    animation: none !important;
}

.top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.top-btn:active {
    transform: scale(0.95);
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100% !important;
    min-width: 100% !important;
    z-index: 999;
    transition: var(--hzsc-transition);
    padding: 15px 0;
    backdrop-filter: blur(10px);
}


.header.scrolled {
    background: rgba(0, 64, 152, 0.98);
    backdrop-filter: blur(15px);
    box-shadow: 0 2px 25px rgba(0, 0, 0, 0.2);
    padding: 10px 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-size: 1.6rem;
    font-weight: 700;
}

.logo-text {
    color: var(--hzsc-primary);
    font-weight: 700;
}

.header.scrolled .logo-text {
    color: #fff;
}

.nav-item {
    margin-left: 5px;
}

/* 导航链接样式 - 提升辨识度 */
.nav-link {
    color: var(--hzsc-text-dark) !important;
    font-weight: 600;
    padding: 10px 22px !important;
    border-radius: 30px;
    background: transparent;
}

/* 鼠标悬停效果 */
.nav-link:hover {
    color: var(--hzsc-primary) !important;
    background: rgba(0, 64, 152, 0.1);
}

/* 选中状态高亮 */
.nav-link.active {
    color: #fff !important;
    background: var(--hzsc-primary) !important;
    box-shadow: 0 4px 15px rgba(0, 64, 152, 0.3);
}

/* 滚动后导航链接样式 */
.header.scrolled .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
}

.header.scrolled .nav-link:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.15);
}

.header.scrolled .nav-link.active {
    color: var(--hzsc-primary) !important;
    background: #fff !important;
}

/* 移动端菜单按钮 */
.navbar-toggler {
    border: none;
    padding: 8px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 64, 152, 0.08);
    border-radius: 10px;
    transition: var(--hzsc-transition);
    box-shadow: inset 0 0 0 1.5px rgba(0, 64, 152, 0.2);
}

.navbar-toggler:hover {
    background: rgba(0, 64, 152, 0.18);
    box-shadow: inset 0 0 0 1.5px rgba(0, 64, 152, 0.35);
}

.navbar-toggler:active {
    transform: scale(0.92);
}

.header.scrolled .navbar-toggler {
    background: rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.3);
}

.header.scrolled .navbar-toggler:hover {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.5);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23004098' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 26px;
    height: 26px;
    transition: transform 0.2s ease;
}

.header.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ========== 5. Hero Section ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    z-index: -2;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 64, 152, 0.12);
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: auto;
}

.hero-content {
    color: #fff;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 22px;
}

.hero-content p {
    font-size: 1.25rem;
    line-height: 1.85;
    margin-bottom: 0;
    text-shadow: 0 1px 6px rgba(0, 64, 152, 0.25);
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 20px;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 64, 152, 0.25));
}

/* ========== 6. 间距与布局调整 ========== */

/* 字体间距优化 */
body {
    letter-spacing: 0.3px;
}

/* 标题与段落间距优化 */
.section-title {
    padding-bottom: 10px !important;
    margin-top: 0;
}

.section-title h2 {
    /* margin-bottom: 15px; */
    letter-spacing: 1px;
}

.section-title p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--hzsc-text-light);
    margin-top: 12px;
}

/* 核心产品区域间距 */
.powerful-tools-wrapper {
    padding: 60px 0;
}

.powerful-tools-area .discover-content-wrapper {
    padding: 20px 0;
}

.powerful-tools-area .discover-content {
    padding: 15px 0;
}

/* 统一图片对齐 */
.everything-image .image {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.col-lg-7 .discover-image,
.col-lg-7 .everything-image {
    display: flex;
    justify-content: flex-end;
}

.everything-image .image img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 列表项间距 */
.everything-items {
    padding-left: 0;
    margin-top: 10px;
}

.everything-items li{
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-left: 0;
    /* margin-bottom: 15px; */
    padding: 10px 15px;
    border-radius: 10px;
    transition: background 0.2s ease;
}

.everything-items li:hover {
    background: rgba(0, 64, 152, 0.05);
}

.everything-items li i {
    width: 26px;
    height: 26px;
    line-height: 26px;
    text-align: center;
    font-size: 18px;
    color: var(--hzsc-primary);
    margin-top: 2px;
    flex-shrink: 0;
}

.everything-items li .item-text {
    flex: 1;
}

/* ========== 7. 移动端适配修复 ========== */

/* Header宽度稳定 */
.header .container {
    width: 100%;
    max-width: 1200px;
}
@media (max-width: 750px) {
  .screenshot-active::before{
    width: 17%;
  }
.powerful-tools-wrapper {
    padding-bottom: 0px;
}
.powerful-tools-wrapper {
    padding: 0px 0;
}
}
/* 移动端响应式调整 */
@media (min-width: 992px) and (max-width: 1199px) {
    .header .nav-link {
        padding: 10px 14px !important;
        font-size: 1rem !important;
    }
}

@media (max-width: 991px) {
    .header {
        padding: 10px 0;
        width: 100% !important;
        min-width: 100% !important;
    }
    .header .container{
        width:100%;
    }
    .navbar-collapse {
        opacity: 0;
        transform: translateY(-8px);
        transition: opacity 0.3s ease, transform 0.3s ease;
        display: block;
        pointer-events: none;
        height: 0;
        overflow: hidden;
    }

    .navbar-collapse.show {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
        height: auto;
        background: rgba(0, 64, 152, 0.98) !important;
        backdrop-filter: blur(15px);
        padding: 12px 16px;
        border-radius: 14px;
        margin-top: 12px;
        width: 100%;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-item {
        margin-left: 0;
        margin-bottom: 2px;
    }

    .nav-link {
        color: rgba(255, 255, 255, 0.9) !important;
        padding: 12px 18px !important;
        font-size: 1.1rem !important;
        border-radius: 10px;
        transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
    }

    .nav-link:hover {
        color: #fff !important;
        background: rgba(255, 255, 255, 0.1);
        padding-left: 24px !important;
    }

    .nav-link.active {
        color: var(--hzsc-primary) !important;
        background: #fff !important;
        font-weight: 700;
    }

    .hero-content h1 {
        font-size: 1.9rem;
        white-space: normal;
        text-overflow: unset;
    }

    .hero-content p {
        font-size: 1rem;
        white-space: normal;
        text-overflow: unset;
    }

    /* 产品展示区域字体调整 */
    .powerful-tools-area .title,
    #discover .title {
        font-size: 1.6rem !important;
    }

    .section-title h2 {
        font-size: 1.5rem !important;
        white-space: normal;
        text-overflow: unset;
    }

    .powerful-tools-area .discover-content.active p,
    #discover .discover-content.active p {
        font-size: 1.05rem;
    }

    .powerful-tools-area .everything-items .item-text h5,
    #discover .everything-items .item-text h5 {
        font-size: 1.05rem;
    }
}

@media (max-width: 767px) {
    .hero-content h1 {
        font-size: 1.6rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .header .nav-link {
        font-size: 1.05rem !important;
        padding: 10px 18px !important;
    }
}

@media (max-width: 575px) {
    h1{
        font-size: 1.8rem;
    }
    .header {
        padding: 8px 0;
    }
    
    .hero-content h1 {
        font-size: 1.4rem;
        line-height: 1.4;
    }

    .hero-content p {
        font-size: 0.8rem;
        line-height: 1.7;
    }

    .hero-image {
        max-width: 80%;
        margin: 60px auto 0;
    }

    .powerful-tools-area .title,
    #discover .title {
        font-size: 1.4rem !important;
        margin-top: 20px;
    }

    .section-title h2 {
        font-size: 1.3rem !important;
    }

    .powerful-tools-area .discover-content.active p,
    #discover .discover-content.active p {
        font-size: 0.9rem;
    }

    .powerful-tools-area .everything-items .item-text h5,
    #discover .everything-items .item-text h5 {
        font-size: 0.7rem;
    }
    .powerful-tools-area .discover-content p {
        font-size: 0.8rem;
    }
    .everything-items li{
        padding: 2px 0;
    }
    .everything-image .image{
        margin: 0 auto !important;
        justify-content: center;
        align-items: center !important;
    }
    /* 禁止横向滚动 */
    html, body {
        overflow-x: hidden !important;
        position: relative !important;
    }
}

/* ========== 8. Screenshot 区域样式 ========== */
#screenshot {
    margin-bottom: 40px;
}

#screenshot .screenshot-active {
    padding: 2px 0;
    margin: 0;
}

.powerful-tools-wrapper {
    padding-bottom: 40px;
}

/* ========== 9. 隐藏装饰图形 ========== */
.powerful-tools-area .powerful-shape {
    display: none !important;
}

.discover-shape {
    display: none !important;
}

/* ========== 10. 返回顶部按钮增强 ========== */
.top-btn {
    height: 50px;
    width: 50px;
    line-height: 50px;
    text-align: center;
    background: var(--hzsc-primary);
    position: fixed;
    right: 20px;
    bottom: 30px;
    z-index: 99;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 64, 152, 0.3);
}

.top-btn:hover {
    background: var(--hzsc-primary-dark);
    transform: translateY(-2px);
}

.top-btn i {
    font-size: 18px;
    color: #fff;
}

/* ========== 11. 联系我们区域样式 ========== */
#jszc .section-title {
    padding-bottom: 20px !important;
}

#jszc h3.section-title {
    font-size: 1.2rem;
    color: var(--hzsc-text-light);
    font-weight: 400;
}

/* ========== 12. Footer 样式优化 ========== */
.footer .footer-bottom {
    padding: 20px 0;
}

.footer .footer-bottom p {
    font-size: 0.9rem;
}

.footer .footer-bottom ul li a {
    font-size: 0.85rem;
}

/* ========== 13. 全局链接样式 ========== */
a {
    cursor: pointer;
}

a:active {
    transform: scale(0.98);
}

/* ========== 14. 禁用不必要的动画 ========== */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========== 15. 图片响应式 ========== */
img {
    max-width: 100%;
    height: auto;
}

/* ========== 16. 手机外壳响应式适配 ========== */
@media only screen and (min-width: 576px) and (max-width: 767px) {
    .screenshot-active::before {
        width: 35%;
        /* height: 100%; */
    }
}

@media (max-width: 575px) {
    .screenshot-active::before {
        width: 32%;
        /* height: 98%; */
    }
}
