/* 引入淡蓝色主题配色系统 */
@import url('light-blue-theme.css');

/* Logo Optimized Design */
.logo-optimized {
    display: inline-flex;
    align-items: center;
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
}

.logo-optimized::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.05), rgba(99, 102, 241, 0.05));
    border-radius: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: -1;
}

.logo-optimized:hover::before {
    opacity: 1;
}

.logo-brand {
    background: linear-gradient(135deg, #0ea5e9, #6366f1, #8b5cf6);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradientShift 4s ease-in-out infinite;
    font-weight: 800;
}

.logo-title {
    color: #64748b;
    margin-left: 0.5rem;
    font-weight: 500;
    transition: color 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo-optimized:hover .logo-title {
    color: #475569;
}

.logo-separator {
    margin: 0 0.5rem;
    color: #cbd5e1;
    font-weight: 300;
}

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

/* Responsive logo adjustments */
@media (max-width: 768px) {
    .logo-optimized {
        font-size: 1.125rem;
        padding: 0.375rem 0.5rem;
    }

    .logo-title {
        display: none;
    }

    .logo-separator {
        display: none;
    }
}

:root {
    /* 应用淡蓝色主题的语义变量 */
    --bg-main: var(--bg-primary);
    --bg-card: var(--bg-card);
    --bg-header: var(--bg-glass);
    --color-primary: var(--color-brand-primary);
    --color-primary-hover: var(--color-brand-primary-hover);
    --color-secondary-text: var(--text-secondary);
    --color-heading-text: var(--text-primary);
    --color-body-text: var(--text-secondary);
    --color-border: var(--border-light);

    /* 更新阴影系统为淡蓝色调 */
    --shadow-sm: var(--shadow-sm);
    --shadow-md: var(--shadow-md);
    --shadow-lg: var(--shadow-lg);
    --shadow-xl: var(--shadow-xl);
    --shadow-floating: var(--shadow-float);

    /* 保持原有的几何变量 */
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;

    /* 更自然的缓动曲线 */
    --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-in-out-circ: cubic-bezier(0.85, 0, 0.15, 1);

    /* 应用新的过渡系统 */
    --transition-fast: var(--transition-fast);
    --transition-medium: var(--transition-medium);
    --transition-slow: var(--transition-slow);
    --transition-spring: var(--transition-bounce);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--color-body-text);
    background-color: var(--bg-main);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* 优化滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--color-primary), var(--color-primary-hover));
    border-radius: 10px;
    border: 2px solid var(--bg-main);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--color-primary-hover), var(--color-primary));
}

.nav-link {
    position: relative;
    color: var(--color-secondary-text);
    font-weight: 600;
    transition: var(--transition-medium);
    padding: 8px 4px;
    border-radius: 6px;
    overflow: hidden;
}

.nav-link:hover {
    color: var(--color-primary);
    background-color: rgba(14, 165, 233, 0.05);
    transform: translateY(-1px);
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.1), transparent);
    transition: left 0.6s var(--ease-out-expo);
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-hover));
    transition: width 0.4s var(--ease-out-back);
    border-radius: 1px;
}

.nav-link:hover::after {
    width: 100%;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: var(--transition-spring);
    transform: perspective(1px) translateZ(0);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: none;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transition: var(--transition-medium);
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-floating);
}

.btn:active {
    transform: translateY(-2px) scale(0.98);
    transition: var(--transition-fast);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover));
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-primary-hover), var(--color-primary));
    box-shadow:
        var(--shadow-floating),
        0 0 0 1px rgba(14, 165, 233, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-secondary {
    background-color: var(--bg-card);
    color: var(--color-body-text);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    background-color: var(--bg-main);
    border-color: var(--color-secondary-text);
}

#typewriter::after {
    content: '|';
    animation: blink 0.8s infinite ease-in-out;
    color: var(--color-primary);
    font-weight: 400;
}

#typewriter.finished-typing::after {
    animation: fadeOut 0.5s ease-out forwards;
}

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

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: scale(0);
    }
}

/* 添加打字机文字的入场动画 */
@keyframes typeCharacter {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#typewriter .char {
    animation: typeCharacter 0.1s ease-out;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-heading-text);
    letter-spacing: -0.025em;
}

.card {
    background-color: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    height: 100%;
    box-shadow: var(--shadow-md);
    transition: var(--transition-spring);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.8);
    backdrop-filter: blur(10px);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s var(--ease-out-expo);
}

.card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(14, 165, 233, 0.03) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.6s var(--ease-out-expo);
    pointer-events: none;
}

.card-link:hover .card {
    transform: translateY(-12px) rotateX(2deg);
    box-shadow:
        var(--shadow-floating),
        0 0 0 1px rgba(14, 165, 233, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(14, 165, 233, 0.2);
}

.card-link:hover .card::before {
    transform: translateX(100%);
}

.card-link:hover .card::after {
    transform: scale(1);
}

.card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-heading-text);
    margin-bottom: 0.75rem;
}

.card-desc {
    color: var(--color-secondary-text);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag,
.tag-lg {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
}

.tag-lg {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.skill-category-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-heading-text);
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
}

.skill-badge {
    background-color: var(--bg-card);
    color: var(--color-primary);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.875rem;
    line-height: 1.25rem;
    transition: var(--transition-spring);
    cursor: default;
    border: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.skill-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.1), transparent);
    transition: left 0.6s var(--ease-out-expo);
}

.skill-badge:hover {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover));
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow:
        var(--shadow-lg),
        0 0 20px rgba(14, 165, 233, 0.3);
    border-color: var(--color-primary);
}

.skill-badge:hover::before {
    left: 100%;
}

.social-link {
    color: var(--color-secondary-text);
    transition: var(--transition-spring);
    display: inline-block;
    position: relative;
    padding: 8px;
    border-radius: 50%;
    background: var(--bg-card);
    box-shadow: var(--shadow-sm);
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.3s var(--ease-out-back);
}

.social-link:hover {
    color: var(--color-primary);
    transform: scale(1.15) translateY(-4px) rotate(5deg);
    box-shadow:
        var(--shadow-lg),
        0 0 20px rgba(14, 165, 233, 0.2);
}

.social-link:hover::before {
    transform: scale(1);
}

.project-section {
    background-color: var(--bg-card);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.project-subtitle {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-heading-text);
    border-bottom: 3px solid var(--color-primary);
    padding-bottom: 0.75rem;
    display: inline-block;
}

.prose h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-heading-text);
}
.prose h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-heading-text);
}
.prose ul {
    list-style-position: outside;
    padding-left: 1rem;
}
.prose ul li::marker {
    color: var(--color-primary);
}
.prose ul li {
    padding-left: 0.5rem;
    margin-bottom: 0.5rem;
}

.metric-card {
    border: 1px solid;
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: var(--transition-spring);
    background: var(--bg-card);
    position: relative;
    overflow: hidden;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(14, 165, 233, 0.05) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.6s var(--ease-out-expo);
}

.metric-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow:
        var(--shadow-floating),
        0 0 30px rgba(14, 165, 233, 0.15);
}

.metric-card:hover::before {
    transform: scale(1);
}

.metric-value {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1;
}

.metric-label {
    margin-top: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
}

.accordion-item {
    background-color: var(--bg-card);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition-spring);
    border: 1px solid var(--color-border);
    position: relative;
}

.accordion-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-hover));
    transform: scaleX(0);
    transition: transform 0.3s var(--ease-out-expo);
    transform-origin: left;
}

.accordion-item:hover {
    border-color: var(--color-primary);
    box-shadow:
        var(--shadow-lg),
        0 0 0 1px rgba(14, 165, 233, 0.1);
    transform: translateY(-2px);
}

.accordion-item:hover::before {
    transform: scaleX(1);
}

.accordion-item.active {
    border-color: var(--color-primary);
    box-shadow:
        var(--shadow-lg),
        0 0 0 1px rgba(14, 165, 233, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.accordion-item.active::before {
    transform: scaleX(1);
}

.accordion-header {
    width: 100%;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-heading-text);
    background-color: var(--bg-card);
    border: none;
    cursor: pointer;
}

.accordion-icon {
    transition:
        transform 0.4s var(--ease-out-back),
        color 0.3s ease;
    color: var(--color-primary);
    position: relative;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg) scale(1.1);
    color: var(--color-primary-hover);
}

.accordion-item.active .accordion-header {
    color: var(--color-primary);
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.05), rgba(14, 165, 233, 0.02));
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition:
        max-height 0.4s ease-out,
        padding 0.4s ease-out;
    padding: 0 1.5rem;
    color: var(--color-body-text);
    background-color: var(--bg-main);
    line-height: 1.6; /* 改善文字的行间距 */
}

.accordion-content p {
    margin: 0; /* 移除段落默认margin，避免计算误差 */
}

.timeline-container {
    position: relative;
    max-width: 42rem;
    margin: 0 auto;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 3px;
    background-image: linear-gradient(to bottom, var(--color-primary) 3px, transparent 3px);
    background-size: 3px 12px;
    top: 1rem;
    bottom: 1rem;
    left: 1.5rem;
    margin-left: -1.5px;
}

.timeline-item {
    padding: 1rem 0 2rem 4rem;
    position: relative;
}

.timeline-dot {
    position: absolute;
    width: 1.5rem;
    height: 1.5rem;
    background-color: var(--bg-main);
    border: 4px solid var(--color-primary);
    top: 1.25rem;
    left: 1.5rem;
    border-radius: 50%;
    z-index: 1;
    margin-left: -0.75rem;
    transition: var(--transition-spring);
    box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.5);
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.3);
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover));
    border-color: white;
    box-shadow:
        0 0 0 8px rgba(14, 165, 233, 0.1),
        0 0 20px rgba(14, 165, 233, 0.3);
}

.timeline-content {
    padding: 1.5rem;
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    transition: var(--transition-spring);
    border: 1px solid var(--color-border);
    overflow: hidden;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-hover));
    transition: left 0.6s var(--ease-out-expo);
}

.timeline-item:hover .timeline-content {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--color-primary);
    box-shadow:
        var(--shadow-floating),
        0 0 0 1px rgba(14, 165, 233, 0.1);
}

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition:
        opacity 0.8s var(--ease-out-expo),
        transform 0.8s var(--ease-out-expo);
    transition-delay: var(--animation-delay, 0s);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* 为不同元素添加特殊动画 */
.animate-on-scroll.card {
    transform: translateY(60px) rotateX(15deg) scale(0.9);
}

.animate-on-scroll.card.is-visible {
    transform: translateY(0) rotateX(0deg) scale(1);
}

.animate-on-scroll[style*='transition-delay: 100ms'] {
    transform: translateY(40px) translateX(-20px) scale(0.95);
}

