/* ========================================
   Global Styles - 苹方字体系统
   ======================================== */

/* CSS Variables - 颜色系统 */
:root {
    /* Light Mode Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f7;
    --bg-tertiary: #fafafa;

    --text-primary: #1d1d1f;
    --text-secondary: #6e6e73;
    --text-tertiary: #86868b;

    --accent-blue: #0071e3;
    --accent-light-blue: #00a0e3;

    --border-light: rgba(0, 0, 0, 0.1);
    --border-subtle: rgba(0, 0, 0, 0.05);

    --shadow-sm: rgba(0, 0, 0, 0.05);
    --shadow-md: rgba(0, 0, 0, 0.1);
    --shadow-lg: rgba(0, 0, 0, 0.15);

    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.2);

    --card-bg: #ffffff;
    --card-hover-bg: #f9f9fb;

    --gradient-start: #ffffff;
    --gradient-end: #f5f5f7;
}

/* Dark Mode Colors */
[data-theme="dark"] {
    --bg-primary: #000000;
    --bg-secondary: #1c1c1e;
    --bg-tertiary: #2c2c2e;

    --text-primary: #f5f5f7;
    --text-secondary: #98989d;
    --text-tertiary: #636366;

    --accent-blue: #0a84ff;
    --accent-light-blue: #40a9ff;

    --border-light: rgba(255, 255, 255, 0.15);
    --border-subtle: rgba(255, 255, 255, 0.08);

    --shadow-sm: rgba(0, 0, 0, 0.3);
    --shadow-md: rgba(0, 0, 0, 0.5);
    --shadow-lg: rgba(0, 0, 0, 0.7);

    --glass-bg: rgba(28, 28, 30, 0.85);
    --glass-border: rgba(255, 255, 255, 0.1);

    --card-bg: #1c1c1e;
    --card-hover-bg: #2c2c2e;

    --gradient-start: #000000;
    --gradient-end: #1c1c1e;
}

/* Enhanced Text Rendering & Contrast Optimization - 文本渲染优化 */
/* Light Mode Typography Enhancements */
:root {
    /* Better contrast for light mode */
    --heading-color-light: #1a1a1a;
    --subheading-color-light: #3a3a3a;
    --body-color-light: #4a4a4a;
}

/* Dark Mode Typography Enhancements */
[data-theme="dark"] {
    /* Better contrast for dark mode - optimized for readability */
    --heading-color-dark: #ffffff;
    --subheading-color-dark: #e5e5e7;
    --body-color-dark: #d1d1d6;

    /* Enhanced text rendering in dark mode */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Headings Optimization */
h1, h2, h3, .text-h1, .text-h2, .text-h3 {
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.02em;
}

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3 {
    color: #ffffff;
    font-weight: 600;
    letter-spacing: -0.015em;
}

h4, h5, h6 {
    color: var(--text-primary);
}

[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6 {
    color: #f5f5f7;
}

/* Body Text Optimization */
p, span, div {
    color: var(--text-primary);
}

[data-theme="dark"] p,
[data-theme="dark"] span,
[data-theme="dark"] div {
    color: #d1d1d6;
}

/* Link Optimization */
a {
    color: var(--accent-blue);
}

[data-theme="dark"] a {
    color: #0a84ff;
}

/* Enhanced Readability for Specific Elements */
[data-theme="dark"] {
    /* Increase line-height in dark mode for better readability */
    line-height: 1.65;
}

/* Card Text Optimization */
[data-theme="dark"] [class*="-title"],
[data-theme="dark"] [class*="-heading"] {
    color: #ffffff;
    font-weight: 600;
}

[data-theme="dark"] [class*="-description"],
[data-theme="dark"] [class*="-text"] {
    color: #d1d1d6;
    line-height: 1.7;
}

/* Small Text Readability */
[data-theme="dark"] .text-small,
[data-theme="dark"] .text-caption,
[data-theme="dark"] .text-mini {
    color: #a1a1a6;
    font-weight: 400;
}

/* Ensure White Text Elements Stay White */
[data-theme="dark"] .text-white {
    color: #ffffff !important;
}

/* Blue Accent Text */
[data-theme="dark"] .text-apple-blue {
    color: #0a84ff !important;
}

/* Improve Contrast for Disabled/Muted Text */
[data-theme="dark"] .opacity-80 {
    opacity: 0.9;
}

[data-theme="dark"] .opacity-70 {
    opacity: 0.85;
}

/* Button & Interactive Elements in Dark Mode */
[data-theme="dark"] button,
[data-theme="dark"] .btn {
    border-color: var(--border-light);
}

[data-theme="dark"] button:hover,
[data-theme="dark"] .btn:hover {
    border-color: var(--accent-blue);
}

/* Input & Form Elements */
[data-theme="dark"] input,
[data-theme="dark"] textarea,
[data-theme="dark"] select {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border-color: var(--border-light);
}

[data-theme="dark"] input::placeholder,
[data-theme="dark"] textarea::placeholder {
    color: var(--text-tertiary);
    opacity: 0.8;
}

/* Scrollbar Styling for Dark Mode */
[data-theme="dark"]::-webkit-scrollbar {
    width: 12px;
    background: var(--bg-secondary);
}

[data-theme="dark"]::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: 6px;
    border: 2px solid var(--bg-secondary);
}

[data-theme="dark"]::-webkit-scrollbar-thumb:hover {
    background: #3c3c3e;
}

/* ========================================
   统一的暗色模式卡片系统
   ======================================== */

/* 通用卡片背景和边框 */
[data-theme="dark"] [class*="-card"] {
    background: var(--card-bg) !important;
    border-color: var(--border-subtle) !important;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.6),
        0 0 0 1px var(--border-subtle) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 通用卡片hover效果 */
[data-theme="dark"] [class*="-card"]:hover {
    background: var(--card-hover-bg) !important;
    border-color: var(--border-light) !important;
    box-shadow:
        0 12px 48px rgba(0, 0, 0, 0.8),
        0 0 0 1px var(--border-light) !important;
    transform: translateY(-4px);
}

/* 通用卡片内部元素样式 */
[data-theme="dark"] [class*="-card"] [class*="-title"],
[data-theme="dark"] [class*="-card"] h3,
[data-theme="dark"] [class*="-card"] h4 {
    color: var(--text-primary) !important;
}

[data-theme="dark"] [class*="-card"] [class*="-subtitle"],
[data-theme="dark"] [class*="-card"] [class*="-text"],
[data-theme="dark"] [class*="-card"] p {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] [class*="-card"] [class*="-description"] {
    color: var(--text-secondary) !important;
}

/* Icon & Emoji Enhancements in Dark Mode */
[data-theme="dark"] [class*="-icon"] {
    filter: brightness(1.1);
}

/* Improve Gradient Visibility in Dark Mode */
[data-theme="dark"] .gradient-text {
    background: linear-gradient(135deg, #0a84ff 0%, #40a9ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: brightness(1.1);
}

/* Footer Styles */
.footer-section {
    background-color: #f5f5f7;
    border-top: 1px solid #d2d2d7;
}

.footer-title {
    color: #1d1d1f;
    font-weight: 600;
}

.footer-subtitle {
    color: #86868b;
}

.footer-copyright {
    color: #86868b;
}

.footer-link {
    color: #0071e3;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #0077ed;
    text-decoration: underline;
}

/* Footer in Dark Mode */
[data-theme="dark"] .footer-section {
    background-color: #000000;
    border-top: 1px solid var(--border-subtle);
}

[data-theme="dark"] .footer-title {
    color: #f5f5f7;
}

[data-theme="dark"] .footer-subtitle {
    color: #a1a1a6;
}

[data-theme="dark"] .footer-copyright {
    color: #86868b;
}

[data-theme="dark"] .footer-link {
    color: #2997ff;
}

[data-theme="dark"] .footer-link:hover {
    color: #409cff;
}

/* CTA Buttons in Dark Mode - 只针对真正的按钮 */
[data-theme="dark"] .cta-button,
[data-theme="dark"] a[class*="cta-"],
[data-theme="dark"] button[class*="cta-"] {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-light-blue));
    color: #ffffff;
}

/* Ensure button text stays visible */
[data-theme="dark"] button {
    color: var(--text-primary);
}

[data-theme="dark"] button.bg-apple-blue,
[data-theme="dark"] a.bg-apple-blue {
    color: #ffffff !important;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "PingFang SC", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Typography Hierarchy - 统一字号系统 */
h1, .text-h1 {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1.5px;
}

h2, .text-h2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1px;
}

h3, .text-h3 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.5px;
}

h4, .text-h4 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.3px;
}

h5, .text-h5 {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.2px;
}

h6, .text-h6 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

.text-body-large {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
}

.text-body {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
}

.text-body-small {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}

.text-caption {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
}

.text-small {
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
}

.text-mini {
    font-size: 11px;
    font-weight: 400;
    line-height: 1.3;
}

/* Responsive Typography */
@media (max-width: 768px) {
    h1, .text-h1 {
        font-size: 48px;
    }

    h2, .text-h2 {
        font-size: 36px;
    }

    h3, .text-h3 {
        font-size: 28px;
    }

    h4, .text-h4 {
        font-size: 24px;
    }

    h5, .text-h5 {
        font-size: 20px;
    }

    /* Navigation improvements for mobile */
    nav {
        padding: 12px 20px !important;
    }

    .logo-circle {
        width: 40px;
        height: 40px;
    }

    .logo-text {
        font-size: 14px;
    }

    .logo-name {
        font-size: 16px !important;
    }

    .mobile-menu {
        border-bottom: 1px solid var(--border-subtle);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    }

    .mobile-menu-content {
        padding: 16px 20px 20px;
    }

    .mobile-nav-link {
        padding: 14px 18px;
        font-size: 15px;
    }

    /* Global section improvements */
    section {
        padding: 60px 20px !important;
    }

    .section-divider {
        margin-top: 24px;
    }

    /* Hero section */
    #home {
        min-height: calc(100vh - 80px);
        padding-top: 100px !important;
    }

    #home .text-6xl,
    #home .text-7xl {
        font-size: 42px !important;
    }

    #home .text-4xl,
    #home .text-5xl {
        font-size: 32px !important;
    }

    #home .text-xl,
    #home .text-2xl {
        font-size: 18px !important;
    }

    #home .w-40 {
        width: 120px !important;
        height: 120px !important;
    }

    /* Research section cards grid */
    .research-card {
        margin-bottom: 20px;
    }

    .research-card-content p {
        font-size: 13px;
    }

    /* Achievements grid */
    .achievements-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .achievement-card-inner {
        padding: 28px 24px;
    }

    .achievement-title {
        font-size: 18px;
    }

    .achievement-title-en {
        font-size: 13px;
    }

    .achievement-description {
        font-size: 13px;
        line-height: 1.7;
    }

    .achievement-detail-item {
        padding: 12px 16px;
    }

    .achievement-tags {
        gap: 6px;
    }

    .achievement-tag {
        padding: 5px 12px;
        font-size: 10px;
    }

    /* Publications section */
    .publications-list {
        padding: 0 4px;
    }

    .publication-card {
        padding: 24px 20px;
    }

    .publication-title {
        font-size: 14px;
        line-height: 1.6;
    }

    .publication-badges {
        gap: 8px;
        flex-wrap: wrap;
    }

    .publication-badge {
        padding: 6px 12px;
        font-size: 10px;
    }

    .journal-name {
        font-size: 13px;
    }

    .journal-category {
        font-size: 11px;
    }

    .keyword {
        padding: 5px 12px;
        font-size: 10px;
    }

    .author-name {
        font-size: 14px;
    }

    /* Projects section */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .project-card-inner {
        padding: 28px 24px;
    }

    .project-title {
        font-size: 18px;
    }

    .project-title-en {
        font-size: 13px;
    }

    .grant-numbers {
        gap: 12px;
    }

    .grant-number {
        font-size: 13px;
    }

    .role-title {
        font-size: 15px;
    }

    .role-title-en {
        font-size: 12px;
    }

    /* Academic Impact section */
    .impact-stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .impact-stat-card {
        padding: 20px 16px;
    }

    .stat-number {
        font-size: 32px;
    }

    .stat-label {
        font-size: 12px;
    }

    .stat-label-en {
        font-size: 10px;
    }

    /* Additional mobile optimizations */
    .text-5xl {
        font-size: 36px !important;
    }

    .text-6xl {
        font-size: 40px !important;
    }

    .max-w-7xl,
    .max-w-6xl,
    .max-w-5xl {
        padding-left: 20px;
        padding-right: 20px;
    }

    /* Ensure proper spacing for all cards */
    [class*="-card"]:not(.mobile-nav-link) {
        border-radius: 20px;
    }

    /* Button improvements */
    .inline-block {
        font-size: 15px;
        padding: 14px 28px !important;
    }

    /* Skill bar improvements */
    .skill-bar {
        height: 6px;
    }

    .skill-bar-fill {
        border-radius: 3px;
    }

    /* Timeline adjustments for better mobile view */
    .education-timeline {
        padding: 0 8px;
    }

    /* Footer adjustments */
    footer {
        padding: 40px 20px !important;
    }

    footer .text-lg {
        font-size: 16px !important;
    }

    footer .text-sm {
        font-size: 13px !important;
    }

    footer .text-xs {
        font-size: 11px !important;
    }
}

