﻿:root {
    --accent: #e03a45;
    /* màu đỏ nhấn */
    --text: #202124;
    --muted: #6b6f76;
    --line: #e9ecef;
    --brand-red: #D92032;
    --soft-gray: #f4f6f8;
    --line-gray: #e6e6e6;
    --text-gray: #7C8697;
    --title-bold: #111820;
    --red-opacity: rgba(217, 32, 50, 0.1);
}

.pl-288 {
    padding-left: 288.5px;
}

.pb-62 {
    padding-bottom: 62px;
    margin-top: 74px;
}

.pt-lg-10 {
    padding-top: 7.5rem !important;
}

/*Section 1*/
.hero-section1 {
    padding-bottom: 62px;
    margin-top: 74px;
    padding-left: 288.5px;
}

.col-4-custom {
    width: 52%;
    padding-right: 110px;
}

.col-auto-custom {
    width: 100%;
}

.container-custom {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}

.img-container {
    width: 100%;
    height: auto;
    clip-path: inset(0 100% 0 0);
    animation: revealImage 1.2s ease-in-out forwards;
}

.img-container {
    width: 100%;
    height: auto;
    clip-path: inset(0 100% 0 0);
    animation: revealImage 1.2s ease-in-out forwards;
}

@keyframes revealImage {
    from {
        clip-path: inset(0 100% 0 0);
        /* 오른쪽 100% 가려진 상태 */
    }

    to {
        clip-path: inset(0 0 0 0);
        /* 완전히 펼쳐진 상태 */
    }
}

.hero-img-tab1,
.hero-img-tab2 {
    height: 550px;
    object-fit: cover;
    width: 100%;
    display: block;
    transform: scaleX(-1);
    object-position: 50% 85%;
}

.hero-img-tab3 {
    height: 550px;
    object-fit: cover;
    width: 100%;
    display: block;
    object-position: 50% 85%;
}

.wiper-title {
    font-family: 'Pretendard';
    font-weight: 700;
    color: #111820;
    font-size: 24px;
    line-height: 36px;
    letter-spacing: normal;
}

.wiper-title>span {
    color: #111820;
}

.wiper-title h2 {
    font-family: 'Pretendard';
    font-weight: 700;
    color: #111820;
    font-size: 24px;
    line-height: 36px;
    letter-spacing: normal;
}

.wiper-title>span>h2 {
    color: #111820;
}

.lead-small-bold {
    font-family: 'Pretendard';
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: normal;
    color: #111820;
}

.lead-small {
    font-family: 'Pretendard';
    font-weight: 400;
    color: #111820;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: normal;
}

span.title-red {
    color: #D92032;
}

.why-tabs-wrap {
    border-bottom: 1px solid var(--line);
}

.why-tabs {
    display: flex;
    justify-content: center;
    gap: 3rem;
    position: relative;
}

.why-tabs a {
    text-decoration: none;
    color: #666;
    padding: .875rem 0;
    font-weight: 600;
    font-size: .95rem;
    position: relative;
}

.why-tabs a.active {
    color: #111;
}

.why-tabs a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.features {
    padding-top: 2rem;
    padding-bottom: 3rem;
}

/*Section 3*/
.download-section {
    position: relative;
    text-align: center;
    padding: 170px 0 120px 0;
    overflow: hidden;
    min-height: 550px;
    background: #F7F8FA;
}

.download-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.download-title {
    font-family: 'Pretendard';
    font-weight: 700;
    font-size: 36px;
    line-height: 54px;
    text-align: center;
    color: #111820;
    margin-bottom: 50px;
}

.download-text {
    font-family: 'Pretendard';
    font-weight: 400;
    font-size: 20px;
    line-height: 30px;
    letter-spacing: normal;
    text-align: center;
    color: #7C8697;
    margin-bottom: 50px;
}