.animate-on-scroll[style*='transition-delay: 100ms'].is-visible {
    transform: translateY(0) translateX(0) scale(1);
}

.animate-on-scroll[style*='transition-delay: 200ms'] {
    transform: translateY(40px) translateX(20px) scale(0.95);
}

.animate-on-scroll[style*='transition-delay: 200ms'].is-visible {
    transform: translateY(0) translateX(0) scale(1);
}

/* =====================================
   个人档案卡片特殊样式
   ===================================== */

/* 个人档案概览卡片 */
.profile-overview-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-spring);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.profile-overview-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(14, 165, 233, 0.08) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.8s var(--ease-out-expo);
}

.profile-overview-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: var(--shadow-floating);
}

.profile-overview-card:hover::before {
    transform: scale(1);
}

/* 淡蓝色系档案卡片主题 */
.profile-overview-card.light-blue {
    background: linear-gradient(135deg, var(--primary-100), var(--primary-50));
    border: 1px solid var(--primary-200);
    position: relative;
    overflow: hidden;
}

.profile-overview-card.light-blue::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-radial-soft);
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.profile-overview-card.light-blue:hover::before {
    opacity: 1;
}

.profile-overview-card.sky-blue {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(14, 165, 233, 0.03));
    border: 1px solid rgba(14, 165, 233, 0.15);
    position: relative;
    overflow: hidden;
}

.profile-overview-card.sky-blue::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.profile-overview-card.sky-blue:hover::before {
    opacity: 1;
}

.profile-overview-card.cyan-blue {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.08), rgba(6, 182, 212, 0.03));
    border: 1px solid rgba(6, 182, 212, 0.15);
    position: relative;
    overflow: hidden;
}

.profile-overview-card.cyan-blue::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.profile-overview-card.cyan-blue:hover::before {
    opacity: 1;
}

.profile-overview-card.indigo-blue {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.08), rgba(79, 70, 229, 0.03));
    border: 1px solid rgba(79, 70, 229, 0.15);
    position: relative;
    overflow: hidden;
}

.profile-overview-card.indigo-blue::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(79, 70, 229, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.profile-overview-card.indigo-blue:hover::before {
    opacity: 1;
}

/* 技能矩阵卡片 */
.skill-matrix-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-spring);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.skill-matrix-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    transform: translateX(-100%);
    transition: transform 0.8s var(--ease-out-expo);
}

.skill-matrix-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(14, 165, 233, 0.03) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.6s var(--ease-out-expo);
    pointer-events: none;
}

.skill-matrix-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow:
        var(--shadow-floating),
        0 0 40px rgba(14, 165, 233, 0.1);
    border-color: rgba(14, 165, 233, 0.3);
}

.skill-matrix-card:hover::before {
    transform: translateX(100%);
}

.skill-matrix-card:hover::after {
    transform: scale(1);
}

/* 技能项目样式 */
.skill-item {
    background-color: rgba(248, 250, 252, 0.8);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(226, 232, 240, 0.5);
}

.skill-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.1), transparent);
    transition: left 0.5s var(--ease-out-expo);
}

.skill-item:hover {
    background-color: rgba(14, 165, 233, 0.05);
    border-color: rgba(14, 165, 233, 0.2);
    transform: translateX(4px);
}

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

/* 技能项目文字动画 */
.skill-item span {
    position: relative;
    z-index: 1;
    transition: var(--transition-fast);
}

.skill-item:hover span {
    color: var(--color-primary);
    font-weight: 600;
}

/* 不同技能类别的特殊颜色 */
.skill-matrix-card.ai-skills:hover {
    box-shadow:
        var(--shadow-floating),
        0 0 40px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

.skill-matrix-card.data-skills:hover {
    box-shadow:
        var(--shadow-floating),
        0 0 40px rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.3);
}

.skill-matrix-card.pm-skills:hover {
    box-shadow:
        var(--shadow-floating),
        0 0 40px rgba(168, 85, 247, 0.15);
    border-color: rgba(168, 85, 247, 0.3);
}

/* 技能卡片图标动画 */
.skill-matrix-card .skill-icon {
    transition: var(--transition-spring);
}

.skill-matrix-card:hover .skill-icon {
    transform: scale(1.1) rotate(5deg);
}

/* 加载时的入场动画增强 */
@keyframes skillCardEntrance {
    0% {
        opacity: 0;
        transform: translateY(40px) rotateX(-15deg) scale(0.9);
    }
    50% {
        opacity: 0.5;
        transform: translateY(20px) rotateX(-7deg) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0deg) scale(1);
    }
}

.skill-matrix-card.animate-on-scroll.is-visible {
    animation: skillCardEntrance 0.8s var(--ease-out-expo) forwards;
}

/* =====================================
   移动端优化
   ===================================== */

/* 基础移动端适配 */
@media (max-width: 768px) {
    :root {
        --radius-xl: 1rem;
        --shadow-lg: 0 8px 12px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
        --shadow-floating: 0 15px 30px -8px rgba(0, 0, 0, 0.2);
    }

    .profile-overview-card:hover {
        transform: translateY(-4px) scale(1.01);
    }

    .skill-matrix-card:hover {
        transform: translateY(-6px);
    }

    .skill-item:hover {
        transform: translateX(2px);
    }

    /* 减少移动端的复杂动画 */
    .card::before,
    .card::after,
    .skill-matrix-card::before,
    .skill-matrix-card::after {
        display: none;
    }

    /* 优化触摸目标大小 */
    .btn,
    .nav-link,
    .social-link,
    .skill-item {
        min-height: 44px;
        min-width: 44px;
    }

    /* 简化移动端交互 */
    .nav-link:hover {
        background-color: rgba(14, 165, 233, 0.1);
        transform: none;
    }

    .btn:hover {
        transform: translateY(-2px) scale(1.01);
    }

    .social-link:hover {
        transform: scale(1.1);
    }

    /* 移动端排版优化 */
    .section-title {
        font-size: 2rem;
    }

    .card-title {
        font-size: 1.25rem;
    }

    /* 改善移动端滚动体验 */
    .animate-on-scroll {
        transform: translateY(20px) scale(0.98);
    }

    .animate-on-scroll.is-visible {
        transform: translateY(0) scale(1);
    }
}

/* 超小屏幕优化 */
@media (max-width: 480px) {
    .profile-overview-card {
        padding: 1rem;
    }

    .skill-matrix-card {
        padding: 1.5rem;
    }

    .card {
        padding: 1.5rem;
    }

    /* 简化小屏幕上的网格布局 */
    .grid.gap-8 {
        gap: 1rem;
    }

    .grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-cols-3 {
        grid-template-columns: 1fr;
    }

    /* 优化字体大小 */
    .text-5xl {
        font-size: 2.5rem;
    }

    .text-3xl {
        font-size: 1.75rem;
    }
}

/* 横屏手机优化 */
@media (max-width: 768px) and (orientation: landscape) {
    .min-h-screen {
        min-height: 40vh;
    }

    .py-24 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .py-16 {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
}

/* 触摸设备优化 */
@media (hover: none) {
    .card-link:hover .card,
    .timeline-item:hover .timeline-content,
    .skill-matrix-card:hover,
    .profile-overview-card:hover {
        transform: none;
        box-shadow: var(--shadow-md);
    }

    .btn:hover {
        transform: none;
        box-shadow: var(--shadow-md);
    }

    .skill-item:hover {
        transform: none;
        background-color: rgba(14, 165, 233, 0.05);
    }
}

/* =====================================
   增强交互样式
   ===================================== */

/* 键盘导航增强 */
.keyboard-navigation *:focus {
    outline: 2px solid var(--color-primary) !important;
    outline-offset: 2px;
    border-radius: 4px;
}

.has-focus {
    position: relative;
    z-index: 10;
}

/* 页面加载状态 */
body:not(.loaded) {
    overflow: hidden;
}

body:not(.loaded) .animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
}

body.loaded {
    transition: all 0.3s ease;
}

/* 光标跟随效果 */
.skill-matrix-card,
.profile-overview-card {
    position: relative;
    overflow: hidden;
}

.skill-matrix-card::after,
.profile-overview-card::after {
    content: '';
    position: absolute;
    top: var(--mouse-y, 50%);
    left: var(--mouse-x, 50%);
    width: 100px;
    height: 100px;
    background: radial-gradient(circle at center, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.skill-matrix-card:hover::after,
.profile-overview-card:hover::after {
    opacity: 1;
}

/* 技能项目初始状态 */
.skill-item {
    opacity: 0;
    transform: translateX(-20px);
    transition:
        opacity 0.3s ease,
        transform 0.3s ease,
        background-color 0.3s ease,
        border-color 0.3s ease;
}

.skill-matrix-card.is-visible .skill-item {
    opacity: 1;
    transform: translateX(0);
}

/* 增强按钮效果 */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition:
        width 0.6s ease,
        height 0.6s ease;
}

.btn:active::after {
    width: 300px;
    height: 300px;
}

/* 社交链接增强效果 */
.social-link {
    position: relative;
    overflow: hidden;
}

.social-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.social-link:hover::after {
    opacity: 1;
}

/* 改进的滚动指示器 */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-hover) 100%);
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.1s ease;
    z-index: 1000;
}

/* 优化的下拉菜单动画 */
.accordion-content {
    transform: translateY(-10px);
    transition:
        max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-item.active .accordion-content {
    transform: translateY(0);
}

/* 性能优化 */
.animate-on-scroll,
.card,
.btn,
.skill-item {
    will-change: transform, opacity;
}

/* 减少动画在低端设备上的影响 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* 高对比度模式支持 */
@media (prefers-contrast: high) {
    :root {
        --shadow-sm: 0 2px 4px 0 rgb(0 0 0 / 0.3);
        --shadow-md: 0 6px 12px -2px rgb(0 0 0 / 0.3);
        --shadow-lg: 0 15px 25px -5px rgb(0 0 0 / 0.3);
        --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.3);
    }

    .card,
    .skill-matrix-card,
    .profile-overview-card {
        border-width: 2px;
        border-color: var(--color-primary);
    }
}

/* =====================================
   专属图标系统样式
   ===================================== */

/* 基础图标样式 */
.custom-icon {
    width: 1em;
    height: 1em;
    display: inline-block;
    vertical-align: middle;
    transition: var(--transition-medium);
    overflow: visible;
}

/* 图标尺寸变体 */
.custom-icon.h-4 {
    width: 1rem;
    height: 1rem;
}
.custom-icon.h-6 {
    width: 1.5rem;
    height: 1.5rem;
}
.custom-icon.h-7 {
    width: 1.75rem;
    height: 1.75rem;
}
.custom-icon.h-8 {
    width: 2rem;
    height: 2rem;
}

