/* Facial Recognition Face Gate Page CSS */

/* ======================== SECTION 1: HERO ======================== */
.face_gate_hero_section {
    background: linear-gradient(135deg, #FAFAFA 0%, #FFFFFF 50%, #EFF6FF 100%);
    padding: 130px 0px 80px 0px;
    position: relative;
    overflow: hidden;
}

.hero_content h1 {
    margin-bottom: 25px;
    color: var(--ma-tag-black);
}

.hero_content p {
    margin-bottom: 35px;
    color: var(--ma-grey130);
}

.hero_cta_btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    background-color: var(--ma-type-primary);
    color: var(--ma-white);
    font-size: var(--ma-body-text);
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    width: fit-content;
}

.hero_cta_btn:hover {
    background-color: var(--ma-type-primaryhoverdark);
    color: var(--ma-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(38, 68, 140, 0.3);
}

.hero_image img {
    border-radius: 20px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ======================== SECTION 2: INTRODUCTION ======================== */
.face_gate_intro_section {
    background-color: var(--ma-white);
    padding: 80px 0;
}

.face_gate_intro_section h2 {
    margin-bottom: 20px;
}

.face_gate_intro_section p {
    margin-bottom: 20px;
    color: var(--ma-grey130);
}

.intro_img_wrap {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--ma-depth64);
}

/* ======================== SECTION 3: WHY CHOOSE ======================== */
.face_gate_why_section {
    background-color: var(--ma-type-primary);
    padding: 80px 0;
}

.face_gate_why_section h2 {
    color: var(--ma-white);
    margin-bottom: 40px;
}

.why_card {
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
}

.why_card:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.why_card_icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ma-white);
    font-size: 24px;
    margin-bottom: 20px;
}

.why_card h3 {
    color: var(--ma-white);
    font-size: 20px;
    margin-bottom: 15px;
}

.why_card p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
    line-height: 1.6;
}

/* ======================== SECTION 4: BENEFITS ======================== */
.face_gate_benefits_section {
    padding: 80px 0;
    background-color: #FAFAFA;
}

.face_gate_benefits_section h2 {
    margin-bottom: 40px;
}

.benefit_item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.benefit_icon {
    color: var(--ma-type-primary);
    font-size: 20px;
    flex-shrink: 0;
}

.benefit_text {
    font-size: 16px;
    color: var(--ma-grey130);
    line-height: 1.5;
}

/* ======================== SECTION 5: FEATURES ======================== */
.face_gate_features_section {
    padding: 80px 0;
    background-color: var(--ma-white);
}

.face_gate_features_section h2 {
    margin-bottom: 40px;
}

.feature_card {
    background-color: var(--ma-white);
    border: 1px solid var(--ma-grey40);
    border-radius: 16px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
}

.feature_card:hover {
    box-shadow: var(--ma-depth64);
    transform: translateY(-5px);
}

.feature_card_icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #034694 0%, #4F7EB4 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ma-white);
    font-size: 24px;
    margin-bottom: 20px;
}

.feature_card h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.feature_card p {
    font-size: 14px;
    color: var(--ma-grey130);
    margin-bottom: 0;
    line-height: 1.6;
}

/* ======================== SECTION 6: APPLICATIONS ======================== */
.face_gate_applications_section {
    padding: 80px 0;
    background-color: #FAFAFA;
}

.face_gate_applications_section h2 {
    margin-bottom: 40px;
}

.application_card {
    background-color: var(--ma-white);
    border-radius: 16px;
    padding: 30px;
    height: 100%;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.application_card:hover {
    transform: translateY(-5px);
    box-shadow: var(--ma-depth64);
}

.application_card_icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 20px;
    background-color: #f0f4f8;
    color: var(--ma-type-primary);
}

.application_card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--ma-tag-black);
}

.application_card p {
    font-size: 14px;
    color: var(--ma-grey130);
    margin-bottom: 0;
}

.scenarios_wrap {
    background-color: var(--ma-white);
    border-radius: 20px;
    padding: 40px;
    margin-top: 50px;
    box-shadow: var(--ma-depth64);
}

/* ======================== FAQ SECTION ======================== */
.frequently-asked-questions-section {
    background-color: var(--ma-white);
    padding: 80px 0;
}

.fq-aside {
    position: sticky;
    top: 120px;
}

.fq-aside h2 {
    margin-bottom: 20px;
}

.fq-aside p {
    margin-bottom: 30px;
    color: var(--ma-grey130);
}

.fq-contact {
    display: flex;
    align-items: center;
    gap: 14px;
    background-color: var(--ma-white);
    border: 1px solid var(--ma-grey40);
    border-radius: 12px;
    padding: 30px;
}

.fq-contact-ico {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--ma-type-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
}

.fq-contact span {
    font-size: 11px;
    color: var(--ma-grey90);
    display: block;
    margin-bottom: 2px;
}

.fq-contact a {
    font-size: 15px;
    font-weight: 700;
    color: var(--ma-tag-black);
    text-decoration: none;
}

.fq-contact a:hover {
    color: var(--ma-type-primary);
}

.fq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fq-item {
    border-radius: 12px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: box-shadow .25s;
    border: 1px solid var(--ma-grey30);
}

.fq-item.open {
    box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
    border-color: transparent;
}

.fq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
    transition: background .2s;
    background-color: var(--ma-white);
}

.fq-q-text {
    margin-bottom: 0;
    font-size: 16px;
    font-family: var(--ma-font-semibold);
    color: var(--ma-tag-black);
}

.fq-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    background: #f0f4f8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--ma-type-primary);
    transition: transform .3s, background .3s;
}

.fq-item.open .fq-icon {
    transform: rotate(180deg);
    background: var(--ma-type-primary);
    color: #fff;
}

.fq-a {
    display: none;
    padding: 0 20px 18px;
    background-color: var(--ma-white);
}

.fq-item.open .fq-a {
    display: block;
}

.fq-a p {
    margin-bottom: 0;
    color: var(--ma-grey130);
    line-height: 1.6;
}

/* ======================== RESPONSIVE ======================== */
@media screen and (max-width: 991px) {
    .face_gate_hero_section {
        padding: 100px 0 60px 0;
    }

    .hero_content {
        text-align: center;
        margin-bottom: 40px;
    }

    .hero_cta_btn {
        margin: 0 auto;
    }

    .fq-aside {
        position: static;
        margin-bottom: 40px;
    }

    .scenarios_wrap {
        padding: 30px 20px;
    }
}

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

    .face_gate_intro_section,
    .face_gate_why_section,
    .face_gate_benefits_section,
    .face_gate_features_section,
    .face_gate_applications_section,
    .frequently-asked-questions-section {
        padding: 60px 0;
    }

    .why_card,
    .feature_card,
    .application_card {
        padding: 20px;
    }
}