:root {
    /* 将森林绿改为商务蓝 */
    --primary-color: #2563eb;  /* 明亮的蓝色 */
    --primary-hover: #1d4ed8;  /* 深蓝色 */
    --gradient-start: #60a5fa; /* 浅蓝色 */
    --gradient-middle: #2563eb; /* 主蓝色 */
    --gradient-end: #1e40af;   /* 深蓝色 */
    
    --text-color: #333;
    --border-color: #ddd;
    --background-light: #f0f9ff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
}

body {
    background: linear-gradient(135deg, 
        #1e3a8a 0%,
        #1e40af 40%,
        #2563eb 100%
    );
    min-height: 100vh; /* 改为最小高度，允许内容超出时滚动 */
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden; /* 只隐藏水平滚动条 */
    overflow-y: auto; /* 允许垂直滚动 */
    justify-content: center;
}

/* 优化背景网格效果 */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
    background-position: center center;
    background-repeat: repeat;
    pointer-events: none;
    z-index: 0;
    animation: backgroundMove 150s linear infinite;
}

/* 添加柔和的光晕效果 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(96, 165, 250, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(96, 165, 250, 0.15) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* 优化浮动点效果 */
.tech-dot {
    position: absolute;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    animation: float 20s infinite linear;
}

/* 修改点的大小和透明度 */
.tech-dot:nth-child(3n) {
    width: 2px;
    height: 2px;
    opacity: 0.7;
}

.tech-dot:nth-child(3n+1) {
    width: 3px;
    height: 3px;
    opacity: 0.5;
}

.tech-dot:nth-child(3n+2) {
    width: 1px;
    height: 1px;
    opacity: 0.3;
}

/* 优化动画效果 */
@keyframes backgroundMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(100px, 100px);
    }
}

@keyframes float {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(100px, 100px);
    }
}

/* 移除之前的连接线效果 */
.tech-lines {
    display: none;
}

.header {
    background: rgba(255, 255, 255, 0.95);
    padding: 0.5rem 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px var(--shadow-color);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.system-title {
    font-size: 1.8rem;
    color: var(--text-color);
    font-weight: 500;
    text-shadow: 1px 1px 2px var(--shadow-color);
}

.nav-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    padding: 0.7rem 1.2rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-links a:hover {
    background: var(--background-light);
    transform: translateY(-2px);
}

.nav-links a.highlight {
    color: white;
    background: var(--primary-color);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.nav-links a.highlight:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.dropdown {
    position: relative;
}

.dropdown-toggle {
    background: none;
    border: none;
    color: var(--text-color);
    padding: 0.7rem 1.2rem;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.dropdown-toggle:hover {
    background: var(--background-light);
}

.arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    border-radius: 8px;
    box-shadow: 0 4px 20px var(--shadow-color);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 0.5rem 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.dropdown:hover .arrow {
    transform: rotate(180deg);
}

.dropdown-menu a {
    display: block;
    padding: 0.8rem 1.2rem;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 4px;
    margin: 0 0.5rem;
}

.dropdown-menu a:hover {
    background: var(--background-light);
    transform: translateX(5px);
}

.main-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5% 1rem;
    flex: 1;
    margin-top: 0;
    min-height: 0;
    gap: 3rem;
}

/* 左侧内容区域 */
.left-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    max-width: 50%;
}

/* 右侧内容区域 */
.right-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 50%;
}

.ai-graphic {
    flex: 1;
    max-width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    width: 100%;
}

.network-container {
    width: 400px;
    height: 400px;
    position: relative;
    margin: 0 auto;
    animation: fadeInScale 0.8s ease-out;
}

.network-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: visible;
    pointer-events: none;
}

.net-line {
    stroke: rgba(255, 255, 255, 0.22);
    stroke-width: 1.2;
    stroke-dasharray: 5, 4;
    fill: none;
    opacity: 0;
    animation: netFadeIn 1s ease-out 0.3s forwards;
}

.net-line-adj {
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 0.8;
    stroke-dasharray: 3, 5;
    fill: none;
    opacity: 0;
    animation: netFadeIn 1s ease-out 0.8s forwards;
}

@keyframes netFadeIn {
    to { opacity: 1; }
}

.net-node {
    position: absolute;
    transform: translate(-50%, -50%);
    padding: 9px 16px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(2, 6, 23, 0.2);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s ease;
    animation: netNodeAppear 0.6s ease-out backwards;
}

.net-node:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 12px 35px rgba(2, 6, 23, 0.3);
    filter: brightness(1.15);
    z-index: 3;
}

@keyframes netNodeAppear {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.6);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.net-node[data-pos="1"] { top: 9%; left: 50%; animation-delay: 0.2s; }
.net-node[data-pos="2"] { top: 18%; left: 85%; animation-delay: 0.3s; }
.net-node[data-pos="3"] { top: 50%; left: 92%; animation-delay: 0.4s; }
.net-node[data-pos="4"] { top: 82%; left: 85%; animation-delay: 0.5s; }
.net-node[data-pos="5"] { top: 91%; left: 50%; animation-delay: 0.6s; }
.net-node[data-pos="6"] { top: 82%; left: 15%; animation-delay: 0.7s; }
.net-node[data-pos="7"] { top: 50%; left: 8%; animation-delay: 0.8s; }
.net-node[data-pos="8"] { top: 18%; left: 15%; animation-delay: 0.9s; }

