/* ═══════════════════════════════════════════════════════════════
   MFS210 FAP20 OPTICAL FINGERPRINT SCANNER - MODERNIZED DESIGN
   Based on Enterprise Design Language (Mantra Biometrics)
   ═══════════════════════════════════════════════════════════════ */


/* Section Header */
.section_header h2 {
    margin-bottom: 20px;
    color: var(--ma-tag-black);
}

.section_header p {
    color: var(--ma-grey90);
}

/* Section Label */
.section_label {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(3, 70, 148, 0.08);
    color: var(--ma-type-primary);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Hero Section */
.hero_section {
    background: linear-gradient(135deg, #FAFAFA 0%, #FFFFFF 50%, #EFF6FF 100%);
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
}

    .hero_section .hero_content h1 {
        margin: 20px 0 25px;
    }

    .hero_section .hero_content .hero_subtitle {
        margin-bottom: 30px;
        color: var(--ma-grey90);
    }

    .hero_section .hero_tags {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 35px;
    }

    .hero_section .htag {
        padding: 6px 15px;
        background: var(--ma-white);
        border: 1px solid #E5E7EB;
        border-radius: 50px;
        font-size: 13px;
        font-weight: 500;
        color: var(--ma-grey130);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    }

    .hero_section .hero_actions {
        display: flex;
        gap: 15px;
        flex-wrap: wrap;
    }

    .hero_section .hero_image {
        position: relative;
        text-align: center;
    }

        .hero_section .hero_image img {
            max-width: 100%;
            max-height: 480px;
            object-fit: contain;
            filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.12));
            transition: transform 0.5s ease;
        }

        .hero_section .hero_image:hover img {
            transform: scale(1.02);
        }

    .hero_section .hero_floating_tags {
        position: absolute;
        bottom: -20px;
        left: 5%;
        right: 5%;
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }

.ftag {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    padding: 10px 18px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(229, 231, 235, 0.8);
    text-align: left;
}

    .ftag strong {
        display: block;
        font-size: 15px;
        color: var(--ma-tag-black);
        font-weight: 700;
        line-height: 1.2;
    }

    .ftag span {
        font-size: 11px;
        color: var(--ma-grey90);
        font-weight: 500;
    }

/* Alternate Content Sections */
.content_section {
    padding: 100px 0;
}

    .content_section.bg_light {
        background-color: var(--ma-bg-light);
    }

    .content_section.bg_blue {
        background: var(--ma-white);
    }

/* Highlights Grid */
.highlights_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.hl_card {
    background: var(--ma-white);
    padding: 35px;
    border-radius: 20px;
    border: 1px solid var(--ma-grey40);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

    .hl_card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
        border-color: var(--ma-type-primary);
    }

    .hl_card .hl_icon {
        width: 52px;
        height: 52px;
        background: linear-gradient(135deg, #034694 0%, #4F7EB4 100%);
        color: var(--ma-white);
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 14px;
        margin-bottom: 22px;
        font-size: 24px;
    }

    .hl_card h3 {
        font-size: 18px;
        color: var(--ma-tag-black);
        font-weight: 700;
        margin-bottom: 12px;
    }

    .hl_card .hl_badge {
        display: inline-block;
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.8px;
        color: var(--ma-type-primary);
        font-weight: 600;
        margin-bottom: 12px;
    }

    .hl_card .hl_body {
        font-size: 14px;
        color: var(--ma-grey90);
        line-height: 1.65;
    }

/* Solutions Grid */
.solutions_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 60px;
}

.app_card {
    position: relative;
    border-radius: 24px;
    padding: 40px 30px;
    background: var(--ma-white);
    border: 1px solid var(--ma-grey40);
    text-decoration: none;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

    .app_card .sol_icon {
        width: 60px;
        height: 60px;
        background: var(--ma-bg-blue);
        color: var(--ma-type-primary);
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 25px;
        font-size: 28px;
        transition: all 0.3s ease;
    }

    .app_card:hover .sol_icon {
        background: var(--ma-type-primary);
        color: var(--ma-white);
        transform: rotateY(180deg);
    }

    .app_card .card_cat {
        font-size: 11px;
        color: var(--ma-type-primary);
        text-transform: uppercase;
        font-weight: 600;
        letter-spacing: 1.2px;
        margin-bottom: 12px;
        display: block;
    }

    .app_card h3 {
        color: var(--ma-tag-black);
        font-size: 20px;
        font-weight: 700;
        margin-bottom: 14px;
        line-height: 1.35;
    }

    .app_card p {
        color: var(--ma-grey90);
        font-size: 14px;
        line-height: 1.65;
        margin: 0;
    }

    .app_card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
        border-color: var(--ma-type-primary);
    }

/* Specifications Section */
.specs_section {
    padding: 100px 0;
    background: var(--ma-white);
}

.specs_layout {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 50px;
}

.specs_sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.specs_nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 30px;
}

