   /* --- 全局样式变量 --- */
        :root {
            --primary-color: #0056b3; /* 主色调：深蓝 */
            --secondary-color: #004494; /* 辅色调 */
            --accent-color: #f39c12; /* 强调色：橙色 */
            --text-color: #333333;
            --text-light: #666666;
            --bg-light: #f8f9fa;
            --white: #ffffff;
            --border-radius: 8px;
            --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            --transition: all 0.3s ease;
        }

        /* --- 基础重置 --- */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
            line-height: 1.6;
            color: var(--text-color);
            background-color: var(--bg-light);
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: var(--transition);
        }

        ul {
            list-style: none;
        }

        .container {
            width: 1200px;
            max-width: 95%;
            margin: 0 auto;
            padding: 0 15px;
        }

        /* --- 顶部导航栏 --- */
        header {
            background-color: var(--white);
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .top-bar {
            background-color: #f0f2f5;
            font-size: 13px;
            color: #666;
            padding: 8px 0;
        }

        .top-bar .container {
            display: flex;
            justify-content: space-between;
        }

        .nav-wrapper {
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 90px; /* 增加高度以容纳更多菜单 */
        }

        .logo {
            font-size: 26px;
            font-weight: bold;
            color: var(--primary-color);
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .nav-links {
            display: flex;
            gap: 10px; /* 调整间距 */
        }

        .nav-links a {
            font-weight: 500;
            color: var(--text-color);
            padding: 10px 20px;
            border-radius: 4px;
            font-size: 16px;
        }

        .nav-links a:hover, .nav-links a.active {
            color: var(--primary-color);
            background-color: rgba(0, 86, 179, 0.05);
        }


        /* --- 页脚 --- */
        footer {
            background-color: #2c3e50;
            color: #ecf0f1;
            padding: 60px 0 20px;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }

        .footer-col h4 {
            font-size: 18px;
            margin-bottom: 20px;
            color: var(--white);
            position: relative;
            padding-bottom: 10px;
        }

        .footer-col h4::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 30px;
            height: 2px;
            background-color: var(--accent-color);
        }

        .footer-links li {
            margin-bottom: 10px;
        }

        .footer-links a {
            color: #bdc3c7;
        }

        .footer-links a:hover {
            color: var(--white);
            padding-left: 5px;
        }

        .contact-info li {
            margin-bottom: 15px;
            display: flex;
            gap: 10px;
        }

        .copyright {
            text-align: center;
            border-top: 1px solid rgba(255,255,255,0.1);
            padding-top: 20px;
            font-size: 14px;
            color: #95a5a6;
        }
        
        /* --- 登录成功弹窗 --- */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
        }

        .modal-content {
            background: var(--white);
            border-radius: 8px;
            padding: 40px 30px;
            text-align: center;
            width: 450px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
            position: relative; /* 添加相对定位 */
        }

        .modal-icon {
            width: 60px;
            height: 60px;
            background-color: #f6ffed;
            color: #52c41a;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 30px;
            margin: 0 auto 20px;
        }

        .modal-title {
            font-size: 20px;
            font-weight: bold;
            color: var(--text-color);
            margin-bottom: 30px;
        }

        .modal-actions {
            display: flex;
            gap: 15px;
            justify-content: center;
        }

        .modal-btn {
            padding: 10px 20px;
            border-radius: 4px;
            font-size: 14px;
            cursor: pointer;
            transition: var(--transition);
            text-decoration: none;
        }

        .btn-go-study {
            background-color: var(--primary-color);
            color: var(--white);
            border: none;
        }

        .btn-go-study:hover {
            background-color: var(--secondary-color);
        }

        .btn-go-buy {
            background-color: var(--white);
            color: var(--primary-color);
            border: 1px solid var(--primary-color);
        }

        .btn-go-buy:hover {
            background-color: #eef6ff;
        }
        .modal-close {
            position: absolute;
            top: 10px;
            right: 15px;
            background: none;
            border: none;
            font-size: 24px;
            color: #999;
            cursor: pointer;
            line-height: 1;
        }

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

        @media (max-width: 992px) {
            .header_nav {
                display: none;
            }
            .welcome{
                display: none;
            }
        }