.net-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 88px;
    height: 88px;
    background: radial-gradient(circle at 30% 30%, #60a5fa, #2563eb 55%, #1e3a8a);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    box-shadow:
        0 0 35px rgba(96, 165, 250, 0.5),
        0 0 70px rgba(96, 165, 250, 0.25),
        inset 0 0 25px rgba(255, 255, 255, 0.2);
    z-index: 3;
    animation: netPulse 2.5s ease-in-out infinite;
}

@keyframes netPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 35px rgba(96, 165, 250, 0.5), 0 0 70px rgba(96, 165, 250, 0.25), inset 0 0 25px rgba(255,255,255,.2);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.06);
        box-shadow: 0 0 50px rgba(96, 165, 250, 0.6), 0 0 90px rgba(96, 165, 250, 0.3), inset 0 0 35px rgba(255,255,255,.3);
    }
}

.login-container {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 12px;
    width: 420px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    margin: 0;
    position: relative;
    z-index: 10;
    backdrop-filter: blur(20px);
}

.login-tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.login-tab {
    padding: 15px 25px;
    cursor: pointer;
    color: #666;
    transition: all 0.3s;
    position: relative;
    user-select: none;
    font-size: 16px;
}

.login-tab:hover {
    color: var(--primary-color);
}

.login-tab.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.input-group {
    margin-bottom: 25px;
}

.input-group input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.input-group input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(32, 191, 107, 0.1);
}

.login-button {
    width: 100%;
    padding: 14px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    opacity: 1;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.login-button:hover {
    background: var(--primary-hover);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.footer {
    text-align: center;
    padding: 0.5rem;
    color: rgba(255,255,255,0.8);
    font-size: 12px;
    background: transparent;
    line-height: 1.4;
    margin-top: auto;
    flex-shrink: 0;
}

.footer a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer a:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .header {
        padding: 0.8rem;
    }

    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .system-title {
        font-size: 1.3rem;
        text-align: center;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
    }

    .nav-links a,
    .dropdown-toggle {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .dropdown {
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        margin-top: 0.5rem;
        width: 100%;
        display: none;
    }

    .dropdown:hover .dropdown-menu {
        transform: none;
        display: block;
    }

    .dropdown-menu a {
        text-align: center;
        margin: 0;
        padding: 0.8rem;
    }

    .main-content {
        margin-top: 0;
        flex-direction: column-reverse; /* 让登录窗口在上方 */
        padding: 1rem;
        min-height: auto;
        gap: 1rem; /* 减少间距 */
    }
    
    .left-content {
        max-width: 100%;
        align-items: center;
        text-align: center;
        order: 2; /* 确保标题在下方 */
    }
    
    .right-content {
        max-width: 100%;
        order: 1; /* 确保登录窗口在上方 */
    }

    .login-container {
        margin-top: 0.5rem; /* 减少顶部间距，因为现在在顶部 */
        width: 100%;
    }

    .login-header h2 {
        font-size: 1.5rem;
    }

    .input-group input {
        padding: 12px 14px;
    }

    .login-button {
        padding: 12px;
    }

    .footer {
        padding: 1rem;
        font-size: 12px;
    }

    @media (hover: none) {
        .nav-links a:hover,
        .dropdown-toggle:hover,
        .dropdown-menu a:hover,
        .login-button:hover,
        .login-container:hover {
            transform: none;
        }

        .nav-links a:active,
        .dropdown-toggle:active,
        .dropdown-menu a:active,
        .login-button:active {
            opacity: 0.7;
        }
    }

    .ai-graphic {
        display: none;
    }
}

@media (max-width: 480px) {
    .system-title {
        font-size: 1.2rem;
    }

    .login-container {
        padding: 1.2rem;
        width: 95%;
    }

    .login-header h2 {
        font-size: 1.3rem;
    }

    .input-group {
        margin-bottom: 1rem;
    }

    .footer {
        font-size: 0.8rem;
        line-height: 1.4;
    }
}

@media (max-height: 600px) and (orientation: landscape) {
    body {
        min-height: 100vh; /* 改为最小高度，允许滚动 */
        overflow-x: hidden; /* 只隐藏水平滚动条 */
        overflow-y: auto; /* 允许垂直滚动 */
    }
    
    .header {
        padding: 0.5rem;
    }

    .main-content {
        padding: 0.5rem;
        min-height: auto;
        flex: 1;
    }

    .login-container {
        padding: 1rem;
        margin-top: 1rem;
    }

    .login-header {
        margin-bottom: 1rem;
    }

    .input-group {
        margin-bottom: 0.8rem;
    }

    .footer {
        padding: 0.3rem;
        font-size: 10px;
    }
    
    .ai-graphic {
        margin-top: 2rem;
    }
}

@media (prefers-color-scheme: dark) {
    :root {
        --text-color: #e1e1e1;
        --border-color: #404040;
        --background-light: rgba(255, 255, 255, 0.05);
    }

    .header,
    .login-container,
    .footer {
        background: rgba(30, 30, 30, 0.95);
    }

    .dropdown-menu {
        background: rgba(40, 40, 40, 0.95);
    }

    .input-group input {
        background: rgba(0, 0, 0, 0.2);
        color: var(--text-color);
    }

    .input-group input::placeholder {
        color: rgba(255, 255, 255, 0.5);
    }
}

.contact-info {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 1000;
}

.contact-info a,
.contact-info span,
.contact-info button {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.contact-info .highlight {
    background: var(--primary-color);
    padding: 6px 12px;
    border-radius: 4px;
    transition: all 0.3s;
}

.contact-info .highlight:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.contact-info .dropdown {
    position: relative;
    display: inline-block;
}

.contact-info .dropdown-toggle {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 4px;
    transition: all 0.3s;
}

.contact-info .dropdown-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.contact-info .dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    padding: 8px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
}

.contact-info .dropdown-menu a {
    color: var(--text-color);
    padding: 8px 16px;
    display: block;
    transition: all 0.3s;
}

.contact-info .dropdown-menu a:hover {
    background: var(--background-light);
    color: var(--primary-color);
}

.contact-info .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .contact-info {
        position: static;
        flex-direction: row; /* 改为水平排列，确保按钮可见 */
        align-items: center;
        justify-content: center;
        padding: 1rem;
        background: rgba(0,0,0,0.1);
        gap: 10px; /* 按钮之间的间距 */
        flex-wrap: wrap; /* 允许换行 */
        border-radius: 8px;
        margin: 1rem;
    }

    .contact-info .dropdown {
        width: auto; /* 改为自动宽度，适应内容 */
        flex: 1; /* 允许弹性调整 */
        min-width: 120px; /* 最小宽度确保按钮可见 */
    }

    .contact-info .dropdown-toggle {
        width: 100%;
        justify-content: center;
        padding: 8px 12px; /* 增加内边距 */
    }

    .contact-info .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        margin-top: 4px;
        display: none;
    }

    .contact-info .dropdown:hover .dropdown-menu {
        display: block;
    }

    .contact-info .highlight {
        text-align: center;
        flex: 1; /* 允许弹性调整 */
        min-width: 120px; /* 最小宽度确保按钮可见 */
    }

    .contact-info .more-services-btn {
        flex: 1; /* 允许弹性调整 */
        min-width: 120px; /* 最小宽度确保按钮可见 */
        padding: 8px 12px; /* 增加内边距 */
    }

    .contact-info span {
        text-align: center;
        margin-top: 8px;
    }
}