.snav_btn {
    padding: 14px 22px;
    text-align: left;
    background: var(--ma-bg-light);
    border-radius: 12px;
    color: var(--ma-grey130);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

    .snav_btn.active,
    .snav_btn:hover {
        background: var(--ma-type-primary);
        color: var(--ma-white);
        border-color: var(--ma-type-primary);
    }

.specs_accordion .spec_group {
    background: var(--ma-white);
    border-radius: 20px;
    margin-bottom: 25px;
    overflow: hidden;
    border: 1px solid var(--ma-grey40);
    transition: all 0.3s ease;
}

    .specs_accordion .spec_group:hover {
        border-color: var(--ma-type-primary);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    }

.spec_group_header {
    width: 100%;
    padding: 22px 35px;
    text-align: left;
    color: var(--ma-tag-black);
    font-weight: 700;
    font-size: 19px;
}

.spec_group_body {
    padding: 20px 35px 25px;
}

.spec_table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
}

.spec_row {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

    .spec_row.full {
        grid-column: span 2;
    }

.spec_key {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--ma-grey90);
    font-weight: 600;
    letter-spacing: 0.8px;
    margin-bottom: 4px;
}

.spec_val {
    font-size: 14px;
    color: var(--ma-grey130);
    font-weight: 500;
    line-height: 1.5;
}

/* Benefits Box */
.benefits_card {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 24px 30px;
}

.benefits_title {
    font-size: 16px;
    font-weight: 700;
    color: var(--ma-tag-black);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .benefits_title i {
        color: #F59E0B;
    }

.benefits_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.ben_item {
    font-size: 14px;
    font-weight: 600;
    color: var(--ma-grey130);
    display: flex;
    align-items: center;
    gap: 8px;
}

    .ben_item i {
        color: #10B981;
        font-size: 16px;
    }

.spec_service_alert {
    border-radius: 14px;
    padding: 16px 22px;
    background-color: #EFF6FF;
    border: 1px solid #BFDBFE;
    color: #1E40AF;
    font-size: 14px;
    line-height: 1.6;
}

    .spec_service_alert a {
        color: #1D4ED8;
        font-weight: 600;
        text-decoration: underline;
    }

/* Resources Grid */
.resources_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.res_card {
    background: var(--ma-white);
    border: 1px solid var(--ma-grey40);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

    .res_card .res_icon {
        width: 60px;
        height: 60px;
        background: #EFF6FF;
        color: var(--ma-type-primary);
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 15px;
        margin: 0 auto 22px;
        font-size: 28px;
    }

    .res_card h3 {
        font-size: 18px;
        color: var(--ma-tag-black);
        font-weight: 700;
        margin-bottom: 12px;
    }

    .res_card p {
        font-size: 14px;
        color: var(--ma-grey90);
        line-height: 1.6;
        margin-bottom: 22px;
    }

    .res_card .res_link {
        font-weight: 700;
        color: var(--ma-type-primary);
        font-size: 14px;
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

    .res_card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
        border-color: var(--ma-type-primary);
    }

/* Bento Details */
.bento_details {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 240px;
    gap: 15px;
    margin-top: 50px;
}

.bento_item {
    border-radius: 24px;
    padding: 35px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

    .bento_item.col2 {
        grid-column: span 2;
    }

    .bento_item.col3 {
        grid-column: span 3;
    }

    .bento_item.row2 {
        grid-row: span 2;
    }

    .bento_item.light {
        background: #F8FAFC;
        border: 1px solid #E5E7EB;
    }

    .bento_item.dark {
        background: #111827;
    }

    .bento_item.blue {
        background: #034694;
    }

.bnum {
    font-size: 38px;
    line-height: 1.1;
    color: var(--ma-white);
    margin-bottom: 8px;
}

.bento_item.light .bnum {
    color: var(--ma-tag-black);
}

.btag {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 8px;
    font-weight: 600;
}

.bento_item.light .btag {
    color: var(--ma-grey90);
}

.bsub {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.45;
}

.bento_item.light .bsub {
    color: var(--ma-grey90);
}

.bic {
    font-size: 32px;
    color: var(--ma-type-primary);
    margin-bottom: 15px;
}

/* Buttons */
.btn_product_get_quote {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--ma-type-primary);
    color: var(--ma-white);
    font-size: 15px;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    width: fit-content;
}

    .btn_product_get_quote:hover,
    .btn_product_get_quote:focus,
    .btn_product_get_quote:active {
        background-color: var(--ma-type-primaryhoverdark);
        color: var(--ma-white);
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(3, 70, 148, 0.25);
    }

.btn_download_brochure_new {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background-color: var(--ma-white);
    color: var(--ma-tag-black);
    border: 1px solid #E2E8F0;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

    .btn_download_brochure_new:hover,
    .btn_download_brochure_new:focus,
    .btn_download_brochure_new:active {
        border-color: var(--ma-type-primary);
        color: var(--ma-type-primary);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

/* Responsive */
@media (max-width: 1200px) {
    .specs_layout {
        grid-template-columns: 1fr;
    }

    .specs_sidebar {
        position: static;
        top: 0;
    }

    .bento_details {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero_section .hero_content h1 {
        font-size: 2.3rem;
    }

    .benefits_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero_section {
        padding: 100px 0 60px;
    }

    .hero_image {
        margin-top: 50px;
    }

    .highlights_grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .solutions_grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .resources_grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .highlights_grid, .solutions_grid {
        grid-template-columns: 1fr;
    }

    .bento_details {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .spec_table {
        grid-template-columns: 1fr;
    }

    .spec_row.full {
        grid-column: span 1;
    }

    .benefits_grid {
        grid-template-columns: 1fr;
    }

    .cta-box {
        padding: 40px 25px;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }
}
