:root {
    --color-1: #8E2690;
    --color-2: #4C3CFD;
    --link-color: #E84CDF;
    --text-color: #444444;
    --hover-color: #A38DFD;
    --bg-gray: #F5F5F5;
    --table-green: #E3FFE9;
    --table-blue: #EBF6FF;
    --table-red: #d9d0ff;
    --table-gray: #ddd;
}

h4 {
    font-size: 1.8rem !important;
    line-height: 1.2 !important;
    font-weight: bold !important;
    color: var(--text-color) !important;
    text-align: center;
}
h5 {
    font-size: 1.2rem !important;
    line-height: 1.2 !important;
    font-weight: bold !important;
    color: var(--text-color) !important;
    text-align: center !important;
}
p{
    transition: all 0.2s ease;
}
.NEcontentBox.Event p,
    .NEcontentBox ol,
    .NEcontentBox.Event .NEList {
        font-size: 1.3rem;
        line-height: 1.4;
        margin-bottom: 0;
    }

.bold {
    font-weight: bold !important;
}
.keyPoints{
    color: var(--color-2);
    font-weight: bold;
}
.topHeader .headerWrapper {
    background: url(../ns2/images//banner-pc.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

@media screen and (max-width: 800px) {
    .topHeader .headerWrapper {
        background: url(../ns2/images/banner-mb.webp);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center center;
    }
}

.secMenu,
.tabsMenu {
    background: var(--bg-gray);
}

.secMenu {
    position: sticky;
    top: 64px;
    left: 0;
    z-index: 555;
}

.tabBtn::before {
    background: linear-gradient(to right, var(--color-1) 0%, var(--color-2) 100%);
}

.tabBtn,
.tabOpt {
    font-size: 16px;
    color: var(--text-color);
    font-size: 1.4rem;
    line-height: 1.5;
    font-weight: bold;
    padding: 5px 2.5%;
    /*margin: 5px 0;*/
}

.tabOpt {
    text-align: center;
    cursor: pointer;
    display: none;
}

.tabBtn::after {
    content: '';
    position: absolute;
    width: 1px;
    height: 50%;
    background: var(--text-color);
    top: 50%;
    transform: translateY(-50%);
    right: 0%;
}

.tabBtn:last-child::after {
    display: none;
}

.stepCard {
    background: var(--bg-gray);
}

.stepTitle {
    display: flex;
    align-items: center;
}

.stepBlockWrap p {
    text-align: center;
}

.stepLabel {
    font-size: 1.8rem;
    line-height: 1;
    background: var(--color-2);
    color: #fff;
    padding: 10px 20px !important;
    font-weight: bold;
}

.stepOn {
    color: var(--color-2);
    font-weight: bold;
}

.optionButtonGroup {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.optionBtn {
    border: 2px solid var(--link-color);
    padding: 6px 14px;
    font-weight: bold;
    color: var(--link-color);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.optionBtn.active, .optionBtn:hover {
    background: var(--link-color);
    color: #fff;
}

.titleWarp {
    background: linear-gradient(to right, var(--color-1) 0%, var(--color-2) 100%);
    color: #fff;
    font-size: 1.4rem;
    font-weight: bold;
    line-height: 1;
    text-align: center;
    padding: 10px 0 !important;
}
.stepBackWrap{
    display: none;
}
.stepCircle {
    background: var(--color-2);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
    position: relative;
    font-size: 1.5rem;
    margin: 0 auto;
}

.stepBox::after {
    content: '';
    position: absolute;
    top: 30px;
    left: 50%;
    width: 2px;
    height: calc(100% - 30px);
    background-color: var(--color-2);
    transform: translateX(-50%);
}

.stepGuide:last-child .stepBox::after {
    display: none;
}

.row:last-child .stepCircle::after {
    display: none;
}

.supportBtn {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(to right, var(--link-color), var(--link-color));
    color: #fff !important;
    padding: 10px 30px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
    font-size: 1.4rem;
    width: auto;
    font-weight: bold;
}

.supportBtn:hover {
    background: linear-gradient(to right, var(--hover-color), var(--link-color));
    transform: translateY(-2px);
}

.supportBtn .downloadIcon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    display: inline-block;
}

.backBtn {
    padding: 6px 14px;
    font-weight: bold;
    color: var(--link-color);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    text-decoration: underline;
}
.backBtn:hover {
    color: var(--hover-color);
}
.status{
    border-bottom: 1px solid var(--table-gray);
}
.statusUpdate {
    background-color: var(--table-blue);
}
.statusUpdate .productNote i.fa-solid{
    color: var(--color-2);
}
.statusReady .productNote i.fa-solid{
    color: #2bad45;
}
.statusLimited .productNote i.fa-solid{
    color: #435081;
}
.statusReady {
    background-color: var(--table-green);
}

.statusLimited {
    background-color: var(--table-gray);
}

.productCard {
    padding: 1rem;
    border-radius: 0.5rem;
    align-self: baseline;
}



.productName a{
    color: var(--text-color);
    transition: all 0.2s ease;

}
.productName a:hover{
    color: var(--hover-color);
}

.productNote.whiteSpacePreLine {
    /*white-space: pre-line;*/
    font-size: 0.9rem;
    color: var(--text-color);
}

.eolTag {
    position: absolute;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--bg-gray);
    background: var(--text-color);
    padding: 10px 10px;
    bottom: 0;
    left: 0;
}

.btnStartUpdate,
.btnHowToUse {
    display: inline-block;
    font-size: 1.3rem;
    font-weight: bold;
    padding: 10px 12px;
    color: var(--link-color);
    text-decoration: none;
    margin-right: 10px;
    line-height: 1;
    cursor: pointer;
}
.btnHowToUse i{
    font-size: 1rem;
}
.btnStartUpdate{
    border: 2px solid var(--link-color);
    
}
.btnHowToUse:hover {
    color: var(--hover-color);
    /*border-color: var(--hover-color);*/
}
.btnStartUpdate:hover {
    background: var(--link-color);
    color: #fff;
}
.guideWarp{
    background: #fff;
}
.guideWarp p{
    text-align: left;
}
.stepGuide .btnHowToUse{
    padding: 10px 0;
}
.cta{
    background: var(--table-red);
}
.cta p{
    text-align: center;
}
.step3{
    display: none;
}
.faqItem{
    border-bottom: 1px solid var(--text-color);
}
.faqContent{
    display: none;
}
.faqItem.active .faqContent{
    display: block;
}
.faqIcon{
    text-align: right;
}
#faqWrap a{
    text-decoration: underline !important;
}
.faqHeader{
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 15px 0 !important;
}
.faqHeader:hover{
    background: var(--table-red);
}
.faqIcon i.fa-plus {
  display: block;
}
.faqIcon i.fa-minus {
  display: none;
}

.faqItem.active .faqIcon i.fa-plus {
  display: none;
}
.faqItem.active .faqIcon i.fa-minus {
  display: block;
}
@media screen and (max-width: 991px) {

    .tabOpt,
    .tabBtn {
        font-size: 1.2rem;
    }

    .secMenu {
        top: 67.2px;
    }

    .optionBtn,
    .backBtn {
        font-size: 1rem;
        line-height: 1;
    }

}

@media screen and (max-width: 768px) {

    .NEcontentBox.Event p,
    .NEcontentBox ol,
    .NEcontentBox.Event .NEList {
        font-size: 1.03rem;
        line-height: 1.5;
    }

    .NEcontentBox {
        width: 90%;
        padding: 20px 0 80px 0;
    }

    .tabOpt,
    .tabBtn {
        width: 100%;
    }

    .tabOpt {
        width: 100%;
        text-align: center;
        font-weight: bold;
        padding: 12px 0;
        background: var(--bg-gray);
        cursor: pointer;
        border-bottom: 1px solid #ccc;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
    }

    .tabOptArrow {
        position: absolute;
        width: 20px;
        height: 20px;
        right: 5%;
    }

    .tabOptArrow::after {
        content: '';
        position: absolute;
        width: 12px;
        height: 12px;
        border-left: 2px solid var(--text-color);
        border-bottom: 2px solid var(--text-color);
        transform: rotate(-45deg);
        top: 2px;
        left: 0;
        transition: transform 0.3s ease;
    }

    /* 開啟狀態變成箭頭向上 */
    .tabOpt.open .tabOptArrow::after {
        transform: rotate(135deg);
        top: 6px;
    }

    .tabBtn::after {
        width: 100%;
        height: 1px;
        top: 100%;
        transform: initial;
        background: #c1c1c1;
    }

    .tabsMenu {
        display: none;
        background: #e6e6e6;
    }

    .tabsMenu.active {
        display: block;
    }
    .stepGuide .col-1{
        min-width: 30px;
    }
    .stepCircle {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }

    .stepBox::after {
        content: '';
        position: absolute;
        top: 30px;
        left: 50%;
        width: 2px;
        height: calc(100% - 30px);
        background-color: var(--color-2);
        transform: translateX(-50%);
    }

    .supportBtn {
        padding: 10px 9px;
    }

    .stepLabel {
        font-size: 1rem;
        line-height: 1;
        padding: 10px 20px !important;
    }

    .optionButtonGroup {
        gap: 10px 0;
        justify-content: space-between;
    }

    .optionBtn {
        font-size: 1.05rem;
        line-height: 1;
        width: calc(50% - 5px);
        text-align: center;
        padding: 6px 0px;
    }

    .backBtn, .supportBtn {
        font-size: 1rem;
        line-height: 1;
    }
    .btnStartUpdate,
    .btnHowToUse {
        font-size: 1rem;
    }
    .faqHeader{
        padding: 10px 0 !important;
    }

}