.system-title-container {
    color: white;
    margin-top: -2rem; /* 向上移动标题 */
    margin-bottom: 1rem; /* 减少底部间距 */
    margin-left: 0;
    text-align: left;
    width: 100%;
}

.system-title-container h1 {
    font-size: 2.8rem;
    margin-bottom: 8px; /* 减少标题和副标题之间的间距 */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3),
                 0 0 20px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    color: #ffffff;
}

.system-title-container p {
    font-size: 1.4rem;
    opacity: 0.95;
    margin-left: 2px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

@media (max-width: 768px) {
    .system-title-container {
        margin-left: 0;
        margin-top: -1.5rem; /* 平板端向上移动 */
        margin-bottom: 0.5rem; /* 进一步减少小屏幕上的底部间距 */
        text-align: center;
    }

    .system-title-container h1 {
        font-size: 2rem;
        margin-bottom: 5px; /* 减少小屏幕上标题和副标题的间距 */
    }

    .system-title-container p {
        font-size: 1.2rem;
        margin-bottom: 0; /* 移除副标题的底部间距 */
    }
}

@media (max-width: 768px) {
    .ai-graphic {
        margin-top: 0.5rem; /* 减少AI动画区域的顶部间距 */
    }
    
    .network-container {
        width: 300px;
        height: 300px;
    }
    
    .net-node {
        font-size: 10px;
        padding: 7px 12px;
    }
    
    .ai-graphic img {
        width: 250px;
        height: 250px;
    }
    .ai-graphic img[src*="placeholder"] {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 480px) {
    .system-title-container {
        margin-top: -1rem; /* 手机端向上移动 */
        margin-bottom: 0.3rem; /* 手机端进一步减少间距 */
    }
    
    .system-title-container h1 {
        font-size: 1.8rem; /* 手机端稍微减小标题字体 */
        margin-bottom: 3px;
    }
    
    .system-title-container p {
        font-size: 1rem; /* 手机端稍微减小副标题字体 */
    }
    
    .network-container {
        width: 250px;
        height: 250px;
    }
    
    .net-node {
        font-size: 9px;
        padding: 5px 10px;
    }
    
    /* 确保contact-info在手机端正常显示 */
    .contact-info {
        flex-direction: column; /* 手机端改为垂直排列 */
        gap: 8px;
        padding: 0.8rem;
    }
    
    .contact-info .highlight,
    .contact-info .more-services-btn,
    .contact-info .dropdown {
        width: 100%;
        min-width: auto;
    }
    
    .ai-graphic img {
        width: 200px;
        height: 200px;
    }
}

/* 滑块验证器样式 */
.slider-container {
    margin: 20px 0;
    background-color: #f5f5f5;
    position: relative;
    border-radius: 6px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    user-select: none;
    color: #666;
    overflow: hidden;
    z-index: 11;
    border: 1px solid #e5e5e5;
}

.slider-mask {
    position: absolute;
    left: 0;
    top: 0;
    height: 40px;
    border-radius: 6px;
    background-color: rgba(37, 99, 235, 0.1);
    width: 0;
    transition: width 0.3s;
    z-index: 12;
}

.slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 40px;
    background: var(--primary-color);
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
    cursor: grab;
    transition: background .2s;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 13;
    touch-action: none;
}

.slider-text {
    position: relative;
    z-index: 10;
}

/* 添加滑块激活状态样式 */
.slider:active {
    cursor: grabbing;
    background: var(--primary-hover);
}

.slider-container.success .slider {
    background: #52ccba;
}

.slider-container.success .slider-mask {
    background-color: rgba(82, 204, 186, 0.1);
}

/* 拼图验证样式 */
.verify-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.verify-container {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    width: 320px;
}

.verify-image-container {
    position: relative;
    width: 280px;
    height: 200px;
    margin: 20px auto;
    background: #f5f5f5;
    overflow: hidden;
}

.verify-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.verify-puzzle-slot {
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.7);
    border: 2px solid #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

.verify-puzzle {
    position: absolute;
    width: 40px;
    height: 40px;
    background-size: 280px 200px;
    border: 2px solid #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: box-shadow 0.3s ease;
}

.verify-puzzle:hover {
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.5);
}

