/* =========================================================
   Beacon Kids — Custom Design System
   Storismo © 2026
   ========================================================= */

:root {
    --bk-primary:       #0a4fd1;
    --bk-primary-dark:  #072e7a;
    --bk-accent:        #29c7ff;
    --bk-success:       #1db982;
    --bk-warning:       #f5a524;
    --bk-danger:        #e5484d;

    --bk-bg:            #f6f9ff;
    --bk-surface:       #ffffff;
    --bk-text:          #0e1a2b;
    --bk-muted:         #6b7a90;
    --bk-border:        rgba(10, 79, 209, .08);

    --bk-radius:        14px;
    --bk-radius-lg:     20px;
    --bk-shadow:        0 10px 30px rgba(10, 79, 209, .08);
    --bk-shadow-lg:     0 25px 60px rgba(10, 79, 209, .15);
    --bk-gradient:      linear-gradient(135deg, var(--bk-primary), var(--bk-accent));
}

* { box-sizing: border-box; }

html, body {
    font-family: 'Cairo', system-ui, -apple-system, sans-serif;
    background: var(--bk-bg);
    color: var(--bk-text);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Tajawal', 'Cairo', sans-serif;
    font-weight: 700;
    color: var(--bk-text);
}

a { text-decoration: none; color: var(--bk-primary); }
a:hover { color: var(--bk-primary-dark); }

/* ========== Buttons ========== */
.btn-bk {
    background: var(--bk-gradient);
    color: #fff;
    border: 0;
    border-radius: 12px;
    padding: .7rem 1.4rem;
    font-weight: 600;
    font-family: 'Tajawal', sans-serif;
    transition: transform .2s, box-shadow .2s;
}
.btn-bk:hover {
    transform: translateY(-2px);
    color: #fff;
    box-shadow: var(--bk-shadow);
}
.btn-bk-outline {
    background: transparent;
    color: var(--bk-primary);
    border: 2px solid var(--bk-primary);
    border-radius: 12px;
    padding: .6rem 1.3rem;
    font-weight: 600;
    transition: all .2s;
}
.btn-bk-outline:hover {
    background: var(--bk-primary);
    color: #fff;
}

/* ========== Cards ========== */
.bk-card {
    background: var(--bk-surface);
    border-radius: var(--bk-radius);
    box-shadow: var(--bk-shadow);
    padding: 1.25rem;
    border: 1px solid var(--bk-border);
}

.bk-kpi { display: flex; align-items: center; gap: 1rem; }
.bk-kpi .icon {
    width: 56px; height: 56px;
    display: grid; place-items: center;
    border-radius: 14px;
    background: var(--bk-gradient);
    color: #fff; font-size: 1.4rem;
    flex-shrink: 0;
}
.bk-kpi .value {
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1;
    font-family: 'Tajawal', sans-serif;
    color: var(--bk-text);
}
.bk-kpi .label {
    color: var(--bk-muted);
    font-size: .88rem;
    margin-top: .25rem;
}

/* ========== Badges ========== */
.bk-badge {
    padding: .35rem .75rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    white-space: nowrap;
}
.bk-badge.low    { background: rgba(29,185,130,.12);  color: var(--bk-success); }
.bk-badge.medium { background: rgba(245,165,36,.14);  color: #b8730f; }
.bk-badge.high   { background: rgba(229,72,77,.13);   color: var(--bk-danger); }
.bk-badge.high::before {
    content: "";
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--bk-danger);
    animation: bkPulse 1.5s infinite;
}
@keyframes bkPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: .4; transform: scale(1.2); }
}

.bk-status {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .85rem;
    font-weight: 600;
}
.bk-status::before {
    content: "";
    width: 10px; height: 10px;
    border-radius: 50%;
    display: inline-block;
}
.bk-status.online::before  { background: var(--bk-success); box-shadow: 0 0 0 3px rgba(29,185,130,.2); }
.bk-status.offline::before { background: var(--bk-muted); }

/* ========== Dashboard Layout ========== */
.bk-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
}

.bk-sidebar {
    background: linear-gradient(180deg, var(--bk-primary-dark), var(--bk-primary));
    color: #fff;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.bk-brand {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,.15);
    margin-bottom: 1rem;
}
.bk-brand img {
    width: 46px; height: 46px;
    border-radius: 12px;
    background: #fff;
    padding: 5px;
    object-fit: contain;
}
.bk-brand-text strong {
    font-family: 'Tajawal', sans-serif;
    font-size: 1.1rem;
    display: block;
}
.bk-brand-text small {
    color: rgba(255,255,255,.7);
    font-size: .7rem;
    display: block;
}

.bk-nav {
    list-style: none;
    padding: 0; margin: 0;
    flex: 1;
}
.bk-nav li { margin-bottom: .2rem; }
.bk-nav a {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: .75rem .9rem;
    color: rgba(255,255,255,.85);
    border-radius: 10px;
    font-weight: 500;
    transition: background .2s, transform .2s;
}
.bk-nav a:hover {
    background: rgba(255,255,255,.12);
    color: #fff;
    transform: translateX(-3px);
}
.bk-nav a.active {
    background: rgba(255,255,255,.2);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.bk-nav a i { width: 20px; text-align: center; }
.bk-nav-divider {
    margin: 1rem 0 .5rem;
    padding: 0 .9rem;
    font-size: .7rem;
    text-transform: uppercase;
    color: rgba(255,255,255,.5);
    letter-spacing: 1px;
}

.bk-sidebar-footer {
    border-top: 1px solid rgba(255,255,255,.15);
    padding-top: 1rem;
    margin-top: 1rem;
}
.bk-user {
    display: flex;
    gap: .8rem;
    align-items: center;
    color: #fff;
}
.bk-user i { font-size: 2rem; color: rgba(255,255,255,.9); }
.bk-user strong { display: block; font-size: .9rem; }
.bk-user small { color: rgba(255,255,255,.7); display: block; font-size: .75rem; }

.bk-menu-btn {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1050;
    width: 44px; height: 44px;
    padding: 0;
    display: grid;
    place-items: center;
}

.bk-main {
    padding: 1.75rem 2rem;
    min-width: 0;
}

.bk-page-title {
    margin-bottom: 1.75rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
}
.bk-page-title h1 {
    margin: 0;
    font-size: 1.6rem;
}
.bk-page-title p {
    color: var(--bk-muted);
    margin: .3rem 0 0;
    font-size: .95rem;
}

/* ========== Auth Pages ========== */
.bk-auth {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: var(--bk-gradient);
    padding: 1rem;
    position: relative;
    overflow: hidden;
}
.bk-auth::before, .bk-auth::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
}
.bk-auth::before { width: 400px; height: 400px; top: -150px; right: -150px; }
.bk-auth::after  { width: 300px; height: 300px; bottom: -100px; left: -100px; }

.bk-auth-card {
    width: 100%;
    max-width: 460px;
    background: #fff;
    border-radius: var(--bk-radius-lg);
    padding: 2.25rem;
    box-shadow: var(--bk-shadow-lg);
    position: relative;
    z-index: 1;
}
.bk-auth-card .bk-brand-logo {
    text-align: center;
    margin-bottom: 1.25rem;
}
.bk-auth-card .bk-brand-logo img {
    width: 64px; height: 64px;
    border-radius: 14px;
    background: var(--bk-gradient);
    padding: 8px;
}
.bk-auth-card h1 {
    font-size: 1.45rem;
    margin: 0 0 .3rem;
    text-align: center;
}
.bk-auth-card .muted {
    color: var(--bk-muted);
    font-size: .92rem;
    text-align: center;
    margin-bottom: 1.75rem;
}
.bk-auth-card .form-label {
    font-weight: 600;
    font-size: .9rem;
    color: var(--bk-text);
}
.bk-auth-card .form-control,
.bk-auth-card .form-select {
    border-radius: 10px;
    padding: .7rem .9rem;
    border: 1.5px solid #e3e9f5;
}
.bk-auth-card .form-control:focus,
.bk-auth-card .form-select:focus {
    border-color: var(--bk-primary);
    box-shadow: 0 0 0 .2rem rgba(10,79,209,.15);
}

/* ========== Tables ========== */
.bk-table-wrap {
    background: #fff;
    border-radius: var(--bk-radius);
    overflow: hidden;
    box-shadow: var(--bk-shadow);
}
.bk-table-wrap .table { margin: 0; }
.bk-table-wrap .table thead {
    background: #f1f5ff;
    color: var(--bk-text);
}
.bk-table-wrap .table thead th {
    font-weight: 700;
    font-size: .88rem;
    padding: 1rem .9rem;
    border: 0;
}
.bk-table-wrap .table tbody td {
    padding: .9rem;
    vertical-align: middle;
    border-color: var(--bk-border);
}

/* ========== Video ========== */
.bk-video {
    aspect-ratio: 16 / 9;
    width: 100%;
    background: #000;
    border-radius: var(--bk-radius);
    object-fit: cover;
    display: block;
}
.bk-video-wrap {
    position: relative;
    border-radius: var(--bk-radius);
    overflow: hidden;
    background: #000;
}
.bk-video-overlay {
    position: absolute;
    top: .75rem;
    right: .75rem;
    background: rgba(0,0,0,.65);
    color: #fff;
    padding: .4rem .8rem;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    backdrop-filter: blur(4px);
}

