﻿:root {
    --pink: #ECC8C9;
    --purple: #8F8FD6;
    --card: #EAE2F2;
    --line: #A99CC8;
    --badge: #9C91D0;
    --deep: #403A72;
    --ink: #46416E;
    --soft: #7B729E;
    --bar: #6F64A8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    font-family: "Alibaba PuHuiTi 2.0","Noto Sans CJK SC","PingFang SC","Microsoft YaHei",sans-serif;
    color: var(--ink);
    line-height: 1.9;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: inherit
}

.main {
    flex: 1;
}

.wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 32px;
}

section {
    padding: 36px 0
}

/* ===== TOPBAR ===== */
.topbar {
    background: rgba(255,255,255,.72);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(10px);
    font-size: .82rem;
    color: var(--soft);
}

.topbar .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 48px;
    gap: 18px
}

.top-l {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    min-width: 0;
}

.top-l .t-name {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--deep);
    /*font-weight: 700;*/
    font-size: .85rem;
    white-space: nowrap
}

.top-l .t-name em {
    font-style: normal;
    color: var(--bar);
    /*font-weight: 800;*/
    letter-spacing: .5px;
}

.top-r {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: none
}

.top-r a {
    margin-left: 0;
    padding: 3px 9px;
    border-radius: 20px;
    transition: .2s;
    white-space: nowrap;
    font-size: .92rem
}

.top-r a:hover {
    background: rgba(143,143,214,.16);
    color: var(--deep)
}

.top-r a.btn {
    background: linear-gradient(140deg,#ECC8C9,#8F8FD6);
    color: #fff;
    font-weight: 700;
    padding: 4px 14px;
    box-shadow: 0 4px 12px rgba(111,100,168,.32)
}

.top-r a.btn:hover {
    filter: brightness(1.08);
    transform: translateY(-1px)
}

.text4 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4; /* 最多显示 4 行 */
    overflow: hidden;
    text-align:justify;
}

.tech-banner {
    width: 100%;
    height: 160px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: 'Microsoft YaHei', sans-serif;
    /* 核心背景：深蓝底色 + 右侧青色光晕 + 左下角粉色(#df7fb7)光晕 */
    background: radial-gradient(circle at 85% 30%, rgba(0, 255, 255, 0.15) 0%, transparent 45%), radial-gradient(circle at 15% 80%, rgba(223, 127, 183, 0.35) 0%, transparent 50%), /* 这里加入了粉色 */
    linear-gradient(135deg, #0b164a 0%, #164b9d 60%, #3a9cf7 100%);
}

    /* 科技网格 */
    .tech-banner::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
        background-size: 30px 30px;
        z-index: 1;
    }

    /* 模拟粉色发光节点 */
    .tech-banner::after {
        content: '';
        position: absolute;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #df7fb7;
        box-shadow: 150px 40px 5px #df7fb7, 280px 60px 4px #df7fb7, 400px 30px 3px #df7fb7, -200px 50px 2px #df7fb7;
        filter: blur(1px) drop-shadow(0 0 10px #df7fb7); /* 粉色发光效果 */
        z-index: 2;
    }

.tech-title {
    position: relative;
    z-index: 2;
    font-size: 2rem;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    /*height: min(640px,82vh);*/
    height: min(640px, 31vw); /* 100 * 824 / 2560 */
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg,#ECC8C9 0%,#D8D0F4 55%,#8F8FD6 100%);
    background-image: url(../images/banner.png?v=26111201);
    background-size: 100% 100%;
}

@keyframes bob {
    50% {
        transform: translate(-50%,7px);
        opacity: .45
    }
}

/* ===== FOOTER ===== */
footer {
    background: rgba(140,130,190,.09);
    border-top: 1px solid rgba(140,130,190,.22);
    padding: 16px 0 16px;
}

.foot-copy {
    font-size: .82rem;
    color: var(--soft);
    text-align: center
}

/* 悬浮按钮 */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: #df7fb7;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .3s, transform .3s, visibility .3s, background .2s;
    z-index: 999;
}
    /* 显示状态 */
    .back-to-top.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .back-to-top:hover {
        background: rgba(143,143,214,.16);
        color: var(--deep);
    }

    .back-to-top:active {
        transform: scale(.95);
    }

/* ===== NAV ===== */
.nav {
    position: sticky;
    top: 0;
    z-index: 60;
    /* background: linear-gradient(90deg,rgba(255,226,225,.92),rgba(177,177,232,.85));*/
    background: linear-gradient(90deg,#9b4678,#df7fb7);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(140,130,190,.2)
}

.nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px
}

.logo {
    display: flex;
    align-items: baseline;
    gap: 12px
}

    .logo b {
        font-size: 1.4rem;
        font-weight: 800;
        /*color: var(--deep)*/
        color:#FFF;
    }

.nav-links {
    display: flex;
    gap: 4px;
    list-style: none
}

    .nav-links a {
        font-size: 1.03rem;
        font-weight: 500;
       /* color: var(--ink);*/
       color:#FFF;
        padding: 9px 11px;
        border-radius: 11px;
        transition: .25s;
    }

        .nav-links a:hover {
            background: rgba(255,255,255,.62);
            color: var(--deep)
        }

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px
}

    .burger i {
        width: 24px;
        height: 2px;
        background: var(--deep);
        border-radius: 2px
    }

@media(max-width:960px) {
    .topbar .wrap {
        height: auto;
        padding: 9px 20px;
        flex-wrap: wrap;
        gap: 8px
    }

    .top-l {
        flex: 1 1 100%;
        justify-content: space-between;
        gap: 10px
    }

        .top-l .t-name {
            flex: 1 1 100%
        }

    .top-r {
        margin-left: auto;
        display: flex;
        gap: 14px;
        flex-wrap: wrap
    }

    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: rgba(243,235,246,.98);
        display: none
    }

    .nav-links li {
        text-align:center;
    }

        .nav-links.show {
            display: flex
        }

        .nav-links a {
            display:block;
            border-radius: 0;
            color: var(--deep);
            padding: 0px 24px;
            border-bottom: 1px solid rgba(140,130,190,.1)
        }

    .burger {
        display: flex
    }

    section {
        padding: 66px 0
    }
}

@media(max-width:560px) {
    .wrap {
        padding: 0 20px
    }

    .top-l {
        display:none;
    }

    .logo b {
        font-size: 1.18rem
    }
}