/* 超小屏幕额外优化 (小于 375px) - 改为单列布局 */
@media (max-width: 375px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact-card-main {
        grid-column: 1;
    }

    .contact-card {
        padding: 28px 20px;
    }

    .contact-card-main {
        padding: 30px 24px;
    }

    .contact-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }

    .contact-email-link {
        font-size: 13px;
        padding: 14px 16px;
    }

    .info-item {
        padding: 12px 14px;
    }

    .info-label {
        font-size: 11px;
    }

    .info-value {
        font-size: 13px;
    }
}

/* Navigation Glass Effect */
.nav-glass {
    background: var(--glass-bg);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 30px var(--shadow-sm);
    border-color: var(--border-subtle) !important;
}

/* Glass Morphism Effects */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.dark-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Logo Circle Animation */
.logo-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.logo-circle::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e5e5e5, #f0f0f0, #e5e5e5);
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: rotate 3s linear infinite;
    z-index: -1;
}

.logo-circle:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

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

/* Dark mode logo circle */
[data-theme="dark"] .logo-circle {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .logo-circle::before {
    background: linear-gradient(135deg, #3a3a3a, #4a4a4a, #3a3a3a);
}

[data-theme="dark"] .logo-circle:hover {
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.15);
}

.logo-text {
    color: white;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.logo-name {
    transition: all 0.3s ease;
}

.group:hover .logo-name {
    letter-spacing: 0.5px;
}

/* Navigation Links */
.nav-link {
    position: relative;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.nav-link-icon {
    font-size: 16px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.nav-link-text {
    position: relative;
    z-index: 1;
}

.nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 132, 255, 0.1), rgba(64, 169, 255, 0.1));
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-light-blue));
    border-radius: 2px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
    color: var(--accent-blue);
    transform: translateY(-2px);
}

.nav-link:hover::before {
    opacity: 1;
}

.nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-link:hover .nav-link-icon {
    transform: scale(1.2) rotate(5deg);
}

/* Active Nav Link */
.nav-link.active {
    color: var(--accent-blue);
    background: linear-gradient(135deg, rgba(10, 132, 255, 0.1), rgba(64, 169, 255, 0.1));
}

.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

/* CTA Nav Link */
.nav-link-cta {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-light-blue));
    color: white !important;
    box-shadow: 0 4px 15px rgba(10, 132, 255, 0.3);
}

.nav-link-cta::before {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
}

.nav-link-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(10, 132, 255, 0.4);
}

.nav-link-cta::after {
    display: none;
}

/* Theme Toggle Button - 暗色模式切换按钮 */
.theme-toggle {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: none;
    background: var(--card-bg);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.theme-toggle:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 15px var(--shadow-md);
}

.theme-toggle-inner {
    position: relative;
    width: 24px;
    height: 24px;
}

.theme-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-icon-light {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(0deg) scale(1);
}

.theme-icon-dark {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(-180deg) scale(0);
}

[data-theme="dark"] .theme-icon-light {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(180deg) scale(0);
}

[data-theme="dark"] .theme-icon-dark {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(0deg) scale(1);
}

/* Mobile Theme Toggle */
.theme-toggle-mobile {
    width: 40px;
    height: 40px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(0, 113, 227, 0.1);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background: rgba(0, 113, 227, 0.2);
    transform: scale(1.05);
}

.hamburger {
    width: 20px;
    height: 14px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    height: 2px;
    background: #0071e3;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-btn.active .hamburger span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.mobile-menu-btn.active .hamburger span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 77px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    max-height: 500px;
}

.mobile-menu-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 16px;
    background: white;
    color: #1d1d1f;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.mobile-nav-link:hover {
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.1), rgba(0, 160, 227, 0.1));
    color: #0071e3;
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 113, 227, 0.2);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-light-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   DARK MODE SYSTEM - 完整暗色模式系统
   ======================================== */

/* ===== Section Backgrounds - 所有Section背景 ===== */

/* Light Mode - Default (不需要额外样式) */
section {
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Dark Mode - 强制覆盖所有section背景 */
[data-theme="dark"] section {
    background-color: var(--bg-primary) !important;
    color: var(--text-primary);
}

[data-theme="dark"] section.bg-white,
[data-theme="dark"] .bg-white {
    background-color: var(--bg-primary) !important;
}

/* ========================================
   统一的Section背景系统（交替模式）
   ======================================== */

/* 主背景（纯黑）- 奇数section */
[data-theme="dark"] #home,
[data-theme="dark"] .research-section,
[data-theme="dark"] .achievements-section,
[data-theme="dark"] .projects-section,
[data-theme="dark"] .future-section {
    background: var(--bg-primary) !important;
}

/* 次背景（深灰）- 偶数section */
[data-theme="dark"] .education-section,
[data-theme="dark"] .publications-section,
[data-theme="dark"] .expertise-section {
    background: var(--bg-secondary) !important;
}

/* 特殊渐变背景 */
[data-theme="dark"] .contact-section {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%) !important;
}

/* Body Background Override */
[data-theme="dark"] body {
    background-color: var(--bg-primary) !important;
    color: var(--text-primary) !important;
}

/* ===== Background Colors - Tailwind类覆盖 ===== */
[data-theme="dark"] .bg-white,
[data-theme="dark"] section.bg-white,
[data-theme="dark"] div.bg-white {
    background: var(--bg-primary) !important;
}

[data-theme="dark"] .bg-gray-50,
[data-theme="dark"] .bg-gray-100 {
    background: var(--bg-secondary) !important;
}

[data-theme="dark"] .bg-gray-200 {
    background: var(--bg-tertiary) !important;
}

/* Apple Custom Background Colors */
[data-theme="dark"] .bg-apple-gray,
[data-theme="dark"] section.bg-apple-gray {
    background: var(--bg-secondary) !important;
}

[data-theme="dark"] .bg-apple-darkgray,
[data-theme="dark"] footer.bg-apple-darkgray {
    background: #000000 !important;
}

[data-theme="dark"] .bg-apple-blue {
    background: var(--accent-blue) !important;
}

/* Gradient Background Colors */
[data-theme="dark"] .bg-gradient-to-b,
[data-theme="dark"] .bg-gradient-to-br,
[data-theme="dark"] section.bg-gradient-to-b,
[data-theme="dark"] .from-white,
[data-theme="dark"] .to-apple-gray {
    background: linear-gradient(to bottom, var(--bg-primary), var(--bg-secondary)) !important;
}

