.reveal {
    opacity: 0;
    transition: opacity 1.8s ease-out, transform 1.8s ease-out;
}
.reveal--up { transform: translateY(100px); }
.reveal--slow { transition-duration: 3s, 3s; }
.reveal--d1 { transition-delay: 0.4s; }
.reveal--d2 { transition-delay: 0.8s; }
.reveal--d3 { transition-delay: 1.2s; }
.reveal--d4 { transition-delay: 1.6s; }
.reveal--d5 { transition-delay: 2s; }
.reveal.is-revealed { opacity: 1; transform: translateY(0px); }

/* ============================== PC ============================== */

/* 히어로: 사진 배경 + 위쪽 어둡게(디자인 그라데이션, 832px 지점에서 투명) */
.main-hero {
    min-width: 1200px;
    height: 984px;
    margin: 80px 0 0;
    background:
        linear-gradient(180deg, rgba(25, 25, 25, 0.4) 0px, rgba(136, 133, 125, 0) 832px) top / 100% 832px no-repeat,
        url("../images/main/hero_pc.jpg") center / cover no-repeat;
}
.main-hero__inner { width: 1200px; align-items: flex-start; }
.main-hero__text { width: auto; align-items: flex-start; color: var(--white); }
.main-hero__title { font-size: 42px; font-weight: 600; }
.main-hero__desc { font-size: 20px; }
.main-hero__desc--first { margin: 20px 0 0; }
.main-hero__desc--last { margin: 0 0 48px 0; }
.main-hero__btn { width: 154px; height: 65px; font-size: 18px; font-weight: 700; border-radius: 16px; }

.main-section__title { font-size: 42px; font-weight: 600; }

.main-products { height: 1080px; background: var(--light-grey4); }
.main-products__desc { font-size: 20px; color: var(--dark-grey); margin: 8px 0 60px 0; }
.main-products__row { width: 1200px; justify-content: center; gap: 27px; }
.main-product { width: auto; }
.main-product__top {
    width: 382px;
    height: 310px;
    background: var(--white);
    border-radius: 20px 20px 0 0;
}
.main-product__bottom {
    width: 382px;
    height: 130px;
    background: var(--black2);
    border-radius: 0 0 20px 20px;
    color: var(--dark-grey3);
    font-size: 16px;
    justify-content: flex-start;
}
.main-product__name { margin: 16px 0 8px; font-size: 24px; font-weight: 600; color: var(--white); }

.main-payments {
    height: 590px;
    min-width: 1200px;
    background: var(--sub-theme6);
    justify-content: flex-start;
}
.main-payments__inner { width: 1200px; justify-content: flex-start; }
.main-payments__title { margin: 98px 0 8px 0; font-size: 42px; font-weight: 600; color: var(--white); }
.main-payments__desc { font-size: 20px; color: var(--sub-theme3); }
.main-payments__row { justify-content: space-between; }
.main-payments__row--first { margin: 40px 0 20px 0; }
.main-payment {
    width: 382px;
    height: 120px;
    background: var(--white);
    font-weight: 600;
    font-size: 24px;
    border-radius: 20px;
    justify-content: flex-start;
}
.main-payment__icon { margin: 0 24px 0 40px; width: 60px; height: 60px; }

