﻿img{
    max-width: 100%;
    height: auto;
}
.container{
    max-width: 1280px;
}
.btn_box {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.btn_box a{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 216px;
    height: 54px;
    background: #00B191;
    border-radius: 6px 6px 6px 6px;
    font-weight: bold;
    font-size: 18px;
    color: #fff;
    transition: background-color 0.1s;
}
.btn_box a:hover{
    background: #02CEAA;
}
.btn_box a::before {
    content: '';
    width: 24px;
    height: 24px;
    background: url(/img/ad/handbrake-alternative/system-change.svg);
    display: block;
}
.btn_box .mac::before {
    background-position-y: -24px;
}
.btn_box a:hover{
    background-color: #13af9c;
}
h2{
    font-weight: bold;
    font-size: 36px;
    color: #191C1E;
    line-height: 40px;
    text-align: center;
}
h2+.info{
    font-size: 16px;
    color: #6A7282;
    line-height: 24px;
    text-align: center;
    margin-top: 16px;
}
h2+.info span{
    font-weight: bold;
}

/* ===== Nav ===== */
.nav {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #fff;
    border-bottom: 1px solid #E5E7EB;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 24px;
}
.nav_name {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.nav_name img {
    width: 32px;
    height: 32px;
}
.nav_name span {
    font-weight: bold;
    font-size: 16px;
    color: #191C1E;
    white-space: nowrap;
}
.nav_right {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav_hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    flex-shrink: 0;
    background: none;
    border: none;
    padding: 0;
    outline: none;
}
.nav_hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #191C1E;
    border-radius: 2px;
    transition: all 0.2s;
}
.nav_hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav_hamburger.open span:nth-child(2) {
    opacity: 0;
}
.nav_hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}
.nav_links {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav_links a {
    font-size: 15px;
    color: #4A5565;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s;
}
.nav_links a:hover {
    color: #1ABC9C;
}
.nav_btns {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.nav_btns a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 40px;
    padding: 0 18px;
    background: #00B191;
    border-radius: 6px;
    font-weight: bold;
    font-size: 14px;
    color: #fff;
    white-space: nowrap;
    text-decoration: none;
    transition: background-color 0.1s;
}
.nav_btns a:hover {
    background: #13af9c;
}
.nav_btns a::before {
    content: '';
    width: 18px;
    height: 18px;
    background: url(/img/ad/handbrake-alternative/system-change.svg);
    background-size: 18px;
    background-position-y: -0px;
    display: block;
}
.nav_btns .mac::before {
    background-position-y: -18px;
}
/* 桌面端：nav_btns 在 nav_links 外部（flex row），正常显示 */
.nav_links .nav_btns {
    display: none;
}
@media (max-width: 900px) {
    .nav_links {
        display: none;
    }
    .nav_hamburger {
        display: flex;
    }
    .nav_right > .nav_btns {
        display: none;
    }
    .nav_right.open .nav_links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: #fff;
        border-top: 1px solid #E5E7EB;
        padding: 16px 24px;
        gap: 0;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    }
    .nav_right.open .nav_links a {
        padding: 12px 0;
        border-bottom: 1px solid #F3F4F6;
        font-size: 15px;
    }
    .nav_right.open .nav_links .nav_btns {
        display: flex;
        padding: 16px 0 4px;
        gap: 12px;
        border-bottom: none;
    }
    .nav_right.open .nav_links .nav_btns a {
        flex: 1;
        height: 40px;
        font-size: 13px;
        padding: 0 10px;
        border-bottom: none;
    }
}
@media (max-width: 630px) {
    .nav_btns a {
        padding: 0 10px;
        font-size: 12px;
    }
}

.banner {
    padding: 80px 0;
    background: #F4FAFF;
}
.banner .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.banner_left {
    max-width: 600px;
    width: 100%;
    flex: 1;
}
.banner_left h1 {
    font-size: 56px;
    font-weight: bold;
    color: #101828;
    line-height: 70px;
}
.banner_left .sub {
    font-size: 20px;
    color: #1ABC9C;
    line-height: 30px;
    font-weight: bold;
    margin-top: 20px;
}
.banner_left .desc {
    font-size: 16px;
    color: #101828;
    line-height: 28px;
    margin-top: 20px;
}
.banner_left .btn_box{
    margin-top: 32px;
}
.banner iframe{
    max-width: 636px;
    width: 100%;
    height: 358px;
}