.verify-title {
    text-align: center;
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
}

.verify-close {
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
}

.verify-close:hover {
    color: #333;
}

/* 添加动画效果 */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.net-node {
    animation: netNodeAppear 0.6s ease-out backwards;
}

.net-node[data-pos="1"] { animation-delay: 0.2s; }
.net-node[data-pos="2"] { animation-delay: 0.3s; }
.net-node[data-pos="3"] { animation-delay: 0.4s; }
.net-node[data-pos="4"] { animation-delay: 0.5s; }
.net-node[data-pos="5"] { animation-delay: 0.6s; }
.net-node[data-pos="6"] { animation-delay: 0.7s; }
.net-node[data-pos="7"] { animation-delay: 0.8s; }
.net-node[data-pos="8"] { animation-delay: 0.9s; }

/* 添加视频菜单相关样式 */
.video-menu {
    min-width: 200px; /* 确保菜单宽度足够 */
}

.video-link {
    display: flex !important;
    align-items: center;
    gap: 8px;
    padding: 12px 16px !important;
}

.video-icon {
    color: var(--primary-color);
    font-size: 14px;
}

/* 错误提示样式 */
.error-message {
    background-color: #ffebee;
    color: #d32f2f;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: center;
    border-left: 4px solid #d32f2f;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 密码可见性切换按钮样式 */
.password-group {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    transition: all 0.2s;
}

.password-toggle:hover {
    color: var(--primary-color);
}

.eye-icon {
    font-size: 16px;
    opacity: 0.7;
}

/* 调整输入框内边距，为密码切换按钮留出空间 */
.password-group input[type="password"],
.password-group input[type="text"] {
    padding-right: 40px;
}

/* 更多服务按钮样式 - 参考启动识别端按钮 */
.more-services-btn {
    background: var(--primary-color);
    border: none;
    color: white;
    cursor: pointer;
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 4px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.more-services-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

/* 更多服务弹窗样式 */
.more-services-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.more-services-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.more-services-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #eee;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: white;
}

.more-services-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.more-services-close {
    font-size: 24px;
    cursor: pointer;
    color: white;
    transition: all 0.3s;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.more-services-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.more-services-content {
    padding: 24px;
    max-height: 60vh;
    overflow-y: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 8px;
    background: #ffffff;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.1);
}

.service-item:hover {
    background: #ffffff;
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 22px;
    margin-bottom: 6px;
    transition: transform 0.3s ease;
}

.service-item:hover .service-icon {
    transform: scale(1.1);
}

.service-name {
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    line-height: 1.3;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .more-services-container {
        width: 95%;
        max-height: 85vh;
    }
    
    .more-services-header {
        padding: 16px 20px;
    }
    
    .more-services-header h3 {
        font-size: 18px;
    }
    
    .more-services-content {
        padding: 20px;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
        gap: 8px;
    }
    
    .service-item {
        padding: 10px 6px;
        box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.1);
    }
    
    .service-item:hover {
        box-shadow: 0 6px 20px rgba(37, 99, 235, 0.15), 0 3px 8px rgba(0, 0, 0, 0.1);
    }
    
    .service-icon {
        font-size: 18px;
        margin-bottom: 4px;
    }
    
    .service-name {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    
    .service-item {
        padding: 8px 4px;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.1);
    }
    
    .service-item:hover {
        box-shadow: 0 4px 15px rgba(37, 99, 235, 0.15), 0 2px 6px rgba(0, 0, 0, 0.1);
    }
    
    .service-icon {
        font-size: 16px;
        margin-bottom: 3px;
    }
    
    .service-name {
        font-size: 10px;
    }
}

/* 暗色模式适配 */
@media (prefers-color-scheme: dark) {
    .error-message {
        background-color: rgba(211, 47, 47, 0.2);
        color: #ff6b6b;
    }
    
    .password-toggle {
        color: #aaa;
    }
    
    .more-services-container {
        background: rgba(30, 30, 30, 0.95);
        color: var(--text-color);
    }
    
    .more-services-header {
        background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    }
    
    .service-item {
        background: rgba(40, 40, 40, 0.8);
        color: var(--text-color);
    }
    
    .service-item:hover {
        background: rgba(60, 60, 60, 0.8);
    }
} 

/* ==========================================================
   2025 登录页美化增强版
   定位：学业测评与学情诊断系统 / 教育数字化 / AI 教学助手
   ========================================================== */

/* 背景与基础氛围 */
.tech-dots {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

body {
    background:
        radial-gradient(ellipse at 15% 20%, rgba(96, 165, 250, 0.18) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 80%, rgba(59, 130, 246, 0.15) 0%, transparent 45%),
        linear-gradient(135deg, #0b1120 0%, #0f1f4b 45%, #1e40af 100%);
}

body::before {
    background:
        radial-gradient(circle at 20% 20%, rgba(96, 165, 250, 0.22) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(96, 165, 250, 0.18) 0%, transparent 50%);
}

body::after {
    background:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 80px 80px, 80px 80px, 16px 16px, 16px 16px;
}

/* 左侧品牌区 */
.system-title-container {
    position: relative;
}

.system-title-container h1 {
    color: #fff;
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #ffffff 0%, #dbeafe 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.system-title-container p {
    font-size: 1.45rem;
    font-weight: 300;
    letter-spacing: 4px;
    opacity: 0.95;
}

/* AI 能力图形：玻璃拟态 + 轨道环 */
.network-container {
    width: 420px;
    height: 420px;
}

.network-container .net-node {
    padding: 10px 18px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.25);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.network-container .net-node:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 16px 40px rgba(2, 6, 23, 0.35),
                inset 0 0 0 1px rgba(255, 255, 255, 0.25);
    filter: brightness(1.15);
}

.network-container .net-center {
    width: 96px;
    height: 96px;
    font-size: 30px;
    background: radial-gradient(circle at 30% 30%, #60a5fa, #2563eb 55%, #1e3a8a);
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow:
        0 0 40px rgba(96, 165, 250, 0.5),
        0 0 80px rgba(96, 165, 250, 0.25),
        inset 0 0 30px rgba(255, 255, 255, 0.2);
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 40px rgba(96, 165, 250, 0.5), 0 0 80px rgba(96, 165, 250, 0.25), inset 0 0 30px rgba(255,255,255,.2); }
    50% { transform: translate(-50%, -50%) scale(1.06); box-shadow: 0 0 60px rgba(96, 165, 250, 0.6), 0 0 100px rgba(96, 165, 250, 0.3), inset 0 0 40px rgba(255,255,255,.3); }
    100% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 40px rgba(96, 165, 250, 0.5), 0 0 80px rgba(96, 165, 250, 0.25), inset 0 0 30px rgba(255,255,255,.2); }
}

/* 右侧登录卡片：现代毛玻璃 */
.login-container {
    width: 440px;
    padding: 3rem 2.8rem 2.6rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow:
        0 25px 80px rgba(2, 6, 23, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.login-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 4px;
    border-radius: 0 0 12px 12px;
    background: linear-gradient(90deg, #60a5fa, #2563eb, #1e40af);
}

/* 登录页签：胶囊切换 */
.login-tabs {
    background: #f1f5f9;
    padding: 6px;
    border-radius: 50px;
    border: 1px solid #e2e8f0;
    margin-bottom: 30px;
}

.login-tab {
    border-radius: 50px;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 500;
    border-bottom: none;
}

.login-tab.active {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #fff;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

/* 输入框：带图标 + 大圆角 */
.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-group input {
    height: 52px;
    padding: 0 16px 0 46px;
    border-radius: 12px;
    border: 1.5px solid #e2e8f0;
    background: #f8fafc;
    font-size: 15px;
    transition: all 0.25s ease;
}

.input-group input:focus {
    background: #fff;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

.input-group:first-of-type::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E") center/contain no-repeat;
    opacity: 0.8;
    pointer-events: none;
}

.password-group::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E") center/contain no-repeat;
    opacity: 0.8;
    pointer-events: none;
    z-index: 1;
}

.password-group input[type="password"],
.password-group input[type="text"] {
    padding-right: 44px;
}

/* 记住登录状态 */
.remember-me-container {
    margin: 12px 0 20px;
}

.remember-checkbox {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    box-shadow: none;
}

.remember-checkbox:hover {
    background: #fff;
    border-color: #3b82f6;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.12);
}

.remember-checkbox input[type="checkbox"] {
    accent-color: #2563eb;
}

/* 登录按钮 */
.login-button {
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 6px;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.35);
}

.login-button:hover {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(37, 99, 235, 0.45);
}

.login-button:active {
    transform: translateY(0) scale(0.98);
}

/* 顶部操作区：胶囊按钮 */
.contact-info .highlight,
.contact-info .more-services-btn,
.contact-info .dropdown-toggle {
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 8px 16px;
    box-shadow: 0 4px 15px rgba(2, 6, 23, 0.15);
}

.contact-info .highlight {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.contact-info .dropdown-toggle:hover {
    background: rgba(255, 255, 255, 0.18);
}

/* 更多服务弹窗 */
.more-services-container {
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 30px 80px rgba(2, 6, 23, 0.4);
}

.more-services-header {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    padding: 22px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.more-services-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.more-services-subtitle {
    margin: 4px 0 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
}



.more-services-content {
    background: #f8fafc;
}

.service-item {
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.08);
    transition: all 0.3s ease;
}

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(29, 78, 216, 0.12));
    margin-bottom: 10px;
    color: #2563eb;
}

.service-icon svg {
    width: 24px;
    height: 24px;
}

.service-item:hover {
    border-color: #3b82f6;
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.15), 0 6px 16px rgba(15, 23, 42, 0.1);
    transform: translateY(-3px);
}

