/* ============ Reset & Base ============ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    color: #333;
    background: linear-gradient(180deg, #eef3fc 0%, #fafafa 100%);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

ul,
li {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

:root {
    --color1: #1A56DB;
    --color2: #db261d;
    --nav-h: 80px;
}


/* ============ Full-Screen Slides ============ */
#fullpage {
    width: 100%;
    position: relative;
}

.section {
    width: 100%;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

/* 内容自适应区块：高度由内容决定，不强制占满一屏 */
.section.s5,
.section.s6,
.section.s7,
.section.s8 {
    min-height: 0;
}


/* ============ Animations (triggered by JS) ============ */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}


/* toast */
.toast-pop {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color1);
    color: #fff;
    padding: 12px 28px;
    border-radius: 6px;
    font-size: 14px;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.toast-pop.show {
    opacity: 1;
}


