/* 本地字体引用 - 优化版本 */
@font-face {
    font-family: 'Orbitron';
    font-style: normal;
    font-weight: 400;
    src: local('Orbitron'),
         url('fonts/Orbitron-Regular.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Orbitron';
    font-style: normal;
    font-weight: 500;
    src: local('Orbitron Medium'),
         url('fonts/Orbitron-Medium.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Orbitron';
    font-style: normal;
    font-weight: 700;
    src: local('Orbitron Bold'),
         url('fonts/Orbitron-Bold.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Orbitron';
    font-style: normal;
    font-weight: 900;
    src: local('Orbitron Black'),
         url('fonts/Orbitron-Black.woff2') format('woff2');
    font-display: swap;
}

:root {
    /* Core Academic Colors */
    --primary-color: #5B8FB9;
    --secondary-color: #7BA7CC;
    --accent-color: #4A90E2;
    --accent-hover: #3A7BC8;
    --dark-blue: #2C3E50;
    --light-gray: #F5F7FA;
    --soft-gray: #BDC3C7;
    --white: #FFFFFF;
    --text-dark: #2C3E50;
    --text-light: #7F8C8D;
    
    /* Subtle Anime-Inspired Gradients */
    --gradient-primary: linear-gradient(135deg, #5B8FB9 0%, #7BA7CC 100%);
    --gradient-accent: linear-gradient(135deg, #4A90E2 0%, #6BB6FF 100%);
    --gradient-cool: linear-gradient(135deg, #E8F4F8 0%, #D6E9F0 100%);
    --gradient-soft: linear-gradient(135deg, #F5F7FA 0%, #E8EEF2 100%);
    
    /* Dynamic Interactive Colors */
    --interactive-blue: #4A90E2;
    --interactive-cyan: #5DADE2;
    --interactive-teal: #48C9B0;
    --interactive-purple: #8E9FD9;
    
    /* Refined Shadows */
    --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-sm: 0 2px 8px rgba(91, 143, 185, 0.08);
    --shadow-md: 0 4px 16px rgba(91, 143, 185, 0.12);
    --shadow-lg: 0 8px 32px rgba(91, 143, 185, 0.15);
    --shadow-glow: 0 0 20px rgba(74, 144, 226, 0.15);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-elegant: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Orbitron', 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 无障碍访问：跳转到主内容链接 */
.skip-to-main {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 24px;
    text-decoration: none;
    font-weight: 500;
    z-index: 10000;
    border-radius: 0 0 8px 0;
    transition: top 0.3s ease;
}

.skip-to-main:focus {
    top: 0;
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: var(--shadow-subtle);
    z-index: 1000;
    animation: slideDown 0.6s ease-out;
    border-bottom: 1px solid rgba(91, 143, 185, 0.08);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Orbitron', 'Arial Black', 'Impact', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    object-fit: contain;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all var(--transition-smooth);
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: width var(--transition-smooth);
    border-radius: 2px;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--interactive-cyan);
    filter: blur(4px);
    opacity: 0;
    transition: all var(--transition-smooth);
}

.nav-menu a:hover {
    color: var(--interactive-blue);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a:hover::before {
    width: 100%;
    opacity: 0.6;
}

.nav-menu a.active {
    color: var(--accent-color);
}

.nav-menu a.active::after {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #F5F9FC 0%, #E8F4F8 50%, #DFF0F7 100%);
    z-index: -1;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(91, 143, 185, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(91, 143, 185, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 30s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(60px, 60px);
    }
}

.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--interactive-blue);
    border-radius: 50%;
    opacity: 0.15;
    animation: float 20s infinite ease-in-out;
    box-shadow: 0 0 8px rgba(74, 144, 226, 0.2);
    will-change: transform, opacity;
}

.particle:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    left: 80%;
    top: 40%;
    animation-delay: 2s;
}

.particle:nth-child(3) {
    left: 30%;
    top: 70%;
    animation-delay: 4s;
}

.particle:nth-child(4) {
    left: 70%;
    top: 80%;
    animation-delay: 6s;
}

.particle:nth-child(5) {
    left: 50%;
    top: 30%;
    animation-delay: 8s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(-20px) translateX(15px);
    }
    50% {
        transform: translateY(-40px) translateX(-15px);
    }
    75% {
        transform: translateY(-20px) translateX(10px);
    }
}

.hero-content {
    text-align: center;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(74, 144, 226, 0.3);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s both;
    box-shadow: 0 2px 12px rgba(74, 144, 226, 0.1);
    backdrop-filter: blur(10px);
    transition: all var(--transition-smooth);
}

.hero-badge:hover {
    border-color: var(--accent-color);
    box-shadow: 0 4px 20px rgba(74, 144, 226, 0.2);
    transform: translateY(-2px);
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.title-main {
    font-family: 'Orbitron', 'Arial Black', 'Impact', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #4A7BA7 0%, #5B8FB9 50%, #4A90E2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out 0.4s both, gradientShift 8s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Smooth performance optimization */
.hero-content,
.hero-background,
.floating-particles {
    will-change: transform, opacity;
}

/* Touch-friendly interactions */
@media (hover: none) and (pointer: coarse) {
    /* Remove hover-only effects on touch devices */
    .program-card:hover,
    .research-card:hover,
    .faculty-card:hover,
    .event-card:hover {
        transform: none;
    }
    
    /* Add tap feedback */
    .program-card:active,
    .research-card:active,
    .faculty-card:active,
    .event-card:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
    
    /* Simplify complex animations */
    .research-icon::before {
        display: none;
    }
    
    .degree-arrow {
        opacity: 1;
        transform: translateX(0);
    }
}

.title-sub {
    font-family: 'Orbitron', 'Arial Black', 'Impact', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 2px;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-mission {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 3rem;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    animation: fadeInUp 1s ease-out 1s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: 'Orbitron', 'Arial Black', 'Impact', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    transition: all var(--transition-smooth);
}

.stat-item:hover .stat-number {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(74, 144, 226, 0.3));
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* Section Styles */
section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: 'Orbitron', 'Arial Black', 'Impact', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.3);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-top: 1.5rem;
}

/* Programs Section */
.programs {
    background: var(--gradient-soft);
    position: relative;
}

.programs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(91, 143, 185, 0.1), transparent);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.program-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-subtle);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1.5px solid rgba(91, 143, 185, 0.1);
    will-change: transform, box-shadow;
    text-align: center;
}

.program-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(74, 144, 226, 0.3) 50%, 
        transparent 100%);
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-elegant);
}

