/* MBAS50 FACE RECOGNITION BIOMETRIC DEVICE PAGE STYLES */
/* Based on Enterprise Security Solutions Design Language (Matched with MATISX) */

#mbas50-page {
    --ma-type-primary: #034694;
    --ma-white: #ffffff;
    --ma-grey130: #374151;
    --ma-grey90: #6B7280;
    --ma-grey40: #EEEEEE;
    --ma-tag-black: #111827;
    --ma-bg-light: #FAFAFA;
    --ma-bg-blue: #EFF6FF;
    /* Typography */
    --ma-font-bold: 'Poppins', sans-serif;
    --ma-hero-title: 42px;
    --ma-page-title: 2rem;

    color: var(--ma-grey130);
    background: var(--ma-white);
    font-family: 'Inter', sans-serif;
}

/* Hero Section */
.hero_section {
    background: linear-gradient(135deg, #FAFAFA 0%, #FFFFFF 50%, #EFF6FF 100%);
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero_section h1 {
    margin: 20px 0 25px;
}

.hero_section .hero_subtitle {
    margin-bottom: 35px;
}

.hero_section .hero_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.hero_section .htag {
    padding: 6px 15px;
    background: var(--ma-white);
    border: 1px solid #E5E7EB;
    border-radius: 50px;
    font-size: 13px;
    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%;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.1));
    transition: transform 0.5s;
}

.hero_section .hero_image:hover img {
    transform: scale(1.02);
}

.hero_section .hero_floating_tags {
    position: absolute;
    bottom: -20px;
    left: 10%;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.ftag {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border: 1px solid rgba(255,255,255,0.3);
    text-align: left;
}

.ftag strong {
    display: block;
    font-size: 18px;
    color: var(--ma-tag-black);
    line-height: 1;
}

.ftag span {
    font-size: 12px;
    color: var(--ma-grey90);
}

/* Alternate Content Sections */
.content_section {
    padding: 100px 0;
}

.content_section.bg_light {
    background-color: var(--ma-bg-light);
}

.content_section.bg_blue {
    background: linear-gradient(135deg, #FAFAFA 0%, #EFF6FF 100%);
}

/* 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;
}

.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: 50px;
    height: 50px;
    background: linear-gradient(135deg, #034694 0%, #4F7EB4 100%);
    color: var(--ma-white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 25px;
    font-size: 24px;
}

.hl_card h3 {
    font-size: 18px;
    color: var(--ma-tag-black);
    font-weight: 700;
    margin-bottom: 10px;
}

.hl_card .hl_badge {
    display: inline-block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ma-type-primary);
    font-weight: 600;
    margin-bottom: 15px;
}

.hl_card .hl_body {
    font-size: 14px;
    color: var(--ma-grey90);
    line-height: 1.6;
}

/* Solutions / Applications Cards (Icon Based) */
.solutions_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.app_card {
    background: var(--ma-white);
    padding: 40px 30px;
    border-radius: 24px;
    border: 1px solid var(--ma-grey40);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.app_card .app_icon {
    width: 60px;
    height: 60px;
    background: var(--ma-bg-blue);
    color: var(--ma-type-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    margin-bottom: 25px;
    font-size: 28px;
    transition: all 0.3s ease;
}

.app_card .card_cat {
    font-size: 11px;
    color: var(--ma-type-primary);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    display: block;
}

.app_card h3 {
    color: var(--ma-tag-black);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

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

.app_card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(3, 70, 148, 0.08);
    border-color: var(--ma-type-primary);
}

.app_card:hover .app_icon {
    background: var(--ma-type-primary);
    color: var(--ma-white);
    transform: scale(1.1);
}

/* Specifications Section */
.specs_section {
    padding: 100px 0;
    background: var(--ma-white);
}

.specs_layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 60px;
}

.specs_sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
    align-self: start;
}

.specs_nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 30px;
}

.snav_btn {
    padding: 15px 25px;
    text-align: left;
    background: var(--ma-bg-light);
    border: 1px solid var(--ma-grey40);
    border-radius: 12px;
    color: var(--ma-grey130);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
    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: 24px;
    margin-bottom: 30px;
    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: 30px 40px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    color: var(--ma-tag-black);
    font-weight: 700;
    font-size: 22px;
    text-align: left;
}

.spec_group_body {
    padding: 0 40px 40px;
}

.spec_table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.spec_row {
    padding: 12px 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: 1px;
    margin-bottom: 4px;
}

.spec_val {
    font-size: 15px;
    color: var(--ma-grey130);
}

/* Resources Cards */
.resources_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.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;
    text-decoration: none;
}

.res_card .res_icon {
    width: 60px;
    height: 60px;
    background: var(--ma-bg-blue);
    color: var(--ma-type-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    margin: 0 auto 25px;
    font-size: 30px;
}

.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: 25px;
}

.res_card .res_link {
    font-weight: 700;
    color: var(--ma-type-primary);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.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: 220px;
    gap: 15px;
    margin-top: 50px;
}

.bento_item {
    border-radius: 20px;
    padding: 30px;
    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: 40px; font-weight: 800; line-height: 1; color: var(--ma-white); margin-bottom: 8px; }
.bento_item.light .bnum { color: var(--ma-tag-black); }
.btag { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.7); margin-bottom: 10px; }
.bento_item.light .btag { color: var(--ma-grey90); }
.bsub { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.4; }
.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: var(--ma-body-text);
    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: var(--ma-body-text);
    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 h1 { font-size: 3.5rem; }
}

@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: repeat(2, 1fr); }
    .cta-box { padding: 50px; }
    .cta-content h2 { font-size: 2.2rem; }
}

@media (max-width: 768px) {
    .highlights_grid { grid-template-columns: 1fr; }
    .solutions_grid { grid-template-columns: 1fr; }
    .resources_grid { grid-template-columns: 1fr; }
    .hero_section h1 { font-size: 2.8rem; }
    .content_section { padding: 60px 0; }
    .bento_details { grid-template-columns: 1fr; grid-auto-rows: auto; }
    .bento_item.col2, .bento_item.col3 { grid-column: span 1; }
    .spec_table { grid-template-columns: 1fr; }
}
