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

body {
    font-family: 'Arial', sans-serif;
    background-color: #0a0e17;
    color: #e0e0e0;
    line-height: 1.6;
    overflow-x: hidden;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 背景效果 */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(10, 14, 23, 0.8) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 14, 23, 0.8) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -2;
}

.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 14, 23, 0.8) 0%, rgba(17, 25, 40, 0.9) 100%);
    z-index: -1;
}

/* 主容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* 头部 */
.header {
    padding: 40px 0 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(66, 153, 225, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

.name {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #4299e1, #38b2ac);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title {
    font-size: 1.2rem;
    color: #a0aec0;
    margin-bottom: 20px;
}

.contact-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    color: #e0e0e0;
}

.contact-item .icon {
    font-size: 1.2rem;
}

/* 核心信息 */
.core-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 20px 0;
    flex: 1;
}

@media (max-width: 1024px) {
    .core-info {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .core-info {
        grid-template-columns: 1fr;
    }
}

.info-card {
    background-color: rgba(17, 25, 40, 0.6);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(66, 153, 225, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(66, 153, 225, 0.1);
}

.card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #4299e1;
    border-bottom: 2px solid rgba(66, 153, 225, 0.2);
    padding-bottom: 10px;
}

.card-content {
    color: #e0e0e0;
    line-height: 1.6;
}

/* 技能标签 */
.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    background-color: rgba(66, 153, 225, 0.1);
    color: #4299e1;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(66, 153, 225, 0.2);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background-color: rgba(66, 153, 225, 0.2);
    transform: translateY(-2px);
}

/* 专业优势列表 */
.advantages-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.advantage-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background-color: rgba(10, 14, 23, 0.5);
    border-radius: 8px;
    border: 1px solid rgba(66, 153, 225, 0.1);
    transition: all 0.3s ease;
}

.advantage-item:hover {
    background-color: rgba(66, 153, 225, 0.1);
    transform: translateX(5px);
    border-color: rgba(66, 153, 225, 0.3);
}

.advantage-icon {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

/* 工作经历 */
.experience-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.experience-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.experience-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #38b2ac;
    margin-bottom: 5px;
}

.period {
    font-size: 0.8rem;
    color: #a0aec0;
    background-color: rgba(56, 178, 172, 0.1);
    padding: 3px 8px;
    border-radius: 15px;
    border: 1px solid rgba(56, 178, 172, 0.2);
    display: inline-block;
    margin-bottom: 10px;
}

.description {
    color: #e0e0e0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* 项目亮点 */
.project-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.project-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.project-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #4299e1;
    margin-bottom: 8px;
}

/* 查看详情按钮 */
.cta-section {
    text-align: center;
    margin: 30px 0;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(90deg, #4299e1, #38b2ac);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(66, 153, 225, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(66, 153, 225, 0.4);
}

/* 页脚 */
.footer {
    text-align: center;
    padding: 20px 0;
    margin-top: 20px;
    background-color: rgba(17, 25, 40, 0.8);
    border-radius: 10px;
    border: 1px solid rgba(66, 153, 225, 0.1);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-content p {
    color: #a0aec0;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    body {
        height: auto;
        min-height: 100vh;
    }
    
    .name {
        font-size: 2rem;
    }
    
    .title {
        font-size: 1rem;
    }
    
    .contact-info {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .core-info {
        grid-template-columns: 1fr;
    }
    
    .info-card {
        padding: 15px;
    }
    
    .cta-button {
        padding: 10px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .name {
        font-size: 1.8rem;
    }
    
    .header {
        padding: 30px 0 15px;
    }
    
    .info-card {
        padding: 12px;
    }
    
    .card-title {
        font-size: 1.2rem;
    }
}