/* ==========================================================================
   SmartFamilyEye - Real-Time Battery & Connection Status Dedicated Stylesheet
   Version: 20261015-v1 (Strict Clean Modern Light Theme)
   ========================================================================== */

/* 1. HERO SECTION - LIGHT MODERN THEME */
.bs-hero-section {
    position: relative;
    padding: 70px 0 80px;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 60%, #ffffff 100%);
    color: #0f172a;
    overflow: hidden;
    border-bottom: 1px solid #e2e8f0;
}

.bs-hero-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, rgba(2, 132, 199, 0.08) 45%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 1;
}

.bs-hero-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.10) 0%, rgba(16, 185, 129, 0.05) 50%, transparent 70%);
    filter: blur(50px);
    pointer-events: none;
    z-index: 1;
}

.bs-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr 1.15fr;
    gap: 48px;
    align-items: center;
}

@media (max-width: 1024px) {
    .bs-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Hero Content */
.bs-hero-content {
    position: relative;
    z-index: 2;
}

.bs-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 7px 16px;
    border-radius: 9999px;
    margin-bottom: 22px;
}

.bs-hero-title {
    font-size: 2.85rem;
    line-height: 1.18;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.025em;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .bs-hero-title {
        font-size: 2.15rem;
    }
}

.bs-hero-subtitle {
    font-size: 1.12rem;
    line-height: 1.65;
    color: #475569;
    margin-bottom: 28px;
    max-width: 580px;
}

.bs-hero-pills {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 34px;
}

.bs-hero-pill-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.96rem;
    font-weight: 600;
    color: #1e293b;
}

.bs-pill-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #10b981;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.35);
}

.bs-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.bs-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 1.02rem;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.4);
    transition: all 0.25s ease;
}

.bs-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -5px rgba(16, 185, 129, 0.5);
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.bs-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: #334155 !important;
    font-weight: 600;
    font-size: 1.02rem;
    padding: 14px 24px;
    border-radius: 12px;
    text-decoration: none;
    border: 1px solid #cbd5e1;
    transition: all 0.2s ease;
}

.bs-btn-secondary:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #0f172a !important;
}

/* 2. MOCKUP CARD - CLEAN LIGHT HIGH-TECH */
.bs-mockup-wrapper {
    position: relative;
    z-index: 2;
}

.bs-mockup-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(15, 23, 42, 0.04);
    padding: 26px;
    position: relative;
    overflow: hidden;
}

.bs-mockup-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10b981 0%, #0284c7 50%, #f59e0b 100%);
}

.bs-mockup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    margin-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.bs-mockup-title-wrap h3 {
    font-size: 1.08rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px;
}

.bs-mockup-device {
    font-size: 0.85rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
}

.bs-badge-live {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #059669;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Battery Gauge Visual */
.bs-gauge-container {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 18px;
    position: relative;
}

.bs-gauge-main-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.bs-gauge-percent-wrap {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.bs-gauge-big-num {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    color: #059669;
    letter-spacing: -0.03em;
}

.bs-gauge-status-text {
    font-size: 0.95rem;
    font-weight: 700;
    color: #10b981;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.bs-gauge-health-pill {
    background: #ffffff;
    border: 1px solid #d1fae5;
    color: #047857;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 8px;
}

/* Physical Battery Shell Mockup */
.bs-battery-physical {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
}

.bs-battery-body {
    flex: 1;
    height: 28px;
    background: #e2e8f0;
    border-radius: 8px;
    padding: 3px;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
}

.bs-battery-fill {
    height: 100%;
    width: 78%;
    background: linear-gradient(90deg, #10b981 0%, #34d399 100%);
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    transition: width 1s ease-in-out;
}

.bs-battery-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
    animation: bsShimmer 2.5s infinite;
}

@keyframes bsShimmer {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

.bs-battery-tip {
    width: 6px;
    height: 14px;
    background: #94a3b8;
    border-radius: 0 3px 3px 0;
    flex-shrink: 0;
}

.bs-gauge-time-remaining {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
}

/* Network Pills Bar */
.bs-network-pills-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}

@media (max-width: 640px) {
    .bs-network-pills-row {
        grid-template-columns: 1fr;
    }
}

.bs-net-pill {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.bs-net-icon {
    font-size: 1.25rem;
}

.bs-net-info {
    overflow: hidden;
}

.bs-net-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bs-net-detail {
    font-size: 0.72rem;
    color: #059669;
    font-weight: 600;
}

/* Guard Items Matrix */
.bs-guard-matrix {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}

.bs-guard-item {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.bs-guard-label {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
}

.bs-guard-value {
    font-size: 0.8rem;
    font-weight: 800;
    color: #0f172a;
}

.bs-guard-value.success {
    color: #059669;
}

/* Battery Alert Box */
.bs-alert-card {
    background: #fffbeb;
    border: 1px solid #fef3c7;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 14px;
}

.bs-alert-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.bs-alert-tag {
    font-size: 0.82rem;
    font-weight: 800;
    color: #b45309;
}

.bs-alert-desc {
    font-size: 0.82rem;
    color: #78350f;
    line-height: 1.5;
    margin-bottom: 10px;
}

.bs-alert-btn {
    background: #f59e0b;
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 700;
    border: none;
    border-radius: 6px;
    padding: 6px 14px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.bs-alert-btn:hover {
    background: #d97706;
}

.bs-mockup-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: #64748b;
    background: #f8fafc;
    border-radius: 8px;
    padding: 10px 12px;
    border: 1px dashed #cbd5e1;
}

/* 3. STATS STRIP */
.bs-stats-section {
    padding: 50px 0;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

.bs-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 900px) {
    .bs-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 540px) {
    .bs-stats-grid {
        grid-template-columns: 1fr;
    }
}

.bs-stat-card {
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bs-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -5px rgba(15, 23, 42, 0.06);
    border-color: #e2e8f0;
}

.bs-stat-val {
    font-size: 2.2rem;
    font-weight: 900;
    color: #059669;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 6px;
}

.bs-stat-label {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.bs-stat-desc {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* 4. DEEP DIVE FEATURES (6 PILLARS) */
.bs-pillars-section {
    padding: 90px 0;
    background: #ffffff;
}

.bs-section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 56px;
}

.bs-section-tag {
    display: inline-block;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 6px 14px;
    border-radius: 9999px;
    margin-bottom: 14px;
}

.bs-section-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin-bottom: 16px;
}

.bs-section-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.bs-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 1024px) {
    .bs-pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .bs-pillars-grid {
        grid-template-columns: 1fr;
    }
}

.bs-pillar-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 32px 28px;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.03);
}

.bs-pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
}