.program-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top left, rgba(74, 144, 226, 0.03), transparent 60%);
    opacity: 0;
    transition: opacity var(--transition-elegant);
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(74, 144, 226, 0.15);
    border-color: rgba(74, 144, 226, 0.25);
}

.program-card:hover::before {
    transform: scaleX(1);
}

.program-card:hover::after {
    opacity: 1;
}

.program-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.08), rgba(93, 173, 226, 0.05));
    border-radius: 20px;
    border: 1.5px solid rgba(74, 144, 226, 0.15);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.08);
}

.program-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.2), rgba(93, 173, 226, 0.1));
    border-radius: 22px;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
    filter: blur(8px);
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.program-card:hover .program-icon {
    transform: translateY(-4px) scale(1.05);
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.12), rgba(93, 173, 226, 0.08));
    border-color: rgba(74, 144, 226, 0.3);
    box-shadow: 0 8px 20px rgba(74, 144, 226, 0.2);
}

.program-card:hover .program-icon::before {
    opacity: 1;
}

.program-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.program-card:hover .program-title {
    color: var(--accent-color);
}

.program-desc {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.program-meta {
    padding-top: 1rem;
    border-top: 1px solid rgba(91, 143, 185, 0.1);
    color: var(--text-light);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.program-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.degree-level {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 4px 8px;
    background: rgba(74, 144, 226, 0.06);
    border-radius: 12px;
    font-size: 0.85rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.degree-level::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: var(--gradient-accent);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.program-card:hover .degree-level {
    background: rgba(74, 144, 226, 0.12);
    transform: translateY(-2px);
}

.program-card:hover .degree-level::before {
    width: 100%;
}

.program-card:hover .degree-level {
    color: var(--white);
}

.degree-arrow {
    display: inline-block;
    font-size: 0.7rem;
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.program-card:hover .degree-arrow {
    opacity: 1;
    transform: translateX(0);
    animation: arrowBounce 1s ease-in-out infinite;
}

@keyframes arrowBounce {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(3px);
    }
}

.program-card:hover .program-meta {
    color: var(--interactive-blue);
}

/* Research Section */
/* Research Section */
.research {
    background: linear-gradient(135deg, 
        #F8FBFD 0%, 
        #F0F7FB 25%, 
        #E8F3F9 50%, 
        #F0F7FB 75%, 
        #F8FBFD 100%);
    position: relative;
    overflow: hidden;
}

.research::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(74, 144, 226, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(93, 173, 226, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(142, 159, 217, 0.02) 0%, transparent 60%);
    pointer-events: none;
}

.research::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(91, 143, 185, 0.1), transparent);
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.research-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-subtle);
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1.5px solid rgba(91, 143, 185, 0.1);
    will-change: transform, box-shadow;
}

.research-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.05) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--transition-elegant);
    pointer-events: none;
}

