        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            line-height: 1.6;
            background-color: #f8fafc;
            color: #333;
            overflow-x: hidden;
        }
        
        /* Navigation */
        .navbar {
            position: fixed;
            top: 0;
            width: 100%;
            background: linear-gradient(135deg, #408cc8, #40C782);
            padding: 1.2rem 2rem;
            z-index: 1000;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
        }
        
        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1400px;
            margin: 0 auto;
        }
        
        .logo {
            font-size: 1.8rem;
            font-weight: 700;
            color: white;
            text-decoration: none;
            transition: all 0.3s ease;
        }
        
        .logo:hover {
            opacity: 0.9;
            transform: translateY(-2px);
        }
        
        .nav-links {
            display: flex;
            gap: 2.5rem;
            list-style: none;
        }
        
        .nav-links a {
            text-decoration: none;
            color: rgba(255,255,255,0.9);
            font-weight: 500;
            font-size: 1.1rem;
            transition: all 0.3s ease;
            padding: 8px 16px;
            border-radius: 30px;
            position: relative;
        }
        
        .nav-links a:hover {
            color: white;
            background: rgba(255,255,255,0.15);
        }
        
        .nav-links a.active {
            background: rgba(255,255,255,0.2);
            color: white;
        }
        
        .hamburger {
            display: none;
            background: none;
            border: none;
            font-size: 1.8rem;
            cursor: pointer;
            color: white;
            transition: all 0.3s ease;
        }
        
        .lang-switcher {
            display: flex;
            gap: 1rem;
            margin-left: 2rem;
            list-style: none;
        }
        
        .lang-switcher a {
            color: rgba(255,255,255,0.8);
            text-decoration: none;
            font-size: 0.95rem;
            padding: 6px 12px;
            border-radius: 20px;
            transition: all 0.3s ease;
        }
        
        .lang-switcher a.active {
            background: rgba(255,255,255,0.2);
            color: white;
        }
        
        .lang-switcher a:not(.active):hover {
            background: rgba(255,255,255,0.1);
        }
        
        /* Main Content */
        .content-container {
            max-width: 1400px;
            margin: 100px auto 0;
            padding: 2rem;
        }
        
        .profile-section {
            display: flex;
            gap: 3rem;
            margin-bottom: 4rem;
        }
        
        .profile-image {
            flex: 0 0 35%;
            position: sticky;
            top: 100px;
            align-self: flex-start;
            text-align: center;
        }
        
        .profile-image img {
            width: 100%;
            max-width: 380px;
            height: auto;
            border-radius: 8px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.15);
            transition: transform 0.4s ease;
        }
        
        .profile-image img:hover {
            transform: scale(1.02);
        }
        
        .cv-button {
            display: inline-block;
            margin-top: 1.5rem;
            background: linear-gradient(to right, #408cc8, #40C782);
            color: white;
            border: none;
            border-radius: 30px;
            padding: 14px 32px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            text-decoration: none;
            text-align: center;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(64, 140, 200, 0.3);
        }
        
        .cv-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(64, 140, 200, 0.4);
        }
        
        .profile-content {
            flex: 1;
            background: white;
            padding: 2.5rem;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
        }
        
        .profile-content p {
            line-height: 1.8;
            margin-bottom: 1.5rem;
            font-size: 1.1rem;
            color: #444;
        }
        
        .profile-content h2 {
            margin-bottom: 1.5rem;
            color: #408cc8;
            font-size: 1.8rem;
            font-weight: 700;
            position: relative;
            padding-bottom: 10px;
        }
        
        .profile-content h2:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60px;
            height: 4px;
            background: linear-gradient(to right, #408cc8, #40C782);
            border-radius: 2px;
        }
        
        .highlight-link {
            color: #408cc8;
            font-weight: 600;
            text-decoration: none;
            position: relative;
            transition: all 0.3s ease;
        }
        
        .highlight-link:after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 0;
            height: 2px;
            background: #40C782;
            transition: width 0.3s ease;
        }
        
        .highlight-link:hover {
            color: #40C782;
        }
        
        .highlight-link:hover:after {
            width: 100%;
        }
        
        /* Interests Section */
        .interests-section {
            margin: 4rem 0;
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 3rem;
            color: #408cc8;
            font-size: 2.2rem;
            font-weight: 700;
        }
        
        .interests-container {
            display: flex;
            gap: 2.5rem;
            margin: 2rem 0;
        }
        
        .interest-card {
            flex: 1;
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 8px 25px rgba(0,0,0,0.08);
            transition: all 0.4s ease;
            position: relative;
        }
        
        .interest-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 12px 30px rgba(0,0,0,0.15);
        }
        
        .card-image {
            height: 240px;
            overflow: hidden;
        }
        
        .card-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .interest-card:hover .card-image img {
            transform: scale(1.1);
        }
        
        .card-content {
            padding: 1.8rem;
            text-align: center;
        }
        
        .card-content h3 {
            color: #408cc8;
            font-size: 1.4rem;
            margin-bottom: 0.8rem;
            font-weight: 700;
        }
        
        .card-content p {
            color: #555;
            font-size: 1.05rem;
            line-height: 1.7;
        }
        
        /* Footer */
        footer {
            background: linear-gradient(135deg, #408cc8, #40C782);
            color: white;
            padding: 4rem 2rem 2rem;
            margin-top: 4rem;
        }
        
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 3rem;
            max-width: 1400px;
            margin: 0 auto;
        }
        
        .footer-section h4 {
            font-size: 1.4rem;
            margin-bottom: 1.5rem;
            position: relative;
            padding-bottom: 10px;
        }
        
        .footer-section h4:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 3px;
            background: white;
            border-radius: 2px;
        }
        
        .footer-section p {
            margin-bottom: 0.8rem;
            font-size: 1.05rem;
        }
        
        .footer-section a {
            color: rgba(255,255,255,0.85);
            text-decoration: none;
            transition: all 0.3s ease;
            display: block;
            margin-bottom: 0.7rem; 
        }
        
        .footer-section a:hover {
            color: white;
            transform: translateX(5px);
        }
        
        .social-icons {
            display: flex;
            gap: 1.2rem;
            margin-top: 1.5rem;
            flex-wrap: wrap;
        }
        
        .social-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 48px;
            height: 48px;
            background: rgba(255,255,255,0.1);
            border-radius: 50%;
            transition: all 0.3s ease;
        }
        
        .social-icon:hover {
            background: rgba(255,255,255,0.2);
            transform: translateY(-5px);
        }
        
        .social-icon i {
            font-size: 1.4rem;
            color: white;
        }
        
        .footer-bottom {
            text-align: center;
            margin-top: 3rem;
            padding-top: 1.5rem;
            border-top: 1px solid rgba(255,255,255,0.15);
            font-size: 0.95rem;
            color: rgba(255,255,255,0.8);
        }
        
        .footer-bottom a {
            color: white;
            text-decoration: none;
            transition: all 0.3s ease;
        }
        
        .footer-bottom a:hover {
            text-decoration: underline;
        }
        
        /* Back to top button */
        #backToTop {
            display: none;
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 60px;
            height: 60px;
            border: none;
            border-radius: 50%;
            background: linear-gradient(135deg, #408cc8, #40C782);
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
            transition: all 0.3s ease;
            z-index: 999;
        }
        
        #backToTop:hover {
            transform: translateY(-5px) scale(1.05);
            box-shadow: 0 6px 20px rgba(0,0,0,0.25);
        }
        
        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .animate {
            animation: fadeInUp 0.8s ease-out forwards;
        }
        
        .delay-1 {
            animation-delay: 0.2s;
        }
        
        .delay-2 {
            animation-delay: 0.4s;
        }
        
        .delay-3 {
            animation-delay: 0.6s;
        }
        
        /* Responsive Design */
        @media (max-width: 1100px) {
            .profile-section {
                flex-direction: column;
            }
            
            .profile-image {
                position: static;
                align-self: center;
            }
            
            .interests-container {
                flex-direction: column;
            }
        }
        
        @media (max-width: 900px) {
            .nav-links {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background: linear-gradient(135deg, #408cc8, #40C782);
                flex-direction: column;
                padding: 1.5rem;
                gap: 1.2rem;
                box-shadow: 0 5px 15px rgba(0,0,0,0.15);
            }
            
            .nav-links.active {
                display: flex;
            }
            
            .hamburger {
                display: block;
            }
            
            .lang-switcher {
                margin-left: 0;
                justify-content: center;
                margin-top: 1rem;
            }
            
            .profile-content {
                padding: 1.8rem;
            }
        }
        
        @media (max-width: 600px) {
            .navbar {
                padding: 1rem;
            }
            
            .content-container {
                padding: 1.5rem;
                margin-top: 80px;
            }
            
            .profile-content {
                padding: 1.5rem;
            }
            
            .section-title {
                font-size: 1.8rem;
            }
            
            .footer-content {
                grid-template-columns: 1fr;
            }
            
            #backToTop {
                width: 50px;
                height: 50px;
                font-size: 1.3rem;
            }
        }

        /* 页脚优化 */