.easey {
    padding: 96px 0;
    background: #E3F3FF;
}
.easey_box {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 34px;
}
.easey_box > div {
    max-width: 406px;
    width: 100%;
    background: #fff;
    border: 1px solid rgba(195, 198, 214, 0.10);
    border-radius: 8px;
    padding: 35px 32px;
    margin-top: 30px;
}
.easey_box > div i {
    display: block;
    width: 24px;
    height: 24px;
    background: url(/img/ad/handbrake-alternative/1-1icon.svg);
}
.easey_box > div:nth-child(1) i{
    background-position-y: 0px;
}
.easey_box > div:nth-child(2) i{
    background-position-y: -24px;
}
.easey_box > div:nth-child(3) i{
    background-position-y: -48px;
}
.easey_box > div:nth-child(4) i{
    background-position-y: -72px;
}
.easey_box > div:nth-child(5) i{
    background-position-y: -96px;
}
.easey_box > div:nth-child(6) i{
    background-position-y: -120px;
}
.easey_box > div .title {
    font-weight: bold;
    font-size: 20px;
    color: #191C1E;
    line-height: 28px;
    margin-top: 12px;
    margin-bottom: 12px;
}
.easey_box > div .info {
    font-size: 14px;
    color: #434654;
    line-height: 22px;
}

.feature {
    padding: 96px 0;
}
.feature .container > .info {
    font-size: 14px;
    color: #6A7282;
    text-align: center;
    margin-top: 10px;
}
.feature_inner {
    display: flex;
    align-items: stretch;
    gap: 40px;
    margin-top: 44px;
}

