* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}
body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0c0c0f;
    min-height: 100vh;
    color: #f0f0f0;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    padding-top: 80px;
    overflow-x: hidden;
}
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0 3rem;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    z-index: 999;
}
.nav-left {
    display: flex;
    align-items: center;
}
.back-link {
    color: #d0d0d0;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 450;
    transition: color 0.2s;
}
.back-link:hover {
    color: #ffffff;
}
.back-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}
.nav-right {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.lang-group {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 40px;
    padding: 0.2rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.lang-btn {
    background: transparent;
    border: none;
    color: #a0a0b8;
    padding: 0.3rem 0.9rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: "Inter", sans-serif;
    letter-spacing: 0.3px;
}
.lang-btn.active {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.lang-btn:hover:not(.active) {
    color: #e0e0f0;
    background: rgba(255, 255, 255, 0.05);
}

.hero-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: 1;
    transition: transform 0.1s linear;
    background: linear-gradient(145deg, #141824 0%, #1e2335 50%, #2a2f47 100%);
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(120, 80, 255, 0.25) 0%, rgba(255, 100, 200, 0.1) 40%, transparent 70%);
    pointer-events: none;
    z-index: 2;
    transition: background 0.15s ease-out;
}

.particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    bottom: -20%;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation: floatUp linear infinite;
    box-shadow: 0 0 12px rgba(180, 140, 255, 0.1);
}

@keyframes floatUp {
    0% {
        transform: translateY(0) scale(0.5) rotate(0deg);
        opacity: 0.2;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-120vh) scale(1.2) rotate(720deg);
        opacity: 0;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 2;
}

.hero-fade-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: 15;
    pointer-events: none;
    transition: background 0.3s ease;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.hero-name-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3em;
    position: relative;
}

.hero-name-gap {
    display: inline-block;
}

body[data-lang="en"] .hero-name-gap {
    display: none;
}

.hero-name-part {
    font-size: clamp(3rem, 12vw, 7rem);
    font-weight: 700;
    letter-spacing: -0.05em;
    color: #fff;
    opacity: 0;
    display: inline-block;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3.5vw, 2rem);
    font-weight: 300;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.8);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    margin-top: 0;
}

.reveal-image {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    object-fit: cover;
    opacity: 0;
    z-index: 5;
    pointer-events: none;
    transition: all 0.3s ease;
}

.scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    opacity: 0;
    pointer-events: none;
}

.scroll-hint svg {
    width: 40px;
    height: 40px;
    fill: rgba(255, 255, 255, 0.5);
    animation: bounceScroll 2s infinite;
}

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

.content-section {
    position: relative;
    z-index: 20;
    background: #0c0c0f;
    min-height: 100vh;
    padding: 6rem 3rem;
    padding-top: 270vh;
    opacity: 0;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

.about-section {
    text-align: center;
    margin-bottom: 3rem;
}

.about-subtitle {
    font-size: clamp(1.2rem, 3.5vw, 2rem);
    font-weight: 300;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1rem;
}

.about-title {
    font-size: 2.2rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.3;
    color: #f0edff;
    margin-bottom: 1rem;
}

.about-desc {
    font-size: 1rem;
    font-weight: 350;
    line-height: 1.8;
    color: #b8b4cc;
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4.5rem;
}

.story-content {
    font-size: 1rem;
    font-weight: 350;
    line-height: 1.8;
    color: #b8b4cc;
    margin-bottom: 4.5rem;
}

.story-content p {
    margin-bottom: 1.2rem;
}

.story-content p:last-child {
    margin-bottom: 0;
}

.stat-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-6px);
    border-color: rgba(190, 170, 240, 0.2);
    background: rgba(190, 170, 240, 0.03);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #f0edff;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 350;
    color: #8a86a0;
}

.section-title {
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: -0.1px;
    color: #f0edff;
    margin-bottom: 1.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.6rem;
    text-align: left;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 6rem;
}

.info-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.info-item:hover {
    border-color: rgba(190, 170, 240, 0.2);
}

.info-label {
    font-size: 0.85rem;
    color: #888892;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-value {
    font-size: 1rem;
    color: #fff;
}

.education-list {
    margin-bottom: 4.5rem;
}

.education-item {
    display: flex;
    gap: 3rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.education-item:last-child {
    border-bottom: none;
}

.edu-year {
    font-size: 0.95rem;
    font-weight: 450;
    color: #b0acc4;
    width: 150px;
    flex-shrink: 0;
}

.edu-content {
    flex: 1;
}

.edu-school {
    font-size: 1.05rem;
    font-weight: 500;
    color: #f0edff;
    margin-bottom: 0.3rem;
}

.edu-major {
    font-size: 0.9rem;
    font-weight: 350;
    color: #b8b4cc;
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    padding: 0.2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding-bottom: 1.2rem;
}

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

.timeline-year {
    width: 150px;
    flex-shrink: 0;
    font-weight: 450;
    color: #b0acc4;
    font-size: 0.95rem;
    letter-spacing: 0.2px;
    padding-top: 0.1rem;
}

.timeline-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.timeline-content .company {
    font-weight: 500;
    font-size: 1.05rem;
    color: #f0edff;
    letter-spacing: -0.1px;
    text-align: left;
}

.timeline-content .position {
    font-weight: 350;
    color: #b8b4cc;
    font-size: 0.9rem;
    margin-top: 0.15rem;
}

.back-home {
    text-align: center;
    margin-top: 4rem;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f0edff;
    padding: 0.75rem 1.5rem;
    border-radius: 28px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(190, 170, 240, 0.3);
    box-shadow: 0 12px 28px -12px rgba(100, 80, 200, 0.2);
}

.footer-contact {
    margin: 4.5rem 0;
}

.footer-contact .contact-desc {
    font-size: 1rem;
    font-weight: 350;
    line-height: 1.7;
    color: #b8b4cc;
    margin-top: 1rem;
}

.footer-contact .contact-desc a {
    font-weight: 600;
    color: #6fa3ff;
    text-decoration: none;
    border-bottom: 1px solid rgba(111, 163, 255, 0.25);
    transition: color 0.2s, border-color 0.2s;
}

.footer-contact .contact-desc a:hover {
    color: #8db8ff;
    border-bottom-color: #8db8ff;
}

.footer-copyright {
    margin-top: 3rem;
    font-size: 0.7rem;
    color: #3a3a4e;
    letter-spacing: 0.5px;
    font-weight: 300;
}

.wechat-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.wechat-modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    cursor: pointer;
}

.modal-content {
    position: relative;
    background: #1a1a2e;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    z-index: 1001;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
}

.wechat-qr {
    width: 200px;
    height: 200px;
    border-radius: 12px;
    object-fit: cover;
    margin-bottom: 1rem;
}

.wechat-label {
    font-size: 0.95rem;
    color: #f0edff;
    margin: 0;
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: transparent;
    border: none;
    color: #a0a0b8;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

.modal-close:hover {
    color: #ffffff;
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 1.8rem;
    }
    .hero-name-part {
        font-size: clamp(2.5rem, 15vw, 5rem);
    }
    body[data-lang="en"] .hero-name-wrapper {
        flex-direction: column;
        gap: 0.1em;
    }
    body[data-lang="en"] .hero-name-part {
        font-size: clamp(2rem, 12vw, 4rem);
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .info-grid {
        grid-template-columns: 1fr;
    }
    .content-section {
        padding: 4rem 1.8rem;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0 1.2rem;
        height: 64px;
    }
    .lang-btn {
        font-size: 0.7rem;
        padding: 0.2rem 0.7rem;
    }
    .content-section {
        padding: 3rem 1.2rem;
    }
}