/* 图标动画效果 */
@keyframes iconPulse {
    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

@keyframes neuralConnections {
    0% {
        stroke-dasharray: 0, 10;
        opacity: 0.2;
    }
    50% {
        stroke-dasharray: 5, 5;
        opacity: 0.6;
    }
    100% {
        stroke-dasharray: 10, 0;
        opacity: 0.3;
    }
}

@keyframes chartGrow {
    from {
        transform: scaleY(0);
        transform-origin: bottom;
    }
    to {
        transform: scaleY(1);
        transform-origin: bottom;
    }
}

@keyframes menuLinesMove {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(2px);
    }
    100% {
        transform: translateX(0);
    }
}

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

@keyframes mailArrowFly {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(-3px);
        opacity: 0.7;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes trendLineGrow {
    from {
        stroke-dasharray: 0, 100;
    }
    to {
        stroke-dasharray: 100, 0;
    }
}

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

@keyframes layoutBlockFade {
    0% {
        opacity: 0.1;
        transform: scale(0.9);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }
    100% {
        opacity: 0.3;
        transform: scale(1);
    }
}

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

/* 图标元素动画类 */
.icon-pulse {
    animation: iconPulse 2s ease-in-out infinite;
}

.neural-connections {
    animation: neuralConnections 3s ease-in-out infinite;
}

.chart-bar {
    animation: chartGrow 0.8s ease-out forwards;
    transform: scaleY(0);
    transform-origin: bottom;
}

.menu-lines {
    transition: var(--transition-medium);
}

.settings-gear {
    transition: var(--transition-slow);
    transform-origin: center;
}

.mail-arrow {
    animation: mailArrowFly 2s ease-in-out infinite;
}

.trend-line {
    animation: trendLineGrow 1.5s ease-out forwards;
    stroke-dasharray: 0, 100;
}

.data-point {
    animation: dataPointFloat 2s ease-in-out infinite;
}

.layout-block {
    animation: layoutBlockFade 2s ease-in-out infinite;
}

.bookmark {
    animation: bookmarkWave 2s ease-in-out infinite;
}

.icon-check {
    stroke-dasharray: 6;
    stroke-dashoffset: 6;
    animation: checkmark 1s ease-in-out forwards;
}

@keyframes checkmark {
    to {
        stroke-dashoffset: 0;
    }
}

/* 交互状态 */
.custom-icon:hover .icon-pulse {
    animation-duration: 0.5s;
}

.custom-icon:hover .settings-gear {
    animation: settingsRotate 1s ease-in-out;
}

.custom-icon:hover .menu-lines {
    animation: menuLinesMove 0.3s ease-in-out;
}

.custom-icon:hover .neural-connections {
    animation-duration: 1s;
    opacity: 0.8;
}

.custom-icon:hover .chart-bar {
    transform: scaleY(1.1);
}

.custom-icon:hover .trend-line {
    stroke-width: 2;
    filter: drop-shadow(0 0 3px currentColor);
}

.custom-icon:hover .data-point {
    animation-duration: 1s;
    transform: scale(1.2);
}

/* 图标容器增强 */
.profile-overview-card .custom-icon,
.skill-matrix-card .custom-icon {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
    transition: var(--transition-spring);
}

.profile-overview-card:hover .custom-icon,
.skill-matrix-card:hover .custom-icon {
    filter: drop-shadow(0 2px 8px rgba(14, 165, 233, 0.3));
    transform: scale(1.05);
}

/* 社交链接图标增强 */
.social-link .custom-icon {
    transition: var(--transition-spring);
}

.social-link:hover .custom-icon {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 4px 12px rgba(14, 165, 233, 0.4));
}

/* 导航图标增强 */
.nav-link .custom-icon,
.btn .custom-icon {
    transition: var(--transition-medium);
}

.nav-link:hover .custom-icon,
.btn:hover .custom-icon {
    transform: scale(1.05);
    filter: brightness(1.2);
}

/* 技能图标特殊效果 */
.skill-icon {
    transition: var(--transition-spring);
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.1));
}

.skill-matrix-card:hover .skill-icon {
    transform: scale(1.1) rotate(2deg);
    filter: drop-shadow(0 3px 10px rgba(14, 165, 233, 0.3));
}

/* 不同颜色主题的图标效果 */
.ai-skills:hover .skill-icon {
    filter: drop-shadow(0 3px 10px rgba(59, 130, 246, 0.4));
}

.data-skills:hover .skill-icon {
    filter: drop-shadow(0 3px 10px rgba(34, 197, 94, 0.4));
}

.pm-skills:hover .skill-icon {
    filter: drop-shadow(0 3px 10px rgba(168, 85, 247, 0.4));
}

/* 加载状态图标 */
@keyframes iconLoading {
    0% {
        transform: rotate(0deg);
        opacity: 0.3;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        transform: rotate(360deg);
        opacity: 0.3;
    }
}

.custom-icon.loading {
    animation: iconLoading 2s linear infinite;
}

/* 错误状态图标 */
.custom-icon.error {
    color: #ef4444;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%,
    100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-2px);
    }
    75% {
        transform: translateX(2px);
    }
}

/* 成功状态图标 */
.custom-icon.success {
    color: #22c55e;
    animation: bounce 0.6s ease-in-out;
}

@keyframes bounce {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* 响应式图标调整 */
@media (max-width: 768px) {
    .custom-icon {
        transition-duration: 0.2s;
    }

    .profile-overview-card:hover .custom-icon,
    .skill-matrix-card:hover .custom-icon {
        transform: scale(1.02);
    }

    .social-link:hover .custom-icon {
        transform: scale(1.05) rotate(2deg);
    }
}

/* 无障碍支持 */
@media (prefers-reduced-motion: reduce) {
    .custom-icon,
    .custom-icon * {
        animation: none !important;
        transition-duration: 0.01ms !important;
    }
}

/* 高对比度模式图标优化 */
@media (prefers-contrast: high) {
    .custom-icon {
        filter: contrast(1.5);
    }

    .custom-icon linearGradient stop {
        stop-opacity: 1;
    }
}

/* =====================================
   淡蓝色主题专属动效系统
   ===================================== */

/* 淡蓝色呼吸动画 */
@keyframes lightBlueBreath {
    0%,
    100% {
        box-shadow:
            0 0 0 0 rgba(14, 165, 233, 0.4),
            var(--shadow-md);
    }
    50% {
        box-shadow:
            0 0 0 10px rgba(14, 165, 233, 0.1),
            0 0 30px rgba(14, 165, 233, 0.2),
            var(--shadow-lg);
    }
}

/* 淡蓝色流光动画 */
@keyframes lightBlueShimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

/* 淡蓝色涟漪扩散 */
@keyframes lightBlueRipple {
    0% {
        transform: scale(0);
        opacity: 0.8;
    }
    50% {
        opacity: 0.4;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* 淡蓝色渐变背景动画 */
@keyframes lightBlueGradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* 淡蓝色脉冲光环 */
@keyframes lightBluePulseRing {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* 应用淡蓝色动效 */
.profile-overview-card {
    animation: lightBlueBreath 3s ease-in-out infinite;
}

.profile-overview-card:hover {
    animation: none;
    position: relative;
}

.profile-overview-card:hover::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 30%, rgba(14, 165, 233, 0.1) 70%);
    animation: lightBluePulseRing 1s ease-out infinite;
    transform: translate(-50%, -50%);
    pointer-events: none;
    border-radius: inherit;
}

/* 技能矩阵卡片淡蓝色增强 */
.skill-matrix-card::before {
    background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.1), transparent);
    background-size: 200% 100%;
    animation: lightBlueShimmer 3s ease-in-out infinite;
}

.skill-matrix-card:hover {
    box-shadow:
        var(--shadow-floating),
        0 0 40px rgba(14, 165, 233, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(14, 165, 233, 0.3);
}

/* 按钮淡蓝色增强 */
.btn-primary {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left var(--transition-medium);
}

.btn-primary:hover::before {
    left: 100%;
}

/* 社交链接淡蓝色增强 */
.social-link:hover {
    color: var(--color-brand-primary);
    animation: lightBlueBreath 2s ease-in-out infinite;
}

/* 导航链接淡蓝色增强 */
.nav-link:hover {
    color: var(--color-brand-primary);
    background: linear-gradient(135deg, var(--primary-50), transparent);
}

.nav-link::after {
    background: var(--gradient-primary);
}

/* 技能标签淡蓝色增强 */
.skill-badge:hover {
    background: var(--gradient-primary);
    animation: lightBlueBreath 1.5s ease-in-out infinite;
}

/* 卡片链接淡蓝色增强 */
.card-link:hover .card {
    border-color: rgba(14, 165, 233, 0.3);
    animation: lightBlueBreath 2s ease-in-out infinite;
}

/* 手风琴淡蓝色增强 */
.accordion-item:hover,
.accordion-item.active {
    border-color: var(--color-brand-primary);
    box-shadow:
        var(--shadow-lg),
        0 0 0 1px rgba(14, 165, 233, 0.1),
        0 0 20px rgba(14, 165, 233, 0.05);
}

.accordion-item.active .accordion-header {
    color: var(--color-brand-primary);
    background: var(--gradient-subtle);
}

/* 时间线淡蓝色增强 */
.timeline-connector {
    background-image: linear-gradient(to bottom, var(--color-brand-primary) 3px, var(--primary-200) 3px);
}

.timeline-marker {
    border-color: var(--color-brand-primary);
    background-color: var(--bg-main);
    box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.5);
    animation: lightBluePulseRing 2s ease-in-out infinite;
}

/* 文字淡蓝色增强 */
.section-title {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 特殊效果：淡蓝色光追踪 */
.light-trail {
    position: relative;
    overflow: hidden;
}

.light-trail::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.3), transparent);
    transition: left 0.8s ease-out;
}

.light-trail:hover::before {
    left: 150%;
}

/* 淡蓝色波纹效果 */
.ripple-effect {
    position: relative;
    overflow: hidden;
}

.ripple-effect::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(14, 165, 233, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition:
        width 0.6s ease-out,
        height 0.6s ease-out;
}

.ripple-effect:active::after {
    width: 300px;
    height: 300px;
}

/* =====================================
   Portfolio 专属样式系统
   ===================================== */

/* Portfolio 主推卡片 */
.portfolio-hero-card {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    transition: var(--transition-spring);
    overflow: hidden;
    min-height: 300px;
}

.portfolio-hero-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-subtle);
    opacity: 0.5;
    transition: var(--transition-medium);
}

.portfolio-hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: center;
}