/* 左侧卡片 */
.feature_card {
    max-width: 628px;
    width: 100%;
    background: #EBF8F5;
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.feature_card i {
    background: url(/img/ad/handbrake-alternative/play.svg);
    width: 48px;
    height: 48px;
    display: block;
}
.feature_card_icon img {
    width: 20px;
    height: 20px;
}
.feature_card .title {
    font-weight: bold;
    font-size: 24px;
    color: #191C1E;
    line-height: 32px;
    margin-top: 20px;
    margin-bottom: 16px;
}
.feature_card .info {
    font-weight: 400;
    font-size: 16px;
    color: #434654;
    line-height: 26px;
}
.feature_card img {
    margin-top: 16px;
    border-radius: 8px;
}

/* 右侧列表 */
.feature_list {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
}
.feature_list>div{
    border: 1px solid rgba(195, 198, 214, 0.20);
    padding: 32px;
    display: flex;
    align-items: flex-start;
    border-radius: 16px;
}
.feature_list>div i{
    width: 56px;
    height: 56px;
    background: url(/img/ad/handbrake-alternative/2-2icon.svg);
}
.feature_list>div:nth-child(2) i{
    background-position-y: -56px;
}
.feature_list>div:nth-child(3) i{
    background-position-y: -112px;
}
.feature_list>div>div{
    flex: 1;
    margin-left: 24px;
}
.feature_list>div .title{
    color: #191C1E;
    font-size: 20px;
    line-height: 28px;
}
.feature_list>div .info{
    margin-top: 10px;
    font-size: 14px;
    line-height: 20px;
    color: #434654;
}

/* ===== 4. Compare ===== */
.compare {
    padding: 96px 0;
    background: #F5F9FF;
}
.compare table {
    margin: 64px auto 0;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #dde8f5;
    background: #fff;
    max-width: 1080px;
    width: 100%;
    border-collapse: collapse;
}
.compare thead tr {
    background: #F2FCFA;
    border-bottom: none;
}
.compare th,
.compare td {
    padding: 24px;
    font-size: 16px;
    font-weight: bold;
    vertical-align: middle;
    text-align: left;
}
/* 第1列：功能名 */
.compare th:first-child,
.compare td:first-child {
    color: #101828;
    width: 360px;
}
/* 第2列：VideoByte */
.compare th:nth-child(2),
.compare td:nth-child(2) {
    width: 360px;
    color: #1ABC9C;
}
/* 第3列：HandBrake */
.compare th:nth-child(3),
.compare td:nth-child(3) {
    width: 360px;
}
.compare td:nth-child(2) img,
.compare td:nth-child(3) img {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    vertical-align: -6px;
}
.compare tbody tr:nth-child(even) td{
    background: #FCFCFD;
}
.compare tbody tr:nth-child(odd) td{
    background: #fff;
}
.compare .btn_box{
    margin-top: 32px;
    justify-content: center;
}
.steps {
    padding: 96px 0;
}
.steps_box {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: 40px;
}
.steps_box>div{
    max-width: 406px;
    width: 100%;
    background: #FFFFFF;
    box-shadow: 0px 20px 40px 0px rgba(25,28,30,0.06);
    border-radius: 16px 16px 16px 16px;
    padding-bottom: 24px;
    overflow: hidden;
}
.steps_box>div .title{
    font-weight: bold;
    font-size: 20px;
    color: #191C1E;
    line-height: 28px;
    margin-top: 16px;
    margin-bottom: 12px;
    text-align: center;
    padding: 0px 32px;
}
.steps_box>div .info{
    font-size: 14px;
    color: #434654;
    line-height: 22px;
    text-align: center;
    padding: 0px 32px;
}

/* ===== 6. Advantage ===== */
.advantage {
    padding: 96px 0;
    background: #E3F4FF;
}
.advantage_box {
    display: flex;
    gap: 24px;
    margin-top: 40px;
}
.advantage_box>div {
    max-width: 406px;
    width: 100%;
    background: #FFFFFF;
    box-shadow: 0px 20px 40px 0px rgba(25,28,30,0.06);
    border-radius: 16px 16px 16px 16px;
    padding: 40px 32px;
    text-align: center;
}
.advantage_box>div i{
    width: 64px;
    height: 64px;
    background: url(/img/ad/handbrake-alternative/5-1icon.svg);
}
.advantage_box>div:nth-child(1) i{
    background-position-y: -0px;
}
.advantage_box>div:nth-child(2) i{
    background-position-y: -64px;
}
.advantage_box>div:nth-child(3) i{
    background-position-y: -128px;
}
.advantage_box>div .title{
    font-size: 20px;
    color: #191C1E;
    line-height: 28px;
    font-weight: bold;
    margin-top: 24px;
    margin-bottom: 16px;
}
.advantage_box>div .info{
    font-size: 14px;
    color: #434654;
    line-height: 22px;
}
.system {
    padding: 70px 0;
    background: #F0F8FF;
}
.system_box {
    display: flex;
    justify-content: space-between;
    margin-top: 64px;
    flex-wrap: wrap;
}
.system_left {
    max-width: 628px;
    width: 100%;
}
.system_left .top{
    background: #FFFFFF;
    border-radius: 16px 16px 16px 16px;
    padding: 32px;
}

.system_left .top div{
    display: flex;
    align-items: center;
}
.system_left .top div img{
    width: 100px;
    height: 100px;
}
.system_left .top div p{
    flex: 1;
    margin-left: 16px;
    font-weight: bold;
    font-size: 24px;
    color: #191C1E;
    line-height: 32px;
}
.system_left .top .flag_title{
    font-weight: 500;
    font-size: 20px;
    color: #0A0A0A;
    line-height: 28px;
    margin-top: 32px;
    margin-bottom: 12px;
}
.system_left .bottom{
    margin-top: 24px;
    background: #FFFFFF;
    border-radius: 16px 16px 16px 16px;
    padding: 35px 32px;
}
.system_left .bottom .btn_box{
    gap: 24px;
}
.system_left .bottom .btn_box a{
    width: 200px;
    height: 54px;
}
.system_left .bottom .btn_box p{
    font-weight: bold;
    font-size: 50px;
    color: #191C1E;
    line-height: 54px;
}
.system_left .bottom .btn_box p span{
    font-size: 16px;
    color: #6A7282;
}
.system_left .bottom .system_formats{
    font-size: 14px;
    color: #4A5565;
    line-height: 20px;
    text-decoration: underline;
    margin-top: 22px;
}
.system_product {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}
/* 右侧规格列表 */
.system_right {
    background: #FFFFFF;
    border-radius: 16px 16px 16px 16px;
    max-width: 628px;
    width: 100%;
    padding: 32px;
}
.system_right>div{
    margin-bottom: 16px;
}
.system_right>div:last-child{
    margin-bottom: 0px;
}
.system_right .title{
    font-size: 20px;
    color: #0A0A0A;
    line-height: 28px;
    font-weight: bold;
    margin-top: 16px;
}
.system_right .info{
    font-size: 16px;
    color: #364153;
    line-height: 24px;
    margin-top: 12px;
}
.faq {
    padding: 96px 0;
    background: #fff;
}
.faq_list {
    max-width: 1080px;
    width: 100%;
    margin: 64px auto 0;
}
.faq_list>div:first-child{
    margin-top: 0px;
}
.faq_list>div{
    background: #F9FAFB;
    border-radius: 8px;
    padding: 24px 34px;
    margin-top: 16px;
}
.faq_list>div.active{
    display: block;
}
.faq_list>div .faq_q{
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 18px;
    color: #191C1E;
    line-height: 28px;
    cursor: pointer;
}
.faq_list>div .faq_q span{
    flex: 1;
}
.faq_list>div .faq_q i{
    background: url(/img/ad/handbrake-alternative/arrow.svg);
    width: 16px;
    height: 16px;
}
.faq_list>div .faq_a{
    display: none;
    font-size: 16px;
    color: #6A7282;
    line-height: 24px;
    margin-top: 16px;
}
.faq_list>div.active .faq_a{
    display: block;
}
.faq_list>div.active .faq_q i{
    transform: rotate(180deg);
}

.bottom_cta {
    padding: 96px 0;
    background: linear-gradient(135deg, #2EB5B8 0%, #1ABC9C 100%);
    text-align: center;
}
.bottom_cta h2 {
    color: #fff;
}
.bottom_cta .info {
    color: #FFFFFF;
}
.bottom_cta .btn_box {
    justify-content: center;
    margin-top: 36px;
    gap: 24px;
}
.bottom_cta .btn_box a {
    background: #FFFFFF;
    color: #12AB8D;
}
.bottom_cta .btn_box a:hover{
    background: #B4FFF1;
}
.bottom_cta .btn_box a::before{
    background: url(/img/ad/handbrake-alternative/system-change-green.svg);
}
.bottom_cta .btn_box a.mac::before{
    background-position-y: -24px;
}
.bottom_cta .tips{
    margin-top: 16px;
    color: #fff;
    font-size: 14px;
    line-height: 22px;
}
.bottom_cta .tips span{
    margin: 0 6px;
}
.bottom_cta .tips span::before{
    content: "";
    background: url(/img/ad/handbrake-alternative/safety.svg);
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: -5px;
    margin-right: 4px;
}
.bottom_cta .tips span:nth-child(2)::before{
    background: url(/img/ad/handbrake-alternative/satisfaction.svg);
}
@media (max-width: 1280px){
    .banner .container{
        flex-direction: column;
        align-items: center;
    }
    .banner_left{
        text-align: center;
        margin-bottom: 30px;
    }
    .btn_box{
        justify-content: center;
    }
    .easey_box{
        max-width: 836px;
        width: 100%;
        margin: auto;
    }
    .feature_inner{
        flex-direction: column;
    }
    .feature_inner{
        max-width: 628px;
        width: 100%;
        margin: 30px auto 0px;
    }
    .system_box{
        justify-content: space-around;
    }
    .system_left .bottom .btn_box{
        justify-content: flex-start;
    }
    .system_right{
        margin-top: 24px;
    }
}
@media (max-width: 900px) {
    .easey_box{
        margin-top: 30px;
    }
    .easey_box > div {
        flex: 0 0 calc(50% - 8px);
        margin-top: 0px;
    }
    .system_inner {
        flex-direction: column;
    }
    .system_left {
        flex: unset;
        width: 100%;
    }
}
@media (max-width: 630px){
    .steps_box,
    .advantage_box{
        flex-direction: column;
        align-items: center;
    }
    .easey_box > div{
        flex: none;
    }
    h2{
        font-size: 30px;
        line-height: 36px;
    }
    .banner_left h1{
        font-size: 40px;
        line-height: 46px;
    }
    .banner,
    .easey,
    .feature,
    .compare,
    .steps,
    .advantage,
    .system,
    .faq,
    .bottom_cta{
        padding-top: 60px;
        padding-bottom: 60px;
    }
    .compare th, .compare td{
        padding: 10px;
    }
}