/* ========== Text utilities ========== */
.text-gradient {
    background: var(--bk-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== Responsive ========== */
@media (max-width: 991.98px) {
    .bk-layout { grid-template-columns: 1fr; }
    .bk-sidebar {
        position: fixed;
        top: 0; right: 0;
        width: 280px;
        transform: translateX(100%);
        transition: transform .3s ease;
        z-index: 1040;
        box-shadow: -10px 0 30px rgba(0,0,0,.2);
    }
    .bk-sidebar.open { transform: translateX(0); }
    .bk-main { padding: 4.5rem 1rem 1rem; }
    .bk-menu-btn { display: grid !important; }
}
@media (min-width: 992px) {
    .bk-menu-btn { display: none !important; }
}
@media (max-width: 575.98px) {
    .bk-page-title h1 { font-size: 1.3rem; }
    .bk-kpi .value    { font-size: 1.5rem; }
    .bk-auth-card     { padding: 1.75rem 1.25rem; }
}

/* =========================================================
   Phase 3 — Dashboard & Live & Publish components
   ========================================================= */

/* ========== Recent alerts list (dashboard) ========== */
.bk-recent-alerts {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}
.bk-alert-row {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: .7rem;
    background: #fafbff;
    border-radius: 10px;
    transition: background .2s;
}
.bk-alert-row:hover { background: #f1f5ff; }
.bk-alert-icon {
    width: 40px; height: 40px;
    display: grid; place-items: center;
    border-radius: 10px;
    font-size: .9rem;
    flex-shrink: 0;
}
.bk-alert-icon.risk-low    { background: rgba(29,185,130,.15); color: var(--bk-success); }
.bk-alert-icon.risk-medium { background: rgba(245,165,36,.15); color: #b8730f; }
.bk-alert-icon.risk-high   { background: rgba(229,72,77,.15);  color: var(--bk-danger); }
.bk-alert-body { flex: 1; min-width: 0; }
.bk-alert-title {
    font-weight: 600;
    font-size: .92rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ========== Camera list (live.php) ========== */
.bk-cam-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 560px;
    overflow-y: auto;
}
.bk-cam-list li { border-bottom: 1px solid var(--bk-border); }
.bk-cam-list li:last-child { border-bottom: 0; }
.bk-cam-list a {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .85rem 1rem;
    color: var(--bk-text);
    transition: background .2s;
}
.bk-cam-list a:hover { background: #f6f9ff; }
.bk-cam-list a.active {
    background: linear-gradient(90deg, rgba(10,79,209,.1), transparent);
    border-right: 3px solid var(--bk-primary);
    color: var(--bk-primary);
    font-weight: 600;
}
.bk-cam-list a i.fa-video { color: var(--bk-muted); }
.bk-cam-list a.active i.fa-video { color: var(--bk-primary); }
.bk-cam-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}
.bk-cam-dot.online  { background: var(--bk-success); box-shadow: 0 0 0 3px rgba(29,185,130,.2); }
.bk-cam-dot.offline { background: var(--bk-muted); }
.min-w-0 { min-width: 0; }

/* ========== Video player overlays ========== */
.bk-video-wrap { position: relative; }
.bk-video-overlay .live-dot {
    display: inline-block;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #e5484d;
    margin-left: 6px;
    animation: bkPulse 1.5s infinite;
}
.bk-video-message {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.9);
    background: rgba(0,0,0,.4);
    backdrop-filter: blur(4px);
    font-size: .95rem;
    gap: .5rem;
    text-align: center;
    padding: 1rem;
}

/* ========== Publish page (phone) ========== */
.bk-publish {
    min-height: 100vh;
    background: var(--bk-gradient);
    padding: 1rem;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 2rem;
}
.bk-publish-card {
    width: 100%;
    max-width: 500px;
    background: #fff;
    border-radius: var(--bk-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--bk-shadow-lg);
}
.bk-publish-header {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--bk-border);
}
.bk-publish-header img {
    width: 44px; height: 44px;
    border-radius: 10px;
    background: var(--bk-gradient);
    padding: 5px;
}
.bk-publish-header strong {
    display: block;
    font-family: 'Tajawal', sans-serif;
    color: var(--bk-text);
}
.bk-publish-header small {
    color: var(--bk-muted);
    font-size: .75rem;
}
.bk-publish-info {
    text-align: center;
    margin-bottom: 1rem;
}
.bk-publish-info h3 {
    margin: 0 0 .25rem;
    color: var(--bk-text);
    font-size: 1.25rem;
}
.bk-publish-preview {
    position: relative;
    aspect-ratio: 16/9;
    background: #0e1a2b;
    border-radius: var(--bk-radius);
    overflow: hidden;
    margin-bottom: 1rem;
}
.bk-publish-preview video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scaleX(-1); /* مرآة للكاميرا الأمامية */
}
.bk-publish-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.5);
    gap: .5rem;
    text-align: center;
}
.bk-publish-placeholder p { margin: 0; font-size: .9rem; }
.bk-publish-live-dot {
    position: absolute;
    top: .75rem;
    right: .75rem;
    background: rgba(229,72,77,.95);
    color: #fff;
    padding: .35rem .75rem;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}
.bk-publish-live-dot span {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #fff;
    animation: bkPulse 1.5s infinite;
}
.bk-publish-status {
    background: #f1f5ff;
    border-radius: 10px;
    padding: .7rem .9rem;
    margin-bottom: 1rem;
    font-size: .9rem;
    color: var(--bk-primary);
    display: flex;
    align-items: center;
    gap: .5rem;
}
.bk-publish-status.live {
    background: rgba(29,185,130,.12);
    color: var(--bk-success);
}
.bk-publish-status.error {
    background: rgba(229,72,77,.12);
    color: var(--bk-danger);
}
.bk-publish-controls {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
.bk-publish-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .5rem;
    margin-top: 1rem;
    padding: 1rem;
    background: #f6f9ff;
    border-radius: 10px;
    text-align: center;
}
.bk-publish-stats strong {
    font-family: 'Tajawal', sans-serif;
    font-size: 1.3rem;
    color: var(--bk-text);
}

/* صفحة البث لا تحتاج بكود الهامش (embedded body class) */
body:has(.bk-publish) { background: transparent; }

/* =========================================================
   Phase 5 — Landing Page components
   ========================================================= */

.bk-landing { background: var(--bk-bg); }

/* ========== Top navbar ========== */
.bk-nav {
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--bk-border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.bk-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.bk-nav-brand {
    display: flex;
    align-items: center;
    gap: .7rem;
    color: var(--bk-text);
    font-family: 'Tajawal', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
}
.bk-nav-brand img {
    width: 42px; height: 42px;
    border-radius: 10px;
    background: var(--bk-gradient);
    padding: 6px;
}
.bk-nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0; padding: 0;
}
.bk-nav-links a {
    color: var(--bk-muted);
    font-weight: 500;
    transition: color .2s;
}
.bk-nav-links a:hover { color: var(--bk-primary); }

/* ========== Hero ========== */
.bk-hero {
    position: relative;
    padding: 5rem 0 6rem;
    background: linear-gradient(135deg, #f6f9ff 0%, #e7f0ff 100%);
    overflow: hidden;
}
.bk-hero::before, .bk-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: var(--bk-gradient);
    opacity: .08;
    pointer-events: none;
}
.bk-hero::before { width: 500px; height: 500px; top: -200px; left: -150px; }
.bk-hero::after  { width: 400px; height: 400px; bottom: -150px; right: -100px; }

.bk-hero-content { position: relative; z-index: 1; }
.bk-hero h1 {
    font-size: clamp(1.8rem, 5vw, 3rem);
    line-height: 1.2;
    margin-bottom: 1.25rem;
    font-weight: 800;
}
.bk-hero .lead {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--bk-muted);
    margin-bottom: 2rem;
    max-width: 640px;
}
.bk-hero-ctas {
    display: flex;
    gap: .8rem;
    flex-wrap: wrap;
}
.bk-hero .btn-bk,
.bk-hero .btn-bk-outline {
    padding: .85rem 1.8rem;
    font-size: 1rem;
}

.bk-hero-visual {
    position: relative;
    padding: 2rem;
}
.bk-hero-card {
    background: #fff;
    border-radius: var(--bk-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--bk-shadow-lg);
    transform: rotate(-2deg);
    transition: transform .4s;
}
.bk-hero-card:hover { transform: rotate(0); }
.bk-hero-card .mock-video {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #0e1a2b, #072e7a);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
    color: rgba(255,255,255,.5);
}
.bk-hero-card .mock-video::after {
    content: "";
    position: absolute;
    top: .7rem; right: .7rem;
    width: 10px; height: 10px;
    background: #e5484d;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(229,72,77,.3);
    animation: bkPulse 1.5s infinite;
}
.bk-hero-card .mock-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .6rem;
    margin-top: 1rem;
}
.bk-hero-card .mock-kpi {
    background: #f6f9ff;
    border-radius: 10px;
    padding: .7rem .5rem;
    text-align: center;
}
.bk-hero-card .mock-kpi strong {
    display: block;
    font-family: 'Tajawal', sans-serif;
    font-size: 1.3rem;
    color: var(--bk-primary);
}
.bk-hero-card .mock-kpi small { color: var(--bk-muted); font-size: .7rem; }

/* ========== Section layout ========== */
.bk-section {
    padding: 5rem 0;
}
.bk-section-title {
    text-align: center;
    margin-bottom: 3rem;
}
.bk-section-title .kicker {
    display: inline-block;
    background: rgba(10,79,209,.08);
    color: var(--bk-primary);
    padding: .35rem 1rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: .85rem;
    margin-bottom: 1rem;
}
.bk-section-title h2 {
    font-size: clamp(1.6rem, 4vw, 2.25rem);
    margin-bottom: .75rem;
}
.bk-section-title p {
    color: var(--bk-muted);
    max-width: 620px;
    margin: 0 auto;
}

/* ========== Feature cards ========== */
.bk-feature {
    background: #fff;
    border-radius: var(--bk-radius);
    padding: 2rem 1.5rem;
    height: 100%;
    box-shadow: var(--bk-shadow);
    border: 1px solid var(--bk-border);
    transition: transform .3s, box-shadow .3s;
}
.bk-feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--bk-shadow-lg);
}
.bk-feature-icon {
    width: 64px; height: 64px;
    display: grid; place-items: center;
    border-radius: 16px;
    background: var(--bk-gradient);
    color: #fff;
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
}
.bk-feature h4 {
    font-size: 1.2rem;
    margin-bottom: .6rem;
}
.bk-feature p {
    color: var(--bk-muted);
    font-size: .95rem;
    margin: 0;
    line-height: 1.7;
}

/* ========== Steps (3-stage how it works) ========== */
.bk-step {
    background: #fff;
    border-radius: var(--bk-radius);
    padding: 2rem 1.5rem;
    height: 100%;
    box-shadow: var(--bk-shadow);
    position: relative;
    text-align: center;
}
.bk-step-number {
    position: absolute;
    top: -20px;
    right: 50%;
    transform: translateX(50%);
    width: 44px; height: 44px;
    display: grid; place-items: center;
    background: var(--bk-gradient);
    color: #fff;
    border-radius: 50%;
    font-family: 'Tajawal', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 6px 18px rgba(10,79,209,.3);
}
.bk-step-icon {
    font-size: 2.5rem;
    color: var(--bk-primary);
    margin: 1rem 0;
}
.bk-step h4 { font-size: 1.15rem; margin-bottom: .6rem; }
.bk-step p  { color: var(--bk-muted); font-size: .9rem; margin: 0; line-height: 1.7; }