.portfolio-hero-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.portfolio-hero-icon {
    width: 40px;
    height: 40px;
    color: white;
    transition: var(--transition-medium);
}

.portfolio-hero-info {
    min-width: 0;
}

.portfolio-featured-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.portfolio-hero-title {
    margin-bottom: 1rem;
    font-size: 1.75rem;
    line-height: 1.3;
}

.portfolio-hero-desc {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.portfolio-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.portfolio-tag {
    padding: 0.5rem 1rem;
    border-radius: 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.portfolio-tag.primary {
    background: var(--primary-100);
    color: var(--primary-700);
    border: 1px solid var(--primary-200);
}

.portfolio-tag.secondary {
    background: var(--accent-ice);
    color: var(--primary-600);
    border: 1px solid var(--primary-200);
}

.portfolio-tag.accent {
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary-600);
    border: 1px solid rgba(14, 165, 233, 0.2);
}

.portfolio-tag.highlight {
    background: var(--gradient-primary);
    color: white;
    border: none;
    box-shadow: var(--shadow-sm);
}

.portfolio-hero-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle at center, var(--primary-200) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.3;
    transform: rotate(45deg);
}

/* Portfolio 卡片悬浮效果 */
.portfolio-hero-link:hover .portfolio-hero-card {
    transform: translateY(-8px);
    box-shadow: var(--shadow-float);
    border-color: var(--primary-300);
}

.portfolio-hero-link:hover .portfolio-hero-bg {
    opacity: 0.8;
}

.portfolio-hero-link:hover .portfolio-hero-icon {
    transform: scale(1.1) rotate(5deg);
}

.portfolio-hero-link:hover .portfolio-tag {
    transform: translateY(-2px);
}

/* Portfolio 小卡片 */
.portfolio-card {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--border-light);
    transition: var(--transition-spring);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.portfolio-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.portfolio-card-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-medium);
}

.portfolio-card-icon {
    width: 24px;
    height: 24px;
    transition: var(--transition-medium);
}

.portfolio-card-category {
    opacity: 0.7;
}

.portfolio-card-content {
    flex: 1;
    margin-bottom: 1rem;
}

.portfolio-card-title {
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.portfolio-card-desc {
    line-height: 1.5;
    opacity: 0.8;
}

.portfolio-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.portfolio-mini-tag {
    padding: 0.25rem 0.75rem;
    background: var(--primary-50);
    color: var(--primary-600);
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    transition: var(--transition-medium);
}

.portfolio-card-glow {
    position: absolute;
    inset: 0;
    background: var(--gradient-radial-glow);
    opacity: 0;
    transition: var(--transition-medium);
    pointer-events: none;
}

/* Portfolio 卡片主题色 */
.portfolio-card.growth .portfolio-card-icon-wrapper {
    background: var(--gradient-primary);
}

.portfolio-card.growth .portfolio-card-icon {
    color: white;
}

.portfolio-card.ai .portfolio-card-icon-wrapper {
    background: linear-gradient(135deg, var(--primary-500), var(--accent-mint));
}

.portfolio-card.ai .portfolio-card-icon {
    color: white;
}

.portfolio-card.analysis .portfolio-card-icon-wrapper {
    background: linear-gradient(135deg, var(--accent-sky), var(--primary-400));
}

.portfolio-card.analysis .portfolio-card-icon {
    color: white;
}

/* Portfolio 卡片悬浮效果 */
.portfolio-card-link:hover .portfolio-card {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-300);
}

.portfolio-card-link:hover .portfolio-card-glow {
    opacity: 1;
}

.portfolio-card-link:hover .portfolio-card-icon-wrapper {
    transform: scale(1.1) rotate(-5deg);
}

.portfolio-card-link:hover .portfolio-mini-tag {
    background: var(--primary-100);
    transform: translateY(-1px);
}

/* Portfolio CTA按钮 */
.portfolio-cta-btn {
    position: relative;
    padding: 0.875rem 2rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    overflow: hidden;
}

.portfolio-cta-icon {
    transition: var(--transition-medium);
}