/* 함께하는 협력사: 로고 7개 한 줄 (칸 너비는 로고마다 다름) */
.main-partners { min-width: 1200px; height: 600px; background: var(--white); }
.main-partners__title { margin: 0 0 40px; font-size: 42px; font-weight: 600; color: #2C2F34; }
.main-partners__row { width: 1239px; flex-wrap: nowrap; gap: 24px; }
.main-partner { height: 150px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.main-partner img { display: block; object-fit: contain; }

/* 위트페이 소개 */
.main-witpay { min-width: 1200px; height: 840px; background: var(--white); }
.main-witpay__inner { width: 1044px; flex-wrap: nowrap; justify-content: space-between; }
.main-witpay__text { width: 421px; align-items: flex-start; }
.main-witpay__title { font-size: 42px; font-weight: 600; color: var(--black); }
.main-witpay__desc { margin: 20px 0 40px; font-size: 20px; color: var(--dark-grey); }
.main-witpay__btn { width: 185px; height: 65px; font-size: 18px; font-weight: 700; border-radius: 16px; }
.main-witpay__img { width: 623px; height: 470px; border-radius: 20px; }

/* ============================ Mobile ============================ */

.main-mo-pad { width: calc(100% - 48px); padding: 0 24px; }
.main-mo-full { width: 100%; }
.main-mo-title { font-size: 20px; font-weight: 600; }
.main-mo-grey { color: var(--dark-grey); }

/* 히어로: 사진 배경 + 아래쪽 어둡게, 글자는 아래 가운데 */
.main-mo-hero {
    height: 602px;
    margin: 56px 0 0;
    justify-content: flex-end;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0) 9.484%, rgba(25, 25, 25, 0.4) 93.844%),
        url("../images/main/hero_mo.jpg") center / cover no-repeat;
}
.main-mo-hero__text { width: auto; margin: 0 0 68px; color: var(--white); text-align: center; }
.main-mo-hero__title { font-size: 24px; font-weight: 600; }
.main-mo-hero__desc { font-size: 16px; }
.main-mo-hero__desc--first { margin: 8px 0 0; }
.main-mo-hero__desc--last { margin: 0 0 32px 0; }
.main-mo-hero__btn { width: 132px; height: 49px; font-size: 14px; font-weight: 600; border-radius: 12px; }

.main-mo-products { padding: 70px 0 80px; background: var(--light-grey4); }
.main-mo-products__desc--first { margin: 8px 0 0; }
.main-mo-products__desc--last { margin: 0 0 40px 0; }
.main-mo-product--middle { margin: 20px 0; }
.main-mo-product__top { height: 220px; background: var(--white); border-radius: 20px 20px 0 0; }
.main-mo-product__bottom {
    height: 102px;
    background: var(--black2);
    border-radius: 0 0 20px 20px;
    color: var(--dark-grey3);
    font-size: 14px;
    font-weight: 400;
}
.main-mo-product__name { font-size: 16px; font-weight: 600; color: var(--white); }
.main-mo-product__line--first { margin: 8px 0 0; }

.main-mo-payments { height: 540px; background: var(--sub-theme6); }
.main-mo-payments__title { color: var(--white); }
.main-mo-payments__desc { font-size: 14px; color: var(--sub-theme3); }
.main-mo-payment {
    width: 100px;
    height: 136px;
    background: var(--white);
    font-weight: 600;
    font-size: 14px;
    border-radius: 16px;
    justify-content: space-between;
}
.main-mo-payment__icon { margin: 20px 0 0; width: 60px; height: 60px; }
.main-mo-payment__name { margin: 0 0 20px; }
.main-mo-payment__gap { width: 13px; }

/* 함께하는 협력사: 2열 */
.main-mo-partners { padding: 76px 0 40px; background: var(--white); }
.main-mo-partners__title { margin: 0 0 32px; color: #2C2F34; }
.main-mo-partners__grid {
    box-sizing: border-box;
    width: 100%;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.main-mo-partner { height: 101px; display: flex; align-items: center; justify-content: center; }
.main-mo-partner img { display: block; max-width: 100%; object-fit: contain; }

/* 위트페이 소개 */
.main-mo-witpay { padding: 76px 24px; background: var(--white); text-align: center; }
.main-mo-witpay__desc { margin: 8px 0 20px; font-size: 14px; }
.main-mo-witpay__btn { width: 157px; height: 49px; margin: 0 0 20px; font-size: 14px; font-weight: 600; border-radius: 12px; }
.main-mo-witpay__img { width: 100%; height: auto; aspect-ratio: 623 / 470; border-radius: 20px; }

@media (max-width: 374px) {
    .main-mo-pad { width: calc(100% - 10px); padding: 0 5px; }
}
