/* ===== 主题变量 ===== */
:root {
    --primary: #5B8DEF;
    --primary-deep: #4A90D9;
    --primary-soft: #EAF1FE;
    --bg: #FAFBFD;
    --surface: #FFFFFF;
    --text: #2E3440;
    --text-sub: #4A5462;
    --text-muted: #7B8494;
    --line: #EAEEF4;
    --radius-lg: 20px;
    --radius-md: 14px;
    --shadow-sm: 0 4px 16px rgba(74, 144, 217, 0.08);
    --shadow-md: 0 12px 34px rgba(74, 144, 217, 0.12);
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
            "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

/* ===== 基础重置 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== 顶部导航 ===== */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid var(--line);
}

.nav-inner {
    max-width: 1040px;
    margin: 0 auto;
    height: 64px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand .dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--primary);
    display: inline-block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-links a {
    display: inline-flex;
    align-items: center;
    padding: 7px 15px;
    border-radius: 999px;
    font-size: 14px;
    color: var(--text-muted);
    transition: background-color 0.25s ease, color 0.25s ease;
    white-space: nowrap;
}

.nav-links a:hover {
    background: var(--primary-soft);
    color: var(--primary-deep);
}

.nav-links a.active {
    background: var(--primary-soft);
    color: var(--primary-deep);
    font-weight: 600;
}

/* ===== 首屏 ===== */
.hero {
    position: relative;
    overflow: hidden;
    padding: 84px 24px 76px;
    text-align: center;
}

.hero::before {
    content: "";
    position: absolute;
    top: -140px;
    left: 50%;
    width: 620px;
    height: 620px;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(91, 141, 239, 0.13) 0%, rgba(91, 141, 239, 0) 68%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 圆形头像占位图（后续替换成自己的照片即可） */
.avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, #8FB5F7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 44px;
    font-weight: 600;
    letter-spacing: 2px;
    box-shadow: 0 0 0 8px rgba(91, 141, 239, 0.10), var(--shadow-md);
    user-select: none;
    overflow: hidden;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.name {
    margin-top: 30px;
    font-size: clamp(32px, 6vw, 50px);
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--text);
    line-height: 1.25;
}

.tagline {
    margin-top: 12px;
    font-size: 16px;
    color: var(--text-muted);
    letter-spacing: 1.2px;
}

.hero-actions {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.btn-primary {
    background: var(--primary);
    color: #FFFFFF;
    box-shadow: 0 8px 22px rgba(91, 141, 239, 0.28);
}

.btn-primary:hover {
    background: var(--primary-deep);
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(91, 141, 239, 0.34);
}

.btn-ghost {
    background: var(--surface);
    color: var(--primary-deep);
    border-color: rgba(91, 141, 239, 0.32);
}

.btn-ghost:hover {
    background: var(--primary-soft);
    transform: translateY(-2px);
}

/* ===== 通用区块 ===== */
.section {
    padding: 16px 24px 72px;
}

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

.section-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

.section-head .bar {
    width: 4px;
    height: 20px;
    border-radius: 4px;
    background: var(--primary);
    display: inline-block;
}

.section-head h2 {
    font-size: 19px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--text);
}

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 34px 32px;
}

.about-text {
    font-size: 15.5px;
    line-height: 2;
    color: var(--text-sub);
}

.about-text + .about-text {
    margin-top: 14px;
}

.divider {
    height: 1px;
    background: var(--line);
    margin: 24px 0;
    border: none;
}

.facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.fact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary-deep);
    font-size: 13.5px;
}

.fact i {
    font-size: 13px;
    opacity: 0.85;
}

/* ===== 社交图标 ===== */
.social-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 4px;
}

.social-item {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--text-muted);
    font-size: 20px;
    transition: transform 0.22s ease, color 0.22s ease, border-color 0.22s ease,
                background-color 0.22s ease, box-shadow 0.22s ease;
}

.social-item:hover {
    transform: translateY(-4px);
    background: var(--primary);
    border-color: var(--primary);
    color: #FFFFFF;
    box-shadow: 0 10px 24px rgba(91, 141, 239, 0.28);
}

.contact-hint {
    margin-top: 22px;
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
}

/* ===== 页脚 ===== */
footer {
    border-top: 1px solid var(--line);
    background: var(--surface);
    padding: 30px 24px;
    text-align: center;
}

.copyright {
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 0.8px;
}

/* ===== 入场动画 ===== */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

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

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== 响应式适配 ===== */
@media (max-width: 640px) {
    .nav-inner { height: 58px; padding: 0 14px; }
    .brand { font-size: 15px; letter-spacing: 1px; }
    .nav-links { gap: 2px; }
    .nav-links a { padding: 6px 11px; font-size: 13px; }

    .hero { padding: 56px 18px 52px; }
    .avatar { width: 118px; height: 118px; font-size: 36px; }
    .name { margin-top: 24px; letter-spacing: 2px; }
    .tagline { font-size: 15px; }
    .hero-actions { margin-top: 26px; gap: 10px; }
    .btn { padding: 11px 22px; font-size: 14px; }

    .section { padding: 12px 16px 56px; }
    .card { padding: 24px 20px; border-radius: 16px; }
    .about-text { font-size: 15px; line-height: 1.95; }
    .section-head h2 { font-size: 17px; }
    .social-item { width: 48px; height: 48px; font-size: 18px; }
}
/* （注：内容由AI生成） */
