/**
 * app.css - platform/app.html 页面专用样式
 * 外部化自 app.html 的 <style> 块和 style= 内联属性
 */

/* ================================================
   1. 页面 Banner
   ================================================ */
#container {
    background-size: cover !important;
    background-position: center !important;
}

/* 页面 Banner 内占位高度 */
#container .col-md-12 {
    height: 300px;
}

.app-banner-inner {
    height: 300px;
}

/* ================================================
   2. 面包屑导航区域
   ================================================ */
.about_nav {
    line-height: 50px;
    height: 50px;
    font-size: 14px;
    padding-top: 10px;
    margin-bottom: 20px;
}

.about_nav a {
    color: #86868b;
    text-decoration: none;
}

.about_nav a:hover {
    color: #86868b;
    text-decoration: none;
}

.breadcrumb-sep {
    color: #86868b;
    margin: 0 6px;
}

.breadcrumb-current {
    color: #1d1d1f;
    font-weight: 600;
}

/* ================================================
   3. 页面主内容区块
   ================================================ */

/* 通用行间距 */
.app-row-gap {
    padding-bottom: 10px;
}

/* 主标题区块 */
.app-hero-block {
    text-align: center;
    background: white;
    margin-bottom: 30px;
    padding-top: 40px;
    padding-bottom: 60px;
}

.app-hero-block img {
    width: 90%;
    padding-top: 40px;
}

.app-hero-block .hero-visible-title {
    color: #313131;
    font-size: 60px;
    font-weight: 900;
    padding-top: 10px;
}

.app-hero-block .app-subtitle {
    color: #313131;
    font-size: 45px;
    font-weight: 900;
}

.app-hero-block .app-desc {
    padding-top: 45px;
    padding-left: 40px;
    padding-right: 40px;
    padding-bottom: 30px;
}

.app-hero-block img {
    width: 90%;
    padding-top: 40px;
}

/* "必先利其器" 动态背景区块 */
.app-engine-section {
    height: 660px;
    text-align: left;
    margin-bottom: 35px;
    color: #fff;
    position: relative;
}

.app-engine-section .app-engine-title-main {
    margin-top: 0;
    margin-bottom: -15px;
    font-size: 68px;
    font-weight: 900;
    color: #23a4e8;
    text-align: center;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 40px;
    padding-top: 200px;
}

.app-engine-section .app-engine-title-sub {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 45px;
    font-weight: 900;
    color: #ffffff;
    text-align: center;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 25px;
}

.app-engine-section .app-engine-text {
    color: #fff;
    font-size: 16px;
    text-align: center;
    margin-bottom: 40px;
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 15px;
}

/* 企业级客户区块 */
.app-enterprise-block {
    text-align: center;
    background: white;
    margin-bottom: 5px;
    padding-top: 40px;
    padding-bottom: 60px;
}

.app-enterprise-block h2 {
    color: #313131;
    font-size: 60px;
    font-weight: 900;
    padding-top: 20px;
}

.app-enterprise-block .app-enterprise-sub {
    color: #313131;
    font-size: 45px;
    font-weight: 900;
    margin-bottom: 20px;
}

.app-enterprise-block img {
    width: 90%;
}

/* 底部优势区 */
.section-dark {
    background: #525252;
}

/* ================================================
   4. "必先利其器" 动态背景 动画
   ================================================ */
@keyframes bgScrollApp {
    0%   { background-position: 0% 0%; }
    50%  { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}

@keyframes lightSweepApp {
    0%   { left: -40%; opacity: 0; }
    15%  { opacity: 1; }
    85%  { opacity: 1; }
    100% { left: 140%; opacity: 0; }
}

.app-engine-section {
    position: relative;
    overflow: hidden;
    background-size: cover !important;
    animation: bgScrollApp 100s ease-in-out infinite;
}

.app-engine-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -40%;
    width: 40%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(35, 164, 232, 0.03) 20%,
        rgba(35, 164, 232, 0.08) 50%,
        rgba(35, 164, 232, 0.03) 80%,
        transparent 100%
    );
    animation: lightSweepApp 15s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

.app-engine-section > * {
    position: relative;
    z-index: 2;
}

/* ================================================
   5. PC端大卡片下拉菜单 + 导航栏 hover
   ================================================ */
@media (min-width: 992px) {
    /* 导航栏 hover 变粗 + 圆角背景 - 仅 PC 端 */
    .main-menu > li > a {
        padding: 8px 16px !important;
        border-radius: 20px !important;
    }
    .main-menu > li > a:hover {
        font-weight: 900 !important;
        background-color: rgba(255, 255, 255, 0.2) !important;
    }
    /* 导航项间距 */
    .main-menu > li {
        margin: 0 8px !important;
    }
    .main-menu > li {
        transform: none !important;
        transition: none !important;
    }
    .main-menu > li:hover {
        transform: none !important;
    }
    .main-menu > li a {
        transition: none !important;
        transform: none !important;
    }
    .main-menu .dropdown-menu li a:hover {
        font-weight: 900 !important;
    }
    .main-menu .dropdown-menu {
        border-radius: 12px !important;
        overflow: hidden;
    }

    /* 大卡片下拉菜单 - 仅 PC 端 */
    .has-mega-menu {
        position: relative;
    }
    .has-mega-menu .mega-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        z-index: 9999;
        min-width: 510px;
        padding-top: 8px;
    }
    .has-mega-menu:hover .mega-menu {
        display: block;
    }
    .mega-menu-inner {
        display: flex;
        background: #fff;
        border-radius: 24px;
        overflow: hidden;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
        padding: 24px 20px 24px 24px;
        gap: 24px;
        align-items: center;
    }
    .mega-menu-left {
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 6px;
        min-width: 140px;
    }
    .mega-menu-left.mega-col-2 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px 16px;
        max-width: 320px;
    }
    .mega-menu-left.mega-col-2 a {
        width: auto;
    }
    .mega-menu-left a {
        color: #000 !important;
        font-size: 15px;
        padding: 10px 16px;
        border-radius: 10px;
        text-decoration: none !important;
        transition: background 0.2s, color 0.2s, font-weight 0.2s;
        white-space: nowrap;
    }
    .mega-menu-left a:hover {
        color: #259ad6 !important;
        font-weight: 700;
    }
    .mega-menu-right {
        flex: 0 0 auto;
        width: 200px;
        height: 250px;
        border-radius: 16px;
        overflow: hidden;
        margin-right: 4px;
        margin-left: 100px;
    }
    .mega-menu-right img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        border-radius: 16px;
    }
}