.portfolio-cta-btn:hover .portfolio-cta-icon {
    transform: translateX(4px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .portfolio-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }

    .portfolio-hero-card {
        padding: 2rem;
        min-height: auto;
    }

    .portfolio-hero-title {
        font-size: 1.5rem;
    }

    .portfolio-hero-tags {
        justify-content: center;
    }

    .portfolio-card {
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {
    .portfolio-hero-card {
        padding: 1.5rem;
    }

    .portfolio-hero-icon-wrapper {
        width: 60px;
        height: 60px;
    }

    .portfolio-hero-icon {
        width: 30px;
        height: 30px;
    }
}

/* Portfolio 动画增强 */
@keyframes portfolioFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

.portfolio-hero-link:hover .portfolio-hero-pattern {
    animation: portfolioFloat 3s ease-in-out infinite;
}

/* =====================================
   英雄区域性能与稳定性优化
   ===================================== */

/* 打字机容器独立动画 */
.typewriter-container {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.typewriter-container.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* 打字机效果布局稳定 */
.text-hero {
    min-height: 1.2em;
    will-change: contents;
}

.typewriter-char {
    display: inline-block;
    will-change: opacity, transform;
    /* 修复继承的透明文字问题 */
    -webkit-text-fill-color: var(--text-primary, #334155) !important;
    color: var(--text-primary, #334155) !important;
    background: none !important;
}

.typewriter-cursor {
    display: inline-block;
    will-change: opacity;
    /* 确保光标颜色可见 */
    -webkit-text-fill-color: var(--color-text-accent, #0ea5e9) !important;
    color: var(--color-text-accent, #0ea5e9) !important;
    background: none !important;
}

.typewriter-finished {
    will-change: auto;
}

/* 英雄区域响应式优化 */
@media (max-width: 768px) {
    .text-hero {
        min-width: 280px;
        font-size: clamp(2rem, 8vw, 3rem);
    }
}

@media (max-width: 480px) {
    .text-hero {
        min-width: 240px;
        font-size: clamp(1.75rem, 8vw, 2.5rem);
    }
}

/* =====================================
   动画性能优化系统
   ===================================== */

/* GPU加速优化 */
.animate-on-scroll,
.portfolio-hero-card,
.portfolio-card,
.text-highlight-name,
.text-highlight-role {
    will-change: transform, opacity;
    transform: translate3d(0, 0, 0);
}

/* 动画完成后移除will-change */
.animate-on-scroll.is-visible {
    will-change: auto;
}

/* 降低复杂动画的频率 */
.text-highlight-name,
.text-highlight-role {
    animation-duration: 4s; /* 从3s延长到4s */
}

/* 英雄副标题协调动画 */
.hero-subtitle {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-subtitle.show {
    opacity: 1;
    transform: translateY(0);
}

/* =====================================
   响应式和性能优化增强
   ===================================== */

/* 低端设备性能优化 */
.reduced-animations * {
    animation-duration: 0.2s !important;
    transition-duration: 0.2s !important;
}

.reduced-animations .text-highlight-name,
.reduced-animations .text-highlight-role {
    animation: none !important;
}

/* 触摸设备优化 */
.touch-device .portfolio-card:hover {
    transform: none;
}

.touch-device .touch-active {
    transform: scale(0.98);
    transition: transform 0.1s ease-out;
}

/* 移动端布局优化 */
.mobile-layout .text-hero {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    min-width: 240px;
}

.mobile-layout .portfolio-hero-card {
    padding: 1.5rem;
    margin: 0.75rem 0;
}

.mobile-layout .portfolio-card {
    padding: 1.25rem;
}

/* 键盘导航增强 */
.keyboard-navigation *:focus {
    outline: 2px solid var(--color-text-accent, #3b82f6) !important;
    outline-offset: 2px !important;
    border-radius: 4px;
}

.keyboard-navigation .text-highlight-name:focus,
.keyboard-navigation .text-highlight-role:focus {
    animation: highlightGlow 0.5s ease-in-out infinite;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

/* 高对比度支持 */
@media (prefers-contrast: high) {
    .text-gradient-primary,
    .text-gradient-accent {
        background: none !important;
        color: var(--color-text-primary, #000) !important;
        -webkit-text-fill-color: unset !important;
    }

    .portfolio-hero-card,
    .portfolio-card {
        border: 2px solid var(--color-text-primary, #000);
    }
}

/* 运动减少支持 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .text-highlight-name,
    .text-highlight-role {
        animation: none !important;
    }
}

/* 安全模式（错误恢复） */
.safe-mode * {
    animation: none !important;
    transition: none !important;
}

/* =====================================
   About页面专属字体优化系统
   ===================================== */

/* 英雄区域优化 */
.hero-content-about {
    position: relative;
    padding: 2rem 0;
}

.about-hero-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: var(--font-weight-bold);
    line-height: var(--leading-tight);
    letter-spacing: var(--tracking-tight);
    background: linear-gradient(135deg, var(--primary-600), var(--primary-400), var(--accent-mint));
    background-size: 200% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    animation: textGradientShift 8s ease-in-out infinite;
}

/* 针对不同屏幕尺寸的字体优化 */
@media (max-width: 768px) {
    .about-hero-title {
        font-size: clamp(1.5rem, 5.5vw, 2.25rem);
        line-height: 1.2;
        letter-spacing: -0.01em;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .about-hero-title {
        font-size: clamp(2rem, 3.5vw, 2.75rem);
    }
}

@media (min-width: 1025px) {
    .about-hero-title {
        font-size: clamp(2.25rem, 3vw, 3rem);
    }
}

.about-hero-subtitle {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.about-role-badge {
    display: inline-block;
    font-family: var(--font-primary);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--tracking-widest);
    text-transform: uppercase;
    color: var(--color-text-accent);
    background: linear-gradient(135deg, var(--primary-50), var(--accent-ice));
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    border: 1px solid var(--primary-200);
    width: fit-content;
}

.about-passion-text {
    font-family: var(--font-primary);
    font-size: var(--text-lg);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-secondary);
    font-style: italic;
}

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

/* 故事段落优化 */
.about-story-content {
    max-width: none;
}

.story-paragraph {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding: 2rem 0;
    border-left: 2px solid var(--border-light);
    margin-left: 1.5rem;
    position: relative;
}

.story-paragraph::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 2.5rem;
    width: 10px;
    height: 10px;
    background: var(--gradient-primary);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--bg-primary);
}

.story-number {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: var(--font-weight-extrabold);
    color: var(--color-text-accent);
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    min-width: 3rem;
    text-align: center;
    flex-shrink: 0;
}

.story-text {
    flex: 1;
}

.story-phase-title {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-primary);
    margin-bottom: 0.75rem;
}

.story-description {
    font-family: var(--font-primary);
    font-size: var(--text-lg);
    font-weight: var(--font-weight-normal);
    line-height: var(--leading-relaxed);
    color: var(--color-text-secondary);
}

.story-highlight {
    font-style: normal;
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-accent);
    background: linear-gradient(135deg, var(--accent-ice), var(--primary-50));
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
}

.story-project {
    font-weight: var(--font-weight-bold);
    color: var(--primary-600);
    position: relative;
    padding: 0.125rem 0.375rem;
    background: linear-gradient(135deg, var(--primary-50), var(--accent-powder));
    border-radius: 0.25rem;
    border: 1px solid var(--primary-200);
}

.stat-description {
    font-family: var(--font-primary);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-normal);
    line-height: var(--leading-normal);
    color: var(--color-text-muted);
}

/* 技能矩阵优化 */
.skills-matrix-section {
    position: relative;
}

.skills-intro-text {
    margin-bottom: 3rem;
}

.skills-section-subtitle {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-primary);
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.skills-description {
    font-family: var(--font-primary);
    font-size: var(--text-lg);
    font-weight: var(--font-weight-normal);
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.skills-grid {
    gap: 2.5rem;
}

.skill-category-card {
    background: var(--bg-card);
    border-radius: 1.25rem;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: all 0.3s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.skill-category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.skill-category-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.skill-category-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    flex-shrink: 0;
}

.ai-icon {
    background: linear-gradient(135deg, var(--primary-100), var(--accent-ice));
    border: 1px solid var(--primary-200);
}

.data-icon {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    border: 1px solid #86efac;
}

.product-icon {
    background: linear-gradient(135deg, #e9d5ff, #ddd6fe);
    border: 1px solid #c4b5fd;
}

.skill-category-icon .skill-icon {
    width: 2rem;
    height: 2rem;
}

.ai-icon .skill-icon {
    color: var(--primary-600);
}
.data-icon .skill-icon {
    color: #059669;
}
.product-icon .skill-icon {
    color: #7c3aed;
}

.skill-category-info {
    flex: 1;
}

.skill-category-title {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-primary);
    margin-bottom: 0.25rem;
}

.skill-category-subtitle {
    font-family: var(--font-primary);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-muted);
}

.skill-items-grid {
    display: grid;
    gap: 1rem;
}

.skill-item-enhanced {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1.25rem;
    background: var(--bg-secondary);
    border-radius: 0.75rem;
    border: 1px solid var(--border-light);
    transition: all 0.2s ease-out;
    position: relative;
    overflow: hidden;
}

.skill-item-enhanced:hover {
    background: var(--primary-50);
    transform: translateX(4px);
    border-color: var(--primary-200);
}

.skill-name {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-primary);
}

.skill-level {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    flex-shrink: 0;
}

.skill-level.expert {
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    box-shadow: 0 0 0 3px var(--primary-100);
}

.skill-level.advanced {
    background: linear-gradient(135deg, #059669, #10b981);
    box-shadow: 0 0 0 3px #d1fae5;
}

.skill-level.intermediate {
    background: linear-gradient(135deg, #d97706, #f59e0b);
    box-shadow: 0 0 0 3px #fef3c7;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .story-paragraph {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem 0;
        margin-left: 1rem;
    }

    .story-number {
        font-size: var(--text-lg);
        min-width: auto;
        text-align: left;
    }

    .stat-number-wrapper {
        justify-content: center;
    }

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

    .skill-category-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

/* 应用特殊效果到相关元素 */
.profile-overview-card,
.skill-matrix-card,
.btn,
.card {
    position: relative;
    overflow: hidden;
}

.profile-overview-card::before,
.skill-matrix-card::before,
.btn::before,
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.3), transparent);
    transition: left 0.8s ease-out;
    pointer-events: none;
}

.profile-overview-card:hover::before,
.skill-matrix-card:hover::before,
.btn:hover::before,
.card:hover::before {
    left: 150%;
}

.btn-primary,
.social-link {
    position: relative;
    overflow: hidden;
}

.btn-primary::after,
.social-link::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(14, 165, 233, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition:
        width 0.6s ease-out,
        height 0.6s ease-out;
    pointer-events: none;
}

.btn-primary:active::after,
.social-link:active::after {
    width: 300px;
    height: 300px;
}

/* =====================================
   英雄区域文案设计系统
   ===================================== */

/* 主要介绍文本容器 */
.hero-intro-text {
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    line-height: 1.7;
    color: #475569;
    font-weight: 500;
    letter-spacing: -0.01em;
    margin: 2rem auto;
    text-align: center;
}

/* 文本片段基础样式 */
.hero-intro-text span {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 前缀文字 */
.intro-prefix {
    color: #64748b;
    font-weight: 400;
}

/* 姓名高亮 */
.name-highlight {
    font-weight: 700;
    font-size: 1.1em;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    padding: 0 0.125rem;
}

.name-highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    opacity: 0.6;
    border-radius: 1px;
}

/* 连接词 */
.intro-connector {
    color: #64748b;
    font-weight: 400;
}

/* 概念高亮样式已移至 src/input.css 中统一管理 */

/* 强制覆盖 - 确保天蓝色下划线优先级最高 */
.hero-intro-text:hover .concept-highlight::before {
    background: linear-gradient(90deg, #1e90ff 0%, #00bfff 100%) !important;
    transform: scaleX(1) !important;
}

/* 角色高亮 */
.role-highlight {
    font-weight: 700;
    font-size: 1.1em;
    color: #0f172a;
    position: relative;
    padding: 0.125rem 0.5rem;
    border-radius: 0.375rem;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.1),
        0 1px 2px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.role-highlight:hover {
    transform: translateY(-1px);
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.1),
        0 2px 4px rgba(0, 0, 0, 0.06);
}

/* 结尾标点 */
.intro-ending {
    color: #64748b;
    font-weight: 400;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-intro-text {
        font-size: clamp(1rem, 4vw, 1.25rem);
        line-height: 1.6;
        margin: 1.5rem auto;
        padding: 0 1rem;
    }

    .name-highlight,
    .role-highlight {
        font-size: 1.05em;
    }

    .role-highlight {
        padding: 0.1rem 0.375rem;
    }
}

/* 暗色模式支持 */
@media (prefers-color-scheme: dark) {
    .hero-intro-text {
        color: #cbd5e1;
    }

    .intro-prefix,
    .intro-connector,
    .intro-ending {
        color: #94a3b8;
    }

    /* concept-highlight 样式已移至 src/input.css */

    .role-highlight {
        color: #f8fafc;
        background: linear-gradient(135deg, #334155 0%, #475569 100%);
    }
}

/* 减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
    .hero-intro-text span {
        transition: none;
    }

    .role-highlight {
        transition: none;
    }
}

/* =====================================
   关键词突出显示系统（保留原有）
   ===================================== */

/* 姓名突出显示 */
.text-highlight-name {
    position: relative;
    display: inline-block;
    transition: var(--transition-medium);
    cursor: default;
    padding: 0.25rem 0.5rem;
    border-radius: 0.5rem;
    margin: 0 0.125rem;
}

.text-highlight-name::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0.1;
    border-radius: 0.5rem;
    transition: var(--transition-medium);
    z-index: -1;
}

.text-highlight-name::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
    border-radius: 0.5rem;
    opacity: 0;
    transform: translateX(-100%);
    transition: all 0.8s ease-out;
    z-index: -1;
}

.text-highlight-name:hover {
    transform: translateY(-2px) scale(1.05);
    text-shadow: 0 4px 12px rgba(14, 165, 233, 0.4);
}

.text-highlight-name:hover::before {
    opacity: 0.2;
    transform: scale(1.1);
}

.text-highlight-name:hover::after {
    opacity: 1;
    transform: translateX(100%);
}

/* 角色突出显示 */
.text-highlight-role {
    position: relative;
    display: inline-block;
    transition: var(--transition-medium);
    cursor: default;
    padding: 0.25rem 0.5rem;
    border-radius: 0.5rem;
    margin: 0 0.125rem;
}

.text-highlight-role::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-accent);
    opacity: 0.1;
    border-radius: 0.5rem;
    transition: var(--transition-medium);
    z-index: -1;
}

.text-highlight-role::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
    border-radius: 0.5rem;
    opacity: 0;
    transform: translateX(-100%);
    transition: all 0.8s ease-out;
    z-index: -1;
}

.text-highlight-role:hover {
    transform: translateY(-2px) scale(1.05);
    text-shadow: 0 4px 12px rgba(14, 165, 233, 0.4);
}

.text-highlight-role:hover::before {
    opacity: 0.2;
    transform: scale(1.1);
}

.text-highlight-role:hover::after {
    opacity: 1;
    transform: translateX(100%);
}

/* 关键词发光动画 */
@keyframes highlightGlow {
    0%,
    100% {
        text-shadow: 0 0 5px rgba(14, 165, 233, 0.3);
    }
    50% {
        text-shadow:
            0 0 20px rgba(14, 165, 233, 0.6),
            0 0 30px rgba(14, 165, 233, 0.4);
    }
}

.text-highlight-name,
.text-highlight-role {
    animation: highlightGlow 3s ease-in-out infinite;
}

