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

:root {
    /* ===== 极简10色系统 ===== */
    --c1: #000000;  /* 纯黑 */
    --c2: #1a1a1a;  /* 深灰 */
    --c3: #333333;  /* 中灰 */
    --c4: #666666;  /* 浅灰 */
    --c5: #999999;  /* 更浅灰 */
    --c6: #cccccc;  /* 淡灰 */
    --c7: #ffffff;  /* 纯白 */
    --c8: #0d0d0d;  /* 极深灰 */
    --c9: #404040;  /* 中深灰 */
    --c10: #262626; /* 深中灰 */

    /* 基础变量 */
    --sidebar: 80px;
    --radius: 8px;
    --transition: 0.3s ease;
}

body {
    font-family: system-ui, sans-serif;
    background: linear-gradient(135deg, var(--c1), var(--c8), var(--c2));
    color: var(--c7);
    display: flex;
    min-height: 100vh;
}

/* 侧边栏 */
.sidebar {
    width: var(--sidebar);
    background: linear-gradient(180deg, var(--c1) 0%, var(--c8) 50%, var(--c1) 100%);
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    border-right: 2px solid var(--c3);
    box-shadow:
        4px 0 20px rgba(0, 0, 0, 0.5),
        inset -1px 0 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.sidebar-header {
    padding: 25px 0;
    text-align: center;
    border-bottom: 2px solid var(--c3);
    position: relative;
}

.sidebar-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--c6), transparent);
}

.logo {
    width: 45px;
    height: 45px;
    background: linear-gradient(145deg, var(--c3), var(--c9));
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c7);
    font-size: 20px;
    font-weight: bold;
    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 2px solid var(--c4);
    transition: all 0.3s ease;
    cursor: pointer;
}

.logo:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.6),
        0 0 20px rgba(255, 255, 255, 0.1);
}

.sidebar-nav {
    padding: 30px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    color: var(--c6);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background: linear-gradient(145deg, var(--c2), var(--c10));
    border: 1px solid var(--c3);
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    font-size: 18px;
    overflow: hidden;
}

.nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.nav-item:hover::before {
    left: 100%;
}

.nav-item:hover {
    color: var(--c7);
    background: linear-gradient(145deg, var(--c3), var(--c9));
    border-color: var(--c4);
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 20px rgba(255, 255, 255, 0.1);
    transform: translateY(-2px) scale(1.05);
}

.nav-item.active {
    color: var(--c7);
    background: linear-gradient(135deg, #4a90e2, #357abd);
    border: 2px solid #4a90e2;
    box-shadow:
        0 4px 15px rgba(74, 144, 226, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 0 20px rgba(74, 144, 226, 0.3);
    transform: translateY(-1px) scale(1.02);
}

.nav-item.active::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

/* 高级工具提示 */
.nav-item::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 75px;
    top: 50%;
    transform: translateY(-50%) scale(0.9);
    background: linear-gradient(135deg, var(--c1), var(--c8));
    color: var(--c7);
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--c3);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    z-index: 1000;
    backdrop-filter: blur(10px);
    letter-spacing: 0.5px;
}

.nav-item::after::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 6px solid var(--c1);
}

.nav-item:hover::after {
    opacity: 1;
    visibility: visible;
    left: 80px;
    transform: translateY(-50%) scale(1);
}

/* 主内容 */
.main-content {
    flex: 1;
    margin-left: var(--sidebar);
    min-height: 100vh;
    overflow-y: auto;
    scroll-behavior: smooth;
}

/* 滚动条样式 */
.main-content::-webkit-scrollbar {
    width: 8px;
}

.main-content::-webkit-scrollbar-track {
    background: var(--c2);
}

.main-content::-webkit-scrollbar-thumb {
    background: var(--c4);
    border-radius: 4px;
}

.main-content::-webkit-scrollbar-thumb:hover {
    background: var(--c6);
}



.page-section {
    min-height: auto;
    padding: 40px;
    background: var(--c2);
    border: 1px solid var(--c3);
    margin-bottom: 2px;
    display: block;
}

/* 英雄区域的page-section特殊处理 */
.page-section.hero-page {
    min-height: 100vh;
    padding: 0;
    background: var(--c2);
    border: none;
}

/* ===== 英雄区域样式 ===== */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    background: transparent;
    padding: 0 clamp(20px, 8vw, 80px);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.02) 0%, transparent 25%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.02) 0%, transparent 25%);
    animation: backgroundPulse 12s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes backgroundPulse {
    0% { opacity: 0.7; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.1); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1rem, 4vw, 3rem);
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    color: var(--c6);
    text-align: center;
    padding: 20px;
}