/* ================================================
   6. 移动端导航覆盖
   ================================================ */
@media (max-width: 991px) {
    /* 覆盖 Bootstrap 默认的 hover/open 浅灰背景 */
    .nav > li > a:hover,
    .nav > li > a:focus,
    .nav .open > a,
    .nav .open > a:focus,
    .nav .open > a:hover {
        background: transparent !important;
        color: #259ad6 !important;
    }

    /* 一级菜单：无箭头、无分隔线 */
    .main-menu > li {
        margin: 0 !important;
        display: block !important;
        border-bottom: none !important;
    }
    .main-menu > li > a {
        display: block !important;
        position: relative !important;
        padding: 12px 16px !important;
        border-radius: 0 !important;
        color: #ffffff !important;
        font-size: 15px !important;
        font-weight: 400 !important;
        border-bottom: none !important;
        background: none !important;
        text-decoration: none !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    .main-menu > li > a:hover,
    .main-menu > li > a:active,
    .main-menu > li > a:focus {
        color: #259ad6 !important;
        background: transparent !important;
    }
    /* 去掉一级菜单箭头 */
    .main-menu > li > a::after {
        content: none !important;
    }
    .has-mega-menu.mobile-open > a::after {
        content: none !important;
        transform: none !important;
    }

    /* 搜索框隐藏 */
    .main-menu li.search {
        display: none !important;
        border-bottom: none !important;
    }

    /* 子菜单容器 */
    .has-mega-menu {
        position: static !important;
    }
    .has-mega-menu .mega-menu {
        display: none !important;
        position: static !important;
        transform: none !important;
        min-width: 100% !important;
        width: 100% !important;
        padding: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
    }
    .has-mega-menu:hover .mega-menu {
        display: none !important;
    }
    .has-mega-menu.mobile-open .mega-menu {
        display: block !important;
    }
    .mega-menu-inner {
        display: flex !important;
        flex-direction: column !important;
        background: transparent !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        padding: 0 !important;
        gap: 0 !important;
        margin: 0 !important;
    }
    .mega-menu-right {
        display: none !important;
    }
    .mega-menu-left {
        min-width: 100% !important;
        max-width: 100% !important;
        flex-direction: column !important;
        gap: 0 !important;
        padding: 0 !important;
    }
    .mega-menu-left.mega-col-2 {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: none !important;
        gap: 0 !important;
    }

    /* 二级菜单：无箭头、无分隔线 */
    .mega-menu-left a {
        display: block !important;
        position: relative !important;
        color: #ffffff !important;
        font-size: 14px !important;
        font-weight: 400 !important;
        padding: 10px 16px 10px 28px !important;
        border-radius: 0 !important;
        border-left: none !important;
        border-bottom: none !important;
        text-decoration: none !important;
        background: none !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    .mega-menu-left a::after {
        content: none !important;
    }
    .mega-menu-left a:hover,
    .mega-menu-left a:active {
        color: #259ad6 !important;
        background: transparent !important;
    }
}

/* ================================================
   7. Header / Footer 样式
   ================================================ */
.header-contact-item {
    padding: 10px 10px;
    height: 40px;
}

.header-slogan {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    padding: 10px 10px;
    height: 40px;
    font-weight: 400;
    letter-spacing: 1px;
}

.nav-menu-size {
    font-size: 16px;
}

/* Footer 容器 */
.footer-border {
    border-bottom: 1px solid #3F3F3F;
}

.footer-row-gap {
    margin-bottom: 20px;
}

.footer-col-pad {
    padding-left: 40px;
}

.footer-link {
    color: #969595;
    font-size: 12px;
}

.footer-info-link {
    color: #969595;
    font-size: 12px;
    pointer-events: none;
}

.footer-copyright {
    text-align: center;
    font-size: 12px;
}

.footer-copy-text {
    color: #969595;
}

.footer-meta-text {
    color: #969595;
    font-size: 12px;
    padding-left: 15px;
    margin-top: 3px;
    line-height: 30px;
}

.footer-tag-text {
    color: #969595;
}

/* why-choose-us 区块 padding 控制 */
#why-choose-us {
    padding: 0 0 !important;
}

#why-choose-us .container {
    margin-bottom: 30px;
}

/* 底部客户区 */
.why-choose-us.bg-dark {
    background: #525252;
}