.bs-pillar-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #ecfdf5;
    border: 1px solid #d1fae5;
    color: #059669;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 22px;
}

.bs-pillar-title {
    font-size: 1.22rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 14px;
}

.bs-pillar-desc {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

/* 5. WORKFLOW SECTION */
.bs-workflow-section {
    padding: 90px 0;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.bs-workflow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

@media (max-width: 992px) {
    .bs-workflow-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 540px) {
    .bs-workflow-grid {
        grid-template-columns: 1fr;
    }
}

.bs-workflow-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px 24px;
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.03);
}

.bs-workflow-step-badge {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #10b981;
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
}

.bs-workflow-title {
    font-size: 1.12rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

.bs-workflow-desc {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.55;
    margin: 0;
}

/* 6. REAL-WORLD SCENARIOS */
.bs-scenarios-section {
    padding: 90px 0;
    background: #ffffff;
}

.bs-scenarios-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

@media (max-width: 768px) {
    .bs-scenarios-grid {
        grid-template-columns: 1fr;
    }
}

.bs-scenario-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px;
    transition: all 0.2s ease;
}

.bs-scenario-card:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 10px 20px -5px rgba(15, 23, 42, 0.06);
}

.bs-scenario-tag {
    display: inline-block;
    background: #e0f2fe;
    color: #0284c7;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 14px;
}

.bs-scenario-title {
    font-size: 1.18rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
    line-height: 1.35;
}

.bs-scenario-desc {
    font-size: 0.94rem;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

/* 7. PEDAGOGY & AGE GUIDELINES */
.bs-pedagogy-section {
    padding: 90px 0;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.bs-pedagogy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

@media (max-width: 900px) {
    .bs-pedagogy-grid {
        grid-template-columns: 1fr;
    }
}

.bs-age-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px 26px;
    box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.03);
}

.bs-age-badge {
    display: inline-block;
    background: #fef3c7;
    color: #b45309;
    font-size: 0.82rem;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 9999px;
    margin-bottom: 18px;
}

.bs-age-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.bs-age-desc {
    font-size: 0.93rem;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

/* 8. FAQ ACCORDION */
.bs-faq-section {
    padding: 90px 0;
    background: #ffffff;
}

.bs-faq-wrapper {
    max-width: 820px;
    margin: 0 auto;
}

.bs-faq-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    margin-bottom: 14px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.bs-faq-item[open] {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 8px 16px -4px rgba(15, 23, 42, 0.05);
}

.bs-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.bs-faq-question::-webkit-details-marker {
    display: none;
}

.bs-faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: #475569;
    flex-shrink: 0;
    transition: transform 0.2s ease, background 0.2s ease;
}

.bs-faq-item[open] .bs-faq-icon {
    transform: rotate(180deg);
    background: #10b981;
    color: #ffffff;
}

.bs-faq-answer {
    padding: 0 24px 22px;
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.65;
    margin: 0;
}

/* 9. FINAL CTA */
.bs-cta-section {
    padding: 85px 0;
    background: linear-gradient(135deg, #065f46 0%, #047857 50%, #0f766e 100%);
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.bs-cta-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.bs-cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
    color: #ffffff;
}

@media (max-width: 768px) {
    .bs-cta-title {
        font-size: 2rem;
    }
}

.bs-cta-subtitle {
    font-size: 1.15rem;
    max-width: 640px;
    margin: 0 auto 36px;
    color: #d1fae5;
    line-height: 1.6;
}

.bs-cta-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.bs-cta-btn-white {
    background: #ffffff;
    color: #065f46 !important;
    font-weight: 800;
    font-size: 1.05rem;
    padding: 15px 32px;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}

.bs-cta-btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
    background: #f8fafc;
}

.bs-cta-btn-outline {
    background: transparent;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.5);
    font-weight: 600;
    font-size: 1.05rem;
    padding: 15px 28px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.bs-cta-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

/* 10. RTL SUPPORT */
[dir="rtl"] .bs-battery-physical {
    flex-direction: row-reverse;
}

[dir="rtl"] .bs-battery-tip {
    border-radius: 3px 0 0 3px;
}

[dir="rtl"] .bs-hero-pill-item,
[dir="rtl"] .bs-mockup-device,
[dir="rtl"] .bs-mockup-footer {
    text-align: right;
}

[dir="rtl"] .bs-hero-content {
    text-align: right;
}

[dir="rtl"] .bs-faq-question {
    text-align: right;
}