/* ===== Text Colors - Tailwind类覆盖 ===== */
[data-theme="dark"] .text-gray-900 {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .text-gray-600,
[data-theme="dark"] .text-gray-500 {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .text-gray-400 {
    color: var(--text-tertiary) !important;
}

/* ===== Card Backgrounds - 所有卡片背景 ===== */

/* Research Cards */
[data-theme="dark"] .research-card {
    background: var(--card-bg) !important;
}

[data-theme="dark"] .research-card-content {
    background: var(--card-bg) !important;
    border-color: var(--border-subtle);
}

[data-theme="dark"] .research-intro-card {
    background: linear-gradient(135deg, var(--bg-tertiary), var(--card-bg)) !important;
    border-color: var(--border-light);
}

/* Education Cards */
[data-theme="dark"] .education-card {
    background: var(--card-bg) !important;
    border-color: var(--border-subtle);
}

[data-theme="dark"] .education-card-header {
    background: var(--card-bg) !important;
}

/* Education Details - Supervisor, Research, Major */
[data-theme="dark"] .detail-item {
    background: transparent;
    border-color: var(--border-subtle);
}

[data-theme="dark"] .detail-item:hover {
    background: rgba(10, 132, 255, 0.05) !important;
}

[data-theme="dark"] .detail-label {
    color: var(--accent-blue) !important;
}

[data-theme="dark"] .detail-text {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .detail-subtext,
[data-theme="dark"] .detail-subtext-en {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .education-title,
[data-theme="dark"] .education-title-en {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .institution-name,
[data-theme="dark"] .institution-name-en {
    color: var(--text-secondary) !important;
}

/* Achievement Cards */
[data-theme="dark"] .achievement-card {
    background: var(--card-bg) !important;
    border-color: var(--border-subtle);
}

[data-theme="dark"] .achievement-number {
    color: rgba(10, 132, 255, 0.08);
}

[data-theme="dark"] .achievement-content {
    color: var(--text-primary);
}

[data-theme="dark"] .achievement-title {
    color: var(--text-primary);
}

[data-theme="dark"] .achievement-title-en {
    color: var(--text-secondary);
}

[data-theme="dark"] .achievement-description {
    color: var(--text-secondary);
}

/* Publication Items */
[data-theme="dark"] .publication-item {
    background: transparent;
    border-color: var(--border-subtle);
}

/* Publication Header - First-Author Publications */
[data-theme="dark"] .publications-header {
    background: transparent;
}

[data-theme="dark"] .publications-header-title {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-light-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="dark"] .publications-header-subtitle {
    color: var(--text-secondary) !important;
}

/* Publication Cards */
[data-theme="dark"] .publication-card {
    background: var(--card-bg) !important;
    border-color: var(--border-subtle);
}

[data-theme="dark"] .publication-card:hover {
    box-shadow: 0 20px 50px rgba(10, 132, 255, 0.2) !important;
}

[data-theme="dark"] .publication-title {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .publication-card:hover .publication-title {
    color: var(--accent-blue) !important;
}

[data-theme="dark"] .author-name {
    color: var(--text-primary);
}

[data-theme="dark"] .publication-meta {
    color: var(--text-secondary);
}

[data-theme="dark"] .publication-venue {
    color: var(--text-secondary);
}

[data-theme="dark"] .stat-item {
    color: var(--text-tertiary);
}

[data-theme="dark"] .publication-card:hover .stat-item {
    color: var(--accent-blue);
}

/* Publication Badges */
[data-theme="dark"] .publication-badge {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border-color: var(--border-light);
}

/* Project Cards */
[data-theme="dark"] .project-card-inner {
    background: var(--card-bg) !important;
    border-color: var(--border-subtle);
}

/* Project Info & Grant Numbers */
[data-theme="dark"] .project-info {
    color: var(--text-primary);
}

[data-theme="dark"] .info-label {
    color: var(--accent-blue) !important;
}

[data-theme="dark"] .info-text {
    color: var(--text-secondary);
}

[data-theme="dark"] .info-icon {
    filter: brightness(1.1);
}

[data-theme="dark"] .grant-number-badge {
    background: linear-gradient(135deg, rgba(10, 132, 255, 0.08), rgba(64, 169, 255, 0.12)) !important;
    border-color: var(--border-light);
}

[data-theme="dark"] .grant-number-badge:hover {
    background: linear-gradient(135deg, rgba(10, 132, 255, 0.12), rgba(64, 169, 255, 0.18)) !important;
    border-color: rgba(10, 132, 255, 0.3);
}

[data-theme="dark"] .grant-number {
    color: var(--accent-blue) !important;
}

/* Project Role */
[data-theme="dark"] .project-role {
    background: transparent;
    border-color: var(--border-subtle);
}

[data-theme="dark"] .project-role:hover {
    background: rgba(10, 132, 255, 0.05) !important;
}

[data-theme="dark"] .role-title {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .role-title-en {
    color: var(--text-secondary) !important;
}

/* Project Honors & Team */
[data-theme="dark"] .project-honors,
[data-theme="dark"] .honors-header {
    color: var(--text-primary);
}

[data-theme="dark"] .project-title {
    color: var(--text-primary);
}

[data-theme="dark"] .project-description {
    color: var(--text-secondary);
}

/* Skills/Expertise Cards */
[data-theme="dark"] .expertise-category-inner,
[data-theme="dark"] .skill-card {
    background: var(--card-bg) !important;
    border-color: var(--border-subtle);
}

[data-theme="dark"] .skill-item {
    background: var(--bg-tertiary);
    border-color: var(--border-subtle);
}

[data-theme="dark"] .category-header {
    border-color: var(--border-light);
}

/* Contact Cards */
[data-theme="dark"] .contact-card {
    background: rgba(28, 28, 30, 0.8) !important;
    border-color: var(--border-subtle);
}

[data-theme="dark"] .contact-title {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .contact-subtitle {
    color: var(--text-tertiary) !important;
}

[data-theme="dark"] .contact-text-primary {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .contact-text-secondary {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .contact-email {
    color: var(--accent-blue) !important;
}

/* Dark mode for email link */
[data-theme="dark"] .contact-email-link {
    color: var(--accent-blue) !important;
    background: rgba(10, 132, 255, 0.1) !important;
    border-color: rgba(10, 132, 255, 0.2) !important;
}

[data-theme="dark"] .contact-email-link:hover {
    background: rgba(10, 132, 255, 0.15) !important;
    border-color: rgba(10, 132, 255, 0.3) !important;
}

/* Dark mode for info item */
[data-theme="dark"] .info-item {
    background: rgba(142, 68, 173, 0.08) !important;
    border-color: rgba(142, 68, 173, 0.15) !important;
}

[data-theme="dark"] .info-item:hover {
    background: rgba(142, 68, 173, 0.12) !important;
    border-color: rgba(142, 68, 173, 0.2) !important;
}

[data-theme="dark"] .info-label {
    color: var(--text-tertiary) !important;
}

[data-theme="dark"] .info-value {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .contact-divider {
    background: var(--border-light) !important;
}

/* Future Direction Cards - 详见Background Patterns部分的完整定义 */

/* Goal Cards - Short-term Goals */
[data-theme="dark"] .goal-title {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .goal-subtitle {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .goal-description {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .goal-number {
    color: rgba(10, 132, 255, 0.08) !important;
}

[data-theme="dark"] .goal-progress {
    background: var(--bg-tertiary);
}

[data-theme="dark"] .progress-bar {
    background: var(--bg-tertiary);
}

[data-theme="dark"] .progress-fill {
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-light-blue));
}

[data-theme="dark"] .progress-label {
    color: var(--accent-blue) !important;
}

/* Goal Icon Backgrounds */
[data-theme="dark"] .goal-icon-blue {
    background: linear-gradient(135deg, rgba(10, 132, 255, 0.15), rgba(64, 156, 255, 0.15)) !important;
}

[data-theme="dark"] .goal-icon-purple {
    background: linear-gradient(135deg, rgba(191, 90, 242, 0.15), rgba(204, 122, 255, 0.15)) !important;
}

[data-theme="dark"] .goal-icon-green {
    background: linear-gradient(135deg, rgba(48, 209, 88, 0.15), rgba(50, 215, 75, 0.15)) !important;
}

/* Vision Cards - Long-term Vision */
[data-theme="dark"] .vision-title {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .vision-subtitle {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .vision-description {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .vision-badge {
    background: linear-gradient(135deg, rgba(191, 90, 242, 0.15), rgba(204, 122, 255, 0.15)) !important;
    color: var(--accent-purple) !important;
}

[data-theme="dark"] .vision-tag {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border-color: var(--border-light);
}

[data-theme="dark"] .vision-icon {
    background: linear-gradient(135deg, rgba(191, 90, 242, 0.15), rgba(204, 122, 255, 0.15)) !important;
}

/* Future Directions Timeline */
[data-theme="dark"] .future-timeline {
    color: var(--text-primary);
}

[data-theme="dark"] .timeline-connector {
    background: linear-gradient(180deg,
        transparent,
        rgba(10, 132, 255, 0.2) 10%,
        rgba(10, 132, 255, 0.2) 90%,
        transparent
    ) !important;
}

[data-theme="dark"] .timeline-section {
    color: var(--text-primary);
}

[data-theme="dark"] .timeline-header {
    color: var(--text-primary);
}

/* Timeline Period - 详见Background Patterns部分的完整定义 */

[data-theme="dark"] .period-title {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .period-subtitle {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .period-duration {
    background: linear-gradient(135deg, rgba(10, 132, 255, 0.15), rgba(64, 156, 255, 0.15)) !important;
    color: var(--accent-blue) !important;
}

/* Period Icons */
[data-theme="dark"] .period-icon-orange {
    background: linear-gradient(135deg, #ff9500, #ff6d00) !important;
}

[data-theme="dark"] .period-icon-gradient {
    background: linear-gradient(135deg, #bf5af2, #cc7aff) !important;
}

[data-theme="dark"] .goals-grid,
[data-theme="dark"] .vision-grid {
    color: var(--text-primary);
}

/* Impact Statement */
[data-theme="dark"] .impact-statement {
    color: var(--text-primary);
}

[data-theme="dark"] .impact-card {
    background: linear-gradient(135deg, rgba(10, 132, 255, 0.08), rgba(191, 90, 242, 0.08)) !important;
    border-color: var(--border-light) !important;
}

[data-theme="dark"] .impact-title {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="dark"] .impact-text {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .impact-text-en {
    color: var(--text-secondary) !important;
}

/* ===== Specific Component Overrides ===== */

/* Timeline Elements */
[data-theme="dark"] .timeline-line {
    background: var(--border-light) !important;
}

[data-theme="dark"] .timeline-node {
    background: var(--bg-secondary);
    border-color: var(--border-light);
}

[data-theme="dark"] .timeline-marker-inner {
    box-shadow:
        0 0 0 8px var(--bg-secondary),
        0 0 0 12px rgba(10, 132, 255, 0.15),
        0 10px 30px rgba(10, 132, 255, 0.3) !important;
}

[data-theme="dark"] .publication-timeline-marker {
    background: var(--bg-secondary);
}

/* Badges and Tags */
[data-theme="dark"] [class*="-badge"],
[data-theme="dark"] [class*="-tag"] {
    background: var(--bg-tertiary) !important;
    color: var(--text-primary);
    border-color: var(--border-light);
}

/* Dividers */
[data-theme="dark"] [class*="-divider"],
[data-theme="dark"] .section-divider {
    background: var(--border-light) !important;
}

/* Mobile Menu */
[data-theme="dark"] .mobile-menu {
    background: rgba(28, 28, 30, 0.95) !important;
}

[data-theme="dark"] .mobile-nav-link {
    color: var(--text-primary);
}

[data-theme="dark"] .mobile-nav-link:hover {
    background: var(--bg-tertiary);
}

/* Hamburger Icon */
[data-theme="dark"] .hamburger span {
    background: var(--accent-blue) !important;
}

/* ===== Background Patterns ===== */

/* Research Section Backgrounds */
[data-theme="dark"] .research-bg-pattern {
    opacity: 0.02 !important;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(10, 132, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(64, 156, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(10, 132, 255, 0.1) 0%, transparent 40%) !important;
}

[data-theme="dark"] .research-icon-bg-1 {
    background: linear-gradient(135deg, rgba(10, 132, 255, 0.15), rgba(64, 156, 255, 0.2)) !important;
}

[data-theme="dark"] .research-icon-bg-2 {
    background: linear-gradient(135deg, rgba(255, 55, 95, 0.15), rgba(255, 69, 58, 0.2)) !important;
}

[data-theme="dark"] .research-icon-bg-3 {
    background: linear-gradient(135deg, rgba(191, 90, 242, 0.15), rgba(204, 122, 255, 0.2)) !important;
}

[data-theme="dark"] .research-icon-bg-4 {
    background: linear-gradient(135deg, rgba(48, 209, 88, 0.15), rgba(50, 215, 75, 0.2)) !important;
}

/* ========================================
   统一背景图案透明度
   ======================================== */

/* 所有pattern类背景图案 - 统一低透明度 */
[data-theme="dark"] .education-bg-pattern,
[data-theme="dark"] .publications-bg-pattern,
[data-theme="dark"] .expertise-bg-pattern,
[data-theme="dark"] .future-bg-pattern {
    opacity: 0.02 !important;
}

/* 所有gradient类背景图案 - 统一中透明度 */
[data-theme="dark"] .achievements-bg-gradient {
    opacity: 0.25 !important;
    background:
        radial-gradient(circle at 15% 20%, rgba(10, 132, 255, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 85% 80%, rgba(191, 90, 242, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(48, 209, 88, 0.04) 0%, transparent 60%) !important;
}

[data-theme="dark"] .projects-bg-gradient {
    opacity: 0.25 !important;
    background:
        radial-gradient(circle at 20% 30%, rgba(10, 132, 255, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(48, 209, 88, 0.06) 0%, transparent 50%) !important;
}

/* Future Direction Timeline and Cards - 使用统一变量 */
[data-theme="dark"] .timeline-period {
    background: var(--card-bg) !important;
    backdrop-filter: blur(20px) !important;
    border-color: var(--border-light) !important;
}

[data-theme="dark"] .timeline-period:hover {
    background: var(--card-hover-bg) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8) !important;
}

[data-theme="dark"] .goal-card {
    background: var(--card-bg) !important;
    backdrop-filter: blur(20px) !important;
    border-color: var(--border-subtle) !important;
}

[data-theme="dark"] .goal-card:hover {
    background: var(--card-hover-bg) !important;
}

[data-theme="dark"] .vision-card {
    background: var(--card-bg) !important;
    backdrop-filter: blur(20px) !important;
    border-color: var(--border-subtle) !important;
}

[data-theme="dark"] .vision-card:hover {
    background: var(--card-hover-bg) !important;
}

/* Contact Section Background */
[data-theme="dark"] .contact-section {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%) !important;
}

[data-theme="dark"] .contact-bg-pattern {
    opacity: 0.02 !important;
    background-image:
        radial-gradient(circle at 20% 40%, var(--accent-blue) 1px, transparent 1px),
        radial-gradient(circle at 80% 60%, var(--accent-green) 1px, transparent 1px) !important;
}

/* ===== Additional Component Overrides ===== */

/* Academic Impact Section */
[data-theme="dark"] .academic-impact {
    color: var(--text-primary);
}

[data-theme="dark"] .impact-header {
    color: var(--text-primary);
}

[data-theme="dark"] .impact-title {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-light-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="dark"] .impact-subtitle {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .impact-stat-card {
    color: var(--text-primary);
}

[data-theme="dark"] .stat-card-inner {
    background: var(--card-bg) !important;
    border-color: var(--border-subtle);
}

[data-theme="dark"] .impact-stat-card:hover .stat-card-inner {
    box-shadow: 0 25px 60px rgba(10, 132, 255, 0.2) !important;
}

[data-theme="dark"] .stat-number {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .stat-label {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .stat-icon-wrapper {
    background: rgba(10, 132, 255, 0.1) !important;
}

[data-theme="dark"] .impact-stat-card:hover .stat-icon-wrapper {
    background: linear-gradient(135deg, rgba(10, 132, 255, 0.15), rgba(64, 169, 255, 0.2)) !important;
}

[data-theme="dark"] .stat-bar {
    background: var(--bg-tertiary) !important;
}

/* Funding Overview Section */
[data-theme="dark"] .funding-summary {
    color: var(--text-primary);
}

[data-theme="dark"] .summary-card {
    background: linear-gradient(135deg, var(--bg-tertiary), var(--card-bg)) !important;
    border-color: var(--border-light);
}

[data-theme="dark"] .summary-card:hover {
    box-shadow: 0 30px 80px rgba(10, 132, 255, 0.2) !important;
}

[data-theme="dark"] .summary-title {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-light-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="dark"] .summary-subtitle {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .summary-stat-item {
    background: var(--bg-tertiary);
    border-color: var(--border-subtle);
}

[data-theme="dark"] .summary-stat-item:hover {
    background: var(--card-bg);
}

[data-theme="dark"] .stat-icon-box {
    background: linear-gradient(135deg, rgba(10, 132, 255, 0.1), rgba(64, 169, 255, 0.15)) !important;
}

[data-theme="dark"] .summary-stat-item:hover .stat-icon-box {
    background: linear-gradient(135deg, rgba(10, 132, 255, 0.15), rgba(64, 169, 255, 0.2)) !important;
}

[data-theme="dark"] .stat-value {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .stat-label {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .stat-content {
    color: var(--text-primary);
}

/* Skills Overview Section */
[data-theme="dark"] .skill-overview {
    color: var(--text-primary);
}

[data-theme="dark"] .overview-card {
    background: rgba(28, 28, 30, 0.8) !important;
    border-color: var(--border-light);
}

[data-theme="dark"] .overview-card:hover {
    box-shadow: 0 20px 60px rgba(10, 132, 255, 0.15) !important;
}

[data-theme="dark"] .overview-title {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .overview-stats-grid {
    color: var(--text-primary);
}

[data-theme="dark"] .overview-stats-grid .stat-item {
    background: var(--bg-tertiary);
    border-color: var(--border-subtle);
}

[data-theme="dark"] .overview-stats-grid .stat-number {
    color: var(--accent-blue) !important;
}

[data-theme="dark"] .overview-stats-grid .stat-text {
    color: var(--text-secondary) !important;
}

/* Location Showcase - 研究基地 */
[data-theme="dark"] .location-showcase {
    color: var(--text-primary);
}

[data-theme="dark"] .location-card {
    background: rgba(28, 28, 30, 0.8) !important;
    border-color: var(--border-light);
}

[data-theme="dark"] .location-card:hover {
    box-shadow: 0 20px 60px rgba(10, 132, 255, 0.15) !important;
}

[data-theme="dark"] .location-title {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .location-subtitle {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .location-details {
    color: var(--text-secondary);
}

[data-theme="dark"] .location-row {
    border-color: var(--border-subtle);
}

[data-theme="dark"] .location-name {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .location-address {
    color: var(--text-secondary) !important;
}

/* Contact CTA Section */
[data-theme="dark"] .contact-cta {
    color: var(--text-primary);
}

[data-theme="dark"] .cta-card {
    background: linear-gradient(135deg, rgba(28, 28, 30, 0.95), rgba(44, 44, 46, 0.95)) !important;
    background-image: linear-gradient(135deg, rgba(28, 28, 30, 0.95), rgba(44, 44, 46, 0.95)) !important;
    backdrop-filter: blur(30px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

[data-theme="dark"] .cta-card::before {
    background: linear-gradient(135deg, rgba(48, 209, 88, 0.3), rgba(50, 215, 75, 0.3)) !important;
}

[data-theme="dark"] .cta-card::after {
    background: conic-gradient(
        from 0deg at 50% 50%,
        transparent 0deg,
        rgba(48, 209, 88, 0.15) 90deg,
        rgba(50, 215, 75, 0.15) 180deg,
        transparent 270deg,
        transparent 360deg
    ) !important;
}

[data-theme="dark"] .cta-card:hover {
    box-shadow:
        0 25px 70px rgba(48, 209, 88, 0.2),
        0 10px 30px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}

[data-theme="dark"] .cta-icon {
    filter: none !important;
}

[data-theme="dark"] .cta-card:hover .cta-icon {
    filter: none !important;
}

[data-theme="dark"] .cta-title {
    background: none !important;
    background-image: none !important;
    background-color: transparent !important;
    color: #f5f5f7 !important;
    -webkit-background-clip: border-box !important;
    -webkit-text-fill-color: #f5f5f7 !important;
    background-clip: border-box !important;
    animation: none !important;
    text-shadow: none !important;
}

[data-theme="dark"] .cta-text {
    color: #d1d1d6 !important;
    font-weight: 600;
}

[data-theme="dark"] .cta-card:hover .cta-text {
    color: #f5f5f7 !important;
}

[data-theme="dark"] .cta-pulse {
    background: linear-gradient(135deg, #30d158, #32d760) !important;
    box-shadow: 0 0 0 0 rgba(48, 209, 88, 0.7) !important;
}

@keyframes ctaPulseDark {
    0%, 100% {
        box-shadow:
            0 0 0 0 rgba(48, 209, 88, 0.7),
            0 0 12px rgba(48, 209, 88, 0.6);
        transform: translateY(-50%) scale(1);
    }
    50% {
        box-shadow:
            0 0 0 20px rgba(48, 209, 88, 0),
            0 0 25px rgba(48, 209, 88, 0);
        transform: translateY(-50%) scale(1.1);
    }
}

/* Stats & Numbers */
[data-theme="dark"] .stat-card,
[data-theme="dark"] .number-card,
[data-theme="dark"] .metric-card {
    background: var(--card-bg) !important;
    border-color: var(--border-subtle);
}

/* Modal and Overlays */
[data-theme="dark"] .modal,
[data-theme="dark"] .overlay,
[data-theme="dark"] .dropdown {
    background: var(--card-bg) !important;
    border-color: var(--border-light);
}

/* Lists and Items */
[data-theme="dark"] .list-item,
[data-theme="dark"] .menu-item {
    background: transparent;
    border-color: var(--border-subtle);
}

[data-theme="dark"] .list-item:hover,
[data-theme="dark"] .menu-item:hover {
    background: var(--bg-tertiary);
}

/* Icon Backgrounds */
[data-theme="dark"] [class*="-icon-bg"],
[data-theme="dark"] [class*="-icon-wrapper"] {
    background: var(--bg-tertiary);
    border-color: var(--border-light);
}

/* Glows and Effects */
[data-theme="dark"] [class*="-glow"],
[data-theme="dark"] [class*="-shine"],
[data-theme="dark"] [class*="-shimmer"] {
    opacity: 0.3;
}

/* Specific problematic elements */
[data-theme="dark"] .mobile-menu-content,
[data-theme="dark"] .nav-dropdown {
    background: var(--bg-secondary) !important;
}

/* ===== Final Safety Net Overrides ===== */

/* Override Achievement Section specifics */
[data-theme="dark"] .achievement-card-inner,
[data-theme="dark"] .achievement-content {
    background: var(--card-bg) !important;
}

/* Override specific gradient backgrounds that should adapt */
[data-theme="dark"] [class*="-intro-card"] {
    background: linear-gradient(135deg, var(--bg-tertiary), var(--card-bg)) !important;
}

/* Stats Section */
[data-theme="dark"] .stats-overview,
[data-theme="dark"] .stats-grid {
    background: transparent;
}

/* Ensure borders are visible */
[data-theme="dark"] [class*="-border"],
[data-theme="dark"] .border {
    border-color: var(--border-light) !important;
}

/* Text elements that should maintain their styling */
[data-theme="dark"] .logo-text {
    color: #ffffff !important;
}

/* Universal text classes */
[data-theme="dark"] [class*="-description"],
[data-theme="dark"] .description {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] [class*="-caption"],
[data-theme="dark"] .caption {
    color: var(--text-tertiary) !important;
}

[data-theme="dark"] [class*="-label"]:not(.detail-label):not(.info-label) {
    color: var(--text-secondary) !important;
}

/* Ensure all headings are properly colored */
[data-theme="dark"] [class*="-title"]:not([class*="gradient"]) {
    color: var(--text-primary) !important;
}

[data-theme="dark"] [class*="-subtitle"] {
    color: var(--text-secondary) !important;
}

/* END DARK MODE SYSTEM */

/* ==================== Research Focus Section ==================== */

/* Research Section Background */
.research-section {
    position: relative;
}

.research-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.03;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(0, 113, 227, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 160, 227, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(0, 113, 227, 0.08) 0%, transparent 40%);
    animation: bgPulse 15s ease-in-out infinite;
}

@keyframes bgPulse {
    0%, 100% {
        opacity: 0.03;
    }
    50% {
        opacity: 0.06;
    }
}

/* Research Intro Card */
.research-intro-card {
    position: relative;
    padding: 40px 50px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(245, 245, 247, 0.9));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 113, 227, 0.1);
    box-shadow: 0 20px 60px rgba(0, 113, 227, 0.08);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.research-intro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 80px rgba(0, 113, 227, 0.12);
    border-color: rgba(0, 113, 227, 0.2);
}

.research-intro-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 113, 227, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.research-intro-card:hover .research-intro-glow {
    opacity: 1;
}

/* Research Cards */
.research-card {
    position: relative;
    height: 100%;
    border-radius: 24px;
    background: white;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    overflow: hidden;
}

.research-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.2), rgba(0, 160, 227, 0.2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
}

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

.research-card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(0, 113, 227, 0.15), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.research-card:hover .research-card-glow {
    opacity: 1;
}

.research-card-content {
    position: relative;
    padding: 32px 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--card-bg);
    border-radius: 24px;
    box-shadow: 0 10px 40px var(--shadow-md);
    border: 1px solid var(--border-subtle);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.research-card:hover .research-card-content {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 113, 227, 0.15);
}

/* Research Icon Wrapper */
.research-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.research-icon-bg {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.research-icon-bg-1 {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(96, 165, 250, 0.15));
}

.research-icon-bg-2 {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), rgba(251, 113, 133, 0.15));
}

.research-icon-bg-3 {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(192, 132, 252, 0.15));
}

.research-icon-bg-4 {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(74, 222, 128, 0.15));
}

.research-card:hover .research-icon-bg {
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 10px 30px rgba(0, 113, 227, 0.2);
}

.research-icon {
    position: relative;
    font-size: 40px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.research-card:hover .research-icon {
    transform: scale(1.15) rotate(-5deg);
    animation: iconBounce 0.6s ease;
}

@keyframes iconBounce {
    0%, 100% {
        transform: scale(1.15) rotate(-5deg);
    }
    50% {
        transform: scale(1.25) rotate(-5deg) translateY(-5px);
    }
}

/* Research Card Divider */
.research-card-divider {
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #0071e3, #00a0e3);
    border-radius: 2px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.research-card:hover .research-card-divider {
    width: 100%;
}

/* Research Card Number */
.research-card-number {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 72px;
    font-weight: 800;
    color: rgba(0, 113, 227, 0.03);
    line-height: 1;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.research-card:hover .research-card-number {
    color: rgba(0, 113, 227, 0.08);
    transform: scale(1.2) translateX(5px);
}

/* 3D Tilt Effect */
.research-card[data-tilt] {
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .research-intro-card {
        padding: 30px 25px;
    }

    .research-card-content {
        padding: 24px 20px;
    }

    .research-icon-wrapper {
        width: 64px;
        height: 64px;
    }

    .research-icon {
        font-size: 32px;
    }

    .research-card-number {
        font-size: 56px;
    }
}

/* ==================== Education Section ==================== */

/* Education Section Background */
.education-section {
    position: relative;
}

.education-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.4;
    background-image:
        linear-gradient(135deg, rgba(0, 113, 227, 0.03) 25%, transparent 25%),
        linear-gradient(225deg, rgba(0, 113, 227, 0.03) 25%, transparent 25%),
        linear-gradient(45deg, rgba(0, 113, 227, 0.03) 25%, transparent 25%),
        linear-gradient(315deg, rgba(0, 113, 227, 0.03) 25%, transparent 25%);
    background-position: 40px 0, 40px 0, 0 0, 0 0;
    background-size: 80px 80px;
    background-repeat: repeat;
}

/* Education Timeline */
.education-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

/* Timeline Line */
.timeline-line {
    position: absolute;
    left: 50%;
    top: 60px;
    bottom: 60px;
    width: 3px;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(0, 113, 227, 0.2) 10%,
        rgba(0, 113, 227, 0.5) 50%,
        rgba(0, 113, 227, 0.2) 90%,
        transparent 100%);
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #0071e3, #00a0e3);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0, 113, 227, 0.6);
}

.timeline-line::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #0071e3, #00a0e3);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0, 113, 227, 0.6);
}

/* Education Item */
.education-item {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 60px;
}

.education-item:last-child {
    margin-bottom: 0;
}

/* Timeline Node */
.timeline-node {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.timeline-node-inner {
    position: relative;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0071e3, #00a0e3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 0 0 8px rgba(245, 245, 247, 1),
        0 0 0 12px rgba(0, 113, 227, 0.1),
        0 10px 30px rgba(0, 113, 227, 0.3);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.education-item:hover .timeline-node-inner {
    transform: scale(1.15) rotate(5deg);
    box-shadow:
        0 0 0 8px rgba(245, 245, 247, 1),
        0 0 0 16px rgba(0, 113, 227, 0.2),
        0 15px 40px rgba(0, 113, 227, 0.4);
}

.timeline-icon {
    font-size: 36px;
    animation: iconFloat 3s ease-in-out infinite;
}

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

/* Timeline Pulse Effect */
.timeline-pulse {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 2px solid rgba(0, 113, 227, 0.4);
    animation: pulse 2s ease-out infinite;
    pointer-events: none;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Education Card */
.education-card {
    position: relative;
    flex: 1;
    margin-left: calc(50% + 80px);
    background: white;
    border-radius: 28px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    cursor: pointer;
}

.education-item[data-degree="master"] .education-card {
    margin-left: 0;
    margin-right: calc(50% + 80px);
}

.education-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 28px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.3), rgba(0, 160, 227, 0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
}

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

.education-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 113, 227, 0.15);
}

.education-card-glow {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 113, 227, 0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.education-card:hover .education-card-glow {
    opacity: 1;
    animation: glowRotate 8s linear infinite;
}

@keyframes glowRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Education Card Header */
.education-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
    gap: 24px;
}

/* Education Badge */
.education-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #0071e3, #00a0e3);
    color: white;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
    box-shadow: 0 4px 15px rgba(0, 113, 227, 0.3);
    transition: all 0.3s ease;
}

.education-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 113, 227, 0.4);
}

.education-badge-secondary {
    background: linear-gradient(135deg, #6b7280, #9ca3af);
    box-shadow: 0 4px 15px rgba(107, 114, 128, 0.3);
}

.badge-icon {
    font-size: 14px;
}

/* Education Title */
.education-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 4px;
    line-height: 1.2;
}

.education-title-en {
    font-size: 18px;
    font-weight: 500;
    color: #6b7280;
    margin-bottom: 20px;
}

/* Education Institution */
.education-institution {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.institution-icon {
    font-size: 24px;
    margin-top: 2px;
    transition: transform 0.3s ease;
}

.education-card:hover .institution-icon {
    transform: scale(1.2) rotate(-5deg);
}

.institution-name {
    font-size: 18px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 4px;
}

.institution-name-en {
    font-size: 14px;
    color: #6b7280;
}

/* Education Period */
.education-period {
    flex-shrink: 0;
}

.period-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.1), rgba(0, 160, 227, 0.1));
    border-radius: 16px;
    border: 2px solid rgba(0, 113, 227, 0.2);
    transition: all 0.3s ease;
}

.education-card:hover .period-badge {
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.15), rgba(0, 160, 227, 0.15));
    border-color: rgba(0, 113, 227, 0.3);
    transform: scale(1.05);
}

.period-year {
    font-size: 20px;
    font-weight: 700;
    color: #0071e3;
    line-height: 1;
}

.period-separator {
    font-size: 16px;
    color: #6b7280;
    margin: 4px 0;
}

/* Education Details */
.education-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    z-index: 1;
}

.detail-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: rgba(245, 245, 247, 0.6);
    border-radius: 16px;
    border-left: 4px solid #0071e3;
    transition: all 0.3s ease;
}

.detail-item:hover {
    background: rgba(0, 113, 227, 0.05);
    transform: translateX(5px);
    border-left-width: 6px;
}

.detail-icon {
    font-size: 28px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.detail-item:hover .detail-icon {
    transform: scale(1.2) rotate(10deg);
}

.detail-content {
    flex: 1;
}

.detail-label {
    font-size: 13px;
    font-weight: 600;
    color: #0071e3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.detail-text {
    font-size: 16px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 6px;
}

.detail-subtext {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
}

.detail-subtext-en {
    font-size: 13px;
    color: #9ca3af;
    line-height: 1.5;
    margin-top: 4px;
}

/* Education Card Number */
.education-card-number {
    position: absolute;
    bottom: 20px;
    right: 30px;
    font-size: 64px;
    font-weight: 900;
    color: rgba(0, 113, 227, 0.04);
    line-height: 1;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.education-card:hover .education-card-number {
    color: rgba(0, 113, 227, 0.08);
    transform: scale(1.15) translateX(5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .timeline-line {
        left: 40px;
    }

    .timeline-node {
        left: 40px;
    }

    .timeline-node-inner {
        width: 60px;
        height: 60px;
    }

    .timeline-icon {
        font-size: 28px;
    }

    .education-card {
        margin-left: 100px !important;
        margin-right: 0 !important;
        padding: 28px;
    }

    .education-card-header {
        flex-direction: column;
        gap: 16px;
    }

    .education-title {
        font-size: 26px;
    }

    .education-title-en {
        font-size: 16px;
    }

    .institution-name {
        font-size: 16px;
    }

    .period-badge {
        align-self: flex-start;
        padding: 12px 16px;
    }

    .period-year {
        font-size: 18px;
    }

    .detail-item {
        padding: 16px;
        gap: 12px;
    }

    .detail-icon {
        font-size: 24px;
    }

    .education-card-number {
        font-size: 48px;
        bottom: 15px;
        right: 20px;
    }
}

/* ==================== Research Achievements Section ==================== */

/* Achievements Section Background */
.achievements-section {
    position: relative;
}

.achievements-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.5;
    background:
        radial-gradient(circle at 15% 20%, rgba(0, 113, 227, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 85% 80%, rgba(168, 85, 247, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(34, 197, 94, 0.03) 0%, transparent 60%);
    pointer-events: none;
}

/* Achievements Grid */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Achievement Card */
.achievement-card {
    position: relative;
    height: 100%;
    perspective: 1000px;
}

.achievement-card-inner {
    position: relative;
    height: 100%;
    background: white;
    border-radius: 32px;
    padding: 36px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    cursor: pointer;
}

.achievement-card-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 32px;
    padding: 2px;
    background: linear-gradient(135deg,
        rgba(0, 113, 227, 0.2),
        rgba(168, 85, 247, 0.2),
        rgba(34, 197, 94, 0.2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.achievement-card:hover .achievement-card-inner {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 113, 227, 0.15);
}

.achievement-card:hover .achievement-card-inner::before {
    opacity: 1;
}

/* Achievement Glow */
.achievement-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
    z-index: 0;
}

.achievement-glow-1 {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.4) 0%, transparent 70%);
    top: -100px;
    right: -100px;
}

.achievement-glow-2 {
    background: radial-gradient(circle, rgba(168, 85, 247, 0.4) 0%, transparent 70%);
    top: -100px;
    right: -100px;
}

.achievement-glow-3 {
    background: radial-gradient(circle, rgba(34, 197, 94, 0.4) 0%, transparent 70%);
    top: -100px;
    right: -100px;
}

.achievement-card:hover .achievement-glow {
    opacity: 1;
}

/* Achievement Header */
.achievement-header {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    z-index: 1;
}

/* Achievement Icon Container */
.achievement-icon-container {
    position: relative;
    width: 88px;
    height: 88px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.achievement-icon-container-1 {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(96, 165, 250, 0.2));
}

.achievement-icon-container-2 {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(192, 132, 252, 0.2));
}

.achievement-icon-container-3 {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(74, 222, 128, 0.2));
}

.achievement-card:hover .achievement-icon-container {
    transform: rotate(-10deg) scale(1.1);
    box-shadow: 0 15px 40px rgba(0, 113, 227, 0.25);
}

/* Achievement Icon Ring */
.achievement-icon-ring {
    position: absolute;
    inset: -8px;
    border-radius: 26px;
    border: 2px solid transparent;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.3), rgba(0, 160, 227, 0.3));
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    animation: ringPulse 3s ease-in-out infinite;
}

@keyframes ringPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.6;
    }
}

.achievement-card:hover .achievement-icon-ring {
    opacity: 1;
}

/* Achievement Icon */
.achievement-icon {
    font-size: 48px;
    position: relative;
    z-index: 1;
    animation: iconBreath 4s ease-in-out infinite;
}

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

.achievement-card:hover .achievement-icon {
    animation: iconSpin 0.8s ease;
}

@keyframes iconSpin {
    0% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.2) rotate(10deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
    }
}

/* Achievement Number */
.achievement-number {
    font-size: 80px;
    font-weight: 900;
    line-height: 1;
    color: rgba(0, 113, 227, 0.04);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
}

.achievement-card:hover .achievement-number {
    color: rgba(0, 113, 227, 0.1);
    transform: scale(1.1) translateX(-5px);
}

/* Achievement Content */
.achievement-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

/* Achievement Tags */
.achievement-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.achievement-tag {
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: default;
}

.tag-blue {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(96, 165, 250, 0.15));
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.tag-purple {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(192, 132, 252, 0.15));
    color: #a855f7;
    border: 1px solid rgba(168, 85, 247, 0.2);
}

.tag-green {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(74, 222, 128, 0.15));
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.achievement-tag:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.15);
}

/* Achievement Title */
.achievement-title {
    font-size: 24px;
    font-weight: 800;
    color: #1d1d1f;
    margin-bottom: 8px;
    line-height: 1.3;
    transition: all 0.3s ease;
}

.achievement-card:hover .achievement-title {
    background: linear-gradient(135deg, #0071e3, #00a0e3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.achievement-title-en {
    font-size: 14px;
    font-weight: 500;
    color: #9ca3af;
    margin-bottom: 20px;
}

/* Achievement Divider */
.achievement-divider {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #0071e3, #00a0e3);
    border-radius: 2px;
    margin-bottom: 20px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.achievement-card:hover .achievement-divider {
    width: 100%;
}

/* Achievement Description */
.achievement-description {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 24px;
}

/* Achievement Details */
.achievement-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.achievement-detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(245, 245, 247, 0.6);
    border-radius: 12px;
    border-left: 3px solid #0071e3;
    transition: all 0.3s ease;
}

.achievement-detail-item:hover {
    background: rgba(0, 113, 227, 0.05);
    transform: translateX(5px);
    border-left-width: 5px;
}

.detail-item-icon {
    font-size: 20px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.achievement-detail-item:hover .detail-item-icon {
    transform: scale(1.2) rotate(10deg);
}

.detail-item-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.detail-label {
    font-size: 11px;
    font-weight: 600;
    color: #0071e3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    font-size: 13px;
    font-weight: 500;
    color: #1d1d1f;
}

/* Achievement Footer */
.achievement-footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 1;
}

.achievement-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
    color: #6b7280;
    transition: color 0.3s ease;
}

.achievement-card:hover .achievement-status {
    color: #0071e3;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    animation: dotPulse 2s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
}

@keyframes dotPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .achievements-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .achievement-card-inner {
        padding: 28px;
    }

    .achievement-icon-container {
        width: 72px;
        height: 72px;
    }

    .achievement-icon {
        font-size: 40px;
    }

    .achievement-number {
        font-size: 60px;
    }

    .achievement-title {
        font-size: 20px;
    }

    .achievement-description {
        font-size: 13px;
    }
}

/* ==================== Publications Section ==================== */

/* Publications Section Background */
.publications-section {
    position: relative;
}

.publications-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.5;
    background-image:
        repeating-linear-gradient(0deg, rgba(0, 113, 227, 0.02) 0px, transparent 2px, transparent 40px),
        repeating-linear-gradient(90deg, rgba(0, 113, 227, 0.02) 0px, transparent 2px, transparent 40px);
    pointer-events: none;
}

/* Publications Header */
.publications-header {
    text-align: center;
    margin-bottom: 48px;
    position: relative;
}

.publications-header-icon {
    font-size: 56px;
    margin-bottom: 16px;
    animation: iconFloat 3s ease-in-out infinite;
}

.publications-header-title {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, #0071e3, #00a0e3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.publications-header-subtitle {
    font-size: 18px;
    color: #6b7280;
    font-weight: 500;
}

/* Publications List */
.publications-list {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.publications-list::before {
    content: '';
    position: absolute;
    left: 60px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(0, 113, 227, 0.3) 10%,
        rgba(0, 113, 227, 0.3) 90%,
        transparent 100%);
}

/* Publication Item */
.publication-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 140px;
}

.publication-item:last-child {
    margin-bottom: 0;
}

/* Publication Timeline Marker */
.publication-timeline-marker {
    position: absolute;
    left: 0;
    top: 24px;
}

.timeline-marker-inner {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0071e3, #00a0e3);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 0 0 8px rgba(245, 245, 247, 1),
        0 0 0 12px rgba(0, 113, 227, 0.15),
        0 10px 30px rgba(0, 113, 227, 0.3);
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-marker-inner::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid rgba(0, 113, 227, 0.3);
    animation: timelineRipple 2.5s ease-out infinite;
}

@keyframes timelineRipple {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.publication-item:hover .timeline-marker-inner {
    transform: scale(1.1) rotate(10deg);
    box-shadow:
        0 0 0 8px rgba(245, 245, 247, 1),
        0 0 0 16px rgba(0, 113, 227, 0.2),
        0 15px 40px rgba(0, 113, 227, 0.4);
}

.timeline-marker-year {
    font-size: 28px;
    font-weight: 800;
    color: white;
    position: relative;
    z-index: 1;
}

/* Publication Card */
.publication-card {
    position: relative;
    background: white;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    cursor: pointer;
}

.publication-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.3), rgba(0, 160, 227, 0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
}

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

.publication-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 113, 227, 0.15);
}

.publication-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 113, 227, 0.12) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.publication-card:hover .publication-card-glow {
    opacity: 1;
}

/* Publication Badges */
.publication-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.publication-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.badge-q1 {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

.badge-q1:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
}

.badge-star {
    font-size: 14px;
    animation: starTwinkle 2s ease-in-out infinite;
}

@keyframes starTwinkle {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.15);
    }
}

.badge-first-author {
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.1), rgba(0, 160, 227, 0.15));
    color: #0071e3;
    border: 1px solid rgba(0, 113, 227, 0.2);
}

