/* main + title */
.main {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #ffffff;
    padding: 85px 0px 0px 0px;
    position: relative;
}

.main>* {
    position: relative;
    z-index: 1;
}

.main::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 466px;
    pointer-events: none;
    background: linear-gradient(176.08deg, rgba(232, 173, 255, 0.54) -4.04%, rgba(255, 255, 255, 0) 58.84%);
}

.main .title-box {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    text-align: center;
    margin-bottom: 37px;
}

.main .title-box h1 {
    color: #1A1A1A;
    font-weight: 700;
    font-size: 48px;
    line-height: 1;
    margin-bottom: 16px;
}

.main .title-box .h1-desc {
    color: #1A1A1A;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto;
}

.section-title {
    color: #1A1A1A;
    font-weight: 700;
    font-size: 26px;
    margin-bottom: 26px;
}

@media (max-width: 768px) {
    .main {
        padding: 58px 15px 0px 15px;
    }

    .main .title-box {
        margin-bottom: 26px;
    }

    .main .title-box h1 {
        font-size: 26px;
        margin-bottom: 12px;
    }

    .main .title-box .h1-desc {
        font-size: 16px;
    }

    .section-title {
        color: #1A1A1A;
        font-size: 26px;
    }
}

/* main + title */

/* search */
.search-box {
    height: 60px;
    max-width: 926px;
    width: 100%;
    padding: 0px;
    margin: 0 auto 122px;
    position: relative;
}

.search-box .search-input {
    height: 100%;
    width: 100%;
    padding: 14px 20px 14px 48px;
    border: 2px solid transparent;
    border-radius: 14px;
    font-size: 16px;
    background-color: #F5F7F9;
    color: #1A1A1A;
    box-sizing: border-box;
}

.search-box .search-input:focus {
    outline: none;
    border: 2px solid #D059FF;
}

.search-box .search-input::placeholder {
    color: #666666;
}

.search-box .search-icon {
    position: absolute;
    left: 19px;
    top: 20px;
    width: 22px;
    height: 22px;
    border: none;
    pointer-events: none;
}

@media (max-width: 768px) {
    .search-box {
        margin-bottom: 35px;
        padding: 0px;
    }

    .search-box .search-input {
        padding: 14px 20px 14px 44px;
    }

    .search-box .search-icon {
        left: 16px;
    }
}

/* search */

/* FAQ */
.center-box {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
    margin: 0 auto 60px;
    box-sizing: border-box;
}

.left-nav-box {
    width: 300px;
    flex-shrink: 0;
    height: fit-content;
}

.right-content-box {
    flex: 1;
    min-width: 0;
}

.nav-box {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 15px;
    margin-bottom: 32px;
    box-shadow: 0px 3px 25px 0px #0000000F;
}

.nav-item {
    height: 45px;
    padding: 0px 16px;
    background-color: #FFFFFF;
    border-radius: 6px;
    cursor: pointer;
    margin-bottom: 6px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-size: 16px;
    font-weight: 600;
    color: #1A1A1A;
    display: block;
    width: 100%;
    text-align: left;
    line-height: 45px;
}

.nav-item:last-child {
    margin-bottom: 0px;
}

.nav-item:hover {
    background-color: #FBF0FF;
    color: #D15DFF;
}

.nav-item.active {
    background-color: #FBF0FF;
    color: #D15DFF;
}

.support-card {
    width: 100%;
    height: 340px;
    background: #F5E5FF;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    margin-top: 20px;
    box-shadow: 0px 3px 25px 0px #0000000F;
}