.hero-text h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0.4) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient 8s ease infinite;
}

@keyframes gradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-text h1 .highlight {
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.8) 0%, #ffffff 50%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.profession {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--c5);
    margin-bottom: 2rem;
    font-weight: 400;
}

.typing-cursor {
    animation: blink 1s infinite;
    color: var(--c7);
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--c5);
    margin-bottom: 2rem;
    text-align: left;
}

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

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(145deg, var(--c3), var(--c9));
    border-radius: 50%;
    color: var(--c6);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--c4);
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    color: var(--c7);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    text-align: center;
}

.download-cv {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(145deg, var(--c3), var(--c9));
    color: var(--c7);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid var(--c4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.download-cv:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: linear-gradient(145deg, var(--c4), var(--c3));
}

.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-right img {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--c3);
    transition: all 0.3s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero-right img:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.scroll-arrows {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.scroll-link {
    display: inline-block;
    color: var(--c5);
    text-decoration: none;
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

.scroll-link:hover {
    color: var(--c7);
    transform: translateX(-50%) scale(1.2);
}

.scroll-link i {
    display: block;
    font-size: 2.5rem;
    margin-bottom: -10px;
}

.scroll-link i:nth-child(2) {
    opacity: 0.6;
    transform: translateY(-5px);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* ===== 项目展示样式 ===== */
.projects-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 30px;
    color: var(--c6);
}

.projects-header {
    text-align: center;
    margin-bottom: 50px;
}

.projects-header h1 {
    color: var(--c7);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(45deg, var(--c7), var(--c6));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.projects-header p {
    color: var(--c5);
    font-size: 16px;
    opacity: 0.8;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.project-card {
    background: linear-gradient(145deg, var(--c2), var(--c10));
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--c3);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 30px;
    min-height: 200px;
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    bottom: 20px;
    width: 180px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.2;
    pointer-events: none;
    z-index: 1;
    border-radius: 15px;
}

.project-card {
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--c4);
}

/* 项目卡片覆盖层 */
.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    z-index: 10;
}

.project-overlay i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-info {
    flex: 1;
    position: relative;
    z-index: 2;
}

.project-title {
    color: var(--c7);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.project-period {
    color: var(--c4);
    font-size: 14px;
    margin-bottom: 5px;
}

.project-role {
    color: var(--c6);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 12px;
}

.project-description {
    color: var(--c5);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.project-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.highlight-tag {
    background: var(--c3);
    color: var(--c6);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    border: 1px solid var(--c4);
}

/* ===== 博客页面样式 ===== */
.blog-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 30px;
    color: var(--c6);
}

.blog-header {
    text-align: center;
    margin-bottom: 50px;
}

.blog-header h1 {
    color: var(--c7);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(45deg, var(--c7), var(--c6));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-header p {
    color: var(--c5);
    font-size: 16px;
    opacity: 0.8;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    background: linear-gradient(145deg, var(--c2), var(--c10));
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--c3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--c4);
}

.blog-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(74, 144, 226, 0.9);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 13px;
    color: var(--c4);
}

.blog-date {
    display: flex;
    align-items: center;
}

.blog-date::before {
    content: '📅';
    margin-right: 5px;
}

.blog-read-time {
    display: flex;
    align-items: center;
}

.blog-read-time::before {
    content: '⏱️';
    margin-right: 5px;
}

.blog-title {
    color: var(--c7);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.3;
}

.blog-description {
    color: var(--c5);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    color: #4a90e2;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.blog-read-more:hover {
    color: #357abd;
    transform: translateX(5px);
}

.blog-read-more i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.blog-read-more:hover i {
    transform: translateX(3px);
}

/* 基础样式 */
h1 {
    color: var(--c7);
    font-size: 2rem;
    margin-bottom: 20px;
}


/* 按钮 */
.btn {
    padding: 10px 20px;
    background: var(--c3);
    color: var(--c7);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    background: var(--c9);
}

/* 响应式 */
@media (max-width: 768px) {
    .main-content {
        margin-left: 60px;
        padding: 20px;
    }

    .sidebar {
        width: 60px;
    }

    .page-section {
        padding: 20px;
    }

    /* 移动端隐藏工具提示 */
    .nav-item::after {
        display: none;
    }
}

/* 项目模态框样式 */
.project-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(26, 26, 26, 0.95));
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: linear-gradient(145deg, #1a1a1a, #242424);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    max-width: 1300px;
    width: 95%;
    max-height: 95vh;
    overflow: hidden;
    box-shadow:
        0 30px 100px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

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

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 55px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
}

.modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.modal-company-info {
    display: flex;
    align-items: center;
    gap: 24px;
}

.modal-company-logo {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.modal-title-info h2 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.modal-meta {
    display: flex;
    gap: 16px;
    font-size: 0.95rem;
    align-items: center;
}

.modal-period {
    background: linear-gradient(135deg, #4a90e2, #357abd);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow:
        0 4px 15px rgba(74, 144, 226, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-role {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.modal-close {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.8), rgba(220, 53, 69, 0.6));
    border-color: rgba(255, 107, 107, 0.4);
}

.modal-body {
    padding: 50px 55px;
    max-height: calc(95vh - 130px);
    overflow-y: auto;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
}

.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.2));
}

.modal-description h3 {
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 800;
    margin: 35px 0 22px 0;
    padding-left: 25px;
    border-left: 5px solid #4a90e2;
    position: relative;
    background: linear-gradient(135deg, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-description h3::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(135deg, #4a90e2, #357abd);
    border-radius: 3px;
    box-shadow: 0 0 15px rgba(74, 144, 226, 0.4);
}

.modal-description p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 22px;
    font-size: 1.1rem;
}

.modal-description ul {
    color: rgba(255, 255, 255, 0.9);
    margin-left: 30px;
    margin-bottom: 30px;
}

.modal-description li {
    margin-bottom: 15px;
    line-height: 1.7;
    position: relative;
    font-size: 1.05rem;
}

.modal-description li::marker {
    color: #4a90e2;
}

.modal-description strong {
    color: #ffffff;
    font-weight: 600;
}

.modal-technologies,
.modal-highlights {
    margin-top: 35px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-technologies h3,
.modal-highlights h3 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tech-tags,
.highlight-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.tech-tag {
    background: linear-gradient(135deg, #4a90e2, #357abd);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 700;
    box-shadow:
        0 6px 20px rgba(74, 144, 226, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.modal-highlights .highlight-tag {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
}

/* 向下滚动提示样式 */
.modal-scroll-indicator {
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 0;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    z-index: 10;
}

.scroll-arrow-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.7;
    transition: all 0.3s ease;
    cursor: pointer;
}

.scroll-arrow-container:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.scroll-arrow {
    font-size: 1.5rem;
    color: #4a90e2;
    animation: bounce 2s infinite;
    filter: drop-shadow(0 0 8px rgba(74, 144, 226, 0.4));
}

.scroll-hint {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.5px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

/* ===== 成果展示卡片样式 ===== */
.modal-achievements {
    margin-top: 40px;
    padding: 35px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.modal-achievements h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.3px;
}

.achievement-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.achievement-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
}

.achievement-video {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #000;
}

.achievement-video video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border: none;
    outline: none;
}

.achievement-content {
    padding: 20px;
}

.achievement-content h4 {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.achievement-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* ===== 外部视频链接样式 ===== */
.external-video-link {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.external-video-link:hover {
    background: linear-gradient(135deg, #2a2a2a, #3a3a3a);
}

.video-cover-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.external-video-link:hover .video-cover {
    transform: scale(1.05);
}

.video-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    z-index: 1;
}

.video-placeholder i {
    font-size: 3rem;
    margin-bottom: 10px;
    color: #4a90e2;
    transition: all 0.3s ease;
}

.video-placeholder span {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.external-video-link:hover .video-placeholder i {
    color: #5ba0f2;
    transform: scale(1.1);
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.play-overlay i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.external-video-link:hover .play-overlay {
    opacity: 1;
}

.external-video-link:hover .play-overlay i {
    color: #ffffff;
    transform: scale(1.1);
}

.video-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 4;
    text-decoration: none;
}

/* 联系方式页面样式 */
.contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.contact-container h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #fff;
}

.contact-intro {
    text-align: center;
    color: #888;
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-card {
    background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
    border: 1px solid #333;
    border-radius: 15px;
    padding: 40px 30px;
    display: flex;
    align-items: center;
    gap: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: #4a90e2;
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.2);
}

.contact-card:hover::before {
    opacity: 1;
}

.contact-card:active {
    transform: translateY(-2px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.1s ease;
}

.contact-card:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 5px 20px rgba(74, 144, 226, 0.4);
}

.contact-icon i {
    font-size: 2rem;
    color: #fff;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-info p {
    font-size: 1.1rem;
    color: #4a90e2;
    margin-bottom: 8px;
    font-family: 'Courier New', monospace;
    word-break: break-all;
}

.copy-hint {
    font-size: 0.85rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}

.copy-hint::before {
    content: '\f0c5';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.contact-card:hover .copy-hint {
    color: #4a90e2;
}

/* 复制成功提示 */
.copy-toast {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 500;
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s ease;
}

.copy-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.copy-toast i {
    font-size: 1.2rem;
}
