/* 基础样式设置 */
:root {
    --primary-color: #6e72fc;
    --secondary-color: #ad1deb;
    --dark-color: #121212;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --success-color: #28a745;
    --border-radius: 8px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
    position: relative;
}

a {
    text-decoration: none;
    color: var(--dark-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
    position: relative;
}

/* 自定义光标跟随效果 */
.cursor-follower {
    position: fixed;
    width: 30px;
    height: 30px;
    background: rgba(110, 114, 252, 0.2);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease, background 0.3s ease;
    display: none;
}

@media (min-width: 992px) {
    .cursor-follower {
        display: block;
    }
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 5px 15px rgba(110, 114, 252, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(110, 114, 252, 0.6);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* 标题样式 */
.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title .title-bar {
    width: 70px;
    height: 4px;
    background: var(--gradient);
    margin: 0 auto;
    border-radius: 2px;
}

.section-subtitle h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
}

/* 头部导航 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background-color: transparent;
}

.header.sticky {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.nav-menu ul {
    display: flex;
}

.nav-menu ul li {
    margin-left: 30px;
}

.nav-menu ul li a {
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-menu ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

.nav-menu ul li a:hover::after,
.nav-menu ul li a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* 响应式导航 */
@media (max-width: 991px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100vh;
        background-color: white;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        padding: 80px 20px 20px;
        transition: var(--transition);
        z-index: 999;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
    }

    .nav-menu ul li {
        margin: 15px 0;
    }

    .menu-toggle {
        display: block;
        z-index: 1000;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
}

/* 英雄区域 */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1;
    padding-right: 30px;
}

.hero-text h1 {
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.typing-text {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 20px;
}

.typed-text {
    color: var(--primary-color);
    font-weight: 600;
}

.hero-text p {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--gray-color);
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container {
    position: relative;
    width: 350px;
    height: 350px;
}

.avatar-hex {
    width: 100%;
    height: 100%;
    position: relative;
    background-image: url('../images/avatar.png');
    background-size: cover;
    background-position: center;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

.hero-shapes .shape {
    position: absolute;
    z-index: 1;
    opacity: 0.5;
}

.shape-1 {
    top: 20%;
    left: 10%;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: shape1 15s linear infinite;
}

.shape-2 {
    bottom: 20%;
    right: 10%;
    width: 80px;
    height: 80px;
    background: var(--secondary-color);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation: shape2 20s linear infinite;
}

.shape-3 {
    top: 50%;
    right: 20%;
    width: 40px;
    height: 40px;
    background: var(--success-color);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation: shape3 25s linear infinite;
}

.shape-4 {
    bottom: 30%;
    left: 20%;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    animation: shape4 30s linear infinite;
}

@keyframes shape1 {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(100px, 100px) rotate(180deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

@keyframes shape2 {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(-100px, -100px) rotate(180deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

@keyframes shape3 {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(80px, -80px) rotate(180deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

@keyframes shape4 {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(-80px, 80px) rotate(180deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

/* 闪烁文字效果 */
.glitch-text {
    position: relative;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--light-color);
}

.glitch-text::before {
    left: 2px;
    text-shadow: -1px 0 #ff00c1;
    animation: glitch-anim-1 2s infinite linear alternate-reverse;
}

.glitch-text::after {
    left: -2px;
    text-shadow: 1px 0 #00fff9;
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
    0% {
        clip-path: inset(20% 0 80% 0);
    }
    20% {
        clip-path: inset(60% 0 40% 0);
    }
    40% {
        clip-path: inset(40% 0 60% 0);
    }
    60% {
        clip-path: inset(80% 0 20% 0);
    }
    80% {
        clip-path: inset(10% 0 90% 0);
    }
    100% {
        clip-path: inset(30% 0 70% 0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip-path: inset(15% 0 85% 0);
    }
    20% {
        clip-path: inset(55% 0 45% 0);
    }
    40% {
        clip-path: inset(35% 0 65% 0);
    }
    60% {
        clip-path: inset(75% 0 25% 0);
    }
    80% {
        clip-path: inset(5% 0 95% 0);
    }
    100% {
        clip-path: inset(25% 0 75% 0);
    }
}

/* 响应式英雄区域 */
@media (max-width: 991px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        padding-right: 0;
        margin-bottom: 50px;
    }

    .hero-text h1 {
        font-size: 48px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .image-container {
        width: 280px;
        height: 280px;
    }
}

/* 关于我部分 */
.about-section {
    background-color: white;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--gray-color);
}

.personal-info {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.info-item {
    display: flex;
    flex-direction: column;
}

.info-title {
    font-weight: 600;
    margin-bottom: 5px;
}

.info-value {
    color: var(--gray-color);
}

.about-stats {
    flex: 1;
    min-width: 300px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.stat-item {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0;
    z-index: -1;
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-item:hover .stat-number,
.stat-item:hover .stat-text {
    color: white;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: var(--transition);
}

.stat-text {
    font-size: 16px;
    font-weight: 500;
    color: var(--gray-color);
    transition: var(--transition);
}

/* 工作经历部分 */
.experience-section {
    background-color: #f9f9f9;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: var(--gradient);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
    margin-bottom: 50px;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background: white;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    z-index: 1;
    top: 15px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-date {
    position: absolute;
    width: 150px;
    padding: 8px 16px;
    background: var(--gradient);
    color: white;
    border-radius: 20px;
    text-align: center;
    font-weight: 500;
    top: 12px;
}

.timeline-item:nth-child(odd) .timeline-date {
    right: -190px;
}

.timeline-item:nth-child(even) .timeline-date {
    left: -190px;
}

.timeline-content {
    padding: 30px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.timeline-content h4 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 15px;
    color: var(--gray-color);
}

.timeline-content p {
    color: var(--gray-color);
}

.company-logo {
    position: absolute;
    top: -25px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.company-img {
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
}

/* 响应式时间线 */
@media (max-width: 991px) {
    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-dot {
        left: 21px;
        right: auto;
    }

    .timeline-item:nth-child(even) .timeline-dot {
        left: 21px;
    }

    .timeline-date {
        position: relative;
        width: auto;
        top: 0;
        margin-bottom: 15px;
        display: inline-block;
    }

    .timeline-item:nth-child(odd) .timeline-date,
    .timeline-item:nth-child(even) .timeline-date {
        left: auto;
        right: auto;
    }
}

/* 技能部分 */
.skills-section {
    background-color: white;
}

.skills-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.skill-item {
    margin-bottom: 30px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.skill-name,
.skill-level {
    font-size: 16px;
    font-weight: 500;
}

.skill-level {
    color: var(--primary-color);
}

.skill-bar {
    height: 10px;
    background-color: #f1f1f1;
    border-radius: 5px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--gradient);
    border-radius: 5px;
    width: 0;
    transition: width 1.5s ease;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.certificate-category h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
    position: relative;
    padding-left: 15px;
}

.certificate-category h4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 20px;
    background: var(--gradient);
    border-radius: 2px;
}

.certificate-list li {
    margin-bottom: 10px;
    color: var(--gray-color);
    display: flex;
    align-items: center;
}

.certificate-list li i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* 响应式技能部分 */
@media (max-width: 767px) {
    .skills-content {
        grid-template-columns: 1fr;
    }
}

/* 教育部分 */
.education-section {
    background-color: #f9f9f9;
}

.education-content {
    max-width: 800px;
    margin: 0 auto;
}

.education-item {
    display: flex;
    align-items: center;
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.education-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.education-icon {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.edu-logo {
    max-width: 60px;
    max-height: 60px;
    object-fit: contain;
}

.education-info h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.education-degree {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 5px;
    color: var(--gray-color);
}

.education-year {
    font-size: 14px;
    color: var(--gray-color);
}

/* 联系部分 */
.contact-section {
    background-color: white;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-item {
    display: flex;
    margin-bottom: 30px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 24px;
    color: white;
}

.contact-text h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-text p {
    color: var(--gray-color);
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

/* 表单错误提示 */
.form-error {
    color: #ff3860;
    font-size: 14px;
    margin-top: 5px;
    animation: fadeIn 0.3s ease;
}

/* 表单状态提示 */
.form-status {
    margin-top: 15px;
    padding: 10px;
    border-radius: var(--border-radius);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e1e1e1;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 16px;
    transition: var(--transition);
}

.form-group textarea {
    height: 150px;
    resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(110, 114, 252, 0.2);
}

/* 页脚部分 */
.footer {
    background-color: #f9f9f9;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.footer-logo {
    margin-bottom: 30px;
}

.footer-logo p {
    margin-top: 10px;
    color: var(--gray-color);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(110, 114, 252, 0.3);
}

.footer-copyright {
    width: 100%;
    text-align: center;
    color: var(--gray-color);
    margin-top: 20px;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    z-index: 99;
    box-shadow: 0 5px 15px rgba(110, 114, 252, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(110, 114, 252, 0.6);
}

/* 响应式调整 */
@media (max-width: 767px) {
    section {
        padding: 70px 0;
    }

    .section-title h2 {
        font-size: 30px;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .typing-text {
        font-size: 20px;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .certificates-grid {
        grid-template-columns: 1fr;
    }

    .education-item {
        flex-direction: column;
        text-align: center;
    }

    .education-icon {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-icon {
        margin: 0 auto 15px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* 动画效果 */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

/* 暗色模式切换 */
.dark-mode-toggle {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--dark-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    z-index: 99;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.dark-mode-toggle:hover {
    transform: rotate(45deg);
}

/* 暗色模式样式 */
body.dark-mode {
    background-color: var(--dark-color);
    color: var(--light-color);
}

body.dark-mode .header.sticky,
body.dark-mode .nav-menu,
body.dark-mode .timeline-content,
body.dark-mode .education-item,
body.dark-mode .stat-item,
body.dark-mode .form-group input,
body.dark-mode .form-group textarea {
    background-color: #1e1e1e;
    color: var(--light-color);
}

body.dark-mode .nav-menu ul li a,
body.dark-mode .menu-toggle span,
body.dark-mode .timeline-content h4,
body.dark-mode .timeline-content p,
body.dark-mode .about-text p,
body.dark-mode .info-value,
body.dark-mode .stat-text,
body.dark-mode .certificate-list li,
body.dark-mode .education-degree,
body.dark-mode .education-year,
body.dark-mode .contact-text p {
    color: #a0a0a0;
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea {
    border-color: #333;
}

body.dark-mode .about-section,
body.dark-mode .skills-section,
body.dark-mode .contact-section {
    background-color: #121212;
}

body.dark-mode .experience-section,
body.dark-mode .education-section,
body.dark-mode .footer {
    background-color: #0a0a0a;
}

body.dark-mode .dark-mode-toggle {
    background: var(--light-color);
    color: var(--dark-color);
}

/* 打印样式 */
@media print {
    .header, .footer, .back-to-top, .dark-mode-toggle {
        display: none;
    }

    body {
        background-color: white;
        color: black;
    }

    section {
        padding: 20px 0;
        page-break-inside: avoid;
    }

    .container {
        width: 100%;
        max-width: 100%;
        padding: 0 15px;
    }

    .hero-section {
        height: auto;
    }

    .hero-shapes {
        display: none;
    }

    .timeline::after {
        display: none;
    }

    .timeline-item {
        width: 100%;
        left: 0;
        padding: 0 0 30px 0;
    }

    .timeline-dot, .timeline-date {
        display: none;
    }

    .skill-progress {
        width: 100% !important;
    }
}