/* ========== Problem/Solution section ========== */
.bk-prob-sol {
    background: #fff;
    border-radius: var(--bk-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--bk-shadow);
}
.bk-prob-sol h3 {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}
.bk-prob-sol .icon {
    width: 44px; height: 44px;
    display: grid; place-items: center;
    border-radius: 12px;
    flex-shrink: 0;
}
.bk-prob-sol.problem .icon  { background: rgba(229,72,77,.12);  color: var(--bk-danger); }
.bk-prob-sol.solution .icon { background: rgba(29,185,130,.12); color: var(--bk-success); }
.bk-prob-sol ul {
    padding-right: 1.2rem;
    color: var(--bk-muted);
    line-height: 2;
    margin: 0;
}
.bk-prob-sol li { margin-bottom: .4rem; }

/* ========== Final CTA ========== */
.bk-cta-final {
    background: var(--bk-gradient);
    color: #fff;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.bk-cta-final::before, .bk-cta-final::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    pointer-events: none;
}
.bk-cta-final::before { width: 300px; height: 300px; top: -100px; right: -50px; }
.bk-cta-final::after  { width: 250px; height: 250px; bottom: -100px; left: -50px; }
.bk-cta-final h2 {
    font-size: clamp(1.6rem, 4vw, 2.25rem);
    color: #fff;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}
.bk-cta-final p {
    font-size: 1.1rem;
    opacity: .9;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}
.bk-cta-final .btn {
    background: #fff;
    color: var(--bk-primary);
    padding: .9rem 2rem;
    font-weight: 700;
    border: 0;
    border-radius: 12px;
    font-size: 1.05rem;
    position: relative;
    z-index: 1;
    transition: transform .2s;
}
.bk-cta-final .btn:hover {
    transform: translateY(-3px);
    color: var(--bk-primary-dark);
}

/* ========== Footer ========== */
.bk-footer {
    background: #0e1a2b;
    color: rgba(255,255,255,.7);
    padding: 3rem 0 1.5rem;
}
.bk-footer h5 {
    color: #fff;
    font-family: 'Tajawal', sans-serif;
    margin-bottom: 1rem;
    font-size: 1rem;
}
.bk-footer a {
    color: rgba(255,255,255,.7);
    display: block;
    padding: .3rem 0;
    font-size: .9rem;
    transition: color .2s;
}
.bk-footer a:hover { color: #29c7ff; }
.bk-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 1.5rem;
    margin-top: 2rem;
    text-align: center;
    font-size: .85rem;
}
.bk-messenger-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: #0084ff;
    color: #fff !important;
    padding: .6rem 1.2rem;
    border-radius: 999px;
    font-weight: 600;
    margin-top: 1rem;
    transition: transform .2s;
}
.bk-messenger-btn:hover {
    transform: translateY(-2px);
    color: #fff !important;
}

@media (max-width: 767.98px) {
    .bk-nav-links { display: none; }
    .bk-hero { padding: 3rem 0 4rem; }
    .bk-section { padding: 3rem 0; }
    .bk-hero-visual { padding: 1rem 0; }
    .bk-hero-card { transform: rotate(0); }
    .bk-prob-sol { padding: 1.5rem; }
}

/* =========================================================
   Phase 6 — Smart Live View (Grid + Single + Analytics)
   ========================================================= */

.bk-live-main { padding-bottom: 2rem; }

/* ========== Grid summary pills ========== */
.bk-grid-summary {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
}
.bk-summary-pill {
    background: #fff;
    border-radius: 12px;
    padding: .75rem 1.1rem;
    box-shadow: var(--bk-shadow);
    display: flex;
    align-items: center;
    gap: .6rem;
    flex: 1;
    min-width: 130px;
    border: 1px solid var(--bk-border);
    border-right: 4px solid var(--bk-primary);
}
.bk-summary-pill.success { border-right-color: var(--bk-success); }
.bk-summary-pill.warning { border-right-color: var(--bk-warning); }
.bk-summary-pill.danger  { border-right-color: var(--bk-danger); }
.bk-summary-pill i {
    font-size: 1.3rem;
    color: var(--bk-primary);
    width: 32px;
    text-align: center;
}
.bk-summary-pill.success i { color: var(--bk-success); }
.bk-summary-pill.warning i { color: var(--bk-warning); }
.bk-summary-pill.danger i  { color: var(--bk-danger); }
.bk-summary-pill strong {
    font-size: 1.4rem;
    font-family: 'Tajawal', sans-serif;
    line-height: 1;
}
.bk-summary-pill span {
    color: var(--bk-muted);
    font-size: .85rem;
}

/* ========== CCTV Grid ========== */
.bk-cctv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1rem;
}

.bk-cctv-tile {
    background: #0e1a2b;
    border-radius: var(--bk-radius);
    overflow: hidden;
    box-shadow: var(--bk-shadow);
    transition: transform .3s, box-shadow .3s;
    border: 2px solid transparent;
}
.bk-cctv-tile:hover {
    transform: translateY(-3px);
    box-shadow: var(--bk-shadow-lg);
    border-color: var(--bk-accent);
}

.bk-cctv-video-wrap {
    position: relative;
    aspect-ratio: 16/9;
    background: #000;
    overflow: hidden;
}
.bk-cctv-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bk-cctv-header {
    position: absolute;
    top: 0; left: 0; right: 0;
    padding: .65rem .85rem;
    background: linear-gradient(180deg, rgba(0,0,0,.75), transparent);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    z-index: 3;
}
.bk-cctv-name {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .85rem;
    text-shadow: 0 1px 4px rgba(0,0,0,.5);
}
.bk-cctv-name strong { font-family: 'Tajawal', sans-serif; }
.bk-cctv-live-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: rgba(229,72,77,.95);
    padding: .25rem .6rem;
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 700;
}
.bk-cctv-live-badge .dot {
    width: 7px; height: 7px;
    background: #fff;
    border-radius: 50%;
    animation: bkPulse 1.5s infinite;
}

.bk-cctv-status {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: .5rem;
    color: rgba(255,255,255,.6);
    background: rgba(0,0,0,.4);
    backdrop-filter: blur(2px);
    z-index: 2;
    font-size: .85rem;
    text-align: center;
}
.bk-cctv-status i { font-size: 1.5rem; }