.badge-preprint {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(96, 165, 250, 0.15));
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Publication Content */
.publication-content {
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
}

.publication-title {
    font-size: 17px;
    font-weight: 600;
    color: #1d1d1f;
    line-height: 1.6;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.publication-card:hover .publication-title {
    color: #0071e3;
}

.author-name {
    font-weight: 800;
    color: #0071e3;
    position: relative;
}

.author-name::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #0071e3, #00a0e3);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.publication-card:hover .author-name::after {
    transform: scaleX(1);
}

/* Publication Meta */
.publication-meta {
    margin-bottom: 20px;
}

.publication-journal {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(245, 245, 247, 0.6);
    border-radius: 16px;
    border-left: 4px solid #0071e3;
    transition: all 0.3s ease;
}

.publication-journal:hover {
    background: rgba(0, 113, 227, 0.05);
    transform: translateX(5px);
}

.journal-icon {
    font-size: 28px;
    transition: transform 0.3s ease;
}

.publication-journal:hover .journal-icon {
    transform: scale(1.2) rotate(-10deg);
}

.journal-name {
    font-size: 15px;
    font-weight: 700;
    color: #0071e3;
    margin-bottom: 4px;
}

.journal-category {
    font-size: 12px;
    color: #6b7280;
}

/* Publication Keywords */
.publication-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.keyword {
    padding: 6px 14px;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.08), rgba(0, 160, 227, 0.12));
    color: #0071e3;
    border-radius: 14px;
    font-size: 11px;
    font-weight: 600;
    border: 1px solid rgba(0, 113, 227, 0.15);
    transition: all 0.3s ease;
    cursor: default;
}

