/* ==================== 全局样式 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00f0ff;
    --secondary-color: #7b2cbf;
    --accent-color: #ff6b6b;
    --dark-bg: #0a0a0f;
    --darker-bg: #050508;
    --card-bg: rgba(20, 20, 35, 0.8);
    --text-color: #e0e0e0;
    --text-secondary: #a0a0a0;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #00f0ff 0%, #0066ff 100%);
    --gradient-3: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

body {.contact-info
    font-family: 'Segoe UI', 'Microsoft YaHei', Arial, sans-serif;
    background: var(--dark-bg);
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.8;
}

/* 粒子背景 */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--darker-bg);
}

/* ==================== 导航栏 ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 15px 50px;
    background: rgba(5, 5, 8, 0.95);
    box-shadow: 0 5px 30px rgba(0, 240, 255, 0.1);
}

.logo {
    font-size: 28px;
    font-weight: bold;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 240, 255, 0.5);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu li a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 16px;
    position: relative;
    padding: 5px 0;
    transition: all 0.3s ease;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--primary-color);
}

.nav-menu li a:hover {
    color: var(--primary-color);
}

.nav-menu li a:hover::after {
    width: 100%;
}

.nav-menu li a.active {
    color: var(--primary-color);
}

.nav-menu li a.active::after {
    width: 100%;
}

/* ==================== 内容区域 ==================== */
.content {
    padding: 120px 50px 50px;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 100vh;
}

.section-title {
    font-size: 48px;
    margin-bottom: 50px;
    text-align: center;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: fadeInDown 1s ease;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: var(--gradient-2);
    margin: 20px auto 0;
    box-shadow: 0 0 20px var(--primary-color);
}

/* ==================== 首页 ==================== */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 100px 0;
    min-height: calc(100vh - 80px);
}

.hero-content {
    flex: 1;
    animation: fadeInLeft 1s ease;
}

.hero-title {
    font-size: 64px;
    font-weight: bold;
    margin-bottom: 20px;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 28px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 15px 40px;
    font-size: 16px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: bold;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-2);
    color: white;
    box-shadow: 0 5px 30px rgba(0, 240, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(0, 240, 255, 0.6);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    animation: fadeInRight 1s ease;
}

.avatar-container {
    position: relative;
    width: 400px;
    height: 400px;
}

.avatar {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: var(--card-bg);
    border: 3px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 150px;
    box-shadow: 0 0 50px rgba(0, 240, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.avatar::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: var(--gradient-2);
    opacity: 0.1;
    animation: rotate 10s linear infinite;
}

.avatar-icon {
    font-size: 180px;
    z-index: 1;
}

/* 浮动图标 */
.float-icons {
    position: absolute;
    width: 100%;
    height: 100%;
}

.float-icon {
    position: absolute;
    font-size: 40px;
    opacity: 0.6;
    animation: float 3s ease-in-out infinite;
}

.float-icon:nth-child(1) {
    top: -30px;
    left: -30px;
    animation-delay: 0s;
}

.float-icon:nth-child(2) {
    top: -30px;
    right: -30px;
    animation-delay: 0.5s;
}

.float-icon:nth-child(3) {
    bottom: -30px;
    left: -30px;
    animation-delay: 1s;
}

.float-icon:nth-child(4) {
    bottom: -30px;
    right: -30px;
    animation-delay: 1.5s;
}

/* ==================== 个人履历 ==================== */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--gradient-2);
    transform: translateX(-50%);
    box-shadow: 0 0 20px var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    width: 50%;
    animation: fadeIn 0.8s ease forwards;
    opacity: 0;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 60px;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 60px;
}

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    top: 30px;
    box-shadow: 0 0 20px var(--primary-color);
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-content {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(0, 240, 255, 0.1);
    transition: all 0.3s ease;
    min-width: 450px;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 240, 255, 0.2);
    border-color: var(--primary-color);
}

.timeline-date {
    font-size: 14px;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.timeline-title {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.timeline-company {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.timeline-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.timeline-achievements {
    margin-top: 15px;
    padding-left: 20px;
}

.timeline-achievements li {
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-size: 14px;
    position: relative;
}

.timeline-achievements li::before {
    content: '▹';
    color: var(--primary-color);
    position: absolute;
    left: -15px;
}

/* ==================== 个人技能 ==================== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.skill-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(0, 240, 255, 0.1);
    transition: all 0.3s ease;
    animation: fadeIn 0.8s ease forwards;
    opacity: 0;
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 240, 255, 0.2);
    border-color: var(--primary-color);
}

.skill-icon {
    font-size: 50px;
    margin-bottom: 20px;
    display: inline-block;
}

.skill-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.skill-list {
    list-style: none;
}

.skill-list li {
    margin-bottom: 15px;
}

.skill-name {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.skill-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-2);
    border-radius: 4px;
    transition: width 1.5s ease;
    box-shadow: 0 0 10px var(--primary-color);
}

.certificate-list {
    list-style: none;
    margin-top: 20px;
}

.certificate-list li {
    padding: 12px 15px;
    background: rgba(0, 240, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.certificate-list li:hover {
    background: rgba(0, 240, 255, 0.1);
    transform: translateX(5px);
}

.certificate-list li::before {
    content: '🏆';
}

/* ==================== 联系方式 ==================== */
.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
	
}

.contact-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(0, 240, 255, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    animation: fadeIn 0.8s ease forwards;
    opacity: 0;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 240, 255, 0.2);
    border-color: var(--primary-color);
}

.contact-icon {
    font-size: 60px;
    margin-bottom: 20px;
    display: inline-block;
}

.contact-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.contact-value {
    font-size: 20px;
    color: var(--text-color);
    font-weight: bold;
}

.contact-form {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(0, 240, 255, 0.1);
    animation: fadeIn 0.8s ease forwards;
    opacity: 0;
}

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

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-color);
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 10px;
    color: var(--text-color);
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

/* ==================== 页脚 ==================== */
footer {
    text-align: center;
    padding: 40px;
    background: rgba(5, 5, 8, 0.9);
    border-top: 1px solid rgba(0, 240, 255, 0.1);
}

footer p {
    color: var(--text-secondary);
    font-size: 14px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--card-bg);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.4);
}

/* ==================== 动画 ==================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ==================== 汉堡菜单按钮（默认隐藏，仅移动端显示） ==================== */
.hamburger {
    display: none !important;
    font-size: 24px;
    color: var(--text-color);
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
    z-index: 1001;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }

    .nav-menu {
        gap: 20px;
    }
    
    /* 移动端显示汉堡菜单 */
    .hamburger {
        display: block;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 50px 20px;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .avatar-container {
        width: 300px;
        height: 300px;
        margin-top: 40px;
    }

    .content {
        padding: 100px 20px 20px;
    }

    .section-title {
        font-size: 32px;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 20px;
        text-align: left;
    }

    .timeline-item:nth-child(odd) {
        left: 0;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item:nth-child(odd) .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot {
        left: 10px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }
}

/* ==================== 滚动条样式 ==================== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--darker-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-2);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}