.bk-cctv-overlay-bottom {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: .75rem .85rem;
    background: linear-gradient(0deg, rgba(0,0,0,.85), transparent);
    display: flex;
    flex-direction: column;
    gap: .35rem;
    z-index: 3;
}
.bk-mini-meter {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: rgba(255,255,255,.85);
    font-size: .75rem;
}
.bk-mini-meter i {
    width: 16px;
    text-align: center;
    font-size: .8rem;
    transition: color .3s;
}
.bk-mini-meter .bar {
    flex: 1;
    height: 4px;
    background: rgba(255,255,255,.15);
    border-radius: 999px;
    overflow: hidden;
}
.bk-mini-meter .fill {
    height: 100%;
    border-radius: 999px;
    transition: width .8s ease;
    background: linear-gradient(90deg, #29c7ff, #1db982);
}
.bk-mini-meter.audio .fill {
    background: linear-gradient(90deg, #f5a524, #29c7ff);
}
.bk-mini-meter.high .fill {
    background: linear-gradient(90deg, #f5a524, #e5484d);
}
.bk-mini-meter.high i { color: var(--bk-danger); }

.bk-cctv-expand {
    position: absolute;
    top: .65rem;
    left: .65rem;
    width: 32px; height: 32px;
    background: rgba(255,255,255,.15);
    color: #fff;
    border-radius: 8px;
    display: grid;
    place-items: center;
    backdrop-filter: blur(8px);
    z-index: 4;
    transition: background .2s, transform .2s;
}
.bk-cctv-expand:hover {
    background: rgba(255,255,255,.3);
    color: #fff;
    transform: scale(1.1);
}

.bk-cctv-footer {
    background: #fff;
    padding: .55rem .85rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .5rem;
}
.bk-activity-label {
    font-weight: 600;
    padding: .15rem .55rem;
    border-radius: 999px;
    font-size: .7rem;
    background: rgba(107,122,144,.12);
    color: var(--bk-muted);
}
.bk-activity-label.status-calm   { background: rgba(29,185,130,.12); color: var(--bk-success); }
.bk-activity-label.status-normal { background: rgba(10,79,209,.10);  color: var(--bk-primary); }
.bk-activity-label.status-busy   { background: rgba(245,165,36,.15); color: #b8730f; }
.bk-activity-label.status-alert  { background: rgba(229,72,77,.15);  color: var(--bk-danger); }

/* ========== Heatmap Overlay (shared by grid + single) ========== */
.bk-heatmap-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    mix-blend-mode: screen;
    z-index: 1;
}

/* ========== Single mode — Report Panel ========== */
.bk-report-panel { position: sticky; top: 1rem; }

.bk-confidence-pill {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: rgba(10,79,209,.1);
    color: var(--bk-primary);
    padding: .35rem .8rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: .85rem;
    font-family: 'Tajawal', sans-serif;
}
.bk-confidence-pill.high {
    background: rgba(29,185,130,.12);
    color: var(--bk-success);
}

.bk-status-card {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: 1rem;
    border-radius: 12px;
    background: #f6f9ff;
    margin-bottom: 1.25rem;
    border-right: 4px solid var(--bk-muted);
    transition: all .4s;
}
.bk-status-card.status-calm   { border-right-color: var(--bk-success); background: rgba(29,185,130,.06); }
.bk-status-card.status-normal { border-right-color: var(--bk-primary); background: rgba(10,79,209,.05); }
.bk-status-card.status-busy   { border-right-color: var(--bk-warning); background: rgba(245,165,36,.07); }
.bk-status-card.status-alert  { border-right-color: var(--bk-danger);  background: rgba(229,72,77,.07); }

.bk-status-icon {
    width: 50px; height: 50px;
    border-radius: 12px;
    display: grid; place-items: center;
    background: #fff;
    color: var(--bk-muted);
    font-size: 1.4rem;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
    flex-shrink: 0;
}
.status-calm   .bk-status-icon { color: var(--bk-success); }
.status-normal .bk-status-icon { color: var(--bk-primary); }
.status-busy   .bk-status-icon { color: var(--bk-warning); }
.status-alert  .bk-status-icon {
    color: var(--bk-danger);
    animation: bkPulse 1.5s infinite;
}

.bk-status-label {
    font-family: 'Tajawal', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--bk-text);
}

/* ========== Metrics Bars ========== */
.bk-metric { margin-bottom: 1rem; }
.bk-metric-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: .35rem;
    font-size: .85rem;
    color: var(--bk-text);
}
.bk-metric-label i {
    color: var(--bk-muted);
    margin-left: .35rem;
    width: 16px;
    text-align: center;
}
.bk-metric-label strong {
    font-family: 'Tajawal', sans-serif;
    color: var(--bk-primary);
    font-size: .95rem;
}
.bk-metric-bar {
    height: 8px;
    background: #f1f5ff;
    border-radius: 999px;
    overflow: hidden;
}
.bk-metric-bar .fill {
    height: 100%;
    width: 0;
    border-radius: 999px;
    transition: width .9s cubic-bezier(.4, 0, .2, 1);
}
.bk-metric-bar .fill.motion   { background: linear-gradient(90deg, #29c7ff, #0a4fd1); }
.bk-metric-bar .fill.audio    { background: linear-gradient(90deg, #f5a524, #29c7ff); }
.bk-metric-bar .fill.bright   { background: linear-gradient(90deg, #ffd166, #f5a524); }
.bk-metric-bar .fill.activity { background: linear-gradient(90deg, #1db982, #29c7ff, #0a4fd1); }

/* ========== Mini stats grid ========== */
.bk-mini-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .5rem;
    margin: 1.25rem 0;
    padding: 1rem;
    background: #f6f9ff;
    border-radius: 12px;
    text-align: center;
}
.bk-mini-stats > div { min-width: 0; }
.bk-mini-stats strong {
    display: block;
    font-family: 'Tajawal', sans-serif;
    font-size: 1.2rem;
    color: var(--bk-primary);
    line-height: 1.1;
}
.bk-mini-stats small {
    color: var(--bk-muted);
    font-size: .7rem;
    display: block;
    margin-top: .25rem;
}

/* ========== Spark / Spectrum charts ========== */
.bk-spark-wrap {
    margin-top: 1rem;
}
.bk-spark-wrap canvas {
    width: 100%;
    background: #f6f9ff;
    border-radius: 8px;
    display: block;
}

/* ========== Heatmap toggle button (active state) ========== */
#btnToggleHeatmap.active {
    background: var(--bk-warning);
    color: #fff;
    border-color: var(--bk-warning);
}

/* ========== Responsive ========== */
@media (max-width: 991.98px) {
    .bk-cctv-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    .bk-report-panel { position: static; }
}
@media (max-width: 575.98px) {
    .bk-cctv-grid {
        grid-template-columns: 1fr;
    }
    .bk-grid-summary { gap: .5rem; }
    .bk-summary-pill {
        flex: 1 1 calc(50% - .25rem);
        min-width: 0;
        padding: .6rem .75rem;
    }
    .bk-summary-pill strong { font-size: 1.1rem; }
    .bk-summary-pill span { font-size: .75rem; }
    .bk-mini-stats strong { font-size: 1rem; }
}


/* =========================================================
   Phase 7 — Premium Landing v2 + Wall View
   ========================================================= */

/* ============= Landing v2 base ============= */
.bk-landing-v2 {
    background: #fff;
    overflow-x: hidden;
}

/* ============= Logo ============= */
.bk-logo-mark {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    filter: drop-shadow(0 4px 12px rgba(10, 79, 209, .25));
    transition: transform .3s;
}
.bk-logo-mark.sm { width: 38px; height: 38px; }
.bk-logo-mark svg { width: 100%; height: 100%; display: block; }
.bk-nav-brand-v2:hover .bk-logo-mark { transform: rotate(-8deg) scale(1.05); }

.bk-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.bk-logo-text strong {
    font-family: 'Tajawal', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--bk-text);
    letter-spacing: -0.02em;
}
.bk-logo-text strong span { color: var(--bk-primary); }
.bk-logo-text em {
    font-style: normal;
    font-size: .65rem;
    color: var(--bk-muted);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 2px;
}
.bk-logo-text.light strong { color: #fff; }
.bk-logo-text.light strong span { color: #29c7ff; }
.bk-logo-text.light em { color: rgba(255,255,255,.55); }

/* ============= Top Navbar v2 ============= */
.bk-nav-v2 {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    transition: all .3s;
    padding: .85rem 0;
    border-bottom: 1px solid transparent;
}
.bk-nav-v2.scrolled {
    background: rgba(255, 255, 255, 0.95);
    border-bottom-color: rgba(10, 79, 209, .08);
    box-shadow: 0 4px 30px rgba(10, 79, 209, .06);
    padding: .65rem 0;
}
.bk-nav-inner-v2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}
.bk-nav-brand-v2 {
    display: flex;
    align-items: center;
    gap: .8rem;
    color: var(--bk-text);
    text-decoration: none;
}
.bk-nav-links-v2 {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0; padding: 0;
}
.bk-nav-links-v2 a {
    color: var(--bk-text);
    font-weight: 600;
    font-size: .92rem;
    text-decoration: none;
    position: relative;
    padding: .25rem 0;
    transition: color .2s;
}
.bk-nav-links-v2 a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--bk-gradient);
    transition: width .3s;
}
.bk-nav-links-v2 a:hover { color: var(--bk-primary); }
.bk-nav-links-v2 a:hover::after { width: 100%; }

.bk-nav-actions {
    display: flex;
    gap: .5rem;
    align-items: center;
}

.bk-btn-ghost,
.bk-btn-primary,
.bk-btn-outline-v2 {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .65rem 1.3rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: .9rem;
    text-decoration: none;
    transition: all .25s;
    font-family: 'Tajawal', sans-serif;
    border: 0;
    cursor: pointer;
}
.bk-btn-ghost {
    color: var(--bk-text);
    background: transparent;
}
.bk-btn-ghost:hover {
    background: rgba(10, 79, 209, .08);
    color: var(--bk-primary);
}
.bk-btn-primary {
    background: var(--bk-gradient);
    color: #fff;
    box-shadow: 0 8px 20px rgba(10, 79, 209, .25);
}
.bk-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(10, 79, 209, .35);
    color: #fff;
}
.bk-btn-outline-v2 {
    background: #fff;
    color: var(--bk-primary);
    border: 2px solid var(--bk-primary);
    width: 100%;
    justify-content: center;
}
.bk-btn-outline-v2:hover {
    background: var(--bk-primary);
    color: #fff;
}

/* ============= Hero v2 ============= */
.bk-hero-v2 {
    position: relative;
    padding: 9rem 0 6rem;
    background: linear-gradient(180deg, #f6f9ff 0%, #fff 100%);
    overflow: hidden;
}
.bk-hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(10,79,209,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10,79,209,.04) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, #000 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, #000 30%, transparent 80%);
    pointer-events: none;
}
.bk-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .4;
    pointer-events: none;
    animation: floatOrb 20s ease-in-out infinite;
}
.bk-hero-orb.orb-1 {
    width: 500px; height: 500px;
    top: -150px; right: -100px;
    background: radial-gradient(circle, #29c7ff, transparent);
}
.bk-hero-orb.orb-2 {
    width: 400px; height: 400px;
    bottom: -100px; left: -50px;
    background: radial-gradient(circle, #0a4fd1, transparent);
    animation-delay: -7s;
}
.bk-hero-orb.orb-3 {
    width: 250px; height: 250px;
    top: 30%; left: 10%;
    background: radial-gradient(circle, #f5a524, transparent);
    opacity: .25;
    animation-delay: -14s;
}
@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(40px, -30px) scale(1.05); }
    66%      { transform: translate(-30px, 30px) scale(.95); }
}

.bk-hero-text { position: relative; z-index: 2; }

.bk-pill-tag {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(10, 79, 209, .08);
    color: var(--bk-primary);
    padding: .45rem 1rem;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(10, 79, 209, .12);
}
.bk-pill-tag .dot {
    width: 8px; height: 8px;
    background: var(--bk-success);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(29, 185, 130, .25);
    animation: bkPulse 2s infinite;
}

.bk-hero-h1 {
    font-size: clamp(2.2rem, 6vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    font-family: 'Tajawal', sans-serif;
}
.bk-hero-h1 .line-1 {
    display: block;
    color: var(--bk-text);
}
.bk-hero-h1 .line-2 {
    display: block;
    margin-top: .25rem;
}

.text-gradient-v2 {
    background: linear-gradient(135deg, #0a4fd1, #29c7ff 50%, #f5a524);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gradientShift 6s ease infinite;
}
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

.bk-hero-lead {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: var(--bk-muted);
    line-height: 1.75;
    margin-bottom: 2.5rem;
    max-width: 580px;
}

.bk-hero-ctas-v2 {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}
.bk-cta-main,
.bk-cta-sub {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    padding: 1rem 1.75rem;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    font-family: 'Tajawal', sans-serif;
    transition: all .3s;
}
.bk-cta-main {
    background: var(--bk-gradient);
    color: #fff;
    box-shadow: 0 12px 30px rgba(10, 79, 209, .3);
    position: relative;
    overflow: hidden;
}
.bk-cta-main::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.3), transparent);
    transition: left .6s;
}
.bk-cta-main:hover::before { left: 100%; }
.bk-cta-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(10, 79, 209, .4);
    color: #fff;
}
.bk-cta-main.lg {
    padding: 1.15rem 2rem;
    font-size: 1.05rem;
}
.bk-cta-sub {
    color: var(--bk-text);
    background: transparent;
}
.bk-cta-sub:hover { color: var(--bk-primary); }

.bk-play-circle {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(10, 79, 209, .1);
    display: grid;
    place-items: center;
    color: var(--bk-primary);
    font-size: .8rem;
    transition: all .3s;
}
.bk-cta-sub:hover .bk-play-circle {
    background: var(--bk-primary);
    color: #fff;
    transform: scale(1.1);
}

.bk-hero-trust {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    flex-wrap: wrap;
}
.trust-item {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.trust-item strong {
    font-family: 'Tajawal', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--bk-primary);
}
.trust-item span {
    color: var(--bk-muted);
    font-size: .85rem;
    margin-top: .15rem;
}
.trust-divider {
    width: 1px;
    height: 32px;
    background: rgba(10, 79, 209, .15);
}

/* ============= Hero Visual (Mock UI) ============= */
.bk-hero-visual-v2 {
    position: relative;
    z-index: 2;
}
.bk-mock-shell {
    background: #fff;
    border-radius: 18px;
    box-shadow:
        0 30px 80px rgba(10, 79, 209, .2),
        0 10px 30px rgba(10, 79, 209, .08);
    overflow: hidden;
    border: 1px solid rgba(10, 79, 209, .08);
    transform: perspective(1500px) rotateY(-5deg) rotateX(2deg);
    transition: transform .5s;
}
.bk-mock-shell:hover {
    transform: perspective(1500px) rotateY(-2deg) rotateX(0deg);
}
.bk-mock-bar {
    background: #f6f9ff;
    padding: .6rem 1rem;
    display: flex;
    align-items: center;
    gap: .4rem;
    border-bottom: 1px solid rgba(10, 79, 209, .08);
}
.bk-mock-bar .dot {
    width: 10px; height: 10px;
    border-radius: 50%;
}
.bk-mock-bar .dot.red    { background: #ff5f56; }
.bk-mock-bar .dot.yellow { background: #ffbd2e; }
.bk-mock-bar .dot.green  { background: #27c93f; }
.bk-mock-url {
    margin-right: auto;
    font-family: monospace;
    font-size: .72rem;
    color: var(--bk-muted);
    background: #fff;
    padding: .25rem .75rem;
    border-radius: 6px;
}
.bk-mock-body {
    display: flex;
    min-height: 320px;
}
.bk-mock-side {
    width: 50px;
    background: linear-gradient(180deg, var(--bk-primary-dark), var(--bk-primary));
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .75rem;
}
.bk-mock-side span {
    width: 32px; height: 32px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    color: rgba(255,255,255,.6);
    font-size: .85rem;
}
.bk-mock-side span.active {
    background: rgba(255,255,255,.25);
    color: #fff;
}
.bk-mock-content {
    flex: 1;
    padding: 1rem;
}
.bk-mock-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
.bk-mock-title strong {
    font-family: 'Tajawal', sans-serif;
    color: var(--bk-text);
    font-size: .95rem;
}
.bk-mock-live {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: rgba(229, 72, 77, .12);
    color: var(--bk-danger);
    padding: .2rem .6rem;
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 700;
}
.bk-mock-live .live-dot {
    width: 6px; height: 6px;
    background: var(--bk-danger);
    border-radius: 50%;
    animation: bkPulse 1.5s infinite;
}
.bk-mock-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .5rem;
    margin-bottom: .75rem;
}
.bk-mock-cam {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #0e1a2b, #072e7a);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}
.bk-mock-cam::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 40%, rgba(229, 72, 77, .35), transparent 40%),
        radial-gradient(circle at 70% 60%, rgba(245, 165, 36, .25), transparent 40%);
    animation: scanShift 4s ease-in-out infinite;
}
@keyframes scanShift {
    0%, 100% { transform: translate(0, 0); }
    50%      { transform: translate(8px, -5px); }
}
.bk-mock-cam .cam-name {
    position: absolute;
    bottom: 4px; right: 6px;
    color: rgba(255,255,255,.85);
    font-size: .65rem;
    font-weight: 600;
}
.bk-mock-cam.c2::before {
    background:
        radial-gradient(circle at 60% 30%, rgba(29, 185, 130, .35), transparent 40%);
    animation-delay: -1s;
}
.bk-mock-cam.c3::before {
    background:
        radial-gradient(circle at 40% 70%, rgba(41, 199, 255, .3), transparent 40%);
    animation-delay: -2s;
}
.bk-mock-cam.c4::before {
    background:
        radial-gradient(circle at 50% 50%, rgba(245, 165, 36, .35), transparent 50%);
    animation-delay: -3s;
}
.bk-mock-meters {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}
.bk-mock-meters .m {
    height: 4px;
    background: #f1f5ff;
    border-radius: 999px;
    overflow: hidden;
}
.bk-mock-meters .m span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: var(--bk-gradient);
    animation: meterPulse 3s ease-in-out infinite;
}
.bk-mock-meters .m1 span { width: 65%; }
.bk-mock-meters .m2 span {
    width: 40%;
    background: linear-gradient(90deg, #f5a524, #29c7ff);
    animation-delay: -1s;
}
.bk-mock-meters .m3 span {
    width: 80%;
    background: linear-gradient(90deg, #1db982, #0a4fd1);
    animation-delay: -2s;
}
@keyframes meterPulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: .55; }
}

/* بطاقات عائمة */
.bk-float-card {
    position: absolute;
    background: #fff;
    border-radius: 14px;
    padding: .85rem 1.1rem;
    display: flex;
    align-items: center;
    gap: .75rem;
    box-shadow:
        0 20px 50px rgba(10, 79, 209, .18),
        0 5px 15px rgba(10, 79, 209, .08);
    border: 1px solid rgba(10, 79, 209, .06);
    z-index: 3;
    animation: floatCard 4s ease-in-out infinite;
}
@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}
.bk-float-card .ic {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: var(--bk-gradient);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1rem;
}
.bk-float-card strong {
    display: block;
    font-family: 'Tajawal', sans-serif;
    font-size: .9rem;
    color: var(--bk-text);
    line-height: 1.1;
}
.bk-float-card small {
    color: var(--bk-muted);
    font-size: .72rem;
}
.bk-float-card.fc-1 {
    top: 15%;
    left: -15px;
    animation-delay: 0s;
}
.bk-float-card.fc-2 {
    bottom: 15%;
    right: -15px;
    animation-delay: -2s;
}

/* ============= Marquee ============= */
.bk-marquee {
    margin-top: 4rem;
    padding: 1.25rem 0;
    background: rgba(10, 79, 209, .03);
    border-top: 1px solid rgba(10, 79, 209, .08);
    border-bottom: 1px solid rgba(10, 79, 209, .08);
    overflow: hidden;
    border-radius: 16px;
}
.bk-marquee-track {
    display: flex;
    gap: 3rem;
    white-space: nowrap;
    animation: marquee 40s linear infinite;
    width: max-content;
}
.bk-marquee-track span {
    color: var(--bk-muted);
    font-weight: 600;
    font-size: .9rem;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}
.bk-marquee-track i { color: var(--bk-success); }
@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(50%); }
}

/* ============= Stats strip ============= */
.bk-stats-strip {
    background: linear-gradient(135deg, var(--bk-primary-dark), var(--bk-primary));
    padding: 3rem 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.bk-stats-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,.08), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(41,199,255,.15), transparent 40%);
}
.bk-stat-num {
    text-align: center;
    position: relative;
}
.bk-stat-num strong {
    display: block;
    font-family: 'Tajawal', sans-serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    background: linear-gradient(135deg, #fff, #29c7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
.bk-stat-num span {
    color: rgba(255,255,255,.75);
    font-size: .9rem;
    margin-top: .5rem;
    display: block;
}

/* ============= Section v2 ============= */
.bk-section-v2 {
    padding: 6rem 0;
    position: relative;
}
.bk-bg-light { background: #f6f9ff; }
.bk-bg-dark {
    background: linear-gradient(180deg, #0e1a2b, #072e7a);
    color: #fff;
}

.bk-section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 4rem;
}
.bk-kicker {
    display: inline-block;
    background: rgba(10, 79, 209, .08);
    color: var(--bk-primary);
    padding: .4rem 1rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: .8rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}
.bk-kicker.light {
    background: rgba(41, 199, 255, .15);
    color: #29c7ff;
}
.bk-section-h2 {
    font-size: clamp(1.8rem, 4.5vw, 2.75rem);
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    font-family: 'Tajawal', sans-serif;
    line-height: 1.2;
}
.bk-section-h2.light { color: #fff; }
.bk-section-sub {
    color: var(--bk-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}
.bk-section-sub.light { color: rgba(255,255,255,.7); }

/* ============= Steps Flow ============= */
.bk-steps-flow {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
}
.bk-step-v2 {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow:
        0 10px 40px rgba(10, 79, 209, .08),
        0 1px 3px rgba(10, 79, 209, .04);
    position: relative;
    transition: all .3s;
    border: 1px solid rgba(10, 79, 209, .06);
}
.bk-step-v2:hover {
    transform: translateY(-8px);
    box-shadow:
        0 25px 60px rgba(10, 79, 209, .15),
        0 5px 15px rgba(10, 79, 209, .08);
}
.bk-step-num-v2 {
    position: absolute;
    top: -20px;
    right: 50%;
    transform: translateX(50%);
    background: var(--bk-gradient);
    color: #fff;
    width: 52px; height: 52px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: 'Tajawal', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 10px 25px rgba(10, 79, 209, .35);
}
.bk-step-icon-v2 {
    width: 80px; height: 80px;
    margin: 1.5rem auto 1.5rem;
    border-radius: 24px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 2rem;
    box-shadow: 0 15px 30px rgba(10, 79, 209, .15);
}
.bk-step-icon-v2.g1 { background: linear-gradient(135deg, #0a4fd1, #29c7ff); }
.bk-step-icon-v2.g2 { background: linear-gradient(135deg, #1db982, #29c7ff); }
.bk-step-icon-v2.g3 { background: linear-gradient(135deg, #f5a524, #e5484d); }
.bk-step-v2 h3 {
    font-size: 1.3rem;
    margin-bottom: .75rem;
}
.bk-step-v2 p {
    color: var(--bk-muted);
    line-height: 1.75;
    margin: 0;
}
.bk-step-arrow {
    position: absolute;
    left: -2.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--bk-primary);
    font-size: 1.5rem;
    opacity: .3;
}

/* ============= Feature cards v2 ============= */
.bk-feature-v2 {
    background: #fff;
    border-radius: 18px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 8px 30px rgba(10, 79, 209, .06);
    border: 1px solid rgba(10, 79, 209, .06);
    transition: all .35s;
    position: relative;
    overflow: hidden;
}
.bk-feature-v2::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--bk-gradient);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .4s;
}
.bk-feature-v2:hover::before { transform: scaleX(1); }
.bk-feature-v2:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px rgba(10, 79, 209, .15);
    border-color: rgba(10, 79, 209, .15);
}
.bk-feature-v2.featured {
    background: linear-gradient(135deg, #f6f9ff, #fff);
    border-color: rgba(10, 79, 209, .2);
    box-shadow: 0 15px 50px rgba(10, 79, 209, .12);
}
.bk-feature-v2.featured::before {
    transform: scaleX(1);
}
.bk-featured-badge {
    position: absolute;
    top: 1rem; left: 1rem;
    background: var(--bk-warning);
    color: #fff;
    padding: .3rem .7rem;
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 700;
}
.bk-feature-icon-v2 {
    width: 64px; height: 64px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 10px 25px rgba(10, 79, 209, .2);
}
.bk-feature-icon-v2.g1 { background: linear-gradient(135deg, #0a4fd1, #29c7ff); }
.bk-feature-icon-v2.g2 { background: linear-gradient(135deg, #f5a524, #e5484d); box-shadow: 0 10px 25px rgba(245, 165, 36, .3); }
.bk-feature-icon-v2.g3 { background: linear-gradient(135deg, #1db982, #29c7ff); box-shadow: 0 10px 25px rgba(29, 185, 130, .25); }
.bk-feature-icon-v2.g4 { background: linear-gradient(135deg, #29c7ff, #0a4fd1); }
.bk-feature-icon-v2.g5 { background: linear-gradient(135deg, #f5a524, #29c7ff); }
.bk-feature-icon-v2.g6 { background: linear-gradient(135deg, #e5484d, #f5a524); }

.bk-feature-v2 h4 {
    font-size: 1.2rem;
    margin-bottom: .75rem;
    font-weight: 700;
}
.bk-feature-v2 > p {
    color: var(--bk-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: .95rem;
}
.bk-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.bk-feature-list li {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .35rem 0;
    color: var(--bk-text);
    font-size: .88rem;
    font-weight: 500;
}
.bk-feature-list li i {
    color: var(--bk-success);
    font-size: .75rem;
}

/* ============= Tech cards ============= */
.bk-tech-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all .3s;
    backdrop-filter: blur(10px);
    height: 100%;
}
.bk-tech-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(41, 199, 255, .4);
}
.bk-tech-icon {
    width: 56px; height: 56px;
    margin: 0 auto 1rem;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(41, 199, 255, .2), rgba(10, 79, 209, .2));
    display: grid;
    place-items: center;
    color: #29c7ff;
    font-size: 1.5rem;
    border: 1px solid rgba(41, 199, 255, .25);
}
.bk-tech-card strong {
    display: block;
    font-family: 'Tajawal', sans-serif;
    color: #fff;
    font-size: 1rem;
    margin-bottom: .35rem;
}
.bk-tech-card small {
    color: rgba(255, 255, 255, .55);
    font-size: .78rem;
    line-height: 1.5;
    display: block;
}

/* ============= Pricing ============= */
.bk-price-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    height: 100%;
    box-shadow: 0 10px 40px rgba(10, 79, 209, .08);
    border: 2px solid transparent;
    text-align: center;
    transition: all .3s;
    position: relative;
}
.bk-price-card.popular {
    border-color: var(--bk-primary);
    box-shadow: 0 20px 60px rgba(10, 79, 209, .2);
    transform: scale(1.03);
}
.bk-price-card:hover { transform: translateY(-5px); }
.bk-price-card.popular:hover { transform: scale(1.03) translateY(-5px); }

.bk-popular-badge {
    position: absolute;
    top: -12px;
    right: 50%;
    transform: translateX(50%);
    background: var(--bk-gradient);
    color: #fff;
    padding: .4rem 1rem;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(10, 79, 209, .3);
}
.bk-price-card h4 {
    font-size: 1.3rem;
    color: var(--bk-text);
    margin-bottom: 1rem;
}
.bk-price {
    margin: 1.5rem 0;
    line-height: 1;
}
.bk-price strong {
    font-family: 'Tajawal', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    background: var(--bk-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.bk-price span {
    display: block;
    color: var(--bk-muted);
    margin-top: .5rem;
    font-size: .9rem;
}
.bk-price-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    text-align: right;
}
.bk-price-card li {
    padding: .5rem 0;
    color: var(--bk-text);
    font-size: .92rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}
.bk-price-card li i {
    color: var(--bk-success);
    font-size: .8rem;
}

/* ============= Final CTA v2 ============= */
.bk-cta-final-v2 {
    position: relative;
    padding: 5rem 0;
    background: linear-gradient(135deg, #f6f9ff, #fff);
    overflow: hidden;
}
.bk-cta-bg-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(41, 199, 255, .15), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(245, 165, 36, .15), transparent 40%);
    pointer-events: none;
}
.bk-cta-final-v2 h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}
.bk-cta-final-v2 p {
    color: var(--bk-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
}

/* ============= Footer v2 ============= */
.bk-footer-v2 {
    background: #0e1a2b;
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 2rem;
}
.bk-footer-v2 .bk-nav-brand-v2 {
    color: #fff;
}
.bk-footer-about {
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
    margin: 1rem 0 1.5rem;
    font-size: .92rem;
}
.bk-footer-v2 h6 {
    color: #fff;
    font-family: 'Tajawal', sans-serif;
    font-size: .95rem;
    margin-bottom: 1rem;
    font-weight: 700;
}
.bk-footer-v2 a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    display: block;
    padding: .35rem 0;
    font-size: .88rem;
    transition: color .2s;
}
.bk-footer-v2 a:hover { color: #29c7ff; }

.bk-by-storismo {
    color: rgba(255, 255, 255, 0.55);
    font-size: .85rem;
    line-height: 1.7;
    margin: 0;
}
.bk-by-storismo strong {
    display: block;
    color: #29c7ff;
    margin-bottom: .35rem;
    font-size: .95rem;
    font-family: 'Tajawal', sans-serif;
}

.bk-messenger-btn-v2 {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: #0084ff;
    color: #fff !important;
    padding: .65rem 1.2rem;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    transition: all .2s;
    font-size: .9rem;
}
.bk-messenger-btn-v2:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 132, 255, .4);
    color: #fff !important;
}

.bk-footer-bottom-v2 {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.5rem;
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: .85rem;
}

/* ============= Responsive landing ============= */
@media (max-width: 991.98px) {
    .bk-nav-links-v2 { display: none; }
    .bk-hero-v2 { padding: 7rem 0 4rem; }
    .bk-hero-visual-v2 { padding: 1rem 0; margin-top: 2rem; }
    .bk-mock-shell { transform: none; }
    .bk-float-card { display: none; }
    .bk-steps-flow { grid-template-columns: 1fr; gap: 3rem; }
    .bk-step-arrow { display: none; }
}
@media (max-width: 767.98px) {
    .bk-section-v2 { padding: 4rem 0; }
    .bk-section-head { margin-bottom: 2.5rem; }
    .bk-hero-trust { gap: .75rem; }
    .trust-divider { display: none; }
    .bk-price-card.popular { transform: none; }
    .bk-footer-bottom-v2 { text-align: center; justify-content: center; }
    .bk-nav-actions .bk-btn-ghost { display: none; }
}

/* =========================================================
   Wall View — NVR-style fullscreen monitoring
   ========================================================= */
.bk-wall-app {
    position: fixed;
    inset: 0;
    background: #000;
    color: #fff;
    display: flex;
    flex-direction: column;
    z-index: 9999;
    font-family: 'Cairo', sans-serif;
}

/* Toolbar */
.bk-wall-toolbar {
    background: linear-gradient(180deg, #0e1a2b, #0a1322);
    padding: .65rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(41, 199, 255, .15);
    flex-wrap: wrap;
}
.bk-wall-brand {
    display: flex;
    align-items: center;
    gap: .65rem;
    color: #fff;
    flex-shrink: 0;
}
.bk-wall-logo {
    width: 36px; height: 36px;
}
.bk-wall-logo svg { width: 100%; height: 100%; display: block; }
.bk-wall-brand strong {
    display: block;
    font-family: 'Tajawal', sans-serif;
    font-size: .95rem;
    line-height: 1.1;
}
.bk-wall-brand small {
    display: block;
    color: rgba(255,255,255,.5);
    font-size: .7rem;
}

.bk-wall-stats {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    margin-right: auto;
}
.ws-pill {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    padding: .35rem .8rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .82rem;
}
.ws-pill i { font-size: .8rem; color: rgba(255,255,255,.6); }
.ws-pill strong {
    color: #fff;
    font-family: 'Tajawal', sans-serif;
    font-weight: 800;
    margin-left: .15rem;
}
.ws-pill span { color: rgba(255,255,255,.55); font-size: .78rem; }
.ws-pill.success i, .ws-pill.success strong { color: #1db982; }
.ws-pill.warning i, .ws-pill.warning strong { color: #f5a524; }
.ws-pill.danger  i, .ws-pill.danger  strong { color: #e5484d; }

.bk-wall-clock {
    text-align: center;
    line-height: 1.1;
    font-family: monospace;
    color: #29c7ff;
    padding: 0 1rem;
    border-left: 1px solid rgba(255,255,255,.1);
    border-right: 1px solid rgba(255,255,255,.1);
}
.bk-wall-clock strong {
    font-size: 1.15rem;
    font-family: monospace;
    letter-spacing: 1px;
}
.bk-wall-clock small {
    display: block;
    color: rgba(255,255,255,.55);
    font-size: .7rem;
    font-family: 'Cairo', sans-serif;
    margin-top: 2px;
}

.bk-wall-controls {
    display: flex;
    gap: .35rem;
}
.bk-wall-btn {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    color: #fff;
    width: 38px; height: 38px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all .2s;
    text-decoration: none;
    font-size: .9rem;
}
.bk-wall-btn:hover {
    background: rgba(41, 199, 255, .2);
    border-color: rgba(41, 199, 255, .4);
    color: #29c7ff;
}
.bk-wall-btn.active {
    background: var(--bk-gradient);
    border-color: transparent;
}
.bk-wall-btn.lg {
    width: auto;
    padding: 0 1.5rem;
    height: 44px;
    font-weight: 600;
}

/* Stage */
.bk-wall-stage {
    flex: 1;
    overflow: hidden;
    padding: .35rem;
    display: flex;
}

.bk-wall-grid {
    flex: 1;
    display: grid;
    gap: .35rem;
    width: 100%;
    height: 100%;
}
/* Auto layout — uses count to determine */
.bk-wall-grid.layout-auto[data-count="1"]                     { grid-template-columns: 1fr;          grid-template-rows: 1fr; }
.bk-wall-app[data-count="1"]  .bk-wall-grid.layout-auto       { grid-template-columns: 1fr;          grid-template-rows: 1fr; }
.bk-wall-app[data-count="2"]  .bk-wall-grid.layout-auto       { grid-template-columns: 1fr 1fr;      grid-template-rows: 1fr; }
.bk-wall-app[data-count="3"]  .bk-wall-grid.layout-auto,
.bk-wall-app[data-count="4"]  .bk-wall-grid.layout-auto       { grid-template-columns: 1fr 1fr;      grid-template-rows: 1fr 1fr; }
.bk-wall-app[data-count="5"]  .bk-wall-grid.layout-auto,
.bk-wall-app[data-count="6"]  .bk-wall-grid.layout-auto       { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); }
.bk-wall-app[data-count="7"]  .bk-wall-grid.layout-auto,
.bk-wall-app[data-count="8"]  .bk-wall-grid.layout-auto,
.bk-wall-app[data-count="9"]  .bk-wall-grid.layout-auto       { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); }

.bk-wall-grid.layout-2x3  { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 1fr); }
.bk-wall-grid.layout-3x2  { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); }
.bk-wall-grid.layout-2x2  { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, 1fr); }
.bk-wall-grid.layout-1x6  { grid-template-columns: 1fr; grid-template-rows: repeat(6, 1fr); }

/* Cell */
.bk-wall-cell {
    position: relative;
    background: #0a1322;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(41, 199, 255, .08);
    transition: border-color .2s;
}
.bk-wall-cell:hover {
    border-color: rgba(41, 199, 255, .4);
}
.bk-wall-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #000;
}

.bk-wall-cell-top {
    position: absolute;
    top: 0; left: 0; right: 0;
    padding: .5rem .75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(180deg, rgba(0,0,0,.75), transparent);
    z-index: 3;
    color: #fff;
}
.bk-wall-cell-name {
    display: flex;
    align-items: center;
    gap: .4rem;
    line-height: 1.1;
}
.bk-wall-cell-name strong {
    font-family: 'Tajawal', sans-serif;
    font-size: .85rem;
    text-shadow: 0 1px 4px rgba(0,0,0,.6);
}
.bk-wall-cell-name small {
    color: rgba(255,255,255,.55);
    font-size: .7rem;
    margin-right: .35rem;
}
.bk-wall-live-badge {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    background: rgba(229, 72, 77, .95);
    padding: .2rem .55rem;
    border-radius: 4px;
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: 1px;
}
.bk-wall-live-badge .dot {
    width: 6px; height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: bkPulse 1.5s infinite;
}

.bk-wall-cell-status {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: .5rem;
    color: rgba(255,255,255,.4);
    font-size: .8rem;
    z-index: 2;
}
.bk-wall-cell-status i { font-size: 1.5rem; }

.bk-wall-cell-bottom {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: .55rem .75rem;
    background: linear-gradient(0deg, rgba(0,0,0,.85), transparent);
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: .25rem;
}
.bk-wall-meter {
    display: flex;
    align-items: center;
    gap: .4rem;
    color: rgba(255,255,255,.85);
    font-size: .7rem;
}
.bk-wall-meter i {
    width: 12px;
    text-align: center;
    color: rgba(255,255,255,.55);
    transition: color .3s;
    font-size: .7rem;
}
.bk-wall-meter .bar {
    flex: 1;
    height: 3px;
    background: rgba(255,255,255,.1);
    border-radius: 999px;
    overflow: hidden;
}
.bk-wall-meter .fill {
    height: 100%;
    border-radius: 999px;
    transition: width .8s ease;
    background: linear-gradient(90deg, #29c7ff, #1db982);
}
.bk-wall-meter.audio .fill {
    background: linear-gradient(90deg, #f5a524, #29c7ff);
}
.bk-wall-meter span {
    min-width: 22px;
    text-align: left;
    font-family: monospace;
    font-size: .7rem;
}
.bk-wall-meter.high .fill {
    background: linear-gradient(90deg, #f5a524, #e5484d);
}
.bk-wall-meter.high i { color: var(--bk-danger); }

.bk-wall-state {
    align-self: flex-end;
    font-size: .65rem;
    font-weight: 700;
    padding: .12rem .5rem;
    border-radius: 4px;
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.6);
    margin-top: .15rem;
}
.bk-wall-state.status-calm   { background: rgba(29,185,130,.2);  color: #1db982; }
.bk-wall-state.status-normal { background: rgba(41,199,255,.2);  color: #29c7ff; }
.bk-wall-state.status-busy   { background: rgba(245,165,36,.2);  color: #f5a524; }
.bk-wall-state.status-alert  { background: rgba(229,72,77,.25);  color: #ff7a7d; animation: bkPulse 1.5s infinite; }

.bk-wall-cell-expand {
    position: absolute;
    top: .5rem; left: .5rem;
    width: 28px; height: 28px;
    background: rgba(0, 0, 0, .6);
    backdrop-filter: blur(8px);
    border-radius: 6px;
    display: grid;
    place-items: center;
    color: #fff;
    text-decoration: none;
    z-index: 4;
    opacity: 0;
    transition: all .2s;
    font-size: .75rem;
}
.bk-wall-cell:hover .bk-wall-cell-expand {
    opacity: 1;
}
.bk-wall-cell-expand:hover {
    background: var(--bk-primary);
    color: #fff;
    transform: scale(1.1);
}

/* Footer */
.bk-wall-footer {
    background: linear-gradient(180deg, #0a1322, #050a13);
    padding: .55rem 1rem;
    display: flex;
    align-items: center;
    gap: .75rem;
    border-top: 1px solid rgba(41, 199, 255, .15);
    color: rgba(255,255,255,.6);
    font-size: .78rem;
    flex-wrap: wrap;
}
.bk-wall-footer .text-success { color: #1db982 !important; }
.bk-wall-footer .text-muted   { color: rgba(255,255,255,.3) !important; }
.bk-wall-spacer { flex: 1; }
.bk-wall-footer kbd {
    background: rgba(255,255,255,.1);
    color: #fff;
    padding: 1px 6px;
    border-radius: 3px;
    font-size: .7rem;
    font-family: monospace;
    border: 1px solid rgba(255,255,255,.15);
}

/* Empty state */
.bk-wall-empty {
    margin: auto;
    text-align: center;
    color: rgba(255,255,255,.7);
    padding: 2rem;
}
.bk-wall-empty i {
    font-size: 4rem;
    color: rgba(255,255,255,.2);
    margin-bottom: 1rem;
}
.bk-wall-empty h3 {
    color: #fff;
    margin: 1rem 0;
}

/* Responsive Wall */
@media (max-width: 991.98px) {
    .bk-wall-toolbar { padding: .5rem; gap: .5rem; }
    .bk-wall-stats { display: none; }
    .bk-wall-clock { padding: 0 .5rem; }
    .bk-wall-clock strong { font-size: .9rem; }
    .bk-wall-clock small { display: none; }
    .bk-wall-app[data-count="5"]  .bk-wall-grid.layout-auto,
    .bk-wall-app[data-count="6"]  .bk-wall-grid.layout-auto { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 1fr); }
    .bk-wall-footer kbd { display: none; }
}
@media (max-width: 575.98px) {
    .bk-wall-app[data-count="3"]  .bk-wall-grid.layout-auto,
    .bk-wall-app[data-count="4"]  .bk-wall-grid.layout-auto,
    .bk-wall-app[data-count="5"]  .bk-wall-grid.layout-auto,
    .bk-wall-app[data-count="6"]  .bk-wall-grid.layout-auto { grid-template-columns: 1fr; grid-template-rows: repeat(auto-fill, minmax(180px, 1fr)); }
    .bk-wall-cell-name small { display: none; }
}

/* =========================================================
   v1.3 — Parent App + Recordings + Settings
   ========================================================= */

/* ============= Parent App (Mobile-first) ============= */
.bk-parent-app {
    min-height: 100vh;
    background: linear-gradient(180deg, #f6f9ff 0%, #fff 100%);
    padding-bottom: 2rem;
}

.bk-parent-header {
    background: #fff;
    padding: .85rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 2px 12px rgba(10, 79, 209, .06);
    border-bottom: 1px solid rgba(10, 79, 209, .05);
}
.bk-parent-greeting {
    display: flex;
    align-items: center;
    gap: .65rem;
}
.bk-parent-logo {
    width: 40px; height: 40px;
    flex-shrink: 0;
}
.bk-parent-logo svg { width: 100%; height: 100%; display: block; }
.bk-parent-greeting strong {
    display: block;
    font-family: 'Tajawal', sans-serif;
    font-size: .95rem;
    color: var(--bk-text);
    line-height: 1.2;
}
.bk-parent-greeting small {
    color: var(--bk-muted);
    font-size: .75rem;
}

.bk-parent-actions {
    display: flex;
    gap: .35rem;
}
.bk-icon-btn {
    background: rgba(10, 79, 209, .08);
    border: 0;
    color: var(--bk-primary);
    width: 40px; height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all .2s;
    text-decoration: none;
    font-size: .95rem;
}
.bk-icon-btn:hover {
    background: var(--bk-primary);
    color: #fff;
    transform: translateY(-1px);
}
.bk-icon-btn.active {
    background: var(--bk-primary);
    color: #fff;
}

/* Push banner */
.bk-push-banner {
    background: linear-gradient(135deg, #fff5e6, #ffe8cc);
    margin: 1rem;
    padding: 1rem;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: .85rem;
    border: 1px solid rgba(245, 165, 36, .25);
}
.bk-push-banner i {
    font-size: 1.5rem;
    color: var(--bk-warning);
    flex-shrink: 0;
}
.bk-push-banner > div {
    flex: 1;
    line-height: 1.3;
}
.bk-push-banner strong {
    display: block;
    color: var(--bk-text);
    font-size: .9rem;
}
.bk-push-banner small {
    color: var(--bk-muted);
    font-size: .78rem;
}
.bk-btn-mini {
    background: var(--bk-warning);
    color: #fff;
    border: 0;
    padding: .5rem 1rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: .85rem;
    cursor: pointer;
    flex-shrink: 0;
}

/* Tabs (camera selector) */
.bk-parent-tabs {
    display: flex;
    gap: .5rem;
    padding: .75rem 1rem;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.bk-parent-tabs::-webkit-scrollbar { display: none; }
.bk-parent-tab {
    background: #fff;
    color: var(--bk-text);
    padding: .5rem 1rem;
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    border: 1px solid rgba(10, 79, 209, .08);
    transition: all .2s;
}
.bk-parent-tab:hover {
    color: var(--bk-primary);
    border-color: rgba(10, 79, 209, .25);
}
.bk-parent-tab.active {
    background: var(--bk-gradient);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 16px rgba(10, 79, 209, .25);
}
.bk-parent-tab.active .bk-cam-dot {
    background: #fff;
}

/* Main content */
.bk-parent-main {
    padding: 0 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.bk-parent-empty {
    background: #fff;
    border-radius: 18px;
    padding: 3rem 1.5rem;
    text-align: center;
    margin: 1rem 0;
    box-shadow: 0 8px 30px rgba(10, 79, 209, .06);
}
.bk-parent-empty i {
    font-size: 3rem;
    color: rgba(10, 79, 209, .25);
    margin-bottom: 1rem;
}
.bk-parent-empty h3 {
    color: var(--bk-text);
    margin-bottom: .75rem;
}
.bk-parent-empty p {
    color: var(--bk-muted);
    line-height: 1.7;
    margin-bottom: .5rem;
}

/* Camera card */
.bk-parent-card {
    background: #fff;
    border-radius: 18px;
    padding: 1.25rem;
    margin: 1rem 0;
    box-shadow: 0 10px 30px rgba(10, 79, 209, .08);
    border: 1px solid rgba(10, 79, 209, .04);
}
.bk-parent-cam-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
}
.bk-parent-cam-head h2 {
    font-size: 1.15rem;
    margin: 0;
    line-height: 1.2;
    font-family: 'Tajawal', sans-serif;
}
.bk-parent-controls {
    display: flex;
    gap: .5rem;
    margin-top: 1rem;
    justify-content: center;
}

/* Smart status card */
.bk-parent-status-card {
    background: #fff;
    border-radius: 16px;
    padding: 1rem 1.25rem;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 6px 24px rgba(10, 79, 209, .06);
    border-right: 5px solid var(--bk-muted);
    transition: all .4s;
}
.bk-parent-status-card.status-calm   { border-right-color: var(--bk-success); background: linear-gradient(135deg, #fff, rgba(29,185,130,.04)); }
.bk-parent-status-card.status-normal { border-right-color: var(--bk-primary); background: linear-gradient(135deg, #fff, rgba(10,79,209,.04)); }
.bk-parent-status-card.status-busy   { border-right-color: var(--bk-warning); background: linear-gradient(135deg, #fff, rgba(245,165,36,.05)); }
.bk-parent-status-card.status-alert  { border-right-color: var(--bk-danger);  background: linear-gradient(135deg, #fff, rgba(229,72,77,.06)); animation: bkPulse 2s infinite; }

.bk-parent-status-icon {
    width: 56px; height: 56px;
    background: rgba(10, 79, 209, .08);
    color: var(--bk-primary);
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}
.status-calm   .bk-parent-status-icon { background: rgba(29,185,130,.12); color: var(--bk-success); }
.status-normal .bk-parent-status-icon { background: rgba(10,79,209,.10);  color: var(--bk-primary); }
.status-busy   .bk-parent-status-icon { background: rgba(245,165,36,.15); color: var(--bk-warning); }
.status-alert  .bk-parent-status-icon { background: rgba(229,72,77,.15);  color: var(--bk-danger); }

.bk-parent-status-text { flex: 1; min-width: 0; }
.bk-parent-status-text strong {
    display: block;
    font-size: 1rem;
    font-family: 'Tajawal', sans-serif;
    color: var(--bk-text);
    line-height: 1.2;
}
.bk-parent-status-text span {
    display: block;
    color: var(--bk-muted);
    font-size: .8rem;
    margin-top: 2px;
}

.bk-parent-conf {
    text-align: center;
    line-height: 1.1;
}
.bk-parent-conf strong {
    display: block;
    font-family: 'Tajawal', sans-serif;
    color: var(--bk-primary);
    font-size: 1.4rem;
}
.bk-parent-conf small {
    color: var(--bk-muted);
    font-size: .65rem;
    text-transform: uppercase;
}

/* Metrics grid */
.bk-parent-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .65rem;
    margin: 1rem 0;
}
.bk-pm {
    background: #fff;
    border-radius: 14px;
    padding: .85rem;
    display: flex;
    align-items: center;
    gap: .75rem;
    box-shadow: 0 4px 16px rgba(10, 79, 209, .05);
}
.bk-pm-icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: rgba(10, 79, 209, .08);
    color: var(--bk-primary);
    display: grid;
    place-items: center;
    font-size: .9rem;
    flex-shrink: 0;
}
.bk-pm-info {
    flex: 1;
    min-width: 0;
    line-height: 1.1;
}
.bk-pm-info small {
    color: var(--bk-muted);
    font-size: .7rem;
    display: block;
}
.bk-pm-info strong {
    color: var(--bk-text);
    font-family: 'Tajawal', sans-serif;
    font-size: 1.1rem;
}

/* Section block */
.bk-parent-section {
    background: #fff;
    border-radius: 18px;
    padding: 1.25rem;
    margin: 1rem 0;
    box-shadow: 0 6px 20px rgba(10, 79, 209, .05);
}
.bk-parent-sec-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
.bk-parent-sec-head h3 {
    font-size: 1rem;
    margin: 0;
    color: var(--bk-text);
    font-family: 'Tajawal', sans-serif;
}
.bk-parent-sec-head h3 i { color: var(--bk-primary); margin-left: .35rem; }
.bk-parent-sec-head small {
    background: var(--bk-primary);
    color: #fff;
    border-radius: 999px;
    padding: .15rem .55rem;
    font-size: .75rem;
    font-weight: 700;
}

.bk-parent-alerts {
    display: flex;
    flex-direction: column;
    gap: .55rem;
}
.bk-parent-alert {
    display: flex;
    gap: .75rem;
    align-items: center;
    padding: .65rem;
    background: #f6f9ff;
    border-radius: 10px;
    transition: background .3s;
}
.bk-parent-alert.is-new {
    background: linear-gradient(135deg, rgba(245, 165, 36, .15), rgba(229, 72, 77, .08));
    animation: alertFlash .8s ease;
}
@keyframes alertFlash {
    0% { transform: translateX(20px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}
.bk-parent-alert-text {
    flex: 1;
    min-width: 0;
    line-height: 1.2;
}
.bk-parent-alert-text strong {
    display: block;
    font-size: .9rem;
    color: var(--bk-text);
}
.bk-parent-alert-text small {
    color: var(--bk-muted);
    font-size: .75rem;
}

/* ============= Recordings page ============= */
.bk-rec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 1rem;
}
.bk-rec-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(10, 79, 209, .06);
    border: 1px solid rgba(10, 79, 209, .04);
    transition: transform .3s, box-shadow .3s;
}
.bk-rec-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(10, 79, 209, .12);
}
.bk-rec-video-wrap {
    aspect-ratio: 16/9;
    background: #0e1a2b;
    position: relative;
    overflow: hidden;
}
.bk-rec-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.bk-rec-info {
    padding: .85rem 1rem;
}
.bk-rec-info strong {
    display: block;
    font-family: 'Tajawal', sans-serif;
    color: var(--bk-text);
    line-height: 1.2;
}
.bk-rec-info > small {
    color: var(--bk-muted);
    font-size: .75rem;
    display: block;
    margin-bottom: .65rem;
}
.bk-rec-meta {
    display: flex;
    gap: .65rem;
    flex-wrap: wrap;
    color: var(--bk-muted);
    font-size: .72rem;
    margin-bottom: .65rem;
}
.bk-rec-meta i { margin-left: .15rem; }
.bk-rec-expire {
    background: rgba(245, 165, 36, .1);
    color: var(--bk-warning);
    border-radius: 8px;
    padding: .4rem .65rem;
    font-size: .75rem;
    margin-bottom: .65rem;
    display: flex;
    align-items: center;
    gap: .35rem;
}
.bk-rec-expire i { color: var(--bk-warning); }
.bk-rec-actions {
    display: flex;
    gap: .35rem;
}

/* Settings switches */
.form-switch .form-check-input {
    width: 2.5em;
    height: 1.4em;
    background-color: #e1e6f0;
    border-color: rgba(10, 79, 209, .15);
    cursor: pointer;
}
.form-switch .form-check-input:checked {
    background-color: var(--bk-primary);
    border-color: var(--bk-primary);
}
.form-check-label {
    cursor: pointer;
    font-weight: 600;
    color: var(--bk-text);
    margin-right: .5rem;
}

/* Responsive parent */
@media (max-width: 575.98px) {
    .bk-parent-main { padding: 0 .75rem; }
    .bk-parent-card,
    .bk-parent-section { padding: 1rem; }
    .bk-parent-status-card { padding: .85rem 1rem; gap: .75rem; }
    .bk-parent-status-icon { width: 48px; height: 48px; font-size: 1.25rem; }
    .bk-parent-status-text strong { font-size: .9rem; }
    .bk-pm-info strong { font-size: 1rem; }
    .bk-rec-grid { grid-template-columns: 1fr; }
    .bk-parent-greeting strong { font-size: .85rem; }
    .bk-icon-btn { width: 36px; height: 36px; }
}