.keyword:hover {
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.15), rgba(0, 160, 227, 0.2));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.2);
}

/* Publication Footer */
.publication-footer {
    position: relative;
    z-index: 1;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.publication-stats {
    display: flex;
    gap: 16px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #6b7280;
    transition: color 0.3s ease;
}

.publication-card:hover .stat-item {
    color: #0071e3;
}

.stat-icon {
    font-size: 18px;
}

/* Academic Impact Section */
.academic-impact {
    max-width: 1000px;
    margin: 0 auto;
}

.impact-header {
    text-align: center;
    margin-bottom: 48px;
}

.impact-icon {
    font-size: 64px;
    margin-bottom: 20px;
    animation: iconFloat 3s ease-in-out infinite;
}

.impact-title {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 8px;
}

.impact-subtitle {
    font-size: 18px;
    color: #6b7280;
}

/* Impact Stats Grid */
.impact-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.impact-stat-card {
    position: relative;
    perspective: 1000px;
}

.stat-card-inner {
    position: relative;
    background: white;
    border-radius: 28px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.stat-card-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 28px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.3), rgba(0, 160, 227, 0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.impact-stat-card:hover .stat-card-inner {
    transform: translateY(-12px) rotateX(5deg);
    box-shadow: 0 25px 60px rgba(0, 113, 227, 0.15);
}

.impact-stat-card:hover .stat-card-inner::before {
    opacity: 1;
}

.stat-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.1), rgba(0, 160, 227, 0.15));
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
}

.impact-stat-card:hover .stat-icon-wrapper {
    transform: scale(1.1) rotate(-5deg);
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.15), rgba(0, 160, 227, 0.2));
}

.stat-icon-wrapper .stat-icon {
    font-size: 44px;
}