.text-highlight-name:hover,
.text-highlight-role:hover {
    animation: highlightGlow 1s ease-in-out infinite;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .text-highlight-name,
    .text-highlight-role {
        padding: 0.1875rem 0.375rem;
        margin: 0 0.0625rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .text-highlight-name,
    .text-highlight-role {
        animation: none !important;
    }

    .text-highlight-name:hover,
    .text-highlight-role:hover {
        animation: none !important;
        transform: none !important;
    }
}

/* 紧凑技能布局样式 */
.compact-skills-container {
    background: var(--bg-card);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
}

/* 技能分类标签 */
.skills-category-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.skill-tab {
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--border-light);
    border-radius: 2rem;
    background: var(--bg-secondary);
    color: var(--color-text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.skill-tab:hover {
    background: var(--primary-50);
    border-color: var(--primary-200);
    color: var(--primary-600);
    transform: translateY(-2px);
}

.skill-tab.active {
    background: var(--primary-500);
    border-color: var(--primary-500);
    color: white;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

/* 紧凑技能网格 */
.compact-skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.skill-item-compact {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

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

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

.skill-item-compact:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-200);
}

/* 技能图标 */
.skill-icon-compact {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

/* AI技能样式 */
.ai-skill .skill-icon-compact {
    background: linear-gradient(135deg, var(--primary-100), var(--accent-ice));
    color: var(--primary-600);
}

.ai-skill:hover .skill-icon-compact {
    background: linear-gradient(135deg, var(--primary-200), var(--primary-100));
    transform: scale(1.1);
}

/* 数据技能样式 */
.data-skill .skill-icon-compact {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #059669;
}

.data-skill:hover .skill-icon-compact {
    background: linear-gradient(135deg, #86efac, #d1fae5);
    transform: scale(1.1);
}

/* 产品技能样式 */
.product-skill .skill-icon-compact {
    background: linear-gradient(135deg, #e9d5ff, #ddd6fe);
    color: #7c3aed;
}

.product-skill:hover .skill-icon-compact {
    background: linear-gradient(135deg, #c4b5fd, #e9d5ff);
    transform: scale(1.1);
}

/* 技能名称 */
.skill-name-compact {
    font-weight: 500;
    color: var(--color-text-primary);
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.skill-item-compact:hover .skill-name-compact {
    color: var(--primary-600);
}

/* 技能统计概览 */
.skills-overview {
    border-top: 1px solid var(--border-light);
    padding-top: 2rem;
}

.overview-item {
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 0.75rem;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.overview-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.overview-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-500);
    margin-bottom: 0.5rem;
}

.overview-label {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .compact-skills-container {
        padding: 1.5rem;
    }

    .compact-skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 0.75rem;
    }

    .skill-item-compact {
        padding: 0.75rem 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .skills-category-tabs {
        gap: 0.25rem;
    }

    .skill-tab {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

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

@media (max-width: 480px) {
    .compact-skills-grid {
        grid-template-columns: 1fr;
    }

    .skill-item-compact {
        flex-direction: row;
        text-align: left;
    }
}

/* 技能过滤动画 */
.skill-item-compact {
    opacity: 1;
    transform: scale(1);
    transition: all 0.3s ease;
}

.skill-item-compact.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

/* 技能标签悬停效果 */
.skill-item-compact[data-category='ai']:hover {
    border-color: var(--primary-300);
    background: var(--primary-50);
}

.skill-item-compact[data-category='data']:hover {
    border-color: #10b981;
    background: #f0fdf4;
}

.skill-item-compact[data-category='product']:hover {
    border-color: #8b5cf6;
    background: #faf5ff;
}

/* 统计卡片优化 */
.profile-stats-grid {
    gap: 2rem;
}

.profile-stat-card {
    background: var(--bg-card);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: all 0.3s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.profile-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.profile-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* 个人档案说明文字 */
.profile-stats-note {
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 1rem;
    border: 1px dashed var(--border-light);
}

.profile-stats-note p {
    margin: 0;
    font-style: italic;
    color: var(--color-text-muted);
}

/* 教育信息卡片特殊样式 */
.education-card .stat-icon-wrapper {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 1px solid #f59e0b;
}

.education-card .stat-icon {
    color: #d97706;
}

.education-card:hover {
    border-color: #f59e0b;
}

/* 个人档案卡片优化布局 */
.profile-cards-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* 主要信息卡片网格布局 */
.main-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* 个人档案卡片基础样式 */
.profile-stat-card {
    background: linear-gradient(135deg, var(--bg-card), rgba(255, 255, 255, 0.8));
    border-radius: 1.25rem;
    padding: 1.75rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-light);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.profile-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.profile-stat-card:hover::before {
    transform: scaleX(1);
}

.profile-stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-200);
}

/* 图标容器优化 */
.stat-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 1.25rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-100), var(--accent-ice));
    border: 1px solid var(--primary-200);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.profile-stat-card:hover .stat-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.3);
}

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

.profile-stat-card:hover .stat-icon-wrapper::before {
    left: 100%;
}

.stat-icon {
    width: 2rem;
    height: 2rem;
    color: var(--primary-600);
    transition: all 0.3s ease;
}

/* 内容区域优化 */
.stat-content {
    text-align: left;
}

.stat-number-wrapper {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.stat-number,
.stat-text {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1;
    color: var(--primary-600);
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

.stat-unit {
    font-family: var(--font-primary);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--color-text-muted);
}

.stat-label {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.stat-description {
    font-family: var(--font-primary);
    font-size: var(--text-sm);
    font-weight: 500;
    line-height: 1.6;
    color: var(--color-text-muted);
    transition: color 0.3s ease;
}

.profile-stat-card:hover .stat-label {
    color: var(--primary-600);
}

.profile-stat-card:hover .stat-description {
    color: var(--color-text-secondary);
}

/* 教育信息卡片 - 重点凸显 */
.education-card-featured {
    background: linear-gradient(135deg, #fef7ee, #fef3c7);
    border: 2px solid #f59e0b;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(245, 158, 11, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.education-card-featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #f59e0b, #fbbf24, #f59e0b);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.education-card-featured:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 16px 48px rgba(245, 158, 11, 0.3);
    border-color: #d97706;
}

/* 教育卡片头部 */
.education-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(245, 158, 11, 0.2);
}

.education-title {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 800;
    color: #92400e;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.education-badge {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    font-size: var(--text-sm);
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* 教育内容区域 */
.education-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.education-item {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 1rem;
    border: 1px solid rgba(245, 158, 11, 0.2);
    transition: all 0.3s ease;
}

.education-item:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateX(8px);
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.15);
}

.education-level {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.level-badge {
    font-size: var(--text-sm);
    font-weight: 700;
    padding: 0.375rem 0.75rem;
    border-radius: 1rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.level-badge.undergraduate {
    background: linear-gradient(135deg, #10b981, #059669);
}

.level-badge.graduate {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.school-name {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 700;
    color: #92400e;
}

.major-info {
    font-size: var(--text-base);
    color: #a16207;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.achievement-badge {
    display: inline-block;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
    font-size: var(--text-xs);
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.education-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.4), transparent);
    margin: 0.5rem 0;
}

/* 响应式设计优化 - 紧凑布局 */
@media (max-width: 768px) {
    .main-cards-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .education-card-blue {
        padding: 1.25rem;
        margin-bottom: 1rem;
        border-radius: 1rem;
    }

    .education-card-blue .education-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        margin-bottom: 0.75rem;
    }

    .education-card-blue .education-content {
        gap: 0.75rem;
    }

    .education-card-blue .education-item {
        padding: 0.5rem;
        border-radius: 0.5rem;
    }

    .education-card-blue .education-title {
        font-size: var(--text-lg);
    }

    .education-card-featured {
        padding: 1.25rem;
    }

    .education-card-featured .education-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .education-card-featured .education-content {
        gap: 0.75rem;
    }
}

@media (min-width: 1024px) {
    .main-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .education-card-blue {
        margin-bottom: 1.5rem;
        padding: 1.75rem;
    }

    .education-card-featured {
        margin-top: 1rem;
    }
}

/* 超大屏幕优化 */
@media (min-width: 1280px) {
    .education-card-blue {
        padding: 2rem;
        margin-bottom: 2rem;
    }

    .education-card-blue .education-content {
        gap: 1.25rem;
    }

    .education-card-blue .education-item {
        padding: 1rem;
    }
}

/* 增强动画效果 */
.profile-stat-card {
    animation: fadeInUp 0.6s ease-out;
}

.profile-stat-card:nth-child(1) {
    animation-delay: 0.1s;
}
.profile-stat-card:nth-child(2) {
    animation-delay: 0.2s;
}
.profile-stat-card:nth-child(3) {
    animation-delay: 0.3s;
}
.profile-stat-card:nth-child(4) {
    animation-delay: 0.4s;
}

.education-card-featured {
    animation: fadeInUp 0.6s ease-out 0.5s both;
}

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

/* 悬停时的微交互 */
.profile-stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
}

.profile-stat-card:hover .stat-number,
.profile-stat-card:hover .stat-text {
    transform: scale(1.05);
}

/* 教育卡片的特殊效果 */
.education-card-featured:hover .education-badge {
    animation: bounce 0.6s ease-in-out;
}

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

/* 加载时的数字动画 */
.stat-number[data-target] {
    transition: all 0.8s ease-out;
}

/* 深色模式适配 */
@media (prefers-color-scheme: dark) {
    .profile-stat-card {
        background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(51, 65, 85, 0.6));
        border-color: rgba(148, 163, 184, 0.2);
    }

    .education-card-featured {
        background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(51, 65, 85, 0.7));
        border-color: #f59e0b;
    }

    .education-item {
        background: rgba(51, 65, 85, 0.4);
        border-color: rgba(245, 158, 11, 0.3);
    }
}

/* 教育信息卡片 - 蓝色系配色 */
.education-card-blue {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border: 2px solid #3b82f6;
    border-radius: 1.25rem;
    padding: 1.5rem;
    box-shadow: 0 6px 24px rgba(59, 130, 246, 0.15);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-bottom: 1.5rem;
}

.education-card-blue::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa, #3b82f6);
    animation: shimmer 2s infinite;
}

.education-card-blue:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 12px 36px rgba(59, 130, 246, 0.25);
    border-color: #2563eb;
}

/* 教育卡片头部 - 优化间距 */
.education-card-blue .education-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(59, 130, 246, 0.2);
}

.education-card-blue .education-title {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 800;
    color: #1e40af;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* 教育内容区域 - 优化间距 */
.education-card-blue .education-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.education-card-blue .education-item {
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 0.75rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

/* 紧凑布局优化 - 减少不必要的空白 */
.education-card-blue .education-item:last-child {
    margin-bottom: 0;
}

.education-card-blue .education-item:first-child {
    margin-top: 0;
}

.education-card-blue .education-item:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateX(6px);
    box-shadow: 0 3px 12px rgba(59, 130, 246, 0.15);
}

.education-card-blue .education-level {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.education-card-blue .level-badge {
    font-size: var(--text-xs);
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 0.75rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.25px;
}

.education-card-blue .level-badge.undergraduate {
    background: linear-gradient(135deg, #10b981, #059669);
}

.education-card-blue .level-badge.graduate {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.education-card-blue .school-name {
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 700;
    color: #1e40af;
}

.education-card-blue .major-info {
    font-size: var(--text-sm);
    color: #1d4ed8;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.education-card-blue .achievement-badge {
    display: inline-block;
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    color: white;
    font-size: var(--text-xs);
    font-weight: 700;
    padding: 0.125rem 0.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 4px rgba(59, 130, 246, 0.3);
}

.education-card-blue .education-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), transparent);
    margin: 0.25rem 0;
}

.education-card-featured {
    animation: fadeInUp 0.6s ease-out 0.5s both;
}

.education-card-blue {
    animation: fadeInUp 0.5s ease-out 0.1s both;
}

/* 紧凑动画优化 */
.education-card-blue .education-item {
    animation: fadeInUp 0.4s ease-out;
}

.education-card-blue .education-item:nth-child(1) {
    animation-delay: 0.2s;
}
.education-card-blue .education-item:nth-child(2) {
    animation-delay: 0.3s;
}

/* ===== 新增优化样式 ===== */

/* 1. 图片展示效果优化 */
.profile-image-container {
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.profile-image-container:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.profile-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
    transition: all 0.6s ease;
}

.profile-image-container:hover .profile-image {
    transform: scale(1.05);
}

/* 移除渐变遮罩和装饰边框效果 */

/* 2. 教育卡片增强样式 */
.education-card-enhanced {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border: 2px solid #cbd5e1;
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-bottom: 0;
    width: 100%;
    max-width: 480px;
}

.education-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
    transform: scaleX(0);
    transition: transform 0.6s ease;
}