.research-card:hover::before {
    opacity: 1;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.research-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(74, 144, 226, 0.18);
    border-color: rgba(74, 144, 226, 0.25);
}

.research-visual {
    position: relative;
    margin-bottom: 1.5rem;
}

.research-icon {
    font-size: 4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 110px;
    height: 110px;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.06), rgba(142, 159, 217, 0.04));
    border-radius: 50%;
    border: 2px solid rgba(74, 144, 226, 0.12);
    position: relative;
    z-index: 1;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.08);
}

.research-icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.15), rgba(142, 159, 217, 0.1));
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
    filter: blur(12px);
}

.research-card:hover .research-icon {
    transform: scale(1.08);
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.1), rgba(142, 159, 217, 0.06));
    border-color: rgba(74, 144, 226, 0.25);
    box-shadow: 0 8px 24px rgba(74, 144, 226, 0.18);
}

.research-card:hover .research-icon::after {
    opacity: 1;
}

.research-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.2) 0%, rgba(93, 173, 226, 0.1) 40%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: blur(20px);
    pointer-events: none;
}

.research-card:hover .research-glow {
    opacity: 1;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

.research-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.research-card:hover h3 {
    color: var(--accent-color);
}

.research-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Faculty Section */
.faculty {
    background: var(--gradient-soft);
    position: relative;
}

.faculty::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(91, 143, 185, 0.1), transparent);
}

.faculty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.faculty-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-subtle);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    border: 1.5px solid rgba(91, 143, 185, 0.1);
    position: relative;
    overflow: hidden;
    will-change: transform, box-shadow;
    display: flex;
    flex-direction: column;
}

.faculty-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center top, rgba(74, 144, 226, 0.03), transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-elegant);
}

.faculty-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(91, 143, 185, 0.2);
    border-color: rgba(74, 144, 226, 0.2);
}

.faculty-card:hover::before {
    opacity: 1;
}

.faculty-avatar {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.avatar-circle {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(91, 143, 185, 0.12);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    border: 3px solid rgba(255, 255, 255, 0.8);
    margin-left: auto;
    margin-right: auto;
}

.avatar-circle::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: inherit;
    filter: blur(15px);
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.avatar-circle::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), transparent);
    opacity: 0.6;
    pointer-events: none;
}

.faculty-card:hover .avatar-circle {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(91, 143, 185, 0.25);
    border-color: rgba(255, 255, 255, 1);
}

.faculty-card:hover .avatar-circle::before {
    opacity: 0.7;
}

.avatar-initial {
    font-family: 'Orbitron', 'Arial Black', 'Impact', sans-serif;
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
}

.avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    z-index: 1;
}

.faculty-rank {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-accent);
    color: var(--white);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 10;
}

.faculty-card:hover .faculty-rank {
    box-shadow: var(--shadow-glow);
    transform: translateX(-50%) translateY(-2px);
}

