/* ===== main.css - 全站样式（含Loading动画） ===== */

/* ===== Loading 动画 ===== */

/* 品牌文字独立层（fixed，不受loader exit影响） */
.brand-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    pointer-events: none;
    padding: 20px 0 0 20px;
}
.brand-text {
    font-size: clamp(80px, 12vw, 1200px);
    font-weight: 700;
    letter-spacing: -0.01em;
    display: inline-block;
    line-height: 0.85;
    transform-origin: 12% 10%;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.5s ease 0.2s;
    background: linear-gradient(to right, #00a79d 0%, #333333 0%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.brand-text.shrink {
    transform: scale(0.08);
    opacity: 0;
}

/* Loading背景层（包含标语、进度条，做exit动画） */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 999998;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}
.loader-container.exit {
    transform: translateX(-100%);
}

.slogan-area {
    position: absolute;
    left: 20px;
    bottom: calc(8vh + 28px);
}
.slogan-text {
    font-size: clamp(12px, 1.8vw, 18px);
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 1.2;
    background: linear-gradient(to right, #00a79d 0%, #333333 0%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    transition: opacity 0.3s ease;
}

.progress-area {
    width: 100%;
    position: absolute;
    bottom: 0;
    padding-bottom: 8vh;
}
.progress-track {
    width: 100%;
    height: 3px;
    background: rgba(0, 167, 157, 0.1);
    position: relative;
    overflow: hidden;
}
.progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: #00a79d;
    transition: width 0.1s linear;
}
.progress-text {
    position: absolute;
    right: 5vw;
    bottom: calc(8vh + 12px);
    font-size: 12px;
    color: #00a79d;
    font-weight: 500;
    letter-spacing: 0.1em;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}
.page-body-shell {
    position: relative;
    z-index: 3;
    background: #fff;
}