.education-card-enhanced:hover::before {
    transform: scaleX(1);
}

.education-card-enhanced:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-color: #3b82f6;
}

.education-card-enhanced .education-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(59, 130, 246, 0.2);
}

.education-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 1rem;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
}

.education-icon-svg {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
}

.education-card-enhanced .education-title {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 800;
    color: #1e293b;
    margin: 0;
    text-align: center;
}

.education-card-enhanced .education-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.education-item.enhanced {
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 1rem;
    border: 1px solid rgba(59, 130, 246, 0.15);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
    width: 100%;
    min-width: 280px;
}

.education-item.enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    transform: scaleY(0);
    transition: transform 0.4s ease;
}

.education-item.enhanced:hover::before {
    transform: scaleY(1);
}

.education-item.enhanced:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateX(8px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

.education-item.enhanced .education-level {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.education-item.enhanced .level-badge {
    font-size: var(--text-sm);
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.education-item.enhanced .level-badge.undergraduate {
    background: linear-gradient(135deg, #10b981, #059669);
}

.education-item.enhanced .level-badge.graduate {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.education-item.enhanced .school-name {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    color: #1e293b;
}

.education-item.enhanced .major-info {
    font-size: var(--text-lg);
    color: #475569;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.education-item.enhanced .education-year {
    font-size: var(--text-base);
    color: #64748b;
    font-weight: 500;
    font-style: italic;
}

.education-item.enhanced .achievement-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    font-size: var(--text-sm);
    font-weight: 700;
    padding: 0.375rem 0.875rem;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
    margin-top: 0.5rem;
}

.education-card-enhanced .education-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.4), transparent);
    margin: 0.5rem 0;
}

/* 3. 其他卡片增强样式 */
.profile-stat-card.enhanced {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.8));
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.2);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.profile-stat-card.enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
    transform: scaleX(0);
    transition: transform 0.6s ease;
}

.profile-stat-card.enhanced:hover::before {
    transform: scaleX(1);
}

.profile-stat-card.enhanced:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

.stat-icon-wrapper.enhanced {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 1.5rem;
    margin-bottom: 1.75rem;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border: 2px solid rgba(59, 130, 246, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-icon-wrapper.enhanced:hover {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    border-color: rgba(59, 130, 246, 0.4);
}

.stat-icon-wrapper.enhanced .stat-icon {
    width: 2rem;
    height: 2rem;
    color: #1e40af;
    z-index: 2;
    position: relative;
}

.icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-icon-wrapper.enhanced:hover .icon-glow {
    opacity: 1;
}

/* 4. 响应式优化 */
@media (max-width: 768px) {
    .profile-image-container {
        border-radius: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .education-card-enhanced {
        padding: 1.25rem;
        margin-bottom: 1.25rem;
    }

    .education-card-enhanced .education-title {
        font-size: var(--text-2xl);
    }

    .education-item.enhanced .school-name {
        font-size: var(--text-lg);
    }

    .education-item.enhanced .major-info {
        font-size: var(--text-base);
    }

    .profile-stat-card.enhanced {
        padding: 1.5rem;
    }

    .stat-icon-wrapper.enhanced {
        width: 4rem;
        height: 4rem;
        margin-bottom: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .profile-cards-container {
        gap: 2.5rem;
    }

    .main-cards-grid {
        gap: 2rem;
    }
}

/* 5. 动画增强 */
.education-card-enhanced {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.education-item.enhanced {
    animation: fadeInUp 0.5s ease-out;
}

.education-item.enhanced:nth-child(1) {
    animation-delay: 0.3s;
}
.education-item.enhanced:nth-child(2) {
    animation-delay: 0.4s;
}

.profile-stat-card.enhanced {
    animation: fadeInUp 0.6s ease-out;
}

.profile-stat-card.enhanced:nth-child(1) {
    animation-delay: 0.1s;
}
.profile-stat-card.enhanced:nth-child(2) {
    animation-delay: 0.2s;
}
.profile-stat-card.enhanced:nth-child(3) {
    animation-delay: 0.3s;
}
.profile-stat-card.enhanced:nth-child(4) {
    animation-delay: 0.4s;
}

/* ===== 新增布局优化样式 ===== */

/* 1. Hero区域布局优化 */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.03), rgba(147, 51, 234, 0.03));
    border-radius: 50%;
    transform: rotate(15deg);
    z-index: -1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
    position: relative;
}

/* 2. 图片区域优化 */
.hero-image-section {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.profile-image-container {
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-width: 400px;
    width: 100%;
}

.profile-image-container:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.profile-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
    transition: all 0.6s ease;
}

.profile-image-container:hover .profile-image {
    transform: scale(1.05);
}

.image-decoration-line {
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.profile-image-container:hover .image-decoration-line {
    opacity: 1;
}

/* 3. 内容区域优化 */
.hero-content-section {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding-top: 1rem;
}

.hero-content-wrapper {
    width: 100%;
}

.about-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--color-text-primary);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #1e293b, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.about-hero-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 4rem;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 2px;
}

.hero-subtitle {
    font-size: var(--text-xl);
    color: var(--color-text-secondary);
    margin-bottom: 3rem;
    font-weight: 500;
    line-height: 1.6;
    max-width: 896px; /* 对应Tailwind的max-w-4xl (56rem) */
}

/* 4. 卡片容器优化 */
.profile-cards-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

/* 5. 响应式优化 */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-image-section {
        order: 1;
        justify-content: center;
    }

    .hero-content-section {
        order: 2;
        align-items: center;
        text-align: center;
    }

    .about-hero-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

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

    .profile-cards-container {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .hero-section {
        margin-bottom: 3rem;
    }

    .hero-grid {
        gap: 2rem;
    }

    .profile-image-container {
        max-width: 300px;
    }

    .about-hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: var(--text-lg);
        margin-bottom: 2rem;
    }

    .profile-cards-container {
        gap: 1.5rem;
    }
}

@media (min-width: 1280px) {
    .hero-grid {
        gap: 5rem;
    }

    .profile-image-container {
        max-width: 450px;
    }

    .about-hero-title {
        font-size: 4.5rem;
    }

    .hero-subtitle {
        font-size: var(--text-2xl);
    }
}

/* 6. 动画优化 */
.hero-section {
    animation: fadeInUp 0.8s ease-out;
}

.hero-image-section {
    animation: fadeInLeft 0.8s ease-out 0.2s both;
}

.hero-content-section {
    animation: fadeInRight 0.8s ease-out 0.4s both;
}

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

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

/* 7. 视觉增强 */
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

/* ===== 项目经历板块样式 ===== */

/* 1. 板块标题样式 */
.section-header {
    position: relative;
    margin-bottom: 4rem;
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    margin-top: 1rem;
    font-weight: 500;
    opacity: 0.8;
}

/* 2. 项目网格布局 */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
    max-width: 100%;
}

/* 3. 项目卡片样式 */
.project-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.9));
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
    transform: scaleX(0);
    transition: transform 0.6s ease;
}

.project-card:hover::before {
    transform: scaleX(1);
}

.project-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

/* 4. 项目卡片头部 */
.project-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.project-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 1rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.project-card:hover .project-icon {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    border-color: rgba(59, 130, 246, 0.4);
    transform: scale(1.1);
}

.project-icon-svg {
    width: 1.75rem;
    height: 1.75rem;
    color: #1e40af;
}

.project-meta {
    flex: 1;
    min-width: 0;
}

.project-title {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.project-role {
    display: inline-block;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    color: #475569;
    font-size: var(--text-sm);
    font-weight: 600;
    padding: 0.375rem 0.75rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
}

/* 5. 项目内容 */
.project-content {
    position: relative;
}

.project-description {
    font-size: var(--text-base);
    color: #475569;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.project-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 0.75rem;
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(59, 130, 246, 0.2);
    transform: translateX(4px);
}

.highlight-label {
    font-size: var(--text-sm);
    font-weight: 600;
    color: #64748b;
    min-width: 4rem;
    flex-shrink: 0;
}

.highlight-value {
    font-size: var(--text-sm);
    font-weight: 500;
    color: #1e293b;
    flex: 1;
}

/* 6. 响应式设计 */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
        gap: 1.5rem;
    }

    .project-card {
        padding: 1.75rem;
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-card {
        padding: 1.5rem;
    }

    .project-title {
        font-size: var(--text-lg);
    }

    .project-icon {
        width: 3rem;
        height: 3rem;
    }

    .project-icon-svg {
        width: 1.5rem;
        height: 1.5rem;
    }

    .section-header {
        margin-bottom: 3rem;
    }
}

@media (min-width: 1280px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
        gap: 2.5rem;
    }

    .project-card {
        padding: 2.5rem;
    }
}

/* 7. 动画效果 */
.project-card {
    animation: fadeInUp 0.6s ease-out;
}

.project-card:nth-child(1) {
    animation-delay: 0.1s;
}
.project-card:nth-child(2) {
    animation-delay: 0.2s;
}
.project-card:nth-child(3) {
    animation-delay: 0.3s;
}
.project-card:nth-child(4) {
    animation-delay: 0.4s;
}
.project-card:nth-child(5) {
    animation-delay: 0.5s;
}

/* 8. 悬停微交互 */
.project-card:hover .project-icon-svg {
    transform: scale(1.1);
}

.highlight-item:hover .highlight-value {
    color: #1e40af;
    font-weight: 600;
}

/* 9. 深色模式适配 */
@media (prefers-color-scheme: dark) {
    .project-card {
        background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(51, 65, 85, 0.6));
        border-color: rgba(148, 163, 184, 0.2);
    }

    .project-title {
        color: #f1f5f9;
    }

    .project-role {
        background: linear-gradient(135deg, #374151, #4b5563);
        color: #d1d5db;
        border-color: rgba(75, 85, 99, 0.3);
    }

    .project-description {
        color: #d1d5db;
    }

    .highlight-item {
        background: rgba(51, 65, 85, 0.4);
        border-color: rgba(59, 130, 246, 0.2);
    }

    .highlight-item:hover {
        background: rgba(51, 65, 85, 0.6);
    }

    .highlight-label {
        color: #9ca3af;
    }

    .highlight-value {
        color: #f1f5f9;
    }
}

