/* Main CSS */
.theme * {
    --bg-main: #F5F5F7;
    --bg-secondary: #FFFFFF;
    --text-main: #1D1D1F;
    --text-muted: #555555;
    --accent-blue: #0071E3;
    --accent-cyan: #009FE3;
    --accent-green: #28A745;

    --card-bg: rgba(255, 255, 255, 0.85);
    --border-color: rgba(0, 0, 0, 0.08);
    --glass-border: rgba(255, 255, 255, 1);
    --shadow-base: rgba(0, 0, 0, 0.05);
    --ripple-color: rgba(0, 113, 227, 0.15);
    --nav-bg: rgba(255, 255, 255, 0.85);
    color: var(--text-main);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
    cursor: auto;
    position: relative;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}
.theme .btn-primary{
background: linear-gradient(90deg, var(--accent-blue) 0%, var(--accent-cyan) 100%);
    color: #FFF !important;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: 0.3s;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 113, 227, 0.2);
    white-space: nowrap;
}
/* --- 科技感跟随光环 (蓝色系) --- */
.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    background: var(--accent-blue);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
    will-change: transform;
}

.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(0, 113, 227, 0.4);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, border-color 0.2s;
    will-change: transform;
}

@media (pointer: coarse) {
    #senu-wp-app {
        cursor: auto !important;
    }

    .cursor-dot,
    .cursor-ring {
        display: none !important;
    }
}

/* --- 文本渐变与特效类 --- */
#senu-wp-app .gradient-text {
    background: linear-gradient(180deg, #1D1D1F 0%, #555555 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

#senu-wp-app .highlight-cyan {
    color: var(--accent-blue) !important;
    font-weight: 700;
}

#senu-wp-app .highlight-green {
    color: var(--accent-green) !important;
    font-weight: 700;
}

/* --- 动态涟漪背景 --- */
#senu-wp-app .ripple-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.8s ease;
}

#senu-wp-app .ripple {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(0, 113, 227, 0.35);
    animation: ripple-anim 12s infinite linear;
    opacity: 0;
    box-shadow: 0 0 50px rgba(0, 113, 227, 0.35), inset 0 0 30px rgba(0, 113, 227, 0.35);
    will-change: transform, opacity;
}

@keyframes ripple-anim {
    0% {
        transform: scale(0.1);
        opacity: 0;
    }

    40% {
        opacity: 0.95;
    }

    80% {
        opacity: 0.2;
    }

    100% {
        transform: scale(2.8);
        opacity: 0;
    }
}



 /* 桌面导航 */
 .logo{
        font-size: 1.3rem;
    font-weight: 900;
    white-space: nowrap;
    color: var(--text-main);
    flex-shrink: 0;
 }
#main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    height: 65px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    position: fixed;
    width: 100%;
    z-index: 1000;
    top: 0;
}
.nav-right {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
}
.nav-links a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: 0.3s;
}
.nav-links a:hover, .nav-links a.active {
    color: #0071E3;
    font-weight: 600;
}

/* 汉堡菜单按钮，默认隐藏桌面端 */
.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}
.menu-toggle{
    display:none;
}
.m-contact{
    display: none;
}
@media (max-width: 768px) {
.m-contact{
    display: block;
}
    .menu-toggle {
        display: block;
        font-size: 26px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1100;
    }

    .nav-links {
        position: fixed;
        top: 65px;
        right: 0;
        width: 70%;
        height: calc(100vh - 65px);
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(10px);

        flex-direction: column;
        align-items: flex-start;
        padding: 20px 24px;
        gap: 18px;

        transform: translateX(100%);
        transition: 0.3s ease;
        box-shadow: -10px 0 30px rgba(0,0,0,0.08);
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links a {
        font-size: 16px;
        padding: 10px 0;
        width: 100%;
    }

    .nav-right {
        display: none;
    }
}
/* 移动端 */

/* footer */
.footer-bottom {
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
    color: #888;
    font-size: 0.85rem;
    text-align: center;
    background: var(--bg-main);
    width: 100%;
    position: relative;
    z-index: 10;
}

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 52px;
    height: 52px;

    border-radius: 50%;
    border: none;

    background: linear-gradient(90deg, var(--accent-blue) 0%, var(--accent-cyan) 100%);
    color: #fff;
    font-size: 18px;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 8px 20px rgba(0,0,0,0.2);

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);

    transition: all 0.3s ease;
    z-index: 9999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #333;
}
/* footer */