.faculty-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.faculty-title {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.faculty-bio {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    min-height: 3.6em;
}

.faculty-tags {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: auto;
}

.tag {
    background: rgba(91, 143, 185, 0.08);
    color: var(--text-dark);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    transition: all var(--transition-smooth);
    border: 1px solid rgba(91, 143, 185, 0.1);
    position: relative;
    z-index: 1;
}

.tag:hover {
    background: var(--gradient-accent);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.3);
    transform: translateY(-2px);
}

/* Admissions Section */
/* Admissions Section */
.admissions {
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.admissions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(91, 143, 185, 0.1), transparent);
}

.admissions-content {
    max-width: 1100px;
    margin: 0 auto;
}

.admissions-steps {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    margin-bottom: 4rem;
    position: relative;
    padding: 2rem 0;
}

.step-card {
    flex: 1;
    text-align: center;
    padding: 2rem 1rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-subtle);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1.5px solid rgba(91, 143, 185, 0.1);
    will-change: transform, box-shadow;
}

.step-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: radial-gradient(circle at center, rgba(74, 144, 226, 0.03), transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-elegant);
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(91, 143, 185, 0.18);
    border-color: rgba(74, 144, 226, 0.25);
}

.step-card:hover::before {
    opacity: 1;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--gradient-accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: 'Orbitron', 'Arial Black', 'Impact', sans-serif;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-smooth);
    border: 2px solid var(--white);
}

.step-card:hover .step-number {
    transform: translateX(-50%) scale(1.15);
    box-shadow: var(--shadow-glow);
}

.step-icon {
    font-size: 3.5rem;
    margin: 1rem 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.06), rgba(93, 173, 226, 0.04));
    border-radius: 16px;
    border: 1.5px solid rgba(74, 144, 226, 0.12);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.06);
}

.step-card:hover .step-icon {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.1), rgba(93, 173, 226, 0.06));
    border-color: rgba(74, 144, 226, 0.25);
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(74, 144, 226, 0.15);
}

.step-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.step-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.step-connector {
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

.connector-line {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        rgba(74, 144, 226, 0.3) 0%, 
        rgba(74, 144, 226, 0.15) 100%);
    position: relative;
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.connector-line.active {
    transform: scaleX(1);
}

.connector-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) translateX(-10px);
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.4rem;
    font-weight: 700;
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.connector-arrow.active {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
    animation: arrowPulse 2s ease-in-out infinite;
}

@keyframes arrowPulse {
    0%, 100% {
        opacity: 0.6;
        transform: translateY(-50%) translateX(0);
    }
    50% {
        opacity: 1;
        transform: translateY(-50%) translateX(3px);
    }
}

.admissions-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.info-box {
    background: rgba(245, 247, 250, 0.8);
    padding: 2.5rem;
    border-radius: 20px;
    border-left: 3px solid transparent;
    border-image: var(--gradient-accent) 1;
    box-shadow: var(--shadow-subtle);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.info-box::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-accent);
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.08), rgba(93, 173, 226, 0.05));
    border-radius: 50%;
    border: 1.5px solid rgba(74, 144, 226, 0.15);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-box:hover {
    background: var(--white);
    box-shadow: 0 8px 32px rgba(91, 143, 185, 0.15);
    transform: translateY(-4px);
}

.info-box:hover::before {
    width: 5px;
}

.info-box:hover .info-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.12), rgba(93, 173, 226, 0.08));
    border-color: rgba(74, 144, 226, 0.25);
}

.info-box h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
    text-align: center;
}

.info-box ul {
    list-style: none;
}

.info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(91, 143, 185, 0.08);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 包含 info-label 和 info-value 的项目使用左右布局 */
.info-item:has(.info-label) {
    justify-content: space-between;
}

.info-box.visible .info-item {
    opacity: 1;
    transform: translateX(0);
}

.info-box.visible .info-item:nth-child(1) { transition-delay: 0.1s; }
.info-box.visible .info-item:nth-child(2) { transition-delay: 0.2s; }
.info-box.visible .info-item:nth-child(3) { transition-delay: 0.3s; }
.info-box.visible .info-item:nth-child(4) { transition-delay: 0.4s; }

.info-item:last-child {
    border-bottom: none;
}

.info-item:hover {
    background: rgba(74, 144, 226, 0.03);
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    margin: 0 -0.5rem;
    border-radius: 8px;
}