/* ===== Hero CTA按钮样式 ===== */

/* 1. 按钮容器 */
.hero-cta-container {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 3s both;
}

/* 2. 主按钮样式 */
.hero-cta-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6, #ec4899);
    border-radius: 2rem;
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: var(--text-lg);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.3);
    border: none;
    cursor: pointer;
    min-width: 280px;
}

.hero-cta-button:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 16px 48px rgba(59, 130, 246, 0.4);
    text-decoration: none;
    color: white;
}

.hero-cta-button:active {
    transform: translateY(-2px) scale(1.01);
}

/* 3. 按钮内容 */
.button-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    z-index: 2;
}

.button-icon {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.3s ease;
}

.button-text {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: 0.025em;
}

.button-arrow {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.3s ease;
}

/* 4. 悬停效果 */
.hero-cta-button:hover .button-icon {
    transform: scale(1.1) rotate(-5deg);
}

.hero-cta-button:hover .button-arrow {
    transform: translateX(4px) scale(1.1);
}

/* 5. 发光效果 */
.button-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.6s ease;
    border-radius: 50%;
    pointer-events: none;
}

.hero-cta-button:hover .button-glow {
    transform: translate(-50%, -50%) scale(1.5);
}

/* 6. 边框装饰 */
.button-border {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6, #ec4899, #f59e0b);
    border-radius: 2rem;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    background-size: 400% 400%;
    animation: gradientShift 3s ease infinite;
}

.hero-cta-button:hover .button-border {
    opacity: 1;
}

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

/* 7. 点击波纹效果 */
.hero-cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition:
        width 0.6s ease,
        height 0.6s ease;
}

.hero-cta-button:active::before {
    width: 300px;
    height: 300px;
}

/* 8. 响应式设计 */
@media (max-width: 768px) {
    .hero-cta-container {
        margin-top: 2rem;
    }

    .hero-cta-button {
        padding: 0.875rem 1.75rem;
        font-size: var(--text-base);
        min-width: 260px;
    }

    .button-content {
        gap: 0.5rem;
    }

    .button-icon,
    .button-arrow {
        width: 1.125rem;
        height: 1.125rem;
    }
}

@media (max-width: 480px) {
    .hero-cta-button {
        padding: 0.75rem 1.5rem;
        min-width: 240px;
        font-size: var(--text-sm);
    }

    .button-text {
        font-size: var(--text-sm);
    }
}

@media (min-width: 1024px) {
    .hero-cta-container {
        margin-top: 3rem;
    }

    .hero-cta-button {
        padding: 1.125rem 2.25rem;
        font-size: var(--text-xl);
        min-width: 300px;
    }
}

/* 9. 深色模式适配 */
@media (prefers-color-scheme: dark) {
    .hero-cta-button {
        background: linear-gradient(135deg, #1e40af, #7c3aed, #be185d);
        box-shadow: 0 8px 32px rgba(30, 64, 175, 0.4);
    }

    .hero-cta-button:hover {
        box-shadow: 0 16px 48px rgba(30, 64, 175, 0.5);
    }

    .button-border {
        background: linear-gradient(135deg, #1e40af, #7c3aed, #be185d, #d97706);
    }
}

/* 10. 焦点状态（无障碍访问） */
.hero-cta-button:focus {
    outline: none;
    box-shadow:
        0 0 0 3px rgba(59, 130, 246, 0.5),
        0 8px 32px rgba(59, 130, 246, 0.3);
}

.hero-cta-button:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* 页面导览组件样式 */
.page-navigation {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 1000;
    font-family: 'Inter', sans-serif;
}

.navigation-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.3);
    transition: all 0.3s var(--ease-spring);
    backdrop-filter: blur(10px);
}

.navigation-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4);
    background: linear-gradient(135deg, #0284c7, #0369a1);
}

.navigation-toggle.active {
    background: linear-gradient(135deg, #0369a1, #0c4a6e);
    transform: scale(1.05);
}

.toggle-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.3s var(--ease-spring);
}

.navigation-toggle.active .toggle-icon {
    transform: rotate(180deg);
}

.toggle-text {
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
}

.navigation-content {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 280px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.3s var(--ease-spring);
    overflow: hidden;
}

.navigation-content.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.navigation-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 16px;
    border-bottom: 1px solid rgba(14, 165, 233, 0.1);
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.05), rgba(14, 165, 233, 0.02));
}

.navigation-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.navigation-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(14, 165, 233, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s var(--ease-spring);
}

.navigation-close:hover {
    background: rgba(14, 165, 233, 0.2);
    transform: scale(1.1);
}

.close-icon {
    width: 16px;
    height: 16px;
    color: #0ea5e9;
}

.navigation-links {
    padding: 16px 0;
}

.navigation-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s var(--ease-spring);
    border-left: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.navigation-link:hover {
    background: rgba(14, 165, 233, 0.05);
    color: #0ea5e9;
    border-left-color: #0ea5e9;
    transform: translateX(4px);
}

.navigation-link.active {
    background: rgba(14, 165, 233, 0.1);
    color: #0ea5e9;
    border-left-color: #0ea5e9;
    font-weight: 600;
}

.navigation-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.05), transparent);
    transition: left 0.6s var(--ease-out-expo);
}

.navigation-link:hover::before {
    left: 100%;
}

.link-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform 0.2s var(--ease-spring);
}

.navigation-link:hover .link-icon {
    transform: scale(1.1);
}

.navigation-link span {
    font-size: 14px;
    font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .page-navigation {
        top: 80px;
        right: 15px;
    }

    .navigation-toggle {
        padding: 10px 14px;
    }

    .toggle-text {
        display: none;
    }

    .navigation-content {
        width: 260px;
        right: -10px;
    }

    .navigation-link {
        padding: 12px 16px;
    }
}

@media (max-width: 480px) {
    .page-navigation {
        top: 70px;
        right: 10px;
    }

    .navigation-content {
        width: 240px;
        right: -15px;
    }
}

/* 优化后的个人介绍区域布局样式 */
.hero-layout-optimized {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 100%;
    margin: 0 auto;
}

.hero-header-section {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem 0;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.03), rgba(14, 165, 233, 0.01));
    border-radius: 20px;
    border: 1px solid rgba(14, 165, 233, 0.08);
}

.about-hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    background: linear-gradient(135deg, #0ea5e9, #0284c7, #0369a1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1.2;
    position: relative;
}

.about-hero-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #0ea5e9, #0284c7);
    border-radius: 2px;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: #64748b;
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.hero-main-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: stretch;
}

.hero-top-row {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: center;
    justify-items: center;
}

.hero-image-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    width: 100%;
    max-width: 350px;
}

.profile-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-image-container {
    position: relative;
    width: 320px;
    height: 320px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.15);
    transition: all 0.4s var(--ease-spring);
}

.profile-image-container:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 60px rgba(14, 165, 233, 0.25);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s var(--ease-spring);
}

.profile-image-container:hover .profile-image {
    transform: scale(1.05);
}

.hero-education-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    width: 100%;
    max-width: 500px;
}

.hero-bottom-row {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.education-card-enhanced {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(14, 165, 233, 0.03));
    border: 1px solid rgba(14, 165, 233, 0.15);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(14, 165, 233, 0.1);
    transition: all 0.3s var(--ease-spring);
    backdrop-filter: blur(10px);
}

.education-card-enhanced:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(14, 165, 233, 0.15);
    border-color: rgba(14, 165, 233, 0.25);
}

.education-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.education-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.3);
}

.education-icon-svg {
    width: 24px;
    height: 24px;
    color: white;
}

.education-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.education-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.education-item.enhanced {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    border: 1px solid rgba(14, 165, 233, 0.1);
    transition: all 0.2s var(--ease-spring);
}

.education-item.enhanced:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(14, 165, 233, 0.2);
    transform: translateX(4px);
}

.education-level {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.level-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.level-badge.undergraduate {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.level-badge.graduate {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
}

.school-name {
    font-weight: 600;
    color: #1e293b;
    font-size: 1rem;
}

.major-info {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.education-year {
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 500;
}

.achievement-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.education-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.2), transparent);
    margin: 0.5rem 0;
}

.stats-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    width: 100%;
    max-width: 900px;
}

.profile-stat-card.enhanced {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(14, 165, 233, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.08);
    transition: all 0.3s var(--ease-spring);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.profile-stat-card.enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0ea5e9, #0284c7);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out-expo);
}

.profile-stat-card.enhanced:hover::before {
    transform: scaleX(1);
}

.profile-stat-card.enhanced:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(14, 165, 233, 0.15);
    border-color: rgba(14, 165, 233, 0.2);
}

.stat-icon-wrapper.enhanced {
    position: relative;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(14, 165, 233, 0.05));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.3s var(--ease-spring);
}

.profile-stat-card.enhanced:hover .stat-icon-wrapper.enhanced {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(14, 165, 233, 0.08));
    transform: scale(1.1);
}

.stat-icon {
    width: 28px;
    height: 28px;
    color: #0ea5e9;
    transition: all 0.3s var(--ease-spring);
}

.profile-stat-card.enhanced:hover .stat-icon {
    color: #0284c7;
    transform: scale(1.1);
}

.icon-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.2), transparent);
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.3s var(--ease-spring);
}

.profile-stat-card.enhanced:hover .icon-glow {
    opacity: 1;
}

.stat-content {
    text-align: center;
}

.stat-number-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #0ea5e9;
    line-height: 1;
}

.stat-unit {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 600;
}

.stat-label {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.stat-description {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* 响应式设计优化 */
@media (max-width: 1024px) {
    .hero-main-content {
        gap: 2rem;
    }

    .hero-top-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-image-section,
    .hero-education-section {
        padding: 0.5rem;
    }

    .stats-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .hero-layout-optimized {
        gap: 2rem;
    }

    .hero-header-section {
        padding: 1.5rem 0;
        margin-bottom: 1.5rem;
    }

    .hero-top-row {
        gap: 1.5rem;
    }

    .stats-cards-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 400px;
    }

    .profile-image-container {
        width: 280px;
        height: 280px;
    }

    .education-card-enhanced {
        padding: 1.25rem;
    }

    .profile-stat-card.enhanced {
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {
    .hero-header-section {
        padding: 1rem 0;
        margin-bottom: 1rem;
    }

    .profile-image-container {
        width: 240px;
        height: 240px;
    }

    .education-card-enhanced {
        padding: 1rem;
    }

    .profile-stat-card.enhanced {
        padding: 1rem;
    }

    .stats-cards-grid {
        gap: 0.75rem;
    }
}