footer {
    background: linear-gradient(135deg, #2a7cc7 0%, #2ec57d 100%);
    color: white;
    padding: 5rem 2rem 2.5rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('static/image/logo.png') center/cover;
    opacity: 0.03;
    z-index: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3.5rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.footer-section h4 {
    font-size: 1.5rem;
    margin-bottom: 1.8rem;
    position: relative;
    padding-bottom: 12px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 4px;
    background: white;
    border-radius: 2px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.footer-section p:hover {
    transform: translateX(5px);
}

.footer-section a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section a:hover {
    color: white;
    transform: translateX(5px);
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.8rem;
    flex-wrap: wrap;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-6px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.social-icon i {
    font-size: 1.5rem;
    color: white;
}

.footer-bottom {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.footer-bottom a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline;
    margin-bottom: 0;
    font-size: 0.95rem;
    font-weight: normal;
}

.footer-bottom a:hover {
    color: white;
    text-decoration: none;
    transform: translateX(5px);
}

/* 标题样式统一 */
.profile-content h2,
.interests-section .section-title {
    font-size: 2.2rem;
    margin-bottom: 1.8rem;
    color: #333;
    background: linear-gradient(to right, #408cc8, #40C782);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    font-weight: 700;
    position: relative;
    padding-bottom: 0;
}

/* 移除原有的下划线效果 */
.profile-content h2:after {
    display: none;
}

/* 兴趣卡片标题样式调整 */
.card-content h3 {
    color: #408cc8;
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

/* 响应式调整 */
@media (max-width: 900px) {
    .profile-content h2,
    .interests-section .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 600px) {
    .profile-content h2,
    .interests-section .section-title {
        font-size: 1.6rem;
    }
}

.interests-section .section-title {
    text-align: center;
    display: block;
    width: 100%;
}

/* Identity Anchor Section */
.identity-anchor {
    background: linear-gradient(135deg, rgba(64, 140, 200, 0.95), rgba(64, 199, 130, 0.95));
    padding: 2.5rem 2rem;
    margin-top: 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.identity-anchor::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" width="100" height="100" opacity="0.05"><circle cx="50" cy="50" r="40" stroke="white" stroke-width="2" fill="none" /><path d="M50,10 A40,40 0 1,1 50,90 A40,40 0 1,1 50,10 Z" fill="white" /></svg>');
    opacity: 0.1;
    z-index: 0;
}

.anchor-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.anchor-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 0;
    padding: 0 1rem;
}

/* 响应式调整 */
@media (max-width: 900px) {
    .identity-anchor {
        padding: 2rem 1.5rem;
        margin-top: 70px;
    }
    
    .anchor-text {
        font-size: 1.3rem;
    }
}

@media (max-width: 600px) {
    .identity-anchor {
        padding: 1.8rem 1rem;
    }
    
    .anchor-text {
        font-size: 1.1rem;
        line-height: 1.5;
    }
}

        /* 新增小标题样式 */
        .profile-content h3 {
            font-size: 1.6rem;
            margin: 2.5rem 0 1.2rem;
            background: linear-gradient(to right, #408cc8, #40C782);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            font-weight: 700;
            position: relative;
            padding-left: 1.2rem;
        }
        
        .profile-content h3:before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 6px;
            height: 24px;
            background: linear-gradient(to bottom, #408cc8, #40C782);
            border-radius: 3px;
        }
        
        /* 响应式调整 */
        @media (max-width: 900px) {
            .profile-content h3 {
                font-size: 1.4rem;
            }
        }
        
        @media (max-width: 600px) {
            .profile-content h3 {
                font-size: 1.3rem;
                margin: 2rem 0 1rem;
            }
        }


    /* 夜间模式切换按钮 */
    .theme-toggle {
        position: fixed;
        top: 100px;
        right: 20px;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: linear-gradient(135deg, #408cc8, #40C782);
        border: none;
        color: white;
        font-size: 1.2rem;
        cursor: pointer;
        z-index: 1000;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .theme-toggle:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    }

    /* 夜间模式全局样式 */
    body.dark-mode {
        background: #0a0a0a;
        color: #e0e0e0;
    }

    /* 夜间模式下的导航栏 */
    body.dark-mode .navbar:not(.scrolled) {
        background: transparent;
    }

    body.dark-mode .navbar.scrolled {
        background: linear-gradient(135deg, #1a4a7a 0%, #1a7a4a 100%);
    }

    body.dark-mode .nav-links a {
        color: #e0e0e0;
    }

    /* 夜间模式下的身份锚点区域 */
    body.dark-mode .identity-anchor {
        background: linear-gradient(135deg, rgba(26, 74, 122, 0.95), rgba(26, 122, 74, 0.95));
    }

    /* 夜间模式下的主要内容区域 */
    body.dark-mode .content-container {
        background: transparent;
    }

    body.dark-mode .profile-content {
        background: #2a2a2a;
        color: #e0e0e0;
    }

    body.dark-mode .profile-content p {
        color: #b0b0b0;
    }

    /* 夜间模式下的兴趣部分 */
    body.dark-mode .interests-section {
        background: transparent;
    }

    body.dark-mode .interest-card {
        background: #2a2a2a;
    }

    body.dark-mode .card-content h3 {
        color: #e0e0e0;
    }

    body.dark-mode .card-content p {
        color: #b0b0b0;
    }

    /* 夜间模式下的页脚 */
    body.dark-mode footer {
        background: linear-gradient(135deg, #1a4a7a 0%, #1a7a4a 100%);
    }

    body.dark-mode .footer-section p,
    body.dark-mode .footer-section a {
        color: rgba(255, 255, 255, 0.8);
    }

    /* 夜间模式下的返回顶部按钮 */
    body.dark-mode #backToTop {
        background: linear-gradient(135deg, #1a4a7a, #1a7a4a);
    }

    /* 夜间模式下的section标题 */
    body.dark-mode .section-header h2,
    body.dark-mode .profile-content h2,
    body.dark-mode .interests-section .section-title {
        background: linear-gradient(to right, #408cc8, #40C782);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    /* 夜间模式下的链接 */
    body.dark-mode .highlight-link {
        color: #64b5f6;
    }

    body.dark-mode .highlight-link:hover {
        color: #90caf9;
    }

    /* 夜间模式下的按钮 */
    body.dark-mode .cv-button {
        background: linear-gradient(135deg, #1a4a7a, #1a7a4a);
    }

    /* 响应式调整 */
    @media (max-width: 768px) {
        .theme-toggle {
            top: 80px;
            right: 15px;
            width: 45px;
            height: 45px;
            font-size: 1.1rem;
        }
    }

    /* 夜间模式下的导航栏 - 保持蓝绿色背景并添加遮罩效果 */
    body.dark-mode .navbar {
        background: linear-gradient(135deg, #2a7cc7 0%, #2ec57d 100%) !important;
    }

    body.dark-mode .navbar::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.3); /* 添加黑色半透明遮罩 */
        z-index: -1;
    }

    /* 导航栏文字颜色 */
    body.dark-mode .navbar .logo,
    body.dark-mode .navbar .nav-links a {
        color: white !important;
    }

    /* 导航链接在暗色模式下的悬停效果 */
    body.dark-mode .nav-links a:hover,
    body.dark-mode .nav-links a.active {
        background: rgba(255, 255, 255, 0.15) !important;
        color: white !important;
    }

    /* 汉堡菜单在暗色模式下的颜色 */
    body.dark-mode .hamburger {
        color: white !important;
    }

    /* 语言切换器在暗色模式下的样式 */
    body.dark-mode .lang-switcher a {
        color: white !important;
    }

    body.dark-mode .lang-switcher a.active,
    body.dark-mode .lang-switcher a:hover {
        background: rgba(255, 255, 255, 0.15) !important;
        color: white !important;
    }

/* ===== 极简优雅风格 ===== */
.ethics-bar {
    background: transparent;
    color: #2d3748;
    padding: 4rem 2rem;
    margin: 4rem auto;
    text-align: center;
    position: relative;
    max-width: 850px;
}

.ethics-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: linear-gradient(to right, #408cc8, #40C782);
    border-radius: 2px;
}

.ethics-bar h2 {
    font-size: 1.9rem;
    margin-bottom: 1.8rem;
    font-weight: 600;
    color: #1a202c;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
}

.ethics-bar h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 25%;
    width: 50%;
    height: 2px;
    background: linear-gradient(to right, transparent, #e2e8f0, transparent);
}

.ethics-bar p {
    max-width: 680px;
    margin: 0 auto;
    font-size: 1.15rem;
    line-height: 1.8;
    color: #718096;
    font-style: italic;
    position: relative;
    padding: 0 2rem;
}

.ethics-bar p::before,
.ethics-bar p::after {
    content: '"';
    font-size: 3rem;
    color: #cbd5e0;
    position: absolute;
    top: -1rem;
    font-style: normal;
}

.ethics-bar p::before {
    left: 0;
}

.ethics-bar p::after {
    right: 0;
}

/* 响应式调整 */
@media (max-width: 900px) {
    .ethics-bar {
        padding: 3rem 1.5rem;
        margin: 3rem 1.5rem;
    }
    
    .ethics-bar h2 {
        font-size: 1.7rem;
    }
    
    .ethics-bar p {
        font-size: 1.1rem;
        line-height: 1.7;
    }
}

@media (max-width: 600px) {
    .ethics-bar {
        padding: 2.5rem 1rem;
        margin: 2.5rem 1rem;
    }
    
    .ethics-bar h2 {
        font-size: 1.5rem;
    }
    
    .ethics-bar p {
        font-size: 1.05rem;
        line-height: 1.6;
        padding: 0 1rem;
    }
}

/* 暗色模式适配 */
body.dark-mode .ethics-bar:not([class*="gradient"]) {
    background: #2d3748;
    color: #e2e8f0;
}

body.dark-mode .ethics-bar:not([class*="gradient"]) p {
    color: #cbd5e0;
}

body.dark-mode .ethics-bar:not([class*="gradient"])::after {
    background: #2d3748;
}

/* ===== Ethics & Global Access - 与 Personal Interests & Values 一致 ===== */
.ethics-bar h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #408cc8;
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(to right, #408cc8, #40C782);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    width: 100%;
    position: static;
    letter-spacing: normal;
}

/* 移除之前的下划线效果 */
.ethics-bar h2::after {
    display: none;
}

/* 方案三：渐变背景式垂直时间线 */
.timeline-section.gradient {
    margin: 3rem 0;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(64, 140, 200, 0.03), rgba(64, 199, 130, 0.03));
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.timeline-section.gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #408cc8, #40C782, transparent);
}

.timeline-section.gradient::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #408cc8, #40C782, transparent);
}

.timeline-section.gradient h3 {
    font-size: 2rem;
    margin-bottom: 3rem;
    text-align: center;
    background: linear-gradient(135deg, #408cc8, #40C782);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    position: relative;
}

.timeline-section.gradient h3::before {
    content: '⏳';
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    opacity: 0.7;
}

.timeline-section.gradient h3::after {
    content: '🚀';
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    opacity: 0.7;
}

.timeline-container.gradient {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline-progress.gradient {
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, 
        #408cc8 0%, 
        #40C782 30%, 
        #40C782 70%, 
        #408cc8 100%);
    border-radius: 2px;
    z-index: -1;
    animation: gradientProgress 2s ease-out;
    box-shadow: 0 0 20px rgba(64, 140, 200, 0.3);
}

.timeline-item.gradient {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 120px;
    opacity: 0;
    transform: translateX(-20px);
    animation: gradientItem 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.timeline-item.gradient:nth-child(1) { animation-delay: 0.2s; }
.timeline-item.gradient:nth-child(3) { animation-delay: 0.4s; }
.timeline-item.gradient:nth-child(3) { animation-delay: 0.6s; }
.timeline-item.gradient:nth-child(4) { animation-delay: 0.8s; }

.timeline-marker.gradient {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #408cc8, #40C782);
    border-radius: 50%;
    position: absolute;
    left: 31px;
    top: 0;
    z-index: 3;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(64, 140, 200, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.timeline-marker.gradient::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(135deg, #408cc8, #40C782);
    /* background: linear-gradient(135deg, #408cc8, #40C782); */
    /* background: linear-gradient(135deg, #FFD700, #FF8C00); */
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: all 0.5s ease;
}

.timeline-marker.gradient2::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    /* background: linear-gradient(135deg, #408cc8, #40C782); */
    /* background: linear-gradient(135deg, #408cc8, #40C782); */
    background: linear-gradient(135deg, #FFD700, #FF8C00);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: all 0.5s ease;
}

.timeline-item.gradient:hover .timeline-marker.gradient {
    transform: scale(1.2) rotate(5deg);
    box-shadow: 0 6px 25px rgba(64, 199, 130, 0.5);
}

.timeline-item.gradient:hover .timeline-marker.gradient::before {
    opacity: 0.6;
    transform: scale(1.3);
}

.timeline-content.gradient {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(64, 140, 200, 0.1);
    overflow: hidden;
}

.timeline-content.gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #408cc8, #40C782);
    transition: width 0.4s ease;
}

.timeline-item.gradient:hover .timeline-content.gradient {
    transform: translateX(15px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.timeline-item.gradient:hover .timeline-content.gradient::before {
    width: 8px;
}

.timeline-content.gradient h4 {
    color: #408cc8;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.timeline-content.gradient h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, #408cc8, #40C782);
    border-radius: 2px;
    transition: width 0.4s ease;
}

.timeline-content.gradient .colors::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, #FFD700, #FF8C00);
    border-radius: 2px;
    transition: width 0.4s ease;
}

.timeline-item.gradient:hover .timeline-content.gradient h4::after {
    width: 100%;
}

.timeline-content.gradient p {
    color: #666;
    margin: 0;
    line-height: 1.6;
    font-size: 1.05rem;
    transition: color 0.3s ease;
}

.timeline-item.gradient:hover .timeline-content.gradient p {
    color: #555;
}

/* Animations */
@keyframes gradientProgress {
    from {
        transform: scaleY(0);
        transform-origin: top;
    }
    to {
        transform: scaleY(1);
    }
}

@keyframes gradientItem {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Dark Mode Support */
body.dark-mode .timeline-section.gradient {
    background: linear-gradient(135deg, rgba(26, 74, 122, 0.1), rgba(26, 122, 74, 0.1));
}

body.dark-mode .timeline-content.gradient {
    background: #2a2a2a;
    border-color: rgba(100, 181, 246, 0.2);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

body.dark-mode .timeline-content.gradient h4 {
    color: #64b5f6;
}

body.dark-mode .timeline-content.gradient p {
    color: #b0b0b0;
}

body.dark-mode .timeline-content.gradient::before {
    background: linear-gradient(to bottom, #64b5f6, #90caf9);
}

body.dark-mode .timeline-marker.gradient {
    background: linear-gradient(135deg, #64b5f6, #90caf9);
}

body.dark-mode .timeline-marker.gradient::before {
    background: linear-gradient(135deg, #64b5f6, #90caf9);
    /* background: #FFFF00; */
}

body.dark-mode .timeline-marker.gradient2::before {
    /* background: linear-gradient(135deg, #64b5f6, #90caf9); */
    background: #FFFF00;
}

body.dark-mode .timeline-item.gradient:hover .timeline-content.gradient p {
    color: #d0d0d0;
}

/* Responsive Design */
@media (max-width: 900px) {
    .timeline-section.gradient {
        padding: 2rem 1.5rem;
    }
    
    .timeline-item.gradient {
        padding-left: 100px;
        margin-bottom: 2.5rem;
    }
    
    .timeline-marker.gradient {
        left: 26px;
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }
    
    .timeline-content.gradient {
        padding: 2rem;
    }
    
    .timeline-section.gradient h3 {
        font-size: 1.8rem;
    }
    
    .timeline-section.gradient h3::before,
    .timeline-section.gradient h3::after {
        display: none;
    }
    
    .timeline-content.gradient h4 {
        font-size: 1.4rem;
    }
}

@media (max-width: 600px) {
    .timeline-section.gradient {
        padding: 1.5rem 1rem;
        margin: 2rem 0;
    }
    
    .timeline-item.gradient {
        padding-left: 80px;
        margin-bottom: 2rem;
    }
    
    .timeline-marker.gradient {
        left: 18px;
        width: 32px;
        height: 32px;
        font-size: 0.7rem;
    }
    
    .timeline-content.gradient {
        padding: 1.5rem;
    }
    
    .timeline-section.gradient h3 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .timeline-content.gradient h4 {
        font-size: 1.3rem;
    }
    
    .timeline-content.gradient p {
        font-size: 0.95rem;
    }
}

/* 2021年理论诞生节点特殊样式 - 修正选择器 */
.timeline-container.gradient .timeline-item.gradient:nth-child(3) .timeline-marker.gradient {
    background: linear-gradient(135deg, #FFD700, #FF8C00);
    border: 3px solid #FFD700;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.6);
    animation: theoryBornGlow 2s ease-in-out infinite alternate;
    position: relative;
    overflow: visible;
}

/* 移除火焰图标相关样式 */
/* .timeline-container.gradient .timeline-item.gradient:nth-child(3) .timeline-marker.gradient::before 已移除 */

.timeline-container.gradient .timeline-item.gradient:nth-child(3) .timeline-marker.gradient::after {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 2px solid #FFD700;
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    animation: goldenPulse 2s ease-in-out infinite;
}

.timeline-container.gradient .timeline-item.gradient:nth-child(3) .timeline-content.gradient {
    border: 2px solid rgba(255, 215, 0, 0.3);
    background: linear-gradient(135deg, #fff9e6, #fff3cc);
    position: relative;
    overflow: visible;
}

.timeline-container.gradient .timeline-item.gradient:nth-child(3) .timeline-content.gradient::before {
    background: linear-gradient(to bottom, #FFD700, #FF8C00);
    width: 6px;
}

.timeline-container.gradient .timeline-item.gradient:nth-child(3) .timeline-content.gradient::after {
    content: '🌟 THEORY BORN';
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, #FFD700, #FF8C00);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    z-index: 2;
    letter-spacing: 0.5px;
}

.timeline-container.gradient .timeline-item.gradient:nth-child(3):hover .timeline-content.gradient {
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 0 12px 40px rgba(255, 215, 0, 0.2);
    transform: translateX(15px) scale(1.02);
}

.timeline-container.gradient .timeline-item.gradient:nth-child(3):hover .timeline-marker.gradient {
    transform: scale(1.3) rotate(10deg);
    box-shadow: 0 6px 25px rgba(255, 140, 0, 0.8);
}

/* 金色发光动画 */
@keyframes theoryBornGlow {
    0% {
        box-shadow: 0 4px 20px rgba(255, 215, 0, 0.6);
    }
    100% {
        box-shadow: 0 4px 30px rgba(255, 215, 0, 0.9), 
                   0 0 20px rgba(255, 215, 0, 0.4);
    }
}

/* 移除火焰闪烁动画 */
/* @keyframes fireFlicker 已移除 */

/* 金色脉冲动画 */
@keyframes goldenPulse {
    0% {
        transform: scale(1);
        opacity: 0;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

/* 暗色模式适配 */
body.dark-mode .timeline-container.gradient .timeline-item.gradient:nth-child(3) .timeline-content.gradient {
    background: linear-gradient(135deg, #2a2a1a, #333319);
    border-color: rgba(255, 215, 0, 0.4);
}

body.dark-mode .timeline-container.gradient .timeline-item.gradient:nth-child(3) .timeline-content.gradient::after {
    background: linear-gradient(135deg, #FFD700, #FF8C00);
    color: #1a1a1a;
    font-weight: 700;
}

/* 响应式调整 */
@media (max-width: 900px) {
    /* 移除火焰图标响应式样式 */
    
    .timeline-container.gradient .timeline-item.gradient:nth-child(3) .timeline-content.gradient::after {
        font-size: 0.7rem;
        padding: 0.3rem 0.8rem;
        top: -10px;
    }
}

@media (max-width: 600px) {
    /* 移除火焰图标响应式样式 */
    
    .timeline-container.gradient .timeline-item.gradient:nth-child(3) .timeline-content.gradient::after {
        font-size: 0.65rem;
        padding: 0.25rem 0.6rem;
        top: -8px;
        right: 15px;
    }
    
    .timeline-container.gradient .timeline-item.gradient:nth-child(3):hover .timeline-content.gradient {
        transform: translateX(10px) scale(1.01);
    }
}

/* 2021年理论诞生节点特殊样式 - 修正选择器 */
.timeline-container.gradient > .timeline-item.gradient:nth-of-type(3) .timeline-marker.gradient {
    background: linear-gradient(135deg, #FFD700, #FF8C00);
    border: 3px solid #FFD700;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.6);
    animation: theoryBornGlow 2s ease-in-out infinite alternate;
    position: relative;
    overflow: visible;
}

.timeline-container.gradient > .timeline-item.gradient:nth-of-type(3) .timeline-marker.gradient::after {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 2px solid #FFD700;
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    animation: goldenPulse 2s ease-in-out infinite;
}

.timeline-container.gradient > .timeline-item.gradient:nth-of-type(3) .timeline-content.gradient {
    border: 2px solid rgba(255, 215, 0, 0.3);
    background: linear-gradient(135deg, #fff9e6, #fff3cc);
    position: relative;
    overflow: visible;
}

.timeline-container.gradient > .timeline-item.gradient:nth-of-type(3) .timeline-content.gradient::before {
    background: linear-gradient(to bottom, #FFD700, #FF8C00);
    width: 6px;
}

.timeline-container.gradient > .timeline-item.gradient:nth-of-type(3) .timeline-content.gradient::after {
    content: '🌟 THEORY BORN';
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, #FFD700, #FF8C00);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    z-index: 2;
    letter-spacing: 0.5px;
}

.timeline-container.gradient > .timeline-item.gradient:nth-of-type(3):hover .timeline-content.gradient {
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 0 12px 40px rgba(255, 215, 0, 0.2);
    transform: translateX(15px) scale(1.02);
}

.timeline-container.gradient > .timeline-item.gradient:nth-of-type(3):hover .timeline-marker.gradient {
    transform: scale(1.3) rotate(10deg);
    box-shadow: 0 6px 25px rgba(255, 140, 0, 0.8);
}

/* 金色发光动画 */
@keyframes theoryBornGlow {
    0% {
        box-shadow: 0 4px 20px rgba(255, 215, 0, 0.6);
    }
    100% {
        box-shadow: 0 4px 30px rgba(255, 215, 0, 0.9), 
                   0 0 20px rgba(255, 215, 0, 0.4);
    }
}

/* 金色脉冲动画 */
@keyframes goldenPulse {
    0% {
        transform: scale(1);
        opacity: 0;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

/* 暗色模式适配 */
body.dark-mode .timeline-container.gradient > .timeline-item.gradient:nth-of-type(3) .timeline-content.gradient {
    background: linear-gradient(135deg, #2a2a1a, #333319);
    border-color: rgba(255, 215, 0, 0.4);
}

body.dark-mode .timeline-container.gradient > .timeline-item.gradient:nth-of-type(3) .timeline-content.gradient::after {
    background: linear-gradient(135deg, #FFD700, #FF8C00);
    color: #1a1a1a;
    font-weight: 700;
}

/* 响应式调整 */
@media (max-width: 900px) {
    .timeline-container.gradient > .timeline-item.gradient:nth-of-type(3) .timeline-content.gradient::after {
        font-size: 0.7rem;
        padding: 0.3rem 0.8rem;
        top: -10px;
    }
}

@media (max-width: 600px) {
    .timeline-container.gradient > .timeline-item.gradient:nth-of-type(3) .timeline-content.gradient::after {
        font-size: 0.65rem;
        padding: 0.25rem 0.6rem;
        top: -8px;
        right: 15px;
    }
    
    .timeline-container.gradient > .timeline-item.gradient:nth-of-type(3):hover .timeline-content.gradient {
        transform: translateX(10px) scale(1.01);
    }
}

/* 1998年节点特殊文本样式 */
.timeline-container.gradient > .timeline-item.gradient:nth-of-type(1) .timeline-content.gradient p {
    font-weight: normal;
    font-style: normal;
    color: #408cc8; /* 超链接蓝色 */
}

.timeline-container.gradient > .timeline-item.gradient:nth-of-type(1) .timeline-content.gradient p strong {
    font-weight: 700;
    font-style: italic;
}

/* 2021年节点特殊文本样式 */
.timeline-container.gradient > .timeline-item.gradient:nth-of-type(3) .timeline-content.gradient p {
    font-weight: normal;
    font-style: normal;
}

.timeline-container.gradient > .timeline-item.gradient:nth-of-type(3) .timeline-content.gradient p strong {
    font-weight: 700;
    font-style: italic;
    color: #408cc8; /* 超链接蓝色 */
}

/* 2021年节点特殊文本样式 - 更具体的选择器 */
.timeline-section.gradient .timeline-container.gradient > .timeline-item.gradient:nth-of-type(3) .timeline-content.gradient p strong {
    font-weight: 700 !important;
    font-style: italic !important;
    color: #408cc8 !important;
}