.support-card .support-icon {
    width: 79px;
    height: 55px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.support-card .support-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.support-card .support-text .support-text-title {
    font-size: 22px;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 19px;
}

.support-card .support-text .support-text-desc {
    font-size: 14px;
    font-weight: 400;
    color: #1A1A1A;
    line-height: 1.6;
}

.support-card .contact-btn {
    margin-top: 40px;
    width: 229px;
    height: 50px;
    background: linear-gradient(180deg, #7979FF -27.78%, #C859FF 50%);
    color: #FFFFFF;
    border: none;
    border-radius: 12px;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.support-card .contact-btn:hover {
    transform: translateY(-2px);
}

.right-content-box {
    width: 100%;
}

.faq-detail-section {
    margin-bottom: 50px;
    transition: all 0.6s ease;
    display: block;
}

.faq-detail-section:last-child {
    margin-bottom: 20px;
}

.faq-item {
    max-width: 1070px;
    background: #F5F7F9;
    border-radius: 14px;
    padding: 26px 32px 26px 50px;
    margin-bottom: 20px;
    border: none;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.faq-item .info-titles {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 33px;
}

.faq-item h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0;
    flex: 1;
    line-height: 1;
}

.faq-item.active h3 {
    color: #D15DFF;
}

.faq-item .faq-icon {
    width: 18px;
    height: 18px;
    color: #ADACAC;
    transition: all 0.3s ease;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-item.active .faq-icon {
    color: #CF60FF;
}

.faq-item .faq-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.faq-item .info-content {
    font-size: 16px;
    font-weight: 400;
    color: #1A1A1A;
    line-height: 1.4;
    margin-top: 19px;
    display: none;
    height: 0;
    overflow: hidden;
    opacity: 0;
    transition: height 0.3s ease, opacity 0.3s ease;
}

.faq-item.active .info-content {
    display: block;
    height: auto;
    opacity: 1;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 769px) {

    .mobile-fixed-btn,
    .content-left {
        display: none !important;
    }

    .center-box {
        display: block;
        padding-left: 320px;
        position: relative;
    }

    .right-content-box {
        height: auto;
        overflow-y: visible;
        padding-right: 0;
    }

    .right-content-box::-webkit-scrollbar {
        display: none;
    }

    .mobile-only {
        display: none !important;
    }

    .desktop-only {
        display: block !important;
    }
}

@media (max-width: 768px) {
    .faq-item {
        padding: 19px 17px 19px 17px;
        margin-bottom: 14px;
    }

    .faq-item h3 {
        font-size: 16px;
        font-weight: 700;
    }

    .faq-item .info-content {
        font-size: 14px;
        font-weight: 400;
    }

    .content-left {
        display: none !important;
        position: fixed;
        top: 130px;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1000;
    }

    .content-left.open {
        display: block !important;
    }

    .mobile-fixed-btn {
        display: flex;
        position: fixed;
        top: 201px;
        left: 0;
        width: 26px;
        height: 30px;
        align-items: center;
        justify-content: center;
        background-color: #D15DFF;
        z-index: 999;
        cursor: pointer;
        border-bottom-right-radius: 6px;
        border-top-right-radius: 6px;
        pointer-events: auto !important;
        animation: fadeInButton 0.3s ease;
    }

    @keyframes fadeInButton {
        from {
            opacity: 0;
            transform: translateX(-10px);
        }

        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .mobile-fixed-btn i {
        display: block;
        width: 8px;
        height: 13px;
        background: url("https://images.noviai.ai/noviaien/assets/common/policy-menuList-mobileFixedIcon.png");
        background-size: contain;
        pointer-events: none;
    }

    .menu-box {
        position: absolute;
        top: 0;
        left: 0;
        width: 268px;
        background-color: transparent;
        padding: 10px 10px 0 10px;
        animation: slideIn 0.3s ease;
        z-index: 1001;
    }

    @keyframes slideIn {
        from {
            transform: translateX(-20px);
            opacity: 0;
        }

        to {
            transform: translateX(0);
            opacity: 1;
        }
    }

    .menu-box .collapse {
        display: block;
        position: absolute;
        top: 0px;
        right: 0px;
        width: 25px;
        height: 25px;
        cursor: pointer;
        z-index: 9999;
    }

    .menu-box .collapse .mobile-collapse-icon {
        display: block;
        width: 25px;
        height: 25px;
        background: url('https://images.noviai.ai/noviaien/assets/common/policy-menuList-rightTopIcon.svg') no-repeat center center;
        background-size: contain;
    }

    .content-left .nav-box {
        width: 248px;
        height: auto;
        padding: 15px;
        margin: 0;
        border-radius: 20px;
        background-color: #ffffff;
        box-sizing: border-box;
        position: relative;
        box-shadow: 0px 3px 25px 0px rgba(0, 0, 0, 0.06);
    }

    .content-left .nav-item {
        width: 218px;
        height: 37px;
        margin: 0 auto 6px;
        padding: 0px 16px;
        display: flex;
        align-items: center;
        border-radius: 6px;
        cursor: pointer;
        font-size: 16px;
        font-weight: 600;
        color: #1A1A1A;
        background: none;
        border: none;
        text-align: left;
        line-height: 37px;
    }

    .content-left .nav-item:last-child {
        margin-bottom: 0;
    }

    .content-left .nav-item:hover,
    .content-left .nav-item.active {
        background-color: #FBF0FF;
        color: #D15DFF;
        transform: none;
    }

    .mobile-only {
        display: block !important;
        margin-top: 40px;
    }

    .desktop-only {
        display: none !important;
    }

    .center-box {
        padding: 0px;
    }

    .right-content-box {
        width: 100%;
    }

    .support-card {
        width: 100%;
        height: auto;
        margin: 40px auto 0;
    }

    .support-card .contact-btn {
        width: 229px;
        height: 50px;
    }

    .left-nav-box {
        display: none !important;
    }

    .faq-item {
        padding: 19px 17px 19px 17px;
        margin-bottom: 14px;
    }

    .faq-item h3 {
        font-size: 16px;
    }

    .faq-item .info-content {
        margin-top: 14px;
        font-size: 14px;
        font-weight: 400;
    }
}

@media (min-width: 769px) {
    .center-box {
        display: flex;
        gap: 40px;
        width: 100%;
        padding: 0px 20px 0px 0px;
        margin: 0 auto 60px;
        box-sizing: border-box;
        position: relative;
        min-height: 800px;
    }

    .left-nav-box {
        width: 300px;
        flex-shrink: 0;
        position: sticky;
        top: 120px;
        align-self: flex-start;
        height: fit-content;
        transition: all 0.3s ease;
        z-index: 10;
        margin-top: 0;
    }

    .left-nav-box.scrolling-fixed {
        position: fixed;
        top: 120px;
        left: calc(50% - 600px);
        width: 300px;
        z-index: 100;
        margin-top: 0;
    }

    .left-nav-box.scrolling-bottom {
        position: absolute;
        top: auto;
        bottom: 0;
        left: 0;
        width: 300px;
        transform: none !important;
        z-index: 10;
    }

    .right-content-box {
        flex: 1;
        min-width: 0;
        width: calc(100% - 340px);
    }

    .mobile-fixed-btn,
    .content-left {
        display: none !important;
    }

    .right-content-box {
        flex: 1;
        min-width: 0;
        overflow-y: visible;
        padding-right: 0;
    }

    .right-content-box::-webkit-scrollbar {
        display: none;
    }

    .mobile-only {
        display: none !important;
    }

    .desktop-only {
        display: block !important;
    }

    .left-nav-box.scrolling-fixed {
        position: sticky;
        top: 120px;
        margin-top: 0;
        transition: padding-top 0.3s ease;
    }

    .left-nav-box.scrolling-bottom {
        position: absolute;
        top: auto;
        bottom: 0;
        left: 0;
        width: 300px;
        margin-top: auto;
        transform: none;
    }

    .right-content-box {
        min-height: 600px;
    }
}

/* FAQ */