/* ====== 深蓝页脚（增强版） ====== */
.foot-new-layout {
    background: #153254;
    color: #cfd5e9;
    padding: 50px 0 30px;
    position: relative;
    overflow: hidden;
}

/* ====== 顶部动态波浪 ====== */
.foot-wave-wrap {
    position: absolute;
    top: -30px;
    left: 0;
    width: 100%;
    line-height: 0;
    overflow: hidden;
    z-index: 1;
}

.foot-wave-wrap svg {
    width: 200%;
    height: 60px;
    animation: waveSlide 8s linear infinite;
}

.foot-wave-wrap .wave-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 60px;
    animation: waveSlide 12s linear infinite reverse;
    opacity: 0.4;
}

@keyframes waveSlide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ====== 粒子画布 ====== */
#foot-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ====== 顶部光线 ====== */
.foot-glow-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #3b82f6, #60a5fa, #3b82f6, transparent);
    background-size: 200% 100%;
    animation: glowMove 4s ease-in-out infinite;
    z-index: 2;
}

@keyframes glowMove {

    0%,
    100% {
        background-position: -200% 0;
    }

    50% {
        background-position: 200% 0;
    }
}

/* ====== 主容器 ====== */
.foot-new-layout .center {
    max-width: 1700px;
    margin: auto;
    display: flex;
    align-items: flex-start;
    padding: 0 15px;
    position: relative;
    z-index: 2;
}

/* ========================================
       左侧图标列
       ======================================== */
.foot-icon-column {
    flex: 0 0 auto;
    padding-right: 35px;
    margin-right: 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 社交图标 */
.foot-qr {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.foot-qr a {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    /* 入场动画 */
    opacity: 0;
    animation: iconPopIn 0.6s forwards;
}

.foot-qr a:nth-child(1) {
    animation-delay: 0.1s;
}

.foot-qr a:nth-child(2) {
    animation-delay: 0.2s;
}

.foot-qr a:nth-child(3) {
    animation-delay: 0.3s;
}

.foot-qr a:nth-child(4) {
    animation-delay: 0.4s;
}

.foot-qr a:nth-child(5) {
    animation-delay: 0.5s;
}

@keyframes iconPopIn {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.5);
    }

    60% {
        transform: translateY(-5px) scale(1.05);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.foot-qr a:hover {
    transform: translateY(-6px) scale(1.12);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4),
        0 0 15px rgba(59, 130, 246, 0.2);
    background: rgba(59, 130, 246, 0.1);
}

.foot-qr a::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 14px;
    border: 2px solid transparent;
    transition: border-color 0.3s;
}

.foot-qr a:hover::after {
    border-color: rgba(59, 130, 246, 0.3);
}

.foot-qr img {
    height: 55px;
    width: auto;
    display: block;
    object-fit: contain;
    filter: brightness(1);
    transition: filter 0.3s;
}

.foot-qr a:hover img {
    filter: brightness(1.2) drop-shadow(0 0 8px rgba(59, 130, 246, 0.5));
}

/* 媒体图标 */
.foot-media-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.foot_dy,
.foot_Video {
    background: #18203a;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* 入场 */
    opacity: 0;
    animation: iconPopIn 0.6s forwards;
}

.foot_dy {
    animation-delay: 0.6s;
}

.foot_Video {
    animation-delay: 0.7s;
}

/* 流光扫过效果 */
.foot_dy::before,
.foot_Video::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    z-index: 1;
    transition: left 0.6s;
}

.foot_dy:hover::before,
.foot_Video:hover::before {
    left: 100%;
}

.foot_dy:hover,
.foot_Video:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.foot_dy {
    width: 140px;
    height: 80px;
}

.foot_Video {
    width: 140px;
    height: 75px;
}

.foot_dy img,
.foot_Video img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    background: #153254;
}

/* ========================================
       导航列
       ======================================== */
.foot-column {
    flex: 1;
    min-width: 120px;
    padding: 0 15px;
    /* 入场 */
    opacity: 0;
    animation: fadeSlideUp 0.7s forwards;
}

.foot-column:nth-child(2) {
    animation-delay: 0.2s;
}

.foot-column:nth-child(3) {
    animation-delay: 0.3s;
}

.foot-column:nth-child(4) {
    animation-delay: 0.4s;
}

.foot-column:nth-child(5) {
    animation-delay: 0.5s;
}

@keyframes fadeSlideUp {
    0% {
        opacity: 0;
        transform: translateY(25px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.foot-column .foot-title {
    font-size: 25px;
    color: #fff;
    font-weight: bold;
    margin-bottom: 18px;
    position: relative;
    display: inline-block;
}

.foot-column .foot-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    border-radius: 2px;
    transition: width 0.5s ease;
}

.foot-column:hover .foot-title::after {
    width: 100%;
}

.foot-column a {
    display: block;
    font-size: 16px;
    color: #b0b8da;
    line-height: 28px;
    text-decoration: none;
    position: relative;
    padding-left: 0;
    transition: all 0.3s ease;
}

.foot-column a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 1px;
    background: #3b82f6;
    transition: width 0.3s ease;
    transform: translateY(-50%);
}

.foot-column a:hover {
    color: #fff;
    padding-left: 16px;
}

.foot-column a:hover::before {
    width: 10px;
}

/* ========================================
       表单列
       ======================================== */
.foot-form-column {
    flex: 0 0 280px;
    max-width: 360px;
    padding-left: 30px;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    /* 入场 */
    opacity: 0;
    animation: fadeSlideUp 0.7s 0.5s forwards;
}

.form-title {
    font-size: 25px;
    color: #fff;
    font-weight: bold;
    margin-bottom: 8px;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.form-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    border-radius: 3px;
    margin-top: 8px;
    animation: titleLine 2s ease-in-out infinite;
}

@keyframes titleLine {

    0%,
    100% {
        width: 40px;
    }

    50% {
        width: 70px;
    }
}

.form-desc {
    font-size: 16px;
    color: #b0b8da;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* 表单控件 */
.form-box input,
.form-box textarea {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 12px;
    font-size: 14px;
    box-sizing: border-box;
    background:#f8f9fa;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    outline: none;
    transition: all 0.4s ease;
}

.form-box input::placeholder,
.form-box textarea::placeholder {
    color: #6b7aa1;
    font-size: 13px;
    transition: opacity 0.3s;
}

.form-box input:focus::placeholder,
.form-box textarea:focus::placeholder {
    opacity: 0.4;
}

.form-box input:focus,
.form-box textarea:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15),
        0 0 20px rgba(59, 130, 246, 0.1);
}

