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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #f5f5f7;
    color: #1d1d1f;
    line-height: 1.6;
}

/* 磨砂导航栏 */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
    transition: all 0.3s ease;

    /* 减弱玻璃效果，更清晰 */
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: saturate(140%) blur(10px);
    -webkit-backdrop-filter: saturate(140%) blur(10px);

    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-container {
    max-width: 980px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    color: #1d1d1f;
}

.nav-links a {
    margin-left: 32px;
    text-decoration: none;
    color: #1d1d1f;
    font-size: 15px;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.nav-links a:hover {
    opacity: 1;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: saturate(200%) blur(24px);
    -webkit-backdrop-filter: saturate(200%) blur(24px);

    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04),
                0 10px 30px rgba(0, 0, 0, 0.08);
}
/* 主容器 */
main {
    max-width: 980px;
    margin: 0 auto;
    padding: 120px 24px 60px;
}

/* Hero区域 + 长方形苹果风头像（可看到衣服） */
.hero {
    text-align: center;
    padding: 100px 0 80px;
}
.avatar {
    width: 160px;
    height: 200px;
    margin: 0 auto 28px;
    border-radius: 28px;
    overflow: hidden;
    background: #ffffff;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.08),
        0 6px 12px rgba(0, 0, 0, 0.04);
}
.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.hero h1 {
    font-size: 54px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #1d1d1f;
    margin-bottom: 6px;
}
.hero > p {
    font-size: 21px;
    color: #6e6e73;
    font-weight: 400;
    margin-bottom: 24px;
}
.desc p {
    max-width: 560px;
    margin: 0 auto;
    font-size: 17px;
    color: #6e6e73;
    line-height: 1.7;
}

/* 通用区块 */
.section {
    margin-top: 80px;
}
.section h2 {
    font-size: 28px;
    margin-bottom: 32px;
    text-align: center;
}

/* 卡片列表 苹果柔和卡片 */
.card-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.card {
    background: #ffffff;
    border-radius: 24px;
    padding: 32px;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.06),
        0 2px 6px rgba(0, 0, 0, 0.03);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.10),
        0 6px 14px rgba(0, 0, 0, 0.04);
}
.card h3 {
    font-size: 22px;
    margin-bottom: 8px;
}
.card p {
    color: #6e6e73;
}
.date {
    display: inline-block;
    margin-top:12px;
    font-size: 14px;
    color: #86868b;
}

/* 联系模块 */
.contact {
    text-align:center;
}
.contact p {
    font-size:18px;
    color:#6e6e73;
    margin:8px 0;
}

/* 页脚 */
footer {
    text-align: center;
    padding: 40px 0;
    color: #86868b;
    font-size: 14px;
}
/* 教育经历卡片间距 */
.edu-card {
    max-width: 720px;
    margin: 0 auto 24px;
}

.edu-card:last-child {
    margin-bottom: 0;
}

.date-text {
    font-size: 14px;
    color: #86868b;
    margin: 6px 0 10px;
}