.btn-download {
    background-color: #d62828;
    color: #fff;
    padding: 12px 28px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-download:hover {
    background-color: #b71c1c;
    color: #fff;
}

.red-curve {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.img-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 5px;
    right: -30px;
}

.logo-wypall {
    position: absolute;
    bottom: 20px;
    z-index: 3;
    width: 120px;
}

/* Tab underline style */
.nav-tabs {
    border-bottom: none;
    justify-content: center;
    text-align: center;
}

.tabs-custom {
    position: sticky;
    top: 65px;
    background-color: #fff;
    z-index: 1100;
}

.nav-tabs .nav-item {
    width: 25%;
    cursor: pointer;
    border-bottom: 2px solid #B9BFC9;
}

.nav-tabs .nav-item-custom a {
    margin-left: 50px;
    margin-right: 50px;
    border-bottom: none;
}

.nav-tabs .nav-link {
    border: none;
    position: relative;
    font-family: 'Pretendard';
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: normal;
    text-align: center;
    vertical-align: middle;
    color: var(--title-bold);
}

.nav-tabs .nav-link.active {
    font-weight: 500;
    color: var(--title-bold);
}

.nav-tabs .nav-link.active {
    background-color: transparent;
}

.nav-tabs .nav-item:has(.nav-link.active) {
    border-bottom: 2px solid #D92032;
}

.feature-box {
    text-align: center;
    height: 400px;
    position: relative;
}

/* Border-top */
.feature-box::before {
    content: "";
    display: block;
    height: 0;
    border-top: 1px solid #B9BFC9;
}

/* Border-bottom */
.feature-box::after {
    content: "";
    display: block;
    height: 0;
    border-bottom: 1px solid #B9BFC9;
}

.box-1 {
    margin-top: 150px;
}

.feature-card {
    text-align: center;
    padding: 2.25rem 1.25rem;
}

.feature-card .bi {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: .5rem;
}

.feature-title {
    font-family: 'Pretendard';
    font-weight: 700;
    font-size: 18px;
    line-height: 27px;
    letter-spacing: normal;
    text-align: center;
}

.feature-desc {
    font-family: 'Pretendard';
    font-weight: 400;
    color: #7C8697;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: normal;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 70px;
}

.feature-svg {
    margin-top: 70px;
}

.feature-title {
    margin-top: 40px;
}

.col-divider-x {
    position: relative;
}

.col-divider-x::after {
    content: "";
    position: absolute;
    top: 12%;
    bottom: 12%;
    right: 0;
    width: 1px;
    background: var(--line);
}

.row-divider {
    height: 1px;
    background: var(--line);
    width: 100%;
}

/*Tab2*/
.side-num {
    color: var(--brand-red);
    font-family: 'Pretendard';
    font-weight: 700;
    font-size: 60px;
    line-height: 90px;
    letter-spacing: normal;
}

.side-title {
    color: var(--title-bold);
    font-family: 'Pretendard';
    font-weight: 700;
    font-size: 24px;
    line-height: 36px;
    letter-spacing: normal;
}

.content-rail-mobile {
    position: relative;
    padding-top: 25px;
    margin-bottom: 40px;
}

.content-rail-mobile::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 2px;
    width: 100%;
    background: var(--brand-red);
    transform: scaleX(0);
    transform-origin: left;
    animation: borderGrow 1s ease forwards;
    animation-delay: 0.3s;
}

.content-rail {
    display: inline-block;
    position: relative;
    padding-top: 25px;
    margin-bottom: 40px;
}

.content-rail::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 2px;
    width: 100%;
    background: var(--brand-red);
    transform: scaleX(0);
    transform-origin: left;
    animation: borderGrow 1s ease forwards;
    animation-delay: 0.3s;
}

@keyframes borderGrow {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

.feature-tab2-item {
    background: var(--soft-gray);
    border-radius: 6px;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--line-gray);
    margin-bottom: 16px;
}

.feature-tab2-row {
    display: flex;
    align-items: center;
    height: 80px;
    padding: 16px 30px;
}

.feature-tab2-label {
    flex: 0 0 200px;
    max-width: 200px;
    display: flex;
    align-items: center;
    font-family: 'Pretendard';
    font-weight: 700;
    font-size: 18px;
    line-height: 27px;
    letter-spacing: normal;
    display: flex;
    align-items: center;
}

.feature-tab2-desc {
    flex: 1;
    padding: 0 70px;
    color: var(--text-gray);
    font-family: 'Pretendard';
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: normal;
}

.faq-title-1 {
    font-family: 'Pretendard';
    font-weight: 400;
    font-size: 24px;
    line-height: 36px;
    letter-spacing: normal;
    text-align: center;
    color: var(--text-gray);
}

.faq-title-2 {
    font-family: 'Pretendard';
    font-weight: 700;
    font-size: 24px;
    line-height: 36px;
    letter-spacing: normal;
    text-align: center;
    color: var(--title-bold);
}

/*Tab3*/
.card-custom {
    border: 1px solid #B9BFC9;
    padding: 0 20px 0 20px;
    height: 590px;
    cursor: pointer;
}

.card-custom:hover {
    border: 1px solid var(--brand-red);
}

.card-custom .tab3-title {
    font-family: 'Pretendard';
    font-weight: 700;
    font-size: 18px;
    line-height: 27px;
    letter-spacing: normal;
}