.stat-number {
    font-size: 56px;
    font-weight: 900;
    background: linear-gradient(135deg, #0071e3, #00a0e3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    line-height: 1;
}

.stat-label {
    font-size: 18px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 4px;
}

.stat-label-en {
    font-size: 14px;
    color: #9ca3af;
    margin-bottom: 20px;
}

.stat-bar {
    width: 100%;
    height: 4px;
    background: rgba(0, 113, 227, 0.1);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.stat-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #0071e3, #00a0e3);
    border-radius: 2px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.impact-stat-card:hover .stat-bar::after {
    width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .publications-list::before {
        left: 30px;
    }

    .publication-item {
        padding-left: 90px;
    }

    .timeline-marker-inner {
        width: 80px;
        height: 80px;
    }

    .timeline-marker-year {
        font-size: 20px;
    }

    .publication-card {
        padding: 24px;
    }

    .publication-title {
        font-size: 15px;
    }

    .journal-name {
        font-size: 14px;
    }

    .impact-stats-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .stat-number {
        font-size: 48px;
    }
}

/* ==================== Projects & Funding Section ==================== */

/* Projects Section Background */
.projects-section {
    position: relative;
}

.projects-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.4;
    background:
        radial-gradient(circle at 20% 30%, rgba(239, 68, 68, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(168, 85, 247, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto 60px;
}

/* Project Card */
.project-card {
    position: relative;
    perspective: 1000px;
}

.project-card-inner {
    position: relative;
    background: white;
    border-radius: 32px;
    padding: 40px;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    cursor: pointer;
}

.project-card-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 32px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.3), rgba(168, 85, 247, 0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.project-card:hover .project-card-inner {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 113, 227, 0.15);
}

.project-card:hover .project-card-inner::before {
    opacity: 1;
}

/* Project Card Glow */
.project-card-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
    z-index: 0;
}

.project-glow-red {
    background: radial-gradient(circle, rgba(239, 68, 68, 0.3) 0%, transparent 70%);
    top: -150px;
    right: -150px;
}

.project-glow-purple {
    background: radial-gradient(circle, rgba(168, 85, 247, 0.3) 0%, transparent 70%);
    top: -150px;
    right: -150px;
}

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

/* Project Header */
.project-header {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
    z-index: 1;
}

/* Project Icon Wrapper */
.project-icon-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-icon-red {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(248, 113, 113, 0.2));
}

.project-icon-purple {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(192, 132, 252, 0.2));
}

.project-card:hover .project-icon-wrapper {
    transform: rotate(-10deg) scale(1.1);
    box-shadow: 0 15px 40px rgba(0, 113, 227, 0.25);
}

/* Project Icon Ring */
.project-icon-ring {
    position: absolute;
    inset: -10px;
    border-radius: 30px;
    border: 3px solid transparent;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.3), rgba(168, 85, 247, 0.3));
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    animation: iconRingRotate 4s linear infinite;
}

@keyframes iconRingRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.project-card:hover .project-icon-ring {
    opacity: 1;
}

/* Project Icon */
.project-icon {
    font-size: 52px;
    position: relative;
    z-index: 1;
    animation: projectIconFloat 3s ease-in-out infinite;
}

@keyframes projectIconFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-8px) rotate(5deg);
    }
}

/* Project Icon Particles */
.project-icon-particles {
    position: absolute;
    inset: 0;
}

.project-icon-particles::before,
.project-icon-particles::after {
    content: '✨';
    position: absolute;
    font-size: 16px;
    opacity: 0;
    animation: particleFloat 3s ease-in-out infinite;
}

.project-icon-particles::before {
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.project-icon-particles::after {
    bottom: 10%;
    left: 10%;
    animation-delay: 1.5s;
}

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

/* Project Badge */
.project-badge {
    position: relative;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.badge-national {
    background: linear-gradient(135deg, #ef4444, #f87171);
    color: white;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.badge-institutional {
    background: linear-gradient(135deg, #a855f7, #c084fc);
    color: white;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}

.badge-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.project-badge:hover .badge-shine {
    left: 100%;
}

/* Project Content */
.project-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.project-title {
    font-size: 26px;
    font-weight: 800;
    color: #1d1d1f;
    margin-bottom: 8px;
    line-height: 1.3;
    transition: all 0.3s ease;
}

.project-card:hover .project-title {
    background: linear-gradient(135deg, #0071e3, #00a0e3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-title-en {
    font-size: 15px;
    color: #9ca3af;
    margin-bottom: 24px;
}

.project-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #0071e3, #00a0e3);
    border-radius: 2px;
    margin-bottom: 32px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-divider {
    width: 120px;
}

/* Project Info */
.project-info {
    margin-bottom: 28px;
}

.info-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 600;
    color: #0071e3;
}

.info-icon {
    font-size: 20px;
}

/* Grant Numbers */
.grant-numbers {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.grant-number-item {
    position: relative;
}

.grant-number-badge {
    position: relative;
    padding: 14px 20px;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.08), rgba(0, 160, 227, 0.12));
    border-radius: 16px;
    border: 2px solid rgba(0, 113, 227, 0.15);
    transition: all 0.3s ease;
    overflow: hidden;
}

.grant-number-badge:hover {
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.12), rgba(0, 160, 227, 0.18));
    border-color: rgba(0, 113, 227, 0.3);
    transform: translateX(5px);
}

.grant-number {
    font-size: 16px;
    font-weight: 700;
    color: #0071e3;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

.grant-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, #0071e3, #00a0e3);
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.grant-number-badge:hover .grant-progress {
    width: 100%;
}

/* Project Role */
.project-role {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: rgba(245, 245, 247, 0.6);
    border-radius: 16px;
    border-left: 4px solid #0071e3;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.project-role:hover {
    background: rgba(0, 113, 227, 0.05);
    transform: translateX(5px);
}

.role-icon {
    font-size: 32px;
    transition: transform 0.3s ease;
}

.project-role:hover .role-icon {
    transform: scale(1.2) rotate(-10deg);
}

.role-title {
    font-size: 16px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 4px;
}

.role-title-en {
    font-size: 13px;
    color: #6b7280;
}

/* Project Honors */
.project-honors {
    padding: 24px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.05), rgba(245, 158, 11, 0.08));
    border-radius: 20px;
    border: 2px solid rgba(251, 191, 36, 0.2);
}

.honors-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.honors-icon {
    font-size: 28px;
    animation: iconFloat 3s ease-in-out infinite;
}

.honors-title {
    font-size: 16px;
    font-weight: 700;
    color: #1d1d1f;
}

.honor-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.honor-medal {
    position: relative;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(251, 191, 36, 0.4);
    transition: all 0.4s ease;
}

.honor-medal:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 12px 32px rgba(251, 191, 36, 0.5);
}

.medal-icon {
    font-size: 36px;
    position: relative;
    z-index: 1;
}

.medal-shine {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: medalRotate 3s linear infinite;
}

@keyframes medalRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.honor-name {
    font-size: 15px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 4px;
}

.honor-name-en {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 8px;
}

.honor-badge {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Project Decoration */
.project-decoration {
    position: absolute;
    bottom: 20px;
    right: 30px;
    font-size: 72px;
    font-weight: 900;
    color: rgba(0, 113, 227, 0.03);
    line-height: 1;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 0;
}

.project-card:hover .project-decoration {
    color: rgba(0, 113, 227, 0.06);
    transform: scale(1.2) rotate(-5deg);
}

/* Funding Summary */
.funding-summary {
    max-width: 1000px;
    margin: 0 auto;
}

.summary-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(245, 245, 247, 0.9));
    backdrop-filter: blur(10px);
    border-radius: 32px;
    padding: 48px;
    box-shadow: 0 20px 60px rgba(0, 113, 227, 0.1);
    border: 1px solid rgba(0, 113, 227, 0.1);
    transition: all 0.5s ease;
}

.summary-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(0, 113, 227, 0.15);
}

.summary-header {
    text-align: center;
    margin-bottom: 40px;
}

.summary-icon {
    font-size: 56px;
    margin-bottom: 20px;
    animation: iconFloat 3s ease-in-out infinite;
}

.summary-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 8px;
}

.summary-subtitle {
    font-size: 16px;
    color: #6b7280;
}

.summary-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
}

.summary-stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
}

.summary-stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 113, 227, 0.12);
}

.stat-icon-box {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.1), rgba(0, 160, 227, 0.15));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.summary-stat-item:hover .stat-icon-box {
    transform: rotate(-10deg) scale(1.1);
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.15), rgba(0, 160, 227, 0.2));
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 28px;
    font-weight: 900;
    background: linear-gradient(135deg, #0071e3, #00a0e3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 2px;
}

.stat-label-en {
    font-size: 11px;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .project-card-inner {
        padding: 32px;
        min-height: auto;
    }

    .project-icon-wrapper {
        width: 80px;
        height: 80px;
    }

    .project-icon {
        font-size: 40px;
    }

    .project-title {
        font-size: 22px;
    }

    .summary-card {
        padding: 32px;
    }

    .summary-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ========================================
   Technical Expertise Section
   ======================================== */

.expertise-section {
    position: relative;
    background: #f5f5f7;
}

.expertise-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.03;
    background-image:
        radial-gradient(circle at 20% 30%, #0071e3 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, #8e44ad 1px, transparent 1px);
    background-size: 50px 50px;
    animation: patternMove 20s linear infinite;
}

@keyframes patternMove {
    0% {
        background-position: 0 0, 25px 25px;
    }
    100% {
        background-position: 50px 50px, 75px 75px;
    }
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.expertise-category {
    position: relative;
}

.expertise-category-inner {
    position: relative;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.expertise-category-inner:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Category Glow Effects */
.category-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.expertise-category-inner:hover .category-glow {
    opacity: 0.15;
}

.category-glow-blue {
    background: radial-gradient(circle, #0071e3, transparent);
    top: -150px;
    right: -150px;
}

.category-glow-purple {
    background: radial-gradient(circle, #8e44ad, transparent);
    top: -150px;
    right: -150px;
}

.category-glow-green {
    background: radial-gradient(circle, #34c759, transparent);
    top: -150px;
    right: -150px;
}

/* Category Divider */
.category-divider {
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        rgba(0, 113, 227, 0.15),
        transparent
    );
    margin-bottom: 24px;
}

.expertise-category[data-category="clinical"] .category-divider {
    background: linear-gradient(90deg,
        transparent,
        rgba(142, 68, 173, 0.15),
        transparent
    );
}

/* Category Header */
.category-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(0, 113, 227, 0.1);
}

.category-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.category-icon {
    position: relative;
    z-index: 3;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    border-radius: 20px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.expertise-category-inner:hover .category-icon {
    transform: scale(1.1) rotate(5deg);
}

.category-icon-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: orbit 8s linear infinite;
    z-index: 1;
}

.category-icon-blue .category-icon-orbit {
    border: 2px dashed rgba(0, 113, 227, 0.3);
}

.category-icon-purple .category-icon-orbit {
    border: 2px dashed rgba(142, 68, 173, 0.3);
}

.category-icon-green .category-icon-orbit {
    border: 2px dashed rgba(52, 199, 89, 0.3);
}

@keyframes orbit {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.category-icon-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: iconPulse 2s ease-in-out infinite;
    z-index: 2;
}

.category-icon-blue .category-icon-pulse {
    background: radial-gradient(circle, rgba(0, 113, 227, 0.2), transparent 70%);
}

.category-icon-purple .category-icon-pulse {
    background: radial-gradient(circle, rgba(142, 68, 173, 0.2), transparent 70%);
}

.category-icon-green .category-icon-pulse {
    background: radial-gradient(circle, rgba(52, 199, 89, 0.2), transparent 70%);
}

@keyframes iconPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0;
    }
}

/* Category Info */
.category-info {
    flex: 1;
}

.category-title {
    font-size: 28px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.category-subtitle {
    font-size: 16px;
    color: #86868b;
    margin-bottom: 8px;
}

.category-count {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.1), rgba(0, 160, 227, 0.1));
    color: #0071e3;
}

.expertise-category[data-category="clinical"] .category-count {
    background: linear-gradient(135deg, rgba(142, 68, 173, 0.1), rgba(155, 89, 182, 0.1));
    color: #8e44ad;
}

/* Skills Cloud */
.skills-cloud {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.skill-item {
    position: relative;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    border: 1px solid rgba(0, 113, 227, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    overflow: hidden;
}

.skill-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.03), rgba(0, 160, 227, 0.03));
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-item:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-4px);
    border-color: rgba(0, 113, 227, 0.3);
    box-shadow: 0 12px 32px rgba(0, 113, 227, 0.15);
}

.skill-item:hover::before {
    opacity: 1;
}

.expertise-category[data-category="clinical"] .skill-item {
    border-color: rgba(142, 68, 173, 0.1);
}

.expertise-category[data-category="clinical"] .skill-item::before {
    background: linear-gradient(135deg, rgba(142, 68, 173, 0.03), rgba(155, 89, 182, 0.03));
}

.expertise-category[data-category="clinical"] .skill-item:hover {
    border-color: rgba(142, 68, 173, 0.3);
    box-shadow: 0 12px 32px rgba(142, 68, 173, 0.15);
}