.info-label {
    font-weight: 600;
    color: var(--text-dark);
}

.info-value {
    color: var(--accent-color);
    font-weight: 700;
    font-family: 'Orbitron', 'Arial Black', 'Impact', sans-serif;
}

.requirement-icon {
    font-size: 1.2rem;
    margin-right: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.08), rgba(93, 173, 226, 0.05));
    border-radius: 8px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.info-item:hover .requirement-icon {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.15), rgba(93, 173, 226, 0.1));
    transform: scale(1.1);
}

.requirement-text {
    color: var(--text-light);
    line-height: 1.6;
    flex: 1;
    text-align: center;
}

/* Events Section */
.events {
    background: var(--gradient-soft);
    position: relative;
}

.events::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(91, 143, 185, 0.1), transparent);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.event-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-subtle);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    border: 1.5px solid rgba(91, 143, 185, 0.1);
    position: relative;
    will-change: transform, box-shadow;
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-accent);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform var(--transition-elegant);
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(91, 143, 185, 0.2);
    border-color: rgba(74, 144, 226, 0.25);
}

.event-card:hover::before {
    transform: scaleY(1);
}

.event-date {
    flex-shrink: 0;
    width: 85px;
    height: 85px;
    background: var(--gradient-accent);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 4px 16px rgba(74, 144, 226, 0.2);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.event-date::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.event-card:hover .event-date {
    transform: scale(1.08);
    box-shadow: 0 8px 28px rgba(74, 144, 226, 0.35);
    border-color: rgba(255, 255, 255, 0.4);
}

.event-card:hover .event-date::before {
    opacity: 1;
}

.date-day {
    font-family: 'Orbitron', 'Arial Black', 'Impact', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.date-month {
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 0.25rem;
}

.event-content {
    flex: 1;
}

.event-category {
    display: inline-block;
    background: rgba(74, 144, 226, 0.08);
    color: var(--accent-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(74, 144, 226, 0.15);
    transition: all var(--transition-smooth);
}

.event-card:hover .event-category {
    background: var(--gradient-accent);
    color: var(--white);
    border-color: transparent;
}

.event-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.event-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.event-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Footer */
.footer {
    background: var(--dark-blue);
    color: var(--white);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.05;
}

.footer-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

@media (min-width: 1200px) {
    .footer-content {
        grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Orbitron', 'Arial Black', 'Impact', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity var(--transition-smooth);
    border-radius: 50%;
}

.social-link:hover {
    transform: translateY(-4px);
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.4);
}

.social-link:hover::before {
    opacity: 1;
}

.social-link span {
    position: relative;
    z-index: 1;
}

.footer-links,
.footer-contact,
.footer-hours {
    list-style: none;
}

.footer-links li,
.footer-contact li,
.footer-hours li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 8px;
}

.footer-contact li,
.footer-hours li {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
    /* Tablet Styles */
    .container {
        padding: 0 30px;
    }
    
    .hero-title .title-main {
        font-size: 2.8rem;
    }
    
    .hero-title .title-sub {
        font-size: 1.2rem;
    }
    
    .hero-stats {
        gap: 2.5rem;
    }
    
    .programs-grid,
    .research-grid,
    .faculty-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .admissions-steps {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .step-card {
        flex: 1 1 calc(50% - 0.75rem);
        min-width: 200px;
    }
    
    .step-connector {
        display: none;
    }
    
    .admissions-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Mobile Styles */
    
    /* Navigation - Mobile Friendly */
    .navbar .container {
        flex-direction: column;
        padding: 1rem 20px;
        gap: 1rem;
    }
    
    .nav-brand {
        font-size: 1.3rem;
    }
    
    .logo-icon {
        width: 2rem;
        height: 2rem;
    }
    
    .nav-menu {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
        width: 100%;
    }
    
    .nav-menu li {
        flex: 0 0 auto;
    }
    
    .nav-menu a {
        font-size: 0.9rem;
        padding: 0.5rem 0.75rem;
        display: block;
    }
    
    /* Hero Section - Mobile */
    .hero {
        min-height: 80vh;
        padding-top: 120px;
    }
    
    .hero-title .title-main {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-title .title-sub {
        font-size: 1rem;
        letter-spacing: 1px;
    }
    
    .hero-mission {
        font-size: 1rem;
        margin: 0 auto 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    /* Section Spacing */
    section {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* Grid Layouts - Vertical Stacking */
    .programs-grid,
    .research-grid,
    .faculty-grid,
    .events-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Cards - Touch Friendly */
    .program-card,
    .research-card,
    .faculty-card,
    .event-card,
    .step-card {
        padding: 2rem;
        /* Remove hover effects, use tap-friendly interactions */
        transition: all 0.3s ease;
    }
    
    /* Program Card - Center content on mobile */
    .program-card {
        text-align: center;
    }
    
    .program-icon {
        margin-left: auto;
        margin-right: auto;
    }
    
    .program-title {
        text-align: center;
    }
    
    .program-card:active,
    .research-card:active,
    .faculty-card:active,
    .event-card:active {
        transform: scale(0.98);
        box-shadow: 0 4px 16px rgba(91, 143, 185, 0.15);
    }
    
    /* Icons - Larger for Touch */
    .program-icon,
    .research-icon,
    .step-icon {
        width: 80px;
        height: 80px;
        font-size: 3rem;
    }
    
    .research-icon {
        width: 100px;
        height: 100px;
    }
    
    /* Avatar - Adjusted Size */
    .avatar-circle {
        width: 110px;
        height: 110px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .avatar-initial {
        font-size: 2.8rem;
    }
    
    /* Admissions Section - Vertical Stack */
    .admissions-steps {
        flex-direction: column;
        padding: 1rem 0;
    }
    
    .step-card {
        flex: 1 1 auto;
        width: 100%;
    }
    
    .step-connector {
        display: none;
    }
    
    .admissions-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Info Box - Simplified */
    .info-box {
        padding: 2rem;
    }
    
    .info-icon {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }
    
    /* Event Cards - Vertical Layout */
    .event-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .event-date {
        margin: 0 auto;
    }
    
    /* Footer - Stacked */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    /* Degree Levels - Wrap */
    .program-meta {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .degree-level {
        font-size: 0.8rem;
        padding: 3px 6px;
    }
    
    /* Disable Complex Animations on Mobile */
    .particle {
        display: none;
    }
    
    .research-icon::before,
    .research-icon::after {
        display: none;
    }
    
    .step-illustration {
        display: none;
    }
    
    /* Simplify Parallax */
    .hero-content,
    .hero-background,
    .floating-particles {
        transform: none !important;
    }
}

@media (max-width: 480px) {
    /* Extra Small Mobile */
    .container {
        padding: 0 15px;
    }
    
    .hero-title .title-main {
        font-size: 1.6rem;
    }
    
    .hero-title .title-sub {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .program-card,
    .research-card,
    .faculty-card,
    .event-card,
    .step-card,
    .info-box {
        padding: 1.5rem;
    }
    
    .nav-menu {
        gap: 0.5rem;
    }
    
    .nav-menu a {
        font-size: 0.85rem;
        padding: 0.4rem 0.6rem;
    }
}

/* Scroll Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

/* ========================================
   无障碍改进 (Accessibility Enhancements)
   符合 WCAG 2.1 AA 标准
======================================== */

/* 改进1：全局焦点样式 - 确保键盘用户能清楚看到焦点位置 */
*:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

/* 链接焦点样式 */
a:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
    border-radius: 4px;
}

/* 按钮焦点样式 */
button:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.2);
}

/* 导航链接焦点 - 增强可见性 */
.nav-menu a:focus {
    background: var(--gradient-accent);
    color: var(--white);
    transform: translateY(-2px);
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

/* 卡片焦点样式 - 当内部元素获得焦点时 */
.program-card:focus-within,
.research-card:focus-within,
.faculty-card:focus-within,
.event-card:focus-within,
.step-card:focus-within {
    box-shadow: 0 0 0 4px var(--accent-color), var(--shadow-lg);
    transform: translateY(-4px);
    transition: all 0.3s ease;
}

/* 表单元素焦点 */
input:focus,
textarea:focus,
select:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
    border-color: var(--accent-color);
}

/* 改进2：减少动画支持 - 为前庭障碍用户提供支持 */
@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;
    }
    
    /* 禁用装饰性动画 */
    .floating-particles {
        display: none;
    }
    
    .particle {
        animation: none !important;
    }
    
    /* 禁用滚动动画 */
    .animate-on-scroll {
        opacity: 1 !important;
        animation: none !important;
    }
    
    /* 保留必要的过渡，但大幅缩短时间 */
    .nav-menu a,
    .program-card,
    .research-card,
    .faculty-card,
    .event-card {
        transition-duration: 0.05s !important;
    }
    
    /* 移除悬停动画 */
    .program-card:hover,
    .research-card:hover,
    .faculty-card:hover {
        transform: none !important;
    }
}

/* 改进3：高对比度模式支持 - 为低视力用户优化 */
@media (prefers-contrast: high) {
    :root {
        --text-dark: #000000;
        --primary-color: #0000EE;
        --accent-color: #0000EE;
        --text-light: #000000;
        --white: #FFFFFF;
        --light-gray: #FFFFFF;
    }
    
    body {
        background: #FFFFFF;
        color: #000000;
    }
    
    /* 链接样式 - 高对比度 */
    a {
        color: #0000EE;
        text-decoration: underline;
    }
    
    a:visited {
        color: #551A8B;
    }
    
    a:hover,
    a:focus {
        color: #EE0000;
        background: #FFFF00;
    }
    
    /* 增强所有卡片边框 */
    .program-card,
    .research-card,
    .faculty-card,
    .event-card,
    .step-card,
    .info-box {
        border: 3px solid #000000;
        background: #FFFFFF;
        box-shadow: none;
    }
    
    /* 移除复杂渐变背景 */
    .hero-background,
    .footer-background,
    .grid-overlay {
        background: #FFFFFF;
        opacity: 1;
    }
    
    /* 导航栏高对比度 */
    .navbar {
        background: #FFFFFF;
        border-bottom: 3px solid #000000;
    }
    
    /* 按钮高对比度 */
    button,
    .btn {
        background: #000000;
        color: #FFFFFF;
        border: 3px solid #000000;
    }
    
    button:hover,
    button:focus,
    .btn:hover,
    .btn:focus {
        background: #FFFFFF;
        color: #000000;
        border: 3px solid #000000;
    }
    
    /* 标题高对比度 */
    h1, h2, h3, h4, h5, h6 {
        color: #000000;
    }
    
    /* 页脚高对比度 */
    .footer {
        background: #000000;
        color: #FFFFFF;
    }
    
    .footer a {
        color: #FFFFFF;
        text-decoration: underline;
    }
    
    .footer a:hover {
        color: #FFFF00;
    }
}

/* 改进4：强制颜色模式支持（Windows高对比度主题） */
@media (forced-colors: active) {
    * {
        forced-color-adjust: auto;
    }
    
    /* 确保焦点指示器可见 */
    *:focus {
        outline: 3px solid;
        outline-offset: 2px;
    }
    
    /* 确保边框可见 */
    .program-card,
    .research-card,
    .faculty-card,
    .event-card {
        border: 2px solid;
    }
}

/* 改进5：文本间距可调整性 - 确保用户自定义样式不会破坏布局 */
* {
    /* 允许行高调整 */
    line-height: inherit;
}

/* 改进6：屏幕阅读器专用文本 */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* 当获得焦点时显示（用于跳转链接） */
.sr-only:focus {
    position: static;
    width: auto;
    height: auto;
    padding: inherit;
    margin: inherit;
    overflow: visible;
    clip: auto;
    white-space: normal;
}

/* 改进7：打印样式 - 确保打印时可访问 */
@media print {
    /* 显示链接URL */
    a[href]:after {
        content: " (" attr(href) ")";
    }
    
    /* 移除装饰性元素 */
    .floating-particles,
    .particle,
    .hero-background,
    .footer-background {
        display: none;
    }
    
    /* 确保文本可读 */
    body {
        background: white;
        color: black;
    }
    
    /* 避免分页时断开内容 */
    .program-card,
    .research-card,
    .faculty-card,
    .event-card {
        page-break-inside: avoid;
    }
}