.highlight {
    background-color: var(--red-opacity);
    padding: 2px 16px;
    border-radius: 14px;
    display: inline-block;
    margin-bottom: 10px;
    font-family: 'Pretendard';
    font-weight: 500;
    color: var(--brand-red);
    font-size: 16px;
    line-height: 24px;
    letter-spacing: normal;
    text-align: center;
    margin-top: 30px;
}

.highlight-custom {
    background-color: var(--red-opacity);
    padding: 2px 16px;
    border-radius: 14px;
    display: inline-block;
    margin-bottom: 10px;
    font-family: 'Pretendard';
    font-weight: 500;
    color: var(--brand-red);
    font-size: 16px;
    line-height: 24px;
    letter-spacing: normal;
    text-align: center;
}

.card-custom p.tab3-desc {
    font-family: 'Pretendard';
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: normal;
    color: var(--text-gray);
}

.mobile-view {
    display: none;
}

.pc-view {
    display: block;
}

.pc-view-custom {
    display: flex;
}

.inline-pc {
    display: block;
}

/* ====================== Tablet ========================= */
@media (min-width: 768px) and (max-width: 1024px) {
    inline-mobile {
        display: block;
    }

    .mt-60 {
        margin-top: 0;
    }

    .mobile-view {
        display: block;
    }

    .pc-view {
        display: none;
    }

    .pc-view-custom {
        display: none;
    }

    .position-custom-top {
        order: 1;
    }

    .position-custom-bottom {
        order: 2;
    }

    .position-custom-top {
        position: fixed;
        top: 15px;
        background-color: #fff;
        z-index: 1020;
    }

    /*Section 1*/
    .hero-section1 {
        padding-bottom: 62px;
        margin-top: 74px;
        padding-left: 0;
    }

    .col-4-custom {
        width: 100%;
        padding-right: 0;
        padding-top: 80px;
        padding-bottom: 50px;
    }

    .container-custom {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .box-1 {
        margin-top: 10px;
    }

    .nav-tabs {
        justify-content: center;
    }

    .nav-tabs .nav-item {
        width: auto;
    }

    .nav-tabs .nav-item-custom a {
        margin-left: 50px;
        margin-right: 50px;
    }

    /* Border-top */
    .feature-box::before {
        content: "";
        display: block;
        height: 0;
        border-top: none;
    }

    /* Border-bottom */
    .feature-box-end-mobile::after {
        content: "";
        display: block;
        height: 0;
        border-bottom: none;
    }

    .mb-200 {
        margin-bottom: 100px;
    }


    .mt-140 {
        margin-top: 100px;
    }

    .mt-130 {
        margin-top: 80px;
    }

    .pt-lg-10 {
        padding-top: 2rem !important;
    }

    /*Section 2*/
    .mobile-view {
        display: block;
    }

    .pc-view {
        display: none;
    }

    .accordion-item {
        padding: 0;
        margin: 0;
    }

    /*Section 3*/
    .download-section {
        position: relative;
        text-align: center;
        padding: 0;
        overflow: hidden;
        min-height: 350px;
        background: #F7F8FA;
    }

    .col-divider-x::after {
        display: none;
    }

    .red-curve {
        width: 120%;
        height: auto;
        bottom: 0px;
        right: -43%;
        position: absolute;
        top: unset;
    }

    .logo-wypall {
        width: 100px;
        position: absolute;
        bottom: 20px;
        right: 50px;
        z-index: 3;
    }

    .feature-row {
        grid-template-columns: 1fr;
    }

    .side-head {
        margin-bottom: 8px;
    }

    .red-divider {
        margin: 12px 0 18px;
    }

    .item {
        padding: 16px;
    }

    .feature-tab2-row {
        display: flex;
        align-items: flex-start;
        flex-direction: column;
        height: auto;
        padding: 10px 10px;
        text-align: start;
    }

    .mt-100 {
        margin-top: 0px;
    }

    .item-tab2-last-mobile {
        margin-bottom: 50px;
    }

    .feature-tab2-label {
        flex: unset;
        max-width: unset;
    }

    .feature-tab2-desc {
        flex: 1;
        padding: 15px 0;
        color: var(--text-gray);
        font-family: 'Pretendard';
        font-weight: 400;
        font-size: 16px;
        line-height: 24px;
        letter-spacing: normal;
    }

    .mt-150 {
        margin-top: 90px;
    }

    .mobile-g-4 {
        gap: 2rem;
    }
}

/* ====================== Mobile ========================= */
@media (max-width: 767px) {
    .inline-pc {
        display: unset;
    }

    .mt-60 {
        margin-top: 0;
    }

    .inline-mobile {
        display: block;
    }

    .mobile-view {
        display: block;
    }

    .pc-view {
        display: none;
    }

    .pc-view-custom {
        display: none;
    }

    .position-custom-top {
        order: 1;
    }

    .position-custom-bottom {
        order: 2;
    }

    .position-custom-top {
        position: fixed;
        top: 15px;
        background-color: #fff;
        z-index: 1020;
    }

    /*Section 1*/
    .hero-section1 {
        padding-bottom: 20px;
        margin-top: 74px;
        padding-left: 0;
    }

    .col-4-custom {
        width: 100%;
        padding-right: 0;
        padding-top: 80px;
        padding-bottom: 10px;
    }

    .container-custom {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .box-1 {
        margin-top: 10px;
    }

    .nav-tabs {
        justify-content: center;
    }

    .nav-tabs .nav-item {
        width: auto;
    }

    .nav-tabs .nav-item-custom a {
        margin-left: 5px;
        margin-right: 5px;
    }

    /* Border-top */
    .feature-box::before {
        content: "";
        display: block;
        height: 0;
        border-top: none;
    }

    /* Border-bottom */
    .feature-box-end-mobile::after {
        content: "";
        display: block;
        height: 0;
        border-bottom: none;
    }

    .feature-box-end-mobile .feature-desc {
        margin-bottom: 0px;
    }

    .mb-200 {
        margin-bottom: 100px;
    }


    .mt-140 {
        margin-top: 100px;
    }

    .mt-130 {
        margin-top: 80px;
    }

    .pt-lg-10 {
        padding-top: 0rem !important;
    }

    .content-rail-mobile {
        padding-top: 15px;
        margin-bottom: 10px;
    }

    /*Section 2*/
    .mobile-view {
        display: block;
    }

    .pc-view {
        display: none;
    }

    .accordion-item {
        padding: 0;
        margin: 0;
    }

    /*Section 3*/
    .hero-img-tab1,
    .hero-img-tab2,
    .hero-img-tab3 {
        height: 200px;
    }

    .download-section {
        position: relative;
        text-align: center;
        padding: 0;
        overflow: hidden;
        min-height: 432px;
        background: #F7F8FA;
    }

    .col-divider-x::after {
        display: none;
    }

    .download-title {
        font-size: 22px;
    }

    .red-curve {
        width: 100%;
        height: auto;
        bottom: 0px;
        position: absolute;
        top: unset;
    }

    .logo-wypall {
        width: 100px;
        position: absolute;
        bottom: 20px;
        right: 50px;
        z-index: 3;
    }

    .feature-row {
        grid-template-columns: 1fr;
    }

    .side-head {
        margin-bottom: 8px;
    }

    .red-divider {
        margin: 12px 0 18px;
    }

    .item {
        padding: 16px;
    }

    .feature-tab2-row {
        display: flex;
        align-items: flex-start;
        flex-direction: column;
        height: auto;
        padding: 10px 10px;
        text-align: start;
    }

    .mt-100 {
        margin-top: 0px;
    }

    .item-tab2-last-mobile {
        margin-bottom: 50px;
    }

    .feature-tab2-label {
        flex: unset;
        max-width: unset;
    }

    .feature-tab2-desc {
        flex: 1;
        padding: 15px 0;
        color: var(--text-gray);
        font-family: 'Pretendard';
        font-weight: 400;
        font-size: 16px;
        line-height: 24px;
        letter-spacing: normal;
    }

    .mt-150 {
        margin-top: 50px;
    }

    .mobile-g-4 {
        gap: 2rem;
    }

    /* --------------- font-size mobile custom --------------- */
    h2.wiper-title {
        font-size: 20px;
    }

    h1.wiper-title {
        font-size: 20px;
    }

    .lead-small {
        font-size: 16px;
    }

    .nav-tabs .nav-link {
        font-size: 14px;
    }

    .feature-title {
        font-size: 16px;
    }

    .download-title {
        font-size: 20px;
        margin-bottom: 30px;
    }

    .download-text {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .faq-title-1,
    .faq-title-2 {
        font-size: 20px;
    }

    .side-num {
        font-size: 30px;
        line-height: 150%;
    }

    .side-title {
        font-size: 20px;
    }

    .feature-tab2-label {
        font-size: 16px;
    }

    .card-custom .tab3-title {
        font-size: 18px;
    }

    .highlight {
        font-size: 16px;
    }

    .card-custom p.tab3-desc {
        font-size: 14px;
    }
}