/* Skill Header */
.skill-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.skill-name-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.skill-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    border-radius: 8px;
    background: rgba(0, 113, 227, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-item:hover .skill-icon {
    transform: scale(1.15) rotate(5deg);
    background: rgba(0, 113, 227, 0.15);
}

.expertise-category[data-category="clinical"] .skill-icon {
    background: rgba(142, 68, 173, 0.08);
}

.expertise-category[data-category="clinical"] .skill-item:hover .skill-icon {
    background: rgba(142, 68, 173, 0.15);
}

.skill-name {
    font-size: 15px;
    font-weight: 600;
    color: #1d1d1f;
    letter-spacing: -0.2px;
}

.skill-percentage {
    font-size: 14px;
    font-weight: 700;
    background: linear-gradient(135deg, #0071e3, #00a0e3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    min-width: 45px;
    text-align: right;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-item:hover .skill-percentage {
    transform: scale(1.1);
}

.expertise-category[data-category="clinical"] .skill-percentage {
    background: linear-gradient(135deg, #8e44ad, #9b59b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Skill Bar */
.skill-bar {
    position: relative;
    height: 6px;
    background: rgba(0, 113, 227, 0.1);
    border-radius: 3px;
    overflow: visible;
    z-index: 1;
}

.expertise-category[data-category="clinical"] .skill-bar {
    background: rgba(142, 68, 173, 0.1);
}

.skill-bar-fill {
    position: relative;
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, #0071e3, #00a0e3);
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 113, 227, 0.3);
}

.expertise-category[data-category="clinical"] .skill-bar-fill {
    background: linear-gradient(90deg, #8e44ad, #9b59b6);
    box-shadow: 0 2px 8px rgba(142, 68, 173, 0.3);
}

.skill-item.visible .skill-bar-fill {
    animation: skillBarGrow 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes skillBarGrow {
    0% {
        width: 0 !important;
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.skill-bar-fill::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    animation: skillBarShine 2.5s ease-in-out infinite;
}

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

.skill-bar-glow {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 113, 227, 0.6), transparent 70%);
    filter: blur(8px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-item:hover .skill-bar-glow {
    width: 20px;
    height: 20px;
    opacity: 1;
}

.expertise-category[data-category="clinical"] .skill-bar-glow {
    background: radial-gradient(circle, rgba(142, 68, 173, 0.6), transparent 70%);
}

/* Category Footer */
.category-footer {
    padding-top: 20px;
    border-top: 1px solid rgba(0, 113, 227, 0.1);
}

.expertise-category[data-category="clinical"] .category-footer {
    border-top-color: rgba(142, 68, 173, 0.1);
}

.category-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-label {
    font-size: 12px;
    color: #86868b;
    font-weight: 500;
    text-align: center;
}

.category-footer-label {
    font-size: 13px;
    color: #86868b;
    margin-bottom: 8px;
    font-weight: 500;
}

.stat-bar {
    position: relative;
    height: 8px;
    background: rgba(0, 113, 227, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.expertise-category[data-category="clinical"] .stat-bar {
    background: rgba(142, 68, 173, 0.1);
}

.stat-bar-fill {
    height: 100%;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.expertise-category[data-category="experimental"] .stat-bar-fill {
    background: linear-gradient(90deg, #0071e3, #00a0e3);
}

.expertise-category[data-category="clinical"] .stat-bar-fill {
    background: linear-gradient(90deg, #8e44ad, #9b59b6);
}

.expertise-category.visible .stat-bar-fill {
    animation: barFill 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes barFill {
    0% {
        width: 0;
    }
}

.stat-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: barShine 2s ease-in-out infinite;
}

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

/* Skill Overview Statistics */
.skill-overview {
    margin-top: 48px;
    display: flex;
    justify-content: center;
}

.overview-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px 48px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    max-width: 900px;
    width: 100%;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.overview-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.overview-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
}

.overview-icon {
    font-size: 28px;
    animation: float 3s ease-in-out infinite;
}

.overview-title {
    font-size: 20px;
    font-weight: 700;
    color: #1d1d1f;
    letter-spacing: -0.3px;
}

.overview-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 32px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: rgba(0, 113, 227, 0.03);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.05), rgba(0, 160, 227, 0.05));
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-item:hover {
    transform: translateY(-4px);
    background: rgba(0, 113, 227, 0.06);
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-icon {
    font-size: 32px;
    position: relative;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-item:hover .stat-icon {
    transform: scale(1.15) rotate(5deg);
}

.stat-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    position: relative;
    z-index: 1;
}

.stat-value {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, #0071e3, #00a0e3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 14px;
    font-weight: 600;
    color: #1d1d1f;
    text-align: center;
}

.stat-sublabel {
    font-size: 11px;
    color: #86868b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.overview-highlights {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 113, 227, 0.1);
}

.highlight-tag {
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.08), rgba(0, 160, 227, 0.08));
    border: 1px solid rgba(0, 113, 227, 0.2);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #0071e3;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.highlight-tag:hover {
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.15), rgba(0, 160, 227, 0.15));
    border-color: rgba(0, 113, 227, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.15);
}

/* ========================================
   Future Directions Section
   ======================================== */

.future-section {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
}

.future-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.04;
    background-image:
        radial-gradient(circle at 25% 25%, #ff9500 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, #8e44ad 2px, transparent 2px);
    background-size: 60px 60px;
    animation: futurePatternMove 30s linear infinite;
}

@keyframes futurePatternMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(60px, 60px);
    }
}

/* Timeline */
.future-timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline-connector {
    position: absolute;
    left: 50%;
    top: 80px;
    bottom: 80px;
    width: 2px;
    background: linear-gradient(180deg,
        transparent,
        rgba(0, 113, 227, 0.2) 10%,
        rgba(0, 113, 227, 0.2) 90%,
        transparent
    );
    transform: translateX(-50%);
}

.timeline-section {
    position: relative;
    margin-bottom: 80px;
}

.timeline-header {
    display: flex;
    justify-content: center;
    margin-bottom: 48px;
}

.timeline-period {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px 40px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 10;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-period:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

/* Period Icon */
.period-icon {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.period-icon-orange {
    background: linear-gradient(135deg, #ff9500, #ff6d00);
}

.period-icon-gradient {
    background: linear-gradient(135deg, #8e44ad, #9b59b6);
}

.icon-ring {
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 2px solid;
    border-radius: 50%;
    animation: iconRingSpin 10s linear infinite;
}

.period-icon-orange .icon-ring {
    border-color: rgba(255, 149, 0, 0.3);
}

.period-icon-gradient .icon-ring {
    border-color: rgba(142, 68, 173, 0.3);
}

@keyframes iconRingSpin {
    0% {
        transform: rotate(0deg);
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        transform: rotate(360deg);
        opacity: 0.3;
    }
}

.icon-pulse {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent 70%);
    animation: iconPulseEffect 2s ease-in-out infinite;
}

@keyframes iconPulseEffect {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.2);
        opacity: 0;
    }
}

.icon-content {
    font-size: 36px;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.period-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.period-title {
    font-size: 32px;
    font-weight: 800;
    color: #1d1d1f;
    letter-spacing: -0.5px;
}

.period-subtitle {
    font-size: 14px;
    color: #86868b;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.period-duration {
    font-size: 13px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.1), rgba(0, 160, 227, 0.1));
    color: #0071e3;
    display: inline-block;
    margin-top: 4px;
}

/* Goals Grid */
.goals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.goal-card {
    position: relative;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.goal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.03), rgba(0, 160, 227, 0.03));
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.goal-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 113, 227, 0.2);
}

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

.goal-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 64px;
    font-weight: 900;
    color: rgba(0, 113, 227, 0.05);
    line-height: 1;
    z-index: 1;
}

.goal-icon-wrapper {
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

.goal-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.goal-icon-blue {
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.1), rgba(0, 160, 227, 0.1));
}

.goal-icon-purple {
    background: linear-gradient(135deg, rgba(142, 68, 173, 0.1), rgba(155, 89, 182, 0.1));
}

.goal-icon-green {
    background: linear-gradient(135deg, rgba(52, 199, 89, 0.1), rgba(48, 209, 88, 0.1));
}

.goal-content {
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

.goal-title {
    font-size: 18px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 4px;
    letter-spacing: -0.3px;
}

.goal-subtitle {
    font-size: 12px;
    color: #86868b;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.goal-description {
    font-size: 14px;
    color: #6e6e73;
    line-height: 1.6;
}

.goal-progress {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    z-index: 2;
}

.progress-bar {
    height: 6px;
    background: rgba(0, 113, 227, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0071e3, #00a0e3);
    border-radius: 3px;
    position: relative;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 113, 227, 0.3);
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    animation: progressShine 2s ease-in-out infinite;
}

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

.progress-label {
    font-size: 12px;
    font-weight: 600;
    color: #0071e3;
    text-align: right;
}

/* Vision Grid */
.vision-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.vision-card {
    position: relative;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 36px 32px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(142, 68, 173, 0.03), rgba(155, 89, 182, 0.03));
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.vision-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    border-color: rgba(142, 68, 173, 0.2);
}

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