.form-box textarea {
    height: 80px;
    resize: none;
    line-height: 1.6;
}

/* 提交按钮 - 带呼吸光效 */
.form-box button {
    width: 100%;
    padding: 13px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #fff;
    background: #25689b; 
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.4s ease;
    margin-top: 4px;
    position: relative;
    overflow: hidden;
}



.form-box button:hover::before {
    opacity: 1;
}

@keyframes btnGlow {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.form-box button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.form-box button:hover::after {
    width: 300px;
    height: 300px;
}


.form-box button:active {
    transform: translateY(0);
}

/* ====== 底部版权装饰线 ====== */
.foot-bottom-bar {
    position: relative;
    z-index: 2;
    max-width: 1600px;
    margin: 30px auto 0;
    padding: 20px 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
    font-size: 12px;
    color: #5a6a9a;
}

/* ==========================
       平板适配 (≤991px)
       ========================== */
@media (max-width: 991px) {
    .foot-new-layout .center {
        flex-wrap: wrap;
    }

    .foot-icon-column {
        flex: 0 0 100%;
        max-width: 100%;
        padding-right: 0;
        margin-right: 0;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding-bottom: 20px;
        margin-bottom: 25px;
        align-items: flex-start;
    }

    .foot-qr img {
        height: 48px;
    }

    .foot_dy {
        width: 120px;
        height: 70px;
    }

    .foot_Video {
        width: 120px;
        height: 65px;
    }

    .foot-column {
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 30px;
    }

    .foot-form-column {
        flex: 0 0 100%;
        max-width: 100%;
        border-left: none;
        padding-left: 15px;
        margin-top: 10px;
    }
}

/* ==========================
       移动端适配 (≤767px)
       ========================== */
@media (max-width: 767px) {
    .foot-new-layout {
        padding: 30px 15px 30px;
        text-align: center;
    }

    .foot-wave-wrap svg {
        height: 35px;
    }

    .foot-new-layout .center {
        flex-direction: column;
        padding: 0;
    }

    .foot-icon-column {
        flex: 0 0 auto;
        width: 100%;
        align-items: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding-bottom: 20px;
        margin-bottom: 25px;
        padding-right: 0;
        margin-right: 0;
    }

    .foot-qr {
        justify-content: center;
        gap: 15px;
        width: 100%;
    }

    .foot-qr img {
        height: 42px;
    }

    .foot-media-icons {
        justify-content: center;
        gap: 12px;
        width: 100%;
    }

    .foot_dy {
        width: 110px;
        height: 64px;
    }

    .foot_Video {
        width: 110px;
        height: 58px;
    }

    .foot-column {
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin-bottom: 25px;
    }

    .foot-form-column {
        width: 100%;
        max-width: 100%;
        border: none;
        padding: 0;
        margin-top: 10px;
    }

    .form-box input,
    .form-box textarea {
        padding: 14px 10px;
        font-size: 14px;
        margin-bottom: 12px;
    }

    .form-box button {
        padding: 14px;
        font-size: 15px;
        border-radius: 4px;
    }

    /* 手机底部固定导航 */
    .foot-wap {
        position: fixed;
        left: 0;
        bottom: 0;
        width: 100%;
        background: linear-gradient(180deg, #1a2744, #18203a);
        z-index: 999;
        box-shadow: 0 -2px 20px rgba(0, 0, 0, .4);
        padding-bottom: constant(safe-area-inset-bottom);
        padding-bottom: env(safe-area-inset-bottom);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .foot-wap::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 1px;
        background: linear-gradient(90deg, transparent, #3b82f6, transparent);
    }

    .foot-wap ul {
        display: flex;
        justify-content: space-around;
        padding: 8px 0;
        margin: 0;
        list-style: none;
    }

    .foot-wap li {
        text-align: center;
        flex: 1;
    }

    .foot-wap a {
        color: #cfd5e9;
        text-decoration: none;
        font-size: 12px;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 6px 0;
        min-height: 44px;
        justify-content: center;
        transition: all 0.3s;
    }

    .foot-wap a:active {
        transform: scale(0.9);
        color: #3b82f6;
    }

    .foot-wap .iconfont {
        display: block;
        font-size: 20px;
        margin-bottom: 2px;
        transition: all 0.3s;
    }

    .foot-wap a:active .iconfont {
        transform: scale(1.2);
        color: #3b82f6;
    }

    body {
        padding-bottom: calc(60px + constant(safe-area-inset-bottom));
        padding-bottom: calc(60px + env(safe-area-inset-bottom));
    }

    .aside-nav {
        display: none;
    }
}

/* ==========================
       超小屏适配 (≤375px)
       ========================== */
@media (max-width: 375px) {
    .foot-qr img {
        height: 36px;
    }

    .foot-qr {
        gap: 10px;
    }

    .foot_dy {
        width: 95px;
        height: 55px;
    }

    .foot_Video {
        width: 95px;
        height: 50px;
    }
}