/* ================= 基础设置 ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* 避免固定导航遮住锚点标题（桌面端菜单高约 82px，留足余量） */
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
    overflow-x: hidden;
}

/* ================= 顶部导航 (固定悬浮) ================= */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 5vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent);
}

.nav-logo {
    font-size: 1.2rem;
    font-weight: 900;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-left: 40px;
    white-space: nowrap;
    transition: color 0.3s;
}

.nav-links a:hover { color: #888; }

/* ================= 第一屏：首屏大图 ================= */
.hero {
    height: 100vh;
    height: 100svh;
    width: 100vw;
    min-height: 560px;
    background-image: linear-gradient(rgba(10, 10, 10, 0.3), rgba(10, 10, 10, 0.8)), url('./背景.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 60px 8vw;
}

.title {
    font-size: clamp(4rem, 10vw, 12rem);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 0.9;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.subtitle {
    color: #aaaaaa;
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 5px;
    line-height: 1.8;
}

/* ================= 第二屏 & 第三屏：左右分屏排版 ================= */
.split-section {
    display: flex;
    height: 100vh;
    width: 100vw;
}

.split-left-img {
    flex: 1;
    background-size: cover;
    background-position: center;
}

.split-right-text {
    flex: 1;
    background-color: #0a0a0a;
    padding: 10vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.split-right-img {
    flex: 1;
    background-size: cover;
    background-position: center;
}

.split-left-text {
    flex: 1;
    background-color: #0a0a0a;
    padding: 10vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.split-text h2 {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 30px;
    text-transform: uppercase;
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
}

.split-text p {
    color: #999;
    font-size: 1rem;
    line-height: 2;
    margin-bottom: 40px;
    text-align: justify;
}

/* 报名按钮 */
.btn {
    display: inline-block;
    padding: 15px 40px;
    background-color: #fff;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 2px;
    font-size: 0.9rem;
    align-self: flex-start;
    transition: all 0.3s;
}

.btn:hover { background-color: #aaa; }

/* ================= 第四屏：商务合作 ================= */
.partnership {
    padding: 14vh 8vw;
    background-color: #0a0a0a;
    border-top: 1px solid #1e1e1e;
}

.partnership-inner {
    max-width: 720px;
}

.partnership h2 {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 30px;
    text-transform: uppercase;
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
}

.partnership p {
    color: #999;
    font-size: 1rem;
    line-height: 2;
    margin-bottom: 40px;
    text-align: justify;
}

/* ================= 平板适配 ================= */
@media (max-width: 1024px) {
    .split-right-text,
    .split-left-text {
        padding: 6vw;
    }

    .split-text h2 {
        font-size: 1.6rem;
        letter-spacing: 2px;
    }

    .split-text p {
        font-size: 0.95rem;
    }
}

/* ================= 手机端适配 ================= */
@media (max-width: 768px) {
    html {
        scroll-padding-top: 90px; /* 手机端菜单折成两行，避让距离同步加大 */
    }

    /* --- 导航 --- */
    .nav {
        padding: 18px 20px;
    }

    .nav-logo {
        font-size: 1rem;
        letter-spacing: 1px;
    }

    .nav-links a {
        margin-left: 20px;
        font-size: 0.75rem;      /* 由 0.68rem 上调，保证可读 */
        letter-spacing: 0.5px;
        padding: 8px 0;           /* 加大可点击区域 */
    }

    /* --- 首屏 --- */
    .hero {
        padding: 100px 20px 40px;
    }

    .title {
        font-size: clamp(3.2rem, 18vw, 5rem);
        letter-spacing: -1px;
        margin-bottom: 16px;
    }

    .subtitle {
        font-size: 0.8rem;
        letter-spacing: 3px;
    }

    /* --- 分屏改为上下堆叠 --- */
    .split-section {
        flex-direction: column;
        height: auto;
    }

    .split-left-img,
    .split-right-img {
        width: 100%;
        height: 55vh;
        height: 55svh;
        min-height: 300px;
        flex: none;
    }

    /* 关键修复：文字块顶部预留固定菜单高度，手动滑动时标题不再被导航压住 */
    .split-right-text,
    .split-left-text {
        padding: 110px 20px 48px;
        flex: none;
    }

    .split-text h2 {
        font-size: 1.4rem;
        letter-spacing: 2px;
        margin-bottom: 20px;
        padding-bottom: 12px;
    }

    .split-text p {
        font-size: 0.95rem;
        line-height: 1.9;
        margin-bottom: 28px;
    }

    .btn {
        width: 100%;
        text-align: center;
        padding: 16px 20px;
        font-size: 0.85rem;
    }

    /* --- 商务合作 --- */
    .partnership {
        padding: 110px 20px 64px;
    }

    .partnership h2 {
        font-size: 1.4rem;
        letter-spacing: 2px;
        margin-bottom: 20px;
        padding-bottom: 12px;
    }

    .partnership p {
        font-size: 0.95rem;
        line-height: 1.9;
        margin-bottom: 28px;
    }
}

/* ================= 小屏手机细化 ================= */
@media (max-width: 480px) {
    .nav {
        flex-wrap: wrap;
        gap: 8px;
        justify-content: space-between;
    }

    .nav-links {
        gap: 12px;
    }

    .nav-links a {
        margin-left: 0;
        font-size: 0.7rem;
        letter-spacing: 0;
    }

    .split-left-img,
    .split-right-img {
        height: 45vh;
        height: 45svh;
        min-height: 240px;
    }

    .split-right-text,
    .split-left-text {
        padding: 100px 20px 40px;
    }
}