.vision-badge {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8e44ad;
    background: linear-gradient(135deg, rgba(142, 68, 173, 0.1), rgba(155, 89, 182, 0.1));
    padding: 6px 16px;
    border-radius: 12px;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

.vision-icon-wrapper {
    position: relative;
    margin-bottom: 24px;
    z-index: 2;
}

.vision-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(142, 68, 173, 0.1), rgba(155, 89, 182, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.vision-card:hover .vision-icon {
    transform: scale(1.15) rotate(10deg);
}

.vision-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(142, 68, 173, 0.3), transparent 70%);
    transform: translate(-50%, -50%);
    filter: blur(20px);
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.vision-card:hover .vision-glow {
    opacity: 1;
}

.vision-title {
    font-size: 20px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 6px;
    letter-spacing: -0.3px;
    position: relative;
    z-index: 2;
}

.vision-subtitle {
    font-size: 12px;
    color: #86868b;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 2;
}

.vision-description {
    font-size: 14px;
    color: #6e6e73;
    line-height: 1.6;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

.vision-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.vision-tag {
    font-size: 11px;
    font-weight: 600;
    color: #8e44ad;
    background: rgba(142, 68, 173, 0.08);
    padding: 6px 14px;
    border-radius: 12px;
    border: 1px solid rgba(142, 68, 173, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.vision-card:hover .vision-tag {
    background: rgba(142, 68, 173, 0.15);
    border-color: rgba(142, 68, 173, 0.3);
}

/* Impact Statement */
.impact-statement {
    margin-top: 80px;
    display: flex;
    justify-content: center;
}

.impact-card {
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.05), rgba(142, 68, 173, 0.05));
    backdrop-filter: blur(20px);
    border-radius: 28px;
    padding: 48px 64px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    max-width: 900px;
    display: flex;
    align-items: center;
    gap: 32px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.impact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.impact-icon {
    font-size: 64px;
    flex-shrink: 0;
    animation: float 3s ease-in-out infinite;
}

.impact-content {
    flex: 1;
}

.impact-title {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #0071e3, #8e44ad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.impact-text {
    font-size: 16px;
    color: #1d1d1f;
    line-height: 1.7;
    margin-bottom: 8px;
}

.impact-text-en {
    font-size: 14px;
    color: #86868b;
    line-height: 1.6;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 32px;
    }

    .expertise-category-inner {
        padding: 28px;
    }

    .category-header {
        gap: 16px;
        margin-bottom: 24px;
        padding-bottom: 20px;
    }

    .category-icon-wrapper {
        width: 64px;
        height: 64px;
    }

    .category-icon {
        width: 64px;
        height: 64px;
        font-size: 28px;
    }

    .category-title {
        font-size: 22px;
    }

    .category-subtitle {
        font-size: 14px;
    }

    .skill-item {
        padding: 16px 20px;
    }

    .skill-name {
        font-size: 14px;
    }

    .skill-icon {
        width: 28px;
        height: 28px;
        font-size: 16px;
    }

    .skill-percentage {
        font-size: 13px;
    }

    .overview-card {
        padding: 28px 24px;
    }

    .overview-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        margin-bottom: 24px;
    }

    .stat-item {
        padding: 16px;
    }

    .stat-icon {
        font-size: 28px;
    }

    .stat-value {
        font-size: 28px;
    }

    .stat-label {
        font-size: 13px;
    }

    .stat-sublabel {
        font-size: 10px;
    }

    .overview-highlights {
        gap: 8px;
    }

    .highlight-tag {
        padding: 6px 16px;
        font-size: 12px;
    }

    /* Future Directions Responsive */
    .timeline-connector {
        display: none;
    }

    .timeline-section {
        margin-bottom: 48px;
    }

    .timeline-period {
        flex-direction: column;
        padding: 20px 24px;
        gap: 16px;
        text-align: center;
    }

    .period-icon {
        width: 64px;
        height: 64px;
    }

    .icon-content {
        font-size: 28px;
    }

    .period-title {
        font-size: 24px;
    }

    .period-subtitle {
        font-size: 12px;
    }

    .period-duration {
        font-size: 12px;
    }

    .goals-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .goal-card {
        padding: 24px;
    }

    .goal-number {
        font-size: 48px;
        top: 16px;
        right: 16px;
    }

    .goal-icon {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }

    .goal-title {
        font-size: 16px;
    }

    .goal-subtitle {
        font-size: 11px;
    }

    .goal-description {
        font-size: 13px;
    }

    .vision-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .vision-card {
        padding: 28px 24px;
    }

    .vision-badge {
        font-size: 10px;
        padding: 5px 14px;
    }

    .vision-icon {
        width: 64px;
        height: 64px;
        font-size: 32px;
    }

    .vision-title {
        font-size: 18px;
    }

    .vision-subtitle {
        font-size: 11px;
    }

    .vision-description {
        font-size: 13px;
    }

    .vision-tag {
        font-size: 10px;
        padding: 5px 12px;
    }

    .impact-statement {
        margin-top: 48px;
    }

    .impact-card {
        flex-direction: column;
        padding: 32px 24px;
        gap: 20px;
        text-align: center;
    }

    .impact-icon {
        font-size: 48px;
    }

    .impact-title {
        font-size: 20px;
    }

    .impact-text {
        font-size: 14px;
    }

    .impact-text-en {
        font-size: 13px;
    }

    /* Contact Section Responsive */
    #contact {
        padding: 60px 20px !important;
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-bottom: 36px;
        padding: 0;
    }

    .contact-card-main {
        grid-column: 1 / -1;
        margin-bottom: 0;
    }

    /* 统一所有联系卡片的移动端样式 - 2等分布局优化 */
    .contact-card {
        padding: 28px 20px;
        min-height: auto;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        margin-bottom: 0;
    }

    .contact-icon-wrapper {
        margin-bottom: 16px;
    }

    .contact-icon {
        width: 56px;
        height: 56px;
        font-size: 26px;
    }

    .icon-orbit-ring {
        top: -6px;
        left: -6px;
        right: -6px;
        bottom: -6px;
    }

    .contact-title {
        font-size: 17px;
        margin-bottom: 6px;
        line-height: 1.3;
    }

    .contact-subtitle {
        font-size: 10px;
        margin-bottom: 14px;
        letter-spacing: 0.5px;
    }

    .contact-divider {
        margin: 14px auto 16px;
        width: 50px;
    }

    /* Contact info wrapper - mobile 2等分优化 */
    .contact-info-wrapper {
        gap: 10px;
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    /* Email link - mobile responsive */
    .contact-email-link {
        font-size: 13px;
        padding: 14px 16px;
        /* 使用更智能的换行策略 */
        word-break: normal;
        overflow-wrap: anywhere;
        hyphens: auto;
        line-height: 1.5;
        white-space: normal;
        display: block;
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }

    /* Info item - mobile 2等分优化 */
    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 12px 14px;
        min-height: auto;
    }

    .info-label {
        font-size: 11px;
        width: 100%;
        text-align: left;
    }

    .info-value {
        font-size: 13px;
        width: 100%;
        text-align: left;
        word-break: normal;
        overflow-wrap: break-word;
        line-height: 1.5;
    }

    .contact-content {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    /* 确保所有文本元素都能正常换行 */
    .contact-card * {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    /* 防止容器宽度溢出 */
    .contact-card,
    .contact-content,
    .contact-info-wrapper {
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Affiliation card text adjustments - 占满整行 */
    .contact-card-main {
        padding: 32px 24px;
    }

    .contact-card-main .contact-icon {
        width: 64px;
        height: 64px;
        font-size: 30px;
    }

    .contact-card-main .contact-title {
        font-size: 18px;
    }

    .contact-card-main .contact-text-primary {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 10px;
        word-break: normal;
        overflow-wrap: break-word;
        white-space: normal;
        text-align: center;
    }

    .contact-card-main .contact-text-secondary {
        font-size: 12px;
        line-height: 1.6;
        margin-bottom: 6px;
        word-break: normal;
        overflow-wrap: break-word;
        white-space: normal;
        text-align: center;
    }

    .cta-card {
        flex-direction: column;
        padding: 36px 28px;
        gap: 24px;
        text-align: center;
        border-radius: 24px;
    }

    .cta-card::before {
        border-radius: 24px;
    }

    .cta-icon {
        font-size: 56px;
    }

    .cta-content {
        width: 100%;
    }

    .cta-title {
        font-size: 24px;
        letter-spacing: -0.3px;
    }

    .cta-text {
        font-size: 15px;
    }

    .cta-pulse {
        top: 24px;
        right: 24px;
        transform: none;
        width: 16px;
        height: 16px;
    }

    .location-card {
        padding: 24px 20px;
    }

    .location-header {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .location-pin {
        font-size: 32px;
    }

    .location-title {
        font-size: 16px;
    }

    .location-subtitle {
        font-size: 11px;
    }

    .location-details {
        flex-direction: column;
        gap: 16px;
    }

    .location-row {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .location-city {
        font-size: 14px;
    }

    .location-city-en {
        font-size: 12px;
    }

    .location-badge {
        font-size: 11px;
        padding: 8px 16px;
    }

    .update-notice {
        flex-direction: column;
        padding: 20px 16px;
        text-align: center;
        gap: 12px;
    }

    .update-icon {
        font-size: 28px;
    }

    .update-text {
        font-size: 11px;
        line-height: 1.6;
    }
}

/* ========================================
   Contact Information Section
   ======================================== */

.contact-section {
    position: relative;
    background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
}

.contact-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.05;
    background-image:
        radial-gradient(circle at 20% 40%, #0071e3 1px, transparent 1px),
        radial-gradient(circle at 80% 60%, #34c759 1px, transparent 1px);
    background-size: 50px 50px;
    animation: contactPatternMove 25s linear infinite;
}

@keyframes contactPatternMove {
    0% {
        background-position: 0 0, 25px 25px;
    }
    100% {
        background-position: 50px 50px, 75px 75px;
    }
}

.contact-gradient-orb {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    pointer-events: none;
}

.contact-orb-1 {
    top: 10%;
    left: -10%;
    background: radial-gradient(circle, #0071e3, transparent);
    animation: orbFloat1 20s ease-in-out infinite;
}

.contact-orb-2 {
    bottom: 10%;
    right: -10%;
    background: radial-gradient(circle, #34c759, transparent);
    animation: orbFloat2 25s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(100px, 50px);
    }
}

@keyframes orbFloat2 {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(-100px, -50px);
    }
}

/* Contact Cards Grid - 桌面端2等分布局 */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.contact-card {
    position: relative;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 36px 28px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-card-main {
    grid-column: 1 / -1;
}

.contact-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.02), rgba(52, 199, 89, 0.02));
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 113, 227, 0.2);
}

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

/* Contact Icon */
.contact-icon-wrapper {
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

.contact-icon {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-card:hover .contact-icon {
    transform: scale(1.1) rotate(10deg);
}

.contact-icon-blue {
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.1), rgba(0, 160, 227, 0.1));
}

.contact-icon-green {
    background: linear-gradient(135deg, rgba(52, 199, 89, 0.1), rgba(48, 209, 88, 0.1));
}

.contact-icon-purple {
    background: linear-gradient(135deg, rgba(142, 68, 173, 0.1), rgba(155, 89, 182, 0.1));
}

.icon-orbit-ring {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px dashed rgba(0, 113, 227, 0.2);
    border-radius: 50%;
    animation: orbitRing 10s linear infinite;
}

.contact-icon-green .icon-orbit-ring {
    border-color: rgba(52, 199, 89, 0.2);
}

.contact-icon-purple .icon-orbit-ring {
    border-color: rgba(142, 68, 173, 0.2);
}

@keyframes orbitRing {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.icon-emoji {
    position: relative;
    z-index: 1;
}

/* Contact Content */
.contact-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.contact-title {
    font-size: 20px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 4px;
    letter-spacing: -0.3px;
}

.contact-subtitle {
    font-size: 12px;
    color: #86868b;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.contact-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #0071e3, transparent);
    margin: 0 auto 20px;
}

.contact-text-primary {
    font-size: 15px;
    font-weight: 600;
    color: #1d1d1f;
    line-height: 1.6;
    margin-bottom: 8px;
}

.contact-text-secondary {
    font-size: 13px;
    color: #6e6e73;
    line-height: 1.5;
    margin-bottom: 4px;
}

.contact-email {
    color: #0071e3;
    font-style: italic;
}

/* Contact Info Wrapper - 联系信息容器 */
.contact-info-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Email Link - 邮箱链接 */
.contact-email-link {
    display: inline-block;
    font-size: 15px;
    font-weight: 600;
    color: #0071e3;
    text-decoration: none;
    padding: 12px 20px;
    background: rgba(0, 113, 227, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(0, 113, 227, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    word-break: normal;
    overflow-wrap: anywhere;
    text-align: center;
    white-space: normal;
    line-height: 1.6;
    max-width: 100%;
}

.contact-email-link:hover {
    background: rgba(0, 113, 227, 0.1);
    border-color: rgba(0, 113, 227, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.15);
}

.contact-email-link:active {
    transform: translateY(0);
}

/* Info Item - 信息项 */
.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background: rgba(142, 68, 173, 0.04);
    border-radius: 12px;
    border: 1px solid rgba(142, 68, 173, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 16px;
}

.info-item:hover {
    background: rgba(142, 68, 173, 0.08);
    border-color: rgba(142, 68, 173, 0.15);
    transform: translateX(4px);
}

.info-label {
    font-size: 13px;
    color: #86868b;
    font-weight: 500;
    white-space: nowrap;
}

.info-value {
    font-size: 15px;
    font-weight: 600;
    color: #1d1d1f;
    text-align: right;
}

/* Card Shine Effect */
.contact-card-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-card:hover .contact-card-shine {
    left: 100%;
}

/* CTA Section - 期待与您交流 */
.contact-cta {
    margin-bottom: 48px;
}

.cta-card {
    position: relative;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.06), rgba(52, 199, 89, 0.06));
    backdrop-filter: blur(30px);
    border-radius: 28px;
    padding: 48px 56px;
    border: 2px solid transparent;
    background-clip: padding-box;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 36px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 28px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.3), rgba(52, 199, 89, 0.3));
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-card::after {
    content: '';
    position: absolute;
    inset: -100%;
    background: conic-gradient(
        from 0deg at 50% 50%,
        transparent 0deg,
        rgba(0, 113, 227, 0.1) 90deg,
        rgba(52, 199, 89, 0.1) 180deg,
        transparent 270deg,
        transparent 360deg
    );
    animation: ctaRotate 8s linear infinite;
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes ctaRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.cta-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow:
        0 25px 70px rgba(0, 113, 227, 0.15),
        0 10px 30px rgba(52, 199, 89, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

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

.cta-card:hover::after {
    opacity: 1;
}

.cta-icon {
    position: relative;
    font-size: 64px;
    flex-shrink: 0;
    animation: ctaIconFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 4px 12px rgba(0, 113, 227, 0.2));
    z-index: 1;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-card:hover .cta-icon {
    transform: scale(1.15) rotate(10deg);
    filter: drop-shadow(0 6px 20px rgba(0, 113, 227, 0.3));
}

@keyframes ctaIconFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-8px) rotate(-5deg);
    }
    50% {
        transform: translateY(0) rotate(0deg);
    }
    75% {
        transform: translateY(-8px) rotate(5deg);
    }
}

.cta-content {
    flex: 1;
    z-index: 1;
}

.cta-title {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #0071e3, #00a0e3, #34c759);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    animation: gradientShift 5s ease infinite;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.cta-card:hover .cta-title {
    letter-spacing: 0px;
}

.cta-text {
    font-size: 16px;
    color: #6e6e73;
    line-height: 1.7;
    font-weight: 500;
    transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-card:hover .cta-text {
    color: #1d1d1f;
}

.cta-pulse {
    position: absolute;
    top: 50%;
    right: 48px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #34c759, #30d158);
    transform: translateY(-50%);
    animation: ctaPulse 2.5s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.7);
    z-index: 1;
}

@keyframes ctaPulse {
    0%, 100% {
        box-shadow:
            0 0 0 0 rgba(52, 199, 89, 0.7),
            0 0 10px rgba(52, 199, 89, 0.5);
        transform: translateY(-50%) scale(1);
    }
    50% {
        box-shadow:
            0 0 0 20px rgba(52, 199, 89, 0),
            0 0 20px rgba(52, 199, 89, 0);
        transform: translateY(-50%) scale(1.1);
    }
}

/* Location Showcase */
.location-showcase {
    margin-bottom: 40px;
}

.location-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 36px 40px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.location-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.location-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(0, 113, 227, 0.1);
}

.location-pin {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 59, 48, 0.1), rgba(255, 149, 0, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    animation: locationPulse 2s ease-in-out infinite;
}

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

.location-info {
    flex: 1;
}

.location-title {
    font-size: 22px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 4px;
    letter-spacing: -0.3px;
}

.location-subtitle {
    font-size: 13px;
    color: #86868b;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.location-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.location-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.location-icon {
    font-size: 32px;
}

.location-text {
    flex: 1;
}

.location-city {
    font-size: 16px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 2px;
}

.location-city-en {
    font-size: 13px;
    color: #6e6e73;
}

.location-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(255, 59, 48, 0.08), rgba(255, 149, 0, 0.08));
    border: 1px solid rgba(255, 149, 0, 0.2);
    border-radius: 16px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff9500;
    animation: badgeDotPulse 2s ease-in-out infinite;
}

@keyframes badgeDotPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.badge-text {
    font-size: 13px;
    font-weight: 600;
    color: #ff9500;
}

/* Update Notice */
.update-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    background: rgba(0, 113, 227, 0.03);
    border-radius: 20px;
    border: 1px dashed rgba(0, 113, 227, 0.2);
}

.update-icon {
    font-size: 20px;
    animation: float 3s ease-in-out infinite;
}

.update-text {
    font-size: 13px;
    color: #6e6e73;
    font-weight: 500;
}

/* Card Hover Effect */
.card-hover {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

/* Scroll Fade Animation */
.scroll-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.scroll-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Section Divider */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 113, 227, 0.3), transparent);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f5f5f7;
}

::-webkit-scrollbar-thumb {
    background: #d1d1d6;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a1a1a6;
}

/* Animations */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes slideUp {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInLeft {
    0% {
        transform: translateX(-30px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    0% {
        transform: translateX(30px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes scaleIn {
    0% {
        transform: scale(0.9);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

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

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out;
}

.animate-slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.animate-slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

.animate-scale-in {
    animation: scaleIn 0.6s ease-out;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}