/* 错误提示 */
.error-message {
    border-radius: 12px;
    background: #fef2f2;
    color: #dc2626;
    border-left: 4px solid #ef4444;
}

/* 滑块拼图验证 */
.slider-container {
    height: 44px;
    line-height: 44px;
    border-radius: 30px;
    border: 1px solid #e2e8f0;
}

.slider-mask {
    height: 44px;
    border-radius: 30px;
}

.slider {
    width: 54px;
    height: 44px;
    border-radius: 30px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.slider:active {
    background: linear-gradient(135deg, #2563eb, #1e40af);
}

.verify-container {
    border-radius: 20px;
}

.verify-title {
    font-size: 18px;
    font-weight: 600;
}

/* 自动登录通知补充 success 状态 */
.auto-login-notification.success {
    background: rgba(16, 185, 129, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}

/* 页脚 */
.footer {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 8px 22px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.footer p {
    color: rgba(255, 255, 255, 0.75);
}

.footer a {
    color: rgba(255, 255, 255, 0.9);
}

/* 暗色模式适配：保持卡片与输入框一致 */
@media (prefers-color-scheme: dark) {
    .login-container {
        background: rgba(17, 24, 39, 0.92);
        border-color: rgba(255, 255, 255, 0.12);
        box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    }

    .login-tabs {
        background: rgba(255, 255, 255, 0.06);
        border-color: rgba(255, 255, 255, 0.1);
    }

    .login-tab {
        color: #94a3b8;
    }

    .input-group input {
        background: rgba(255, 255, 255, 0.06);
        border-color: rgba(255, 255, 255, 0.14);
        color: #f1f5f9;
    }

    .input-group input::placeholder {
        color: #94a3b8;
    }

    .input-group input:focus {
        background: rgba(255, 255, 255, 0.1);
        border-color: #3b82f6;
    }

    .input-group:first-of-type::before,
    .password-group::before {
        filter: brightness(1.6);
        opacity: 0.9;
    }

    .remember-checkbox {
        background: rgba(255, 255, 255, 0.06);
        border-color: rgba(255, 255, 255, 0.12);
    }

    .remember-checkbox label {
        color: #cbd5e1;
    }

    .error-message {
        background: rgba(239, 68, 68, 0.15);
        color: #fca5a5;
    }

    .more-services-content {
        background: rgba(15, 23, 42, 0.8);
    }

    .service-item {
        background: rgba(30, 41, 59, 0.8);
        border-color: rgba(255, 255, 255, 0.08);
    }

    .service-icon {
        color: #60a5fa;
        background: rgba(96, 165, 250, 0.12);
    }

    /* 下拉菜单暗色适配 */
    .dropdown-menu,
    .contact-info .dropdown-menu {
        background: rgba(15, 23, 42, 0.95);
        border: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    .dropdown-menu a,
    .contact-info .dropdown-menu a {
        color: #cbd5e1;
    }

    .dropdown-menu a:hover,
    .contact-info .dropdown-menu a:hover {
        background: rgba(59, 130, 246, 0.15);
        color: #ffffff;
    }

    .video-icon {
        color: #60a5fa;
    }

    /* 顶部下拉按钮暗色微调 */
    .contact-info .dropdown-toggle {
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(255, 255, 255, 0.15);
    }

    .contact-info .dropdown-toggle:hover {
        background: rgba(255, 255, 255, 0.14);
    }
}

/* 小屏适配微调 */
@media (max-width: 768px) {
    .system-title-container h1 {
        font-size: 2.2rem;
    }

    .system-title-container p {
        font-size: 1.1rem;
        letter-spacing: 2px;
    }

    .login-container {
        width: 100%;
        padding: 2rem 1.6rem 1.8rem;
    }

    .login-tab {
        padding: 9px 14px;
        font-size: 14px;
    }

    .more-services-header {
        padding: 16px 20px;
    }

    .more-services-header h3 {
        font-size: 18px;
    }

    .more-services-subtitle {
        font-size: 12px;
    }

    .network-container {
        width: 280px;
        height: 280px;
    }

    .network-container .net-node {
        font-size: 10px;
        padding: 7px 12px;
    }

    .network-container .net-center {
        width: 72px;
        height: 72px;
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .system-title-container h1 {
        font-size: 1.9rem;
    }

    .login-container {
        padding: 1.8rem 1.2rem 1.5rem;
    }
}

/* 横屏矮屏设备：压缩登录卡片，保证一屏可用 */
@media (max-height: 600px) and (orientation: landscape) {
    .login-container {
        width: 420px;
        padding: 1.2rem 1.6rem;
    }

    .login-tabs {
        margin-bottom: 16px;
    }

    .input-group {
        margin-bottom: 12px;
    }

    .remember-me-container {
        margin: 8px 0 12px;
    }

    .system-title-container h1 {
        font-size: 2rem;
    }

    .system-title-container p {
        font-size: 1rem;
    }

    .network-container {
        transform: scale(0.85);
    }
}


/* 密码可见性 SVG 图标 */
.eye-icon {
    width: 18px;
    height: 18px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.password-toggle:hover .eye-icon {
    opacity: 1;
}

.eye-close {
    display: none;
}

/* 登录按钮 loading 状态 */
.login-button.loading {
    pointer-events: none;
    opacity: 0.85;
    letter-spacing: 2px;
}

.login-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    vertical-align: -2px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: loginSpin 0.7s linear infinite;
}

@keyframes loginSpin {
    to { transform: rotate(360deg); }
}

/* 主题切换按钮 */
.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

.theme-icon {
    width: 18px;
    height: 18px;
}

.icon-sun {
    display: none;
}

.icon-moon {
    display: none;
}

.icon-auto {
    display: block;
}

html[data-theme="dark"] .icon-sun {
    display: none;
}

html[data-theme="dark"] .icon-moon {
    display: block;
}

html[data-theme="dark"] .icon-auto {
    display: none;
}

html[data-theme="light"] .icon-sun {
    display: block;
}

html[data-theme="light"] .icon-moon {
    display: none;
}

html[data-theme="light"] .icon-auto {
    display: none;
}

html[data-theme="auto"] .icon-auto {
    display: block;
}

html[data-theme="auto"] .icon-sun,
html[data-theme="auto"] .icon-moon {
    display: none;
}

/* ========== 手动暗色主题 ========== */
html[data-theme="dark"] .login-container {
    background: rgba(17, 24, 39, 0.92) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

html[data-theme="dark"] .login-tabs {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

html[data-theme="dark"] .login-tab {
    color: #94a3b8 !important;
}

html[data-theme="dark"] .login-tab.active {
    color: #fff !important;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8) !important;
}

html[data-theme="dark"] .input-group input {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
    color: #f1f5f9 !important;
}

html[data-theme="dark"] .input-group input::placeholder {
    color: #94a3b8 !important;
}

html[data-theme="dark"] .input-group input:focus {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: #3b82f6 !important;
}

html[data-theme="dark"] .input-group:first-of-type::before,
html[data-theme="dark"] .password-group::before {
    filter: brightness(1.6);
    opacity: 0.9;
}

html[data-theme="dark"] .remember-checkbox {
    background: rgba(30, 41, 59, 0.85) !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
}

html[data-theme="dark"] .remember-checkbox label {
    color: #cbd5e1 !important;
}

html[data-theme="dark"] .remember-checkbox:has(input[type="checkbox"]:checked) {
    background: rgba(37, 99, 235, 0.25) !important;
    border-color: #3b82f6 !important;
}

html[data-theme="dark"] .error-message {
    background: rgba(239, 68, 68, 0.15) !important;
    color: #fca5a5 !important;
}

html[data-theme="dark"] .dropdown-menu,
html[data-theme="dark"] .contact-info .dropdown-menu {
    background: rgba(15, 23, 42, 0.95) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5) !important;
}

html[data-theme="dark"] .dropdown-menu a,
html[data-theme="dark"] .contact-info .dropdown-menu a {
    color: #cbd5e1 !important;
}

html[data-theme="dark"] .dropdown-menu a:hover,
html[data-theme="dark"] .contact-info .dropdown-menu a:hover {
    background: rgba(59, 130, 246, 0.15) !important;
    color: #fff !important;
}

html[data-theme="dark"] .contact-info .dropdown-toggle {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}

html[data-theme="dark"] .more-services-container {
    background: rgba(30, 30, 30, 0.95) !important;
    color: #e1e1e1 !important;
}

html[data-theme="dark"] .more-services-content {
    background: rgba(15, 23, 42, 0.8) !important;
}

html[data-theme="dark"] .service-item {
    background: rgba(30, 41, 59, 0.8) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

html[data-theme="dark"] .service-icon {
    color: #60a5fa !important;
    background: rgba(96, 165, 250, 0.12) !important;
}

html[data-theme="dark"] .verify-container {
    background: rgba(17, 24, 39, 0.95) !important;
}

html[data-theme="dark"] .verify-title {
    color: #e2e8f0 !important;
}

html[data-theme="dark"] .slider-container {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #94a3b8 !important;
}

html[data-theme="dark"] .auto-login-notification.info {
    background: rgba(30, 58, 138, 0.92) !important;
    border-color: rgba(96, 165, 250, 0.25) !important;
    color: #fff !important;
}

html[data-theme="dark"] .auto-login-notification.warning {
    background: rgba(180, 120, 0, 0.9) !important;
    border-color: rgba(255, 200, 50, 0.3) !important;
    color: #1a1a1a !important;
}

html[data-theme="dark"] .auto-login-notification.success {
    background: rgba(4, 120, 87, 0.92) !important;
    border-color: rgba(52, 211, 153, 0.3) !important;
    color: #fff !important;
}

html[data-theme="dark"] .footer {
    background: rgba(0, 0, 0, 0.4) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

/* ========== 手动浅色主题（强制覆盖系统暗色） ========== */
html[data-theme="light"] .login-container {
    background: rgba(255, 255, 255, 0.92) !important;
    border-color: rgba(255, 255, 255, 0.55) !important;
    box-shadow: 0 25px 80px rgba(2, 6, 23, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.85) !important;
}

html[data-theme="light"] .login-tabs {
    background: #f1f5f9 !important;
    border-color: #e2e8f0 !important;
}

html[data-theme="light"] .login-tab {
    color: #666 !important;
}

html[data-theme="light"] .login-tab.active {
    color: #fff !important;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8) !important;
}

html[data-theme="light"] .input-group input {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
    color: #333 !important;
}

html[data-theme="light"] .input-group input::placeholder {
    color: #94a3b8 !important;
}

html[data-theme="light"] .input-group input:focus {
    background: #fff !important;
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15) !important;
}

html[data-theme="light"] .input-group:first-of-type::before,
html[data-theme="light"] .password-group::before {
    filter: none;
    opacity: 0.8;
}

html[data-theme="light"] .remember-checkbox {
    background: rgba(248, 250, 252, 0.95) !important;
    border-color: rgba(226, 232, 240, 0.9) !important;
}

html[data-theme="light"] .remember-checkbox label {
    color: #475569 !important;
}

html[data-theme="light"] .remember-checkbox:has(input[type="checkbox"]:checked) {
    background: rgba(59, 130, 246, 0.15) !important;
    border-color: #2563eb !important;
}

html[data-theme="light"] .error-message {
    background: #fef2f2 !important;
    color: #dc2626 !important;
}

html[data-theme="light"] .dropdown-menu,
html[data-theme="light"] .contact-info .dropdown-menu {
    background: #fff !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
}

html[data-theme="light"] .dropdown-menu a,
html[data-theme="light"] .contact-info .dropdown-menu a {
    color: #333 !important;
}

html[data-theme="light"] .dropdown-menu a:hover,
html[data-theme="light"] .contact-info .dropdown-menu a:hover {
    background: #f0f9ff !important;
    color: #2563eb !important;
}

html[data-theme="light"] .contact-info .dropdown-toggle {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.22) !important;
}

html[data-theme="light"] .more-services-container {
    background: #fff !important;
    color: #333 !important;
}

html[data-theme="light"] .more-services-content {
    background: #f8fafc !important;
}

html[data-theme="light"] .service-item {
    background: #fff !important;
    border-color: #e2e8f0 !important;
}

html[data-theme="light"] .service-icon {
    color: #2563eb !important;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(29, 78, 216, 0.12)) !important;
}

html[data-theme="light"] .verify-container {
    background: #fff !important;
}

html[data-theme="light"] .verify-title {
    color: #333 !important;
}

html[data-theme="light"] .slider-container {
    background: #f5f5f5 !important;
    border-color: #e5e5e5 !important;
    color: #666 !important;
}

html[data-theme="light"] .auto-login-notification.info {
    background: rgba(44, 90, 160, 0.9) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
}

html[data-theme="light"] .auto-login-notification.warning {
    background: rgba(255, 193, 7, 0.9) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: #000 !important;
}

html[data-theme="light"] .auto-login-notification.success {
    background: rgba(16, 185, 129, 0.9) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
}

html[data-theme="light"] .footer {
    background: rgba(0, 0, 0, 0.25) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* ========== 移动端顶部菜单优化 ========== */
@media (max-width: 768px) {
    .contact-info {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 12px;
        margin: 12px;
        background: rgba(0, 0, 0, 0.18);
        border-radius: 16px;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .contact-info .highlight,
    .contact-info .more-services-btn,
    .contact-info .dropdown-toggle,
    .contact-info .dropdown {
        width: 100%;
        min-width: 0;
        justify-content: center;
        text-align: center;
    }

    .contact-info .theme-toggle {
        width: 40px;
        height: 40px;
        justify-self: center;
    }

    .contact-info .dropdown-menu {
        position: static;
        width: 100%;
        min-width: 0;
        box-shadow: none;
        margin-top: 4px;
        display: none;
    }

    .contact-info .dropdown:hover .dropdown-menu,
    .contact-info .dropdown:focus-within .dropdown-menu {
        display: block;
    }

    .contact-info .dropdown-menu a {
        text-align: center;
        margin: 0;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .contact-info {
        grid-template-columns: repeat(2, 1fr);
        padding: 10px;
        margin: 10px;
    }

    .contact-info .highlight,
    .contact-info .more-services-btn,
    .contact-info .dropdown-toggle {
        font-size: 13px;
        padding: 8px 10px;
    }
}

/* ========== 浅色主题背景与整体配色 ========== */
html[data-theme="light"] body {
    background:
        radial-gradient(ellipse at 15% 20%, rgba(96, 165, 250, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 80%, rgba(59, 130, 246, 0.18) 0%, transparent 45%),
        linear-gradient(135deg, #dbeafe 0%, #eff6ff 45%, #bfdbfe 100%);
}

html[data-theme="light"] body::before {
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.6) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.5) 0%, transparent 50%);
}

html[data-theme="light"] body::after {
    background:
        linear-gradient(rgba(30, 64, 175, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 64, 175, 0.06) 1px, transparent 1px),
        linear-gradient(rgba(30, 64, 175, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 64, 175, 0.03) 1px, transparent 1px);
    background-size: 80px 80px, 80px 80px, 16px 16px, 16px 16px;
}

html[data-theme="light"] .tech-dot {
    background: rgba(37, 99, 235, 0.45);
    box-shadow: 0 0 12px rgba(37, 99, 235, 0.2);
}

html[data-theme="light"] .system-title-container h1 {
    color: #1e3a8a;
    background: none;
    -webkit-text-fill-color: currentColor;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}

html[data-theme="light"] .system-title-container p {
    color: #1e40af;
    opacity: 0.85;
    text-shadow: none;
}

html[data-theme="light"] .net-line {
    stroke: rgba(37, 99, 235, 0.3);
}

html[data-theme="light"] .net-line-adj {
    stroke: rgba(37, 99, 235, 0.15);
}

html[data-theme="light"] .net-node {
    background: rgba(255, 255, 255, 0.65);
    border-color: rgba(37, 99, 235, 0.2);
    color: #1e3a8a;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.1);
}

html[data-theme="light"] .net-center {
    color: #fff;
}

html[data-theme="light"] .contact-info .highlight,
html[data-theme="light"] .contact-info .more-services-btn,
html[data-theme="light"] .contact-info .dropdown-toggle,
html[data-theme="light"] .contact-info .theme-toggle {
    color: #1e3a8a;
    background: rgba(255, 255, 255, 0.65);
    border-color: rgba(37, 99, 235, 0.18);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.08);
}

html[data-theme="light"] .contact-info .highlight {
    color: #fff;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-color: rgba(255, 255, 255, 0.3);
}

html[data-theme="light"] .contact-info .dropdown-toggle:hover,
html[data-theme="light"] .contact-info .more-services-btn:hover,
html[data-theme="light"] .contact-info .theme-toggle:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #1e3a8a;
}

html[data-theme="light"] .footer {
    background: rgba(255, 255, 255, 0.55) !important;
    border-color: rgba(37, 99, 235, 0.12) !important;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.08) !important;
}

html[data-theme="light"] .footer p {
    color: #1e3a8a !important;
}

html[data-theme="light"] .footer a {
    color: #1e40af !important;
}

/* 手动暗色主题时也明确锁定深色背景 */
html[data-theme="dark"] body {
    background:
        radial-gradient(ellipse at 15% 20%, rgba(96, 165, 250, 0.18) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 80%, rgba(59, 130, 246, 0.15) 0%, transparent 45%),
        linear-gradient(135deg, #0b1120 0%, #0f1f4b 45%, #1e40af 100%);
}

html[data-theme="dark"] .tech-dot {
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}




