:root {
    --bg-dark: #070b12;
    --bg-header: rgba(7, 11, 18, 0.88);
    --bg-ticker: linear-gradient(90deg, #0b1320, #0d231b, #0b1320);
    --bg-card: #0d1524;
    --bg-card-hover: #121c30;
    --bg-card-sub: rgba(13, 21, 36, 0.5);
    --bg-calc: linear-gradient(135deg, #0d1a29, #081d18);
    --bg-calc-res: rgba(0, 0, 0, 0.4);
    --bg-footer: #04060a;
    --text-main: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --primary-emerald: #10b981;
    --primary-glow: rgba(16, 185, 129, 0.25);
    --gold-accent: #f59e0b;
    --gold-glow: rgba(245, 158, 11, 0.2);
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-card: rgba(255, 255, 255, 0.08);
    --input-bg: rgba(7, 11, 18, 0.8);
    --input-border: #334155;
    --font-bengali: 'Hind Siliguri', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

[data-theme="light"] {
    --bg-dark: #f4f6fb;
    --bg-header: rgba(255, 255, 255, 0.92);
    --bg-ticker: linear-gradient(90deg, #e2e8f0, #e6f4ea, #e2e8f0);
    --bg-card: #ffffff;
    --bg-card-hover: #f8fafc;
    --bg-card-sub: #edf2f7;
    --bg-calc: linear-gradient(135deg, #e8f5e9, #f1f5f9);
    --bg-calc-res: #ffffff;
    --bg-footer: #0f172a;
    --text-main: #0f172a;
    --text-secondary: #334155;
    --text-muted: #475569;
    --primary-emerald: #059669;
    --primary-glow: rgba(5, 150, 105, 0.2);
    --gold-accent: #d97706;
    --gold-glow: rgba(217, 119, 6, 0.2);
    --border-glass: rgba(0, 0, 0, 0.08);
    --border-card: rgba(0, 0, 0, 0.08);
    --input-bg: #ffffff;
    --input-border: #cbd5e1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    max-width: 100%;
}

body {
    max-width: 100%;
    overflow-x: clip;
}

/* ==========================================================================
   GLOBAL FLUID MEDIA & RESPONSIVE RESETS
   ========================================================================== */
img, 
picture,
video,
canvas,
svg {
    max-width: 100%;
    height: auto;
    display: block;
}

.infographic-img,
.infographic-container img,
.infographic-box img,
.figure-card img,
.figure-box img,
.chapter-img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
}

.infographic-container,
.infographic-box,
.figure-card,
.figure-box,
figure {
    width: 100% !important;
    max-width: 100% !important;
    margin: 24px 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 14px !important;
    box-sizing: border-box !important;
}

.infographic-caption,
.caption {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 10px 14px !important;
    font-size: 13px !important;
    color: var(--text-muted) !important;
    background: rgba(15, 23, 42, 0.95) !important;
    text-align: center !important;
    margin: 0 !important;
}

/* Table & Code Block Responsive Wrapping */
table,
.table-responsive,
.table-container {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    box-sizing: border-box !important;
}

pre, code {
    max-width: 100% !important;
    overflow-x: auto !important;
    word-break: break-word !important;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-bengali);
    line-height: 1.7;
    font-size: 17px;
    overflow-x: clip;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Container - Ultra-Wide Desktop (Full-Wide Viewport) */
.container {
    width: 96%;
    max-width: 1720px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Top Live Ticker */
.live-ticker-bar {
    background: var(--bg-ticker);
    border-bottom: 1px solid var(--border-glass);
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    z-index: 100;
    transition: background 0.3s ease;
}

.ticker-wrap {
    display: inline-flex;
    animation: ticker-scroll 35s linear infinite;
    gap: 40px;
}

.ticker-item {
    font-size: 14px;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ticker-item strong {
    color: var(--text-main);
}

.ticker-badge {
    background: rgba(16, 185, 129, 0.15);
    color: var(--primary-emerald);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Header */
.main-header {
    background: var(--bg-header);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-glass);
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
    padding: 14px 0;
    transition: background 0.3s ease, padding 0.3s ease;
}

.nav-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-main);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.logo-brand:hover {
    opacity: 0.95;
    transform: translateY(-1px);
}

/* --- Brand Animated Logo Engine & Responsive Sizing --- */
.brand-logo-animated {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 50%;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.logo-brand:hover .brand-logo-animated {
    transform: scale(1.06);
    box-shadow: 0 0 22px rgba(16, 185, 129, 0.45);
}

.brand-logo-animated svg {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
}

.brand-logo-animated .lottie-anim-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Header Animated Logo: Increased from 48px to 58px Desktop, 48px Mobile */
.header-logo-anim {
    width: 58px;
    height: 58px;
    min-width: 58px;
    min-height: 58px;
    box-shadow: 0 4px 18px rgba(16, 185, 129, 0.3);
}
.header-logo-anim .brand-logo-img {
    width: 58px;
    height: 58px;
}

/* Footer Animated Logo: Increased from 44px to 64px Desktop, 54px Mobile */
.footer-logo-anim {
    width: 64px;
    height: 64px;
    min-width: 64px;
    min-height: 64px;
    box-shadow: 0 6px 22px rgba(16, 185, 129, 0.35);
}
.footer-logo-anim .brand-logo-img {
    width: 64px;
    height: 64px;
}

/* Sticky Mobile Bar Animated Logo: Increased to 42px */
.sticky-logo-anim {
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.25);
}
.sticky-logo-anim .brand-logo-img {
    width: 42px;
    height: 42px;
}

/* Featured App Cards / CTA Widgets Animated Logo: 64px Desktop, 54px Mobile */
.card-anim-logo {
    width: 64px;
    height: 64px;
    min-width: 64px;
    min-height: 64px;
    box-shadow: 0 6px 24px rgba(16, 185, 129, 0.4);
    background: rgba(15, 23, 42, 0.85);
    border: 1.5px solid rgba(16, 185, 129, 0.4);
}
.card-anim-logo .brand-logo-img {
    width: 64px;
    height: 64px;
}

.brand-logo-img {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
    flex-shrink: 0;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.logo-brand:hover .brand-logo-img {
    transform: scale(1.04);
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35);
}

.brand-title-h2 {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.15;
    color: #2ecc71;
    margin: 0;
    padding: 0;
    letter-spacing: -0.01em;
    font-family: var(--font-bengali, 'Hind Siliguri', 'Noto Sans Bengali', system-ui, sans-serif);
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .header-logo-anim {
        width: 48px;
        height: 48px;
        min-width: 48px;
        min-height: 48px;
    }
    .header-logo-anim .brand-logo-img {
        width: 48px;
        height: 48px;
    }
    .footer-logo-anim {
        width: 54px;
        height: 54px;
        min-width: 54px;
        min-height: 54px;
    }
    .footer-logo-anim .brand-logo-img {
        width: 54px;
        height: 54px;
    }
    .card-anim-logo {
        width: 54px;
        height: 54px;
        min-width: 54px;
        min-height: 54px;
    }
    .card-anim-logo .brand-logo-img {
        width: 54px;
        height: 54px;
    }
    .brand-logo-img {
        width: 48px;
        height: 48px;
    }
    .brand-title-h2 {
        font-size: 21px;
    }
}

.logo-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    box-shadow: 0 4px 14px var(--primary-glow);
}

.brand-text h1 {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
}

.brand-text span {
    font-size: 12px;
    color: var(--primary-emerald);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.header-links {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
}

.header-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.header-links a:hover {
    color: var(--primary-emerald);
}

.header-links li.active > a {
    color: var(--primary-emerald);
    font-weight: 600;
}

/* Mega Dropdown Styles */
.nav-item-has-dropdown {
    position: relative;
    padding-bottom: 8px;
    margin-bottom: -8px;
}

.nav-link-dropdown {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.dropdown-caret {
    font-size: 11px;
    transition: transform 0.25s ease;
}

.nav-item-has-dropdown:hover .dropdown-caret {
    transform: rotate(180deg);
}

.mega-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-35%) translateY(10px);
    width: 780px;
    max-width: 92vw;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(16, 185, 129, 0.15);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
    z-index: 1000;
    overflow: hidden;
}

.nav-item-has-dropdown:hover .mega-dropdown-menu,
.nav-item-has-dropdown:focus-within .mega-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-35%) translateY(4px);
}

.mega-dropdown-inner {
    padding: 16px 20px;
}

.mega-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-glass);
    margin-bottom: 12px;
}

.mega-header-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--primary-emerald);
    font-weight: 600;
}

.mega-view-all-link {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.mega-view-all-link:hover {
    color: var(--primary-emerald);
}

.mega-dropdown-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px 12px;
}

.mega-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.mega-dropdown-item:hover {
    background: var(--bg-card-hover);
    border-color: rgba(16, 185, 129, 0.2);
    transform: translateX(3px);
}

.mega-item-icon {
    font-size: 20px;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 8px;
}

.mega-item-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.mega-item-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mega-item-tag {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.2;
}

.mega-dropdown-item:hover .mega-item-title {
    color: var(--primary-emerald);
}

.mega-dropdown-footer {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--border-glass);
    text-align: center;
}

.btn-mega-all-services {
    display: block;
    padding: 8px 14px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 8px;
    color: var(--primary-emerald);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-mega-all-services:hover {
    background: var(--primary-emerald);
    color: #ffffff;
}

/* Country Dropdown Menu (Task 3) */
.country-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 620px;
    max-width: 92vw;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(16, 185, 129, 0.15);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
    z-index: 1000;
    overflow: hidden;
}

.nav-item-has-dropdown:hover .country-dropdown-menu,
.nav-item-has-dropdown:focus-within .country-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(4px);
}

.country-dropdown-inner {
    padding: 16px 20px;
}

.country-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-glass);
    margin-bottom: 12px;
}

.country-header-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--primary-emerald);
    font-weight: 600;
}

.country-view-all-link {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.country-view-all-link:hover {
    color: var(--primary-emerald);
}

.country-dropdown-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 14px;
}

.country-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.country-dropdown-item:hover {
    background: var(--bg-card-hover);
    border-color: rgba(16, 185, 129, 0.2);
    transform: translateX(3px);
}

.country-item-flag {
    font-size: 22px;
    flex-shrink: 0;
}

.country-item-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.country-item-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.3;
}

.country-item-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.2;
}

.country-dropdown-item:hover .country-item-name {
    color: var(--primary-emerald);
}

.country-dropdown-footer {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--border-glass);
    text-align: center;
}

.btn-country-all-tools {
    display: block;
    padding: 8px 14px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 8px;
    color: var(--primary-emerald);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-country-all-tools:hover {
    background: var(--primary-emerald);
    color: #ffffff;
}

/* Mobile Hamburger Button (Image 1 Header Pattern) */
.mobile-hamburger-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.mobile-hamburger-btn:hover {
    background: rgba(255, 255, 255, 0.08);
}

.hamburger-line {
    width: 22px;
    height: 2.5px;
    background: var(--text-main);
    border-radius: 2px;
    transition: all 0.25s ease;
}

@media (max-width: 1024px) {
    .mobile-hamburger-btn {
        display: flex;
    }
}

/* Mobile Slide-in Drawer */
.mobile-drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-drawer-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: -340px;
    width: 320px;
    max-width: 88vw;
    height: 100vh;
    background: var(--bg-card);
    border-left: 1px solid var(--border-glass);
    z-index: 10001;
    display: flex;
    flex-direction: column;
    transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-nav-drawer.open {
    right: 0;
}

.mobile-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-glass);
    background: rgba(0, 0, 0, 0.2);
}

.mobile-drawer-close-btn {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: var(--text-main);
    width: 36px;
    height: 36px;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.mobile-drawer-close-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #ff4d4f;
}

.mobile-drawer-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.mobile-nav-link {
    display: block;
    padding: 11px 14px;
    border-radius: 8px;
    color: var(--text-main);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.mobile-nav-link:hover {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
    color: var(--primary-emerald);
}

.mobile-dropdown-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 14px;
    border-radius: 8px;
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
}

.mobile-dropdown-btn:hover,
.mobile-dropdown-item.active .mobile-dropdown-btn {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
    color: var(--primary-emerald);
}

.mobile-caret {
    font-size: 12px;
    transition: transform 0.25s ease;
}

.mobile-dropdown-item.active .mobile-caret {
    transform: rotate(180deg);
}

.mobile-sub-list {
    list-style: none;
    margin: 6px 0 6px 8px;
    padding: 4px 0 4px 10px;
    border-left: 2px solid rgba(16, 185, 129, 0.35);
    display: none;
    flex-direction: column;
    gap: 3px;
    max-height: 420px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-dropdown-item.active .mobile-sub-list {
    display: flex;
}

.mobile-sub-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    font-size: 13.5px;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
}

.mobile-sub-link:hover {
    color: var(--primary-emerald);
    background: rgba(255, 255, 255, 0.04);
}

.mobile-sub-icon {
    font-size: 16px;
    width: 22px;
    text-align: center;
    flex-shrink: 0;
}

.mobile-sub-link.all-services-link {
    color: var(--primary-emerald);
    font-weight: 700;
    border-top: 1px dashed rgba(16, 185, 129, 0.25);
    margin-top: 4px;
    padding-top: 8px;
}

.mobile-drawer-cta {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--border-glass);
}

.header-right-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Premium English Language Switch Button (Header) */
.lang-toggle-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-glass);
    color: var(--text-main);
    padding: 7px 15px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
}

.lang-toggle-btn:hover {
    background: rgba(16, 185, 129, 0.15);
    border-color: var(--primary-emerald);
    color: #34d399;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.lang-toggle-btn .lang-icon {
    font-size: 15px;
    line-height: 1;
}

.lang-toggle-btn .lang-badge {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.lang-toggle-btn .lang-text {
    font-size: 13px;
    letter-spacing: 0.2px;
}

[data-theme="light"] .lang-toggle-btn {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.14);
    color: #1e293b;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .lang-toggle-btn:hover {
    background: #059669;
    border-color: #047857;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.25);
}

[data-theme="light"] .lang-toggle-btn .lang-badge {
    background: rgba(5, 150, 105, 0.12);
    color: #059669;
}

[data-theme="light"] .lang-toggle-btn:hover .lang-badge {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* Dark/Light Mode Switch Button */
.theme-toggle-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-glass);
    color: var(--text-main);
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.2s ease;
}

.theme-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--primary-emerald);
    transform: scale(1.05);
}

.btn-header-play {
    background: #000000;
    border: 1px solid #334155;
    padding: 8px 18px;
    border-radius: 8px;
    color: #ffffff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-header-play:hover {
    border-color: var(--primary-emerald);
    transform: translateY(-2px);
}

/* Hero Section (Spacing Compacted for Seamless Continuity) */
.hero-section {
    padding: 35px 0 25px 0;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 50% 20%, rgba(6, 29, 21, 0.6) 0%, rgba(7, 11, 18, 0.98) 80%);
}

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

/* ==========================================================================
   AMBIENT CANVAS BACKGROUND ARCHITECT (100% Pure CSS + Inline SVG)
   7-Layer Visual Depth System: Zero JS, 60fps GPU Accelerated, WCAG AAA Safe
   ========================================================================== */

.hero-ambient-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    user-select: none;
    z-index: 1;
}

/* Layer 1: Ambient Glow Orbs */
.hero-ambient-bg .bg-orb {
    position: absolute;
    border-radius: 9999px;
    pointer-events: none;
    will-change: transform, opacity;
}

.hero-ambient-bg .orb-emerald {
    width: 480px;
    height: 480px;
    top: -120px;
    left: 10%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.16) 0%, rgba(5, 150, 105, 0.04) 60%, transparent 80%);
    filter: blur(85px);
    animation: orbFloatOne 16s ease-in-out infinite alternate;
}

.hero-ambient-bg .orb-gold {
    width: 420px;
    height: 420px;
    bottom: -100px;
    right: 5%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.13) 0%, rgba(217, 119, 6, 0.03) 60%, transparent 80%);
    filter: blur(90px);
    animation: orbFloatTwo 18s ease-in-out infinite alternate;
}

.hero-ambient-bg .orb-cyan {
    width: 380px;
    height: 380px;
    top: 30%;
    right: 35%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.11) 0%, rgba(14, 165, 233, 0.02) 60%, transparent 80%);
    filter: blur(80px);
    animation: orbFloatThree 14s ease-in-out infinite alternate;
}

[data-theme="light"] .hero-ambient-bg .orb-emerald {
    background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, rgba(5, 150, 105, 0.03) 60%, transparent 80%);
}
[data-theme="light"] .hero-ambient-bg .orb-gold {
    background: radial-gradient(circle, rgba(245, 158, 11, 0.10) 0%, rgba(217, 119, 6, 0.02) 60%, transparent 80%);
}
[data-theme="light"] .hero-ambient-bg .orb-cyan {
    background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, transparent 75%);
}

/* Master SVG Canvas */
.hero-ambient-canvas {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    min-width: 1200px;
    max-width: 1920px;
}

/* Layer 2: Texture Grid */
.hero-tech-grid {
    color: var(--primary-emerald);
    opacity: 0.85;
}

/* Layer 3: Monospace Telemetry HUD */
.hero-telemetry-hud text {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-weight: 600;
    letter-spacing: 0.06em;
    fill: #94a3b8;
    transition: fill 0.3s ease;
}
[data-theme="light"] .hero-telemetry-hud text {
    fill: #475569;
}

/* Layer 4 & 6: Animations */
@keyframes orbFloatOne {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(35px, -25px, 0) scale(1.08); }
    100% { transform: translate3d(-20px, 30px, 0) scale(0.95); }
}

@keyframes orbFloatTwo {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(-30px, -35px, 0) scale(1.1); }
    100% { transform: translate3d(25px, 20px, 0) scale(0.92); }
}

@keyframes orbFloatThree {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(20px, 30px, 0) scale(1.05); }
    100% { transform: translate3d(-25px, -15px, 0) scale(0.98); }
}

/* Flight Path & Remittance Flow Dash Animations */
@keyframes flightFlowDash {
    from { stroke-dashoffset: 600; }
    to { stroke-dashoffset: 0; }
}

@keyframes currencyFlowDash {
    from { stroke-dashoffset: 0; }
    to { stroke-dashoffset: -500; }
}

.path-flight-dash {
    stroke-dasharray: 8 16;
    animation: flightFlowDash 22s linear infinite;
}

.path-currency-dash {
    stroke-dasharray: 6 12;
    animation: currencyFlowDash 16s linear infinite;
}

/* Radar Sweep Animation */
@keyframes radarSweepAnim {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.radar-sweep-beam {
    transform-origin: 0px 0px;
    animation: radarSweepAnim 7s linear infinite;
}

/* Radar Pulse Ping Animation */
@keyframes pingRadarRing {
    0% { r: 6px; opacity: 0.9; stroke-width: 2px; }
    50% { opacity: 0.5; }
    100% { r: 48px; opacity: 0; stroke-width: 0.5px; }
}

.radar-ping-ring {
    animation: pingRadarRing 3s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.radar-ping-ring-delay {
    animation: pingRadarRing 3s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
    animation-delay: 1.5s;
}

/* AI Neural Pulse */
@keyframes aiCorePulse {
    0%, 100% { transform: scale(1); opacity: 0.85; }
    50% { transform: scale(1.15); opacity: 1; filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.8)); }
}

.ai-pulse-core {
    transform-origin: 0px 0px;
    animation: aiCorePulse 3.5s ease-in-out infinite;
}

/* Smart Card & Visa Verification Hologram Shimmer */
@keyframes holoShimmer {
    0%, 100% { opacity: 0.5; transform: translateY(0); }
    50% { opacity: 0.95; transform: translateY(-2px); }
}

.holo-element {
    animation: holoShimmer 4s ease-in-out infinite;
}

/* Kinetic Jet Cruising Animation */
@keyframes jetCruisingAnim {
    0% {
        transform: translate3d(-100px, 50px, 0) rotate(14deg);
        opacity: 0;
    }
    4% { opacity: 0.85; }
    45% {
        transform: translate3d(620px, -20px, 0) rotate(5deg);
        opacity: 0.9;
    }
    88% {
        transform: translate3d(1380px, -70px, 0) rotate(-4deg);
        opacity: 0.85;
    }
    96% { opacity: 0; }
    100% {
        transform: translate3d(1480px, -80px, 0) rotate(-4deg);
        opacity: 0;
    }
}

.kinetic-cruiser-jet {
    animation: jetCruisingAnim 24s linear infinite;
    will-change: transform, opacity;
}

/* Nav Lights Blinking */
@keyframes strobeLight {
    0%, 90%, 100% { opacity: 0.2; }
    92%, 96% { opacity: 1; filter: drop-shadow(0 0 6px #ffffff); }
}

.nav-strobe {
    animation: strobeLight 1.8s infinite;
}

/* Star Twinkle */
@keyframes starTwinkle {
    0%, 100% { opacity: 0.2; transform: scale(0.8); }
    50% { opacity: 0.85; transform: scale(1.2); }
}

.star-twinkle-1 { animation: starTwinkle 3s ease-in-out infinite; }
.star-twinkle-2 { animation: starTwinkle 4.2s ease-in-out infinite; animation-delay: 1.2s; }
.star-twinkle-3 { animation: starTwinkle 2.8s ease-in-out infinite; animation-delay: 2.1s; }
.star-twinkle-4 { animation: starTwinkle 5s ease-in-out infinite; animation-delay: 0.7s; }

/* Responsive adjustments */
@media (max-width: 1024px) {
    .hero-telemetry-hud {
        opacity: 0.5;
    }
    .hero-telemetry-hud .hud-secondary {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-ambient-canvas {
        min-width: 900px;
    }
    .hero-telemetry-hud .hud-tertiary {
        display: none;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .hero-ambient-bg *,
    .hero-ambient-bg *::before,
    .hero-ambient-bg *::after {
        animation: none !important;
        transition: none !important;
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--primary-emerald);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin: 0 auto 16px auto;
    text-align: center;
}

.hero-number-one {
    font-family: 'Anek Bangla', 'Noto Sans Bengali', system-ui, sans-serif !important;
    font-size: 20px !important;
    font-weight: 900 !important;
    color: #FFFFFF !important;
    display: inline-block !important;
    margin-right: 3px !important;
    text-shadow: 0 0 10px rgba(52, 211, 153, 0.9), 0 0 2px #10B981 !important;
    line-height: 1 !important;
    vertical-align: -1px !important;
    letter-spacing: 0.5px !important;
}

.hero-headline {
    font-size: clamp(22px, 2.3vw, 40px);
    font-weight: 800;
    line-height: 1.35;
    margin: 0 auto 16px auto;
    color: var(--text-main);
    text-align: center;
    white-space: normal;
    transition: color 0.3s ease;
    width: 100%;
}

.hero-headline span.brand-accent {
    background: linear-gradient(135deg, #10b981, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-desc {
    font-size: 17px;
    color: var(--text-muted);
    margin: 0 auto 20px auto;
    line-height: 1.75;
    max-width: 820px;
    text-align: center;
}

/* Hero CTA Button Layout (Task 5: 2 Buttons Top Row + 1 Centered Below) */
.hero-cta-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin: 0 auto 20px auto;
    width: 100%;
}

.hero-cta-row-top {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.hero-cta-row-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.btn-hero-primary {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    text-decoration: none;
    padding: 13px 24px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 24px var(--primary-glow);
    transition: all 0.2s ease;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.4);
}

.btn-hero-secondary {
    background: rgba(13, 21, 32, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-main);
    text-decoration: none;
    padding: 12px 26px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-emerald);
    color: var(--primary-emerald);
    transform: translateY(-2px);
}

.btn-hero-guide {
    background: rgba(245, 158, 11, 0.1);
    border: 1.5px solid rgba(245, 158, 11, 0.5);
    color: var(--gold-accent);
    text-decoration: none;
    padding: 12px 22px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-hero-guide:hover {
    background: var(--gold-accent);
    color: #0b0f19;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--gold-glow);
}

.hero-meta-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: var(--text-muted);
    font-size: 14px;
}

.stars-rating {
    color: var(--gold-accent);
    font-weight: 700;
}

.hero-img-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-glass);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.hero-img-card img {
    width: 100%;
    height: auto;
    display: block;
}

/* Section Common (Removed Excessive Gaps - Task 6) */
.section-header {
    text-align: center;
    margin-bottom: 24px;
}

.section-tag {
    color: var(--primary-emerald);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
}

.section-title {
    font-size: 30px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 780px;
    margin: 0 auto;
}

/* Services Grid - Spacing Compacted */
.services-section {
    padding: 35px 0 45px 0;
    background: var(--bg-card-sub);
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
    transition: background 0.3s ease;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

@media (max-width: 1400px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 14px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(16, 185, 129, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.service-card-top {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.service-thumb {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid var(--border-glass);
    flex-shrink: 0;
}

.service-meta-text h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 6px;
    line-height: 1.3;
}

.service-tag-label {
    font-size: 12px;
    background: rgba(245, 158, 11, 0.15);
    color: var(--gold-accent);
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
    font-weight: 600;
}

.service-desc {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-actions {
    display: flex;
    gap: 12px;
}

.btn-service-read {
    flex: 1;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--primary-emerald);
    text-decoration: none;
    text-align: center;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-service-read:hover {
    background: var(--primary-emerald);
    color: #ffffff;
}

.btn-service-app {
    background: #000000;
    border: 1px solid #334155;
    color: #ffffff;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-service-app:hover {
    border-color: var(--primary-emerald);
}

/* Interactive Calculator & Currency Hub Section (Distinct Isolated Container - Spacing Compacted) */
.tools-section {
    padding: 30px 0 35px 0;
    background: var(--bg-card-sub);
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
    position: relative;
    transition: background 0.3s ease;
}

.calculator-card {
    background: var(--bg-calc);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 20px;
    padding: 30px 32px;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.25);
    transition: background 0.3s ease, border-color 0.3s ease;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.calc-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 32px;
    align-items: stretch;
}

@media (max-width: 991px) {
    .calc-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* 1. Red Box: 2x5 Mini Country Cards */
.calc-currencies-wrapper {
    margin-bottom: 20px;
}

.calc-currencies-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 8px;
}

.calc-label {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
    letter-spacing: -0.2px;
}

.calc-mini-select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 8px;
    outline: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.calc-mini-select:focus,
.calc-mini-select:hover {
    border-color: var(--primary-emerald);
    color: var(--text-main);
}

.calc-mini-country-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

@media (max-width: 540px) {
    .calc-mini-country-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.calc-mini-card {
    background: #081320;
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 10px 4px 8px 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
    text-align: center;
    min-height: 64px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.calc-mini-card:hover {
    background: #0f2035;
    border-color: rgba(16, 185, 129, 0.45);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.calc-mini-card.active {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    border-color: #34d399 !important;
    box-shadow: 0 4px 18px rgba(5, 150, 105, 0.5) !important;
    transform: translateY(-2px);
}

.calc-mini-flag {
    font-size: 22px;
    line-height: 1;
    margin-bottom: 5px;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.calc-mini-name {
    font-size: 11.5px;
    font-weight: 700;
    color: #cbd5e1;
    line-height: 1.25;
    text-align: center;
    max-width: 95%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.calc-mini-card.active .calc-mini-name {
    color: #ffffff !important;
    font-weight: 800;
}

/* 2. Blue Box: Interactive Range Slider & Presets */
.calc-slider-wrapper {
    margin-bottom: 20px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.05) 0%, rgba(6, 182, 212, 0.02) 100%);
    border: 1.5px solid rgba(14, 165, 233, 0.25);
    border-radius: 14px;
    padding: 16px 18px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.calc-slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    flex-wrap: wrap;
    gap: 10px;
}

.calc-preset-chips {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.calc-chip {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 4px 10px;
    font-size: 12.5px;
    font-weight: 700;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.calc-chip:hover {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.4);
    color: #34d399;
}

.calc-chip.active {
    background: #10b981;
    border-color: #34d399;
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.45);
}

.calc-range-container {
    position: relative;
    padding: 8px 0;
}

.calc-range-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(to right, #10b981 0%, #10b981 var(--slider-pct, 10%), rgba(255, 255, 255, 0.14) var(--slider-pct, 10%), rgba(255, 255, 255, 0.14) 100%);
    outline: none;
    cursor: grab;
    transition: background 0.1s ease;
}

.calc-range-slider:active {
    cursor: grabbing;
}

.calc-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #ffffff;
    border: 3.5px solid #10b981;
    box-shadow: 0 0 14px rgba(16, 185, 129, 0.7);
    cursor: grab;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.calc-range-slider::-webkit-slider-thumb:hover,
.calc-range-slider:active::-webkit-slider-thumb {
    transform: scale(1.18);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.95);
}

.calc-range-slider::-moz-range-thumb {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #ffffff;
    border: 3.5px solid #10b981;
    box-shadow: 0 0 14px rgba(16, 185, 129, 0.7);
    cursor: grab;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.calc-range-bounds {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    font-size: 11.5px;
    font-weight: 700;
    color: #64748b;
}

.calc-range-hint {
    color: #0284c7;
    font-size: 11px;
    font-weight: 600;
}

/* 3. Yellow 2 Boxes */
.calc-yellow-duo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 480px) {
    .calc-yellow-duo-grid {
        grid-template-columns: 1fr;
    }
}

.calc-yellow-box {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(217, 119, 6, 0.04) 100%);
    border: 1.5px solid rgba(245, 158, 11, 0.4);
    border-radius: 12px;
    padding: 12px 14px;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.08);
}

.calc-yellow-box:hover {
    border-color: #fbbf24;
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.2);
}

.calc-yellow-label {
    font-size: 12px;
    font-weight: 700;
    color: #fbbf24;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.calc-yellow-val {
    font-size: 22px;
    font-weight: 800;
    color: #fef08a;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.calc-yellow-sub {
    font-size: 11.5px;
    font-weight: 600;
    color: #f59e0b;
    margin-top: 3px;
}

/* 4. White Box: Output Details Card */
.calc-result-box {
    background: linear-gradient(145deg, #091726, #050d17);
    border: 1.5px solid rgba(16, 185, 129, 0.35);
    border-radius: 16px;
    padding: 24px 28px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.calc-res-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.calc-res-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #34d399;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
}

.calc-res-row {
    margin-bottom: 12px;
}

.calc-res-label {
    font-size: 13.5px;
    color: var(--text-muted);
    margin-bottom: 4px;
    font-weight: 600;
}

.res-primary-val {
    font-size: 32px;
    font-weight: 800;
    color: #34d399;
    line-height: 1.2;
}

.res-sub-rate {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 2px;
}

.incentive-row {
    background: rgba(245, 158, 11, 0.08);
    border-radius: 10px;
    padding: 10px 14px;
    border: 1px solid rgba(245, 158, 11, 0.2);
    margin: 14px 0;
}

.incentive-val {
    font-size: 20px;
    font-weight: 800;
    color: #fbbf24;
}

.incentive-tag {
    display: inline-block;
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid #fbbf24;
    color: #fef08a;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    margin-left: 8px;
}

.calc-res-divider {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin: 16px 0;
}

.total-row {
    margin-top: 4px;
}

.calc-total-label {
    font-size: 15px;
    color: #38bdf8;
    font-weight: 700;
    margin-bottom: 4px;
}

.total-final-val {
    font-size: 36px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.1;
    text-shadow: 0 0 24px rgba(16, 185, 129, 0.35);
}

.calc-res-trust-badges {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    font-size: 12px;
    color: #94a3b8;
}

/* Countries 5x5 2-Row Sub-Grid inside Calculator Container */
.calc-countries-box {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-glass);
}

.calc-countries-header {
    text-align: center;
    margin-bottom: 24px;
}

.calc-countries-header h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 8px;
}

.calc-countries-header p {
    font-size: 15px;
    color: var(--text-muted);
}

.country-pill-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 12px;
}

.country-pill {
    background: #08111a !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 14px !important;
    padding: 16px 8px !important;
    text-align: center;
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3) !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative !important;
    overflow: hidden !important;
    user-select: none;
}

.country-pill:hover {
    background: #0c1824 !important;
    border-color: rgba(16, 185, 129, 0.6) !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45), 0 0 20px rgba(16, 185, 129, 0.25) !important;
}

.country-pill:active {
    transform: translateY(-1px) !important;
}

.pill-ambient-bg {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    pointer-events: none !important;
    z-index: 1 !important;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.country-pill > span {
    position: relative !important;
    z-index: 2 !important;
}

.country-code-badge {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 5px;
    font-family: system-ui, -apple-system, sans-serif;
}

.country-name {
    font-size: 13.5px;
    font-weight: 700;
    color: #cbd5e1;
    display: block;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.country-currency {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    white-space: nowrap;
}

.country-currency-arrow {
    color: var(--primary-emerald);
    font-size: 10px;
}

.pill-currency-watermark {
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

.pill-radar-ring {
    transform-box: fill-box;
    transform-origin: center;
    animation: pillRadarSpin 18s linear infinite;
}

@keyframes pillRadarSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.country-pill:hover .pill-radar-ring {
    animation-duration: 8s;
    opacity: 0.6;
}

.country-pill:hover .pill-currency-watermark {
    opacity: 0.32;
    transform: scale(1.14);
}

@media (max-width: 1400px) {
    .country-pill-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1024px) {
    .country-pill-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }
    .country-pill {
        padding: 12px 6px;
    }
    .country-code-badge {
        font-size: 18px;
    }
    .country-name {
        font-size: 12.5px;
    }
    .country-currency {
        font-size: 11px;
    }
}

@media (max-width: 640px) {
    .country-pill-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .country-pill {
        padding: 12px 6px;
    }
}

/* ==========================================================================
   Country Rate Audio Popup Modal (Bangladeshi Male Neural Voice Engine)
   ========================================================================== */
.rate-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 8, 14, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.rate-modal-backdrop.active {
    display: flex;
    opacity: 1;
}

.rate-modal-dialog {
    background: #0a111a;
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 20px;
    max-width: 580px;
    width: 100%;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 35px rgba(16, 185, 129, 0.2);
    overflow: hidden;
    transform: scale(0.94) translateY(15px);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.rate-modal-backdrop.active .rate-modal-dialog {
    transform: scale(1) translateY(0);
}

.rate-modal-header {
    background: linear-gradient(135deg, #0d1e18 0%, #0c1524 100%);
    padding: 18px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rate-modal-title-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rate-modal-flag {
    font-size: 32px;
    line-height: 1;
}

.rate-modal-country-name {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
}

.rate-modal-country-code {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-emerald);
    background: rgba(16, 185, 129, 0.15);
    padding: 2px 8px;
    border-radius: 6px;
    display: inline-block;
}

.rate-modal-close {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rate-modal-close:hover {
    background: #ef4444;
    color: #ffffff;
    border-color: #ef4444;
    transform: rotate(90deg);
}

.rate-modal-body {
    padding: 22px 24px;
}

/* Audio Player Bar */
.modal-audio-player-box {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 14px;
    padding: 14px 18px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.audio-meta-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.audio-play-toggle-btn {
    background: linear-gradient(135deg, #10b981, #059669);
    border: none;
    color: #ffffff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    flex-shrink: 0;
}

.audio-play-toggle-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

.audio-label-title {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 6px;
}

.audio-label-sub {
    font-size: 12px;
    color: var(--primary-emerald);
    font-weight: 600;
}

/* Sound Wave Equalizer */
.equalizer-wave {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 24px;
}

.equalizer-bar {
    width: 3px;
    background: var(--primary-emerald);
    border-radius: 2px;
    height: 4px;
    transition: height 0.15s ease;
}

.equalizer-wave.playing .equalizer-bar:nth-child(1) { animation: eqBounce 0.8s ease-in-out infinite 0.1s; }
.equalizer-wave.playing .equalizer-bar:nth-child(2) { animation: eqBounce 0.9s ease-in-out infinite 0.3s; }
.equalizer-wave.playing .equalizer-bar:nth-child(3) { animation: eqBounce 0.7s ease-in-out infinite 0.2s; }
.equalizer-wave.playing .equalizer-bar:nth-child(4) { animation: eqBounce 1.0s ease-in-out infinite 0.4s; }
.equalizer-wave.playing .equalizer-bar:nth-child(5) { animation: eqBounce 0.85s ease-in-out infinite 0.15s; }

@keyframes eqBounce {
    0%, 100% { height: 4px; }
    50% { height: 22px; }
}

/* Key Metrics 3-Col Highlight Grid */
.modal-rate-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}

.metric-pill-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    padding: 10px 14px;
}

.metric-pill-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.metric-pill-val {
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
}

.rate-modal-paragraph {
    font-size: 15px;
    line-height: 1.8;
    color: #e2e8f0;
    margin: 0;
    background: rgba(255, 255, 255, 0.02);
    padding: 16px;
    border-radius: 12px;
    border-left: 3px solid var(--primary-emerald);
}

.rate-modal-footer-cta {
    margin-top: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.rate-modal-calc-btn {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: var(--gold-accent);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.rate-modal-calc-btn:hover {
    background: var(--gold-accent);
    color: #0b0f19;
}

/* FAQ Section & 2-Column Accordion */
.faq-section {
    padding: 85px 0 95px 0;
    background: var(--bg-card-sub);
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
    transition: background 0.3s ease;
}

.faq-2col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}

.faq-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.faq-accordion-item:hover {
    border-color: rgba(16, 185, 129, 0.4);
    transform: translateY(-1px);
}

.faq-accordion-item.active {
    border-color: var(--primary-emerald);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.12);
}

.faq-header {
    padding: 18px 22px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    user-select: none;
    background: transparent;
    transition: background 0.2s ease;
}

.faq-header:hover {
    background: rgba(16, 185, 129, 0.04);
}

.faq-question-text {
    font-size: 16.5px;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.5;
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.faq-q-badge {
    color: var(--gold-accent);
    font-size: 15px;
    font-weight: 800;
    flex-shrink: 0;
}

.faq-toggle-icon {
    font-size: 18px;
    font-weight: 700;
    color: var(--gold-accent);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.faq-accordion-item.active .faq-toggle-icon {
    background: var(--gold-accent);
    color: #0b0f19;
}

.faq-body {
    display: none;
    padding: 0 22px 20px 22px;
}

.faq-accordion-item.active .faq-body {
    display: block;
}

.faq-answer-text {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.8;
    border-top: 1px solid var(--border-glass);
    padding-top: 14px;
    margin: 0;
}

/* FAQ Collapsible Smooth Sliding Container Styles */
.faq-collapsible-wrapper {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: max-height 0.75s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease, transform 0.5s ease;
    visibility: hidden;
}
.faq-collapsible-wrapper.expanded {
    max-height: 5000px !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    visibility: visible !important;
}
.faq-slide-trigger-wrap {
    text-align: center;
    margin: 28px 0 10px 0;
    position: relative;
    z-index: 2;
}
.btn-faq-slide-toggle {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(16, 185, 129, 0.12);
    border: 1.5px solid #10B981;
    color: #34D399;
    padding: 13px 28px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 18px rgba(16, 185, 129, 0.2);
    outline: none;
}
.btn-faq-slide-toggle:hover {
    background: #10B981;
    color: #FFFFFF;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.45);
    transform: translateY(-2px);
}
.faq-slide-arrow-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease;
}
.btn-faq-slide-toggle:hover .faq-slide-arrow-circle {
    background: rgba(255, 255, 255, 0.25);
}
.btn-faq-slide-toggle.active .faq-slide-arrow-circle {
    transform: rotate(180deg);
}
.faq-chevron-icon {
    transition: transform 0.3s ease;
    display: block;
}

/* Centered View All 150 FAQs Button */
.faq-view-all-wrap {
    text-align: center;
    margin-top: 48px;
}

.btn-faq-view-all {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(245, 158, 11, 0.15));
    border: 1.5px solid var(--primary-emerald);
    color: var(--text-main);
    padding: 15px 34px;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.15);
}

.btn-faq-view-all:hover {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--primary-glow);
}

/* Category Filter Tags for faq.html */
.faq-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
}

.faq-filter-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    color: var(--text-muted);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.faq-filter-btn:hover,
.faq-filter-btn.active {
    background: var(--primary-emerald);
    color: #ffffff;
    border-color: var(--primary-emerald);
    box-shadow: 0 4px 14px var(--primary-glow);
}

@media (max-width: 960px) {
    .faq-2col-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   STICKY APP BAR AMBIENT CANVAS SYSTEM (100% Pure CSS + Inline SVG)
   Distinct Non-Hero Elements: BMET Chip, MRZ Barcode Scanner, Verification Shield
   ========================================================================== */
.sticky-app-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(3, 11, 28, 0.96) 0%, rgba(5, 21, 48, 0.94) 50%, rgba(2, 9, 24, 0.96) 100%);
    border-top: 1.5px solid rgba(14, 165, 233, 0.55);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.5), 0 0 24px rgba(14, 165, 233, 0.2);
    padding: 10px 20px;
    z-index: 999;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    overflow: hidden;
}

.sticky-ambient-canvas-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    user-select: none;
    z-index: 1;
}

.sticky-ambient-orb {
    position: absolute;
    border-radius: 9999px;
    filter: blur(40px);
    pointer-events: none;
    will-change: transform, opacity;
}

.sticky-orb-1 {
    width: 280px;
    height: 120px;
    top: -30px;
    left: 15%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.3) 0%, rgba(2, 132, 199, 0) 70%);
    animation: stickyOrbFloat1 12s ease-in-out infinite alternate;
}

.sticky-orb-2 {
    width: 320px;
    height: 130px;
    bottom: -40px;
    left: 50%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, rgba(14, 165, 233, 0) 70%);
    animation: stickyOrbFloat2 15s ease-in-out infinite alternate;
}

.sticky-orb-3 {
    width: 260px;
    height: 100px;
    top: -20px;
    right: 10%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.22) 0%, rgba(79, 70, 229, 0) 70%);
    animation: stickyOrbFloat1 14s ease-in-out infinite alternate-reverse;
}

.sticky-ambient-svg {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    min-width: 1100px;
    max-width: 1920px;
    pointer-events: none;
}

/* 60fps GPU Keyframe Animations */
@keyframes stickyOrbFloat1 {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    100% { transform: translate3d(35px, -10px, 0) scale(1.12); }
}

@keyframes stickyOrbFloat2 {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    100% { transform: translate3d(-30px, 10px, 0) scale(0.92); }
}

/* Horizontal Data Rail Stream */
.sticky-rail-stream {
    stroke-dasharray: 8 20;
    animation: stickyRailDash 8s linear infinite;
}

.sticky-rail-stream-fast {
    stroke-dasharray: 6 16;
    animation: stickyRailDash 5s linear infinite;
}

@keyframes stickyRailDash {
    to { stroke-dashoffset: -320px; }
}

/* Optical MRZ Barcode Laser Sweep */
.sticky-mrz-laser {
    animation: stickyLaserOscillate 3.2s ease-in-out infinite alternate;
}

@keyframes stickyLaserOscillate {
    0% { transform: translate3d(-32px, 0, 0); opacity: 0.4; }
    50% { opacity: 1; }
    100% { transform: translate3d(32px, 0, 0); opacity: 0.4; }
}

/* BMET Smart Card Chip Core Pulse */
.sticky-chip-glow {
    animation: stickyChipPulse 2.8s ease-in-out infinite;
    transform-origin: center;
}

@keyframes stickyChipPulse {
    0%, 100% { opacity: 0.45; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1.15); }
}

/* Verification Shield Ripple */
.sticky-shield-ripple {
    animation: stickyShieldPing 3s cubic-bezier(0, 0, 0.2, 1) infinite;
    transform-origin: center;
}

@keyframes stickyShieldPing {
    0% { transform: scale(0.85); opacity: 0.85; }
    70%, 100% { transform: scale(1.6); opacity: 0; }
}

/* High Speed Photon Cruisers */
.sticky-photon-packet-1 {
    animation: stickyPhotonCruise1 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.sticky-photon-packet-2 {
    animation: stickyPhotonCruise2 8.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes stickyPhotonCruise1 {
    0% { transform: translate3d(240px, 24px, 0); opacity: 0; }
    15% { opacity: 1; }
    85% { opacity: 1; }
    100% { transform: translate3d(1200px, 24px, 0); opacity: 0; }
}

@keyframes stickyPhotonCruise2 {
    0% { transform: translate3d(350px, 48px, 0); opacity: 0; }
    15% { opacity: 1; }
    85% { opacity: 1; }
    100% { transform: translate3d(1100px, 48px, 0); opacity: 0; }
}

/* Twinkle Micro-Sparkles */
.sticky-sparkle {
    animation: stickySparkleTwinkle 2.4s ease-in-out infinite alternate;
}

.sticky-sparkle-d1 { animation-delay: 0.7s; }
.sticky-sparkle-d2 { animation-delay: 1.4s; }
.sticky-sparkle-d3 { animation-delay: 2.1s; }

@keyframes stickySparkleTwinkle {
    0% { opacity: 0.15; transform: scale(0.8); }
    100% { opacity: 0.85; transform: scale(1.3); }
}

/* Responsive adjustment & Accessibility */
@media (max-width: 768px) {
    .sticky-ambient-svg .sticky-module-hide-mobile {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sticky-ambient-orb,
    .sticky-rail-stream,
    .sticky-rail-stream-fast,
    .sticky-mrz-laser,
    .sticky-chip-glow,
    .sticky-shield-ripple,
    .sticky-photon-packet-1,
    .sticky-photon-packet-2,
    .sticky-sparkle,
    .sticky-football-rover,
    .sticky-football-bounce,
    .sticky-football-spinner {
        animation: none !important;
    }
}

/* Football Rolling & Bouncing Probashi Logo Rover in Sticky Bar */
.sticky-football-rover {
    position: absolute;
    top: 14px;
    left: 10px;
    width: 44px;
    height: 44px;
    pointer-events: none;
    z-index: 2;
    animation: stickyFootballWander 22s ease-in-out infinite alternate;
}

@keyframes stickyFootballWander {
    0% { transform: translate3d(15px, 0, 0); }
    12% { transform: translate3d(220px, 0, 0); }
    25% { transform: translate3d(460px, 0, 0); }
    40% { transform: translate3d(720px, 0, 0); }
    58% { transform: translate3d(980px, 0, 0); }
    72% { transform: translate3d(1180px, 0, 0); }
    85% { transform: translate3d(850px, 0, 0); }
    100% { transform: translate3d(120px, 0, 0); }
}

.sticky-football-bounce {
    animation: stickyFootballDropBounce 1.8s cubic-bezier(0.28, 0.84, 0.42, 1) infinite alternate;
}

@keyframes stickyFootballDropBounce {
    0% {
        transform: translate3d(0, -10px, 0) scale(1, 0.96);
    }
    45% {
        transform: translate3d(0, 8px, 0) scale(0.96, 1.04);
    }
    100% {
        transform: translate3d(0, 16px, 0) scale(1.08, 0.88);
    }
}

.sticky-football-spinner {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    animation: stickyFootballSpin 3.6s linear infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.35) 0%, rgba(3, 15, 38, 0.95) 75%);
    border: 2px solid #0284c7;
    box-shadow: 0 0 16px rgba(14, 165, 233, 0.7), inset 0 0 8px rgba(56, 189, 248, 0.6);
    overflow: hidden;
}

@keyframes stickyFootballSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.sticky-football-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.sticky-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sticky-text {
    display: flex;
    align-items: center;
    gap: 14px;
}

.sticky-title {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
}

.sticky-sub {
    font-size: 13px;
    color: var(--text-muted);
}

/* ==========================================================================
   Global Footer: Structured 4-Card Box Architecture (Image 5 Pattern)
   ========================================================================== */
footer.site-footer {
    background: #06090e;
    border-top: 1px solid var(--border-glass);
    padding: 24px 0 35px 0;
    color: var(--text-muted);
    font-size: 15px;
}

/* Defensive fallback for any legacy footer markup */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    width: 100%;
}
.footer-col {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.footer-top-row {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.footer-google-play-banner {
    background: #000000;
    border: 1.5px solid #334155;
    border-radius: 14px;
    padding: 10px 24px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: all 0.25s ease;
}

.footer-google-play-banner:hover {
    border-color: var(--primary-emerald);
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(16, 185, 129, 0.25);
}

.play-banner-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-banner-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.play-banner-sub {
    font-size: 11px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
    line-height: 1;
}

.play-banner-title {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    font-family: system-ui, -apple-system, sans-serif;
}

.footer-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 35px;
}

.footer-card-box {
    background: #0b1118;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.footer-card-box:hover {
    border-color: rgba(16, 185, 129, 0.3);
    transform: translateY(-2px);
}

.footer-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-card-icon {
    font-size: 22px;
}

.footer-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.footer-card-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin: 0;
    padding: 0;
}

.footer-card-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-card-links a:hover {
    color: var(--primary-emerald);
    transform: translateX(3px);
}

.footer-flag {
    font-size: 16px;
}

.footer-card-brand .footer-card-header {
    align-items: center;
}

.footer-brand-title-wrap {
    display: flex;
    flex-direction: column;
}

.footer-card-desc {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-trust-badge {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--primary-emerald);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
}

.btn-footer-red-download {
    background: #e50914;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 18px rgba(229, 9, 20, 0.35);
    transition: all 0.25s ease;
    width: 100%;
    margin-top: auto;
}

.btn-footer-red-download:hover {
    background: #f40612;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(229, 9, 20, 0.5);
    color: #ffffff;
}

.footer-bottom-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--border-glass);
}

.footer-copyright-text {
    margin: 0;
    font-size: 14px;
    color: var(--text-muted);
}

.footer-bottom-policy-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
}

.footer-bottom-policy-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom-policy-links a:hover {
    color: var(--primary-emerald);
}

.policy-divider {
    color: var(--border-glass);
    font-size: 12px;
}

/* Responsive Rules for Footer & Hero */
@media (max-width: 1024px) {
    .header-links { display: none !important; }
    
    /* Footer strictly 2x2 Card Grid on Tablet & Mobile (Image 5 / Image 1 Pattern) */
    .footer-cards-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    .footer-card-box {
        padding: 16px 14px !important;
        border-radius: 14px !important;
    }
    .footer-card-header {
        margin-bottom: 12px !important;
        padding-bottom: 8px !important;
        gap: 8px !important;
    }
    .footer-card-icon {
        font-size: 20px !important;
    }
    .footer-card-title {
        font-size: 16px !important;
    }
    .footer-card-links {
        gap: 8px !important;
    }
    .footer-card-links a {
        font-size: 13px !important;
    }
    .footer-card-desc {
        font-size: 12.5px !important;
        line-height: 1.55 !important;
        margin-bottom: 14px !important;
    }
    .btn-footer-red-download {
        padding: 10px 14px !important;
        font-size: 13.5px !important;
    }
}

@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-headline { font-size: 28px; white-space: normal; }
    .hero-cta-group { justify-content: center; }
    .hero-meta-proof { justify-content: center; }
    .calc-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
    /* Maintain 2-column grid on mobile as well */
    .footer-cards-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    .footer-card-box {
        padding: 14px 10px !important;
        border-radius: 12px !important;
    }
    .footer-card-header {
        gap: 6px !important;
        margin-bottom: 10px !important;
        padding-bottom: 6px !important;
    }
    .footer-card-icon {
        font-size: 18px !important;
    }
    .footer-card-title {
        font-size: 14px !important;
    }
    .footer-card-links {
        gap: 7px !important;
    }
    .footer-card-links a {
        font-size: 11.5px !important;
    }
    .footer-card-desc {
        font-size: 11.5px !important;
        line-height: 1.5 !important;
        margin-bottom: 10px !important;
    }
    .footer-brand-title-wrap h3 {
        font-size: 14px !important;
    }
    .footer-brand-title-wrap span {
        font-size: 10.5px !important;
    }
    .footer-logo-anim {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        min-height: 42px !important;
    }
    .footer-logo-anim .brand-logo-img {
        width: 42px !important;
        height: 42px !important;
    }
    .footer-trust-badge {
        font-size: 11px !important;
        padding: 5px 8px !important;
    }
    .btn-footer-red-download {
        padding: 8px 10px !important;
        font-size: 12px !important;
    }
    .footer-bottom-bar {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    .footer-bottom-policy-links {
        justify-content: center;
    }
    .services-grid { grid-template-columns: 1fr; }
    .sticky-sub { display: none; }
}

/* ==========================================================================
   Services Hub & Category Layout Styling
   ========================================================================== */

/* Breadcrumb Bar */
.page-breadcrumb-bar {
    padding: 24px 0 10px 0;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-muted);
}

.breadcrumb-nav a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-nav a:hover {
    color: var(--primary-emerald);
}

.breadcrumb-separator {
    color: var(--border-glass);
}

.breadcrumb-current {
    color: var(--primary-emerald);
    font-weight: 600;
}

/* Page Hero Section */
.page-hero-section {
    padding: 30px 0 50px 0;
    text-align: center;
    position: relative;
}

.page-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--primary-emerald);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.page-hero-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 18px;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.page-hero-subtitle {
    font-size: clamp(16px, 1.8vw, 19px);
    color: var(--text-muted);
    max-width: 860px;
    margin: 0 auto 30px auto;
    line-height: 1.8;
}

/* Quick Filter / Search Box */
.hub-search-wrap {
    max-width: 580px;
    margin: 0 auto 20px auto;
    position: relative;
}

.hub-search-input {
    width: 100%;
    padding: 16px 20px 16px 50px;
    background: var(--input-bg);
    border: 1.5px solid var(--border-glass);
    border-radius: 14px;
    color: var(--text-main);
    font-size: 16px;
    font-family: inherit;
    outline: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hub-search-input:focus {
    border-color: var(--primary-emerald);
    box-shadow: 0 0 0 4px var(--primary-glow);
}

.hub-search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: var(--text-muted);
    pointer-events: none;
}

/* Services Grid */
.hub-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 80px;
}

.service-hub-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
    position: relative;
}

.service-hub-card:hover {
    transform: translateY(-6px);
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 20px var(--primary-glow);
}

.service-card-media {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #000;
}

.service-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-hub-card:hover .service-card-img {
    transform: scale(1.05);
}

.service-card-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(7, 11, 18, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-glass);
    color: var(--gold-accent);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
}

.service-card-icon-floating {
    position: absolute;
    bottom: -20px;
    left: 22px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 8px 18px var(--primary-glow);
    border: 2px solid var(--bg-card);
}

.service-card-body {
    padding: 30px 22px 22px 22px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-card-title {
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-main);
    line-height: 1.4;
}

.service-card-desc {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    border-top: 1px solid var(--border-glass);
    padding-top: 16px;
    margin-top: auto;
}

.btn-card-category {
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    color: var(--text-main);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-card-category:hover {
    background: rgba(16, 185, 129, 0.15);
    border-color: var(--primary-emerald);
    color: var(--primary-emerald);
}

.btn-card-pillar {
    padding: 10px 14px;
    background: linear-gradient(135deg, #10b981, #059669);
    border: 1px solid var(--primary-emerald);
    border-radius: 10px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px var(--primary-glow);
}

.btn-card-pillar:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px var(--primary-glow);
}

/* Category Single Page Layout */
.category-hero {
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.08) 0%, transparent 100%);
    border-bottom: 1px solid var(--border-glass);
    padding: 40px 0 60px 0;
}

.category-hero-inner {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.category-meta-tags {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.category-tag {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--gold-accent);
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
}

.category-verified-tag {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--primary-emerald);
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
}

.category-content-wrap {
    padding: 60px 0 80px 0;
}

.category-layout-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.category-main-article {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 20px;
    padding: 36px 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.category-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 18px;
    padding: 24px 26px;
}

.sidebar-widget-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-category-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-category-item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.sidebar-category-item a:hover,
.sidebar-category-item.active a {
    background: var(--bg-card-hover);
    color: var(--primary-emerald);
    font-weight: 600;
}

/* Master Guide Highlight in Category Page */
.featured-pillar-highlight {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(13, 21, 36, 0.8));
    border: 1.5px solid var(--primary-emerald);
    border-radius: 18px;
    padding: 28px;
    margin: 30px 0;
    position: relative;
    overflow: hidden;
}

.featured-pillar-highlight::before {
    content: "⭐ সম্পূর্ণ প্রামাণ্য গাইড (১০,০০০+ শব্দ)";
    display: inline-block;
    background: var(--gold-accent);
    color: #0b0f19;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 6px;
    margin-bottom: 14px;
}

.featured-pillar-highlight h3 {
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.4;
}

.featured-pillar-highlight p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.btn-featured-pillar {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 16px var(--primary-glow);
    transition: all 0.2s ease;
}

.btn-featured-pillar:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--primary-glow);
}

/* Category Feature Cards (3 Grid) */
.category-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.category-feature-card {
    background: var(--bg-card-sub);
    border: 1px solid var(--border-glass);
    border-radius: 14px;
    padding: 20px;
    transition: transform 0.2s ease;
}

.category-feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(16, 185, 129, 0.3);
}

.category-feature-icon {
    font-size: 28px;
    margin-bottom: 12px;
    display: inline-block;
}

.category-feature-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
}

.category-feature-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

@media (max-width: 1100px) {
    .hub-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .category-layout-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hub-services-grid {
        grid-template-columns: 1fr;
    }
    .category-feature-grid {
        grid-template-columns: 1fr;
    }
    .category-main-article {
        padding: 24px 20px;
    }
    .mega-dropdown-menu {
        display: none !important;
    }
}

/* ==========================================================================
   Trust & Legal Policy Pages (Privacy Policy, Terms, About, Contact, Disclaimer)
   ========================================================================== */
.legal-content-container {
    max-width: 960px;
    margin: 0 auto 80px auto;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 48px 56px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
    .legal-content-container {
        padding: 24px 20px;
        margin-bottom: 40px;
    }
}

.legal-meta-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    padding-bottom: 24px;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--border-glass);
    font-size: 14px;
    color: var(--text-muted);
}

.legal-meta-badge {
    background: rgba(16, 185, 129, 0.15);
    color: var(--primary-emerald);
    padding: 4px 12px;
    border-radius: 999px;
    font-weight: 600;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.legal-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-emerald);
    margin: 20px 0 10px 0;
}

.legal-section p {
    font-size: 16px;
    line-height: 1.85;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.legal-section ul, .legal-section ol {
    margin: 16px 0 20px 24px;
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.8;
}

.legal-section li {
    margin-bottom: 8px;
}

.legal-highlight-box {
    background: rgba(16, 185, 129, 0.08);
    border-left: 4px solid var(--primary-emerald);
    border-radius: 0 12px 12px 0;
    padding: 18px 24px;
    margin: 24px 0;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-main);
}

.legal-table-wrap {
    overflow-x: auto;
    margin: 24px 0;
    border-radius: 12px;
    border: 1px solid var(--border-glass);
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    text-align: left;
}

.legal-table th {
    background: rgba(255, 255, 255, 0.05);
    padding: 14px 18px;
    color: var(--primary-emerald);
    font-weight: 700;
    border-bottom: 1px solid var(--border-glass);
}

.legal-table td {
    padding: 14px 18px;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-table tr:last-child td {
    border-bottom: none;
}

/* Contact Grid & Form */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 24px;
}

@media (max-width: 860px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 28px;
}

.contact-card h3 {
    font-size: 20px;
    color: var(--text-main);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-field {
    margin-bottom: 18px;
}

.contact-field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
}

.contact-field input, .contact-field textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--input-bg);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    color: var(--text-main);
    font-size: 15px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s ease;
}

.contact-field input:focus, .contact-field textarea:focus {
    border-color: var(--primary-emerald);
}

.btn-contact-submit {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    width: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-contact-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-glow);
}

/* ==========================================================================
   2-COLUMN ARTICLE LAYOUT WITH STICKY 3-APP SIDEBAR
   ========================================================================== */

.article-layout-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 36px;
    align-items: start;
    max-width: 1360px;
    margin: 0 auto;
    padding: 24px 20px 0 20px;
    position: relative;
}

.article-main-content {
    min-width: 0;
    max-width: 100%;
}

/* Ensure article content doesn't double-constrain container */
.article-main-content > .container {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Sticky Right Sidebar */
.article-sticky-sidebar {
    position: sticky;
    top: 86px;
    width: 340px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 20;
}

/* Sidebar Top Header Bar */
.sidebar-apps-header {
    background: linear-gradient(135deg, rgba(6, 78, 59, 0.95), rgba(15, 30, 48, 0.95));
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 16px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.sidebar-apps-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.sidebar-apps-header-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.sidebar-apps-header-text {
    min-width: 0;
}

.sidebar-apps-header-tag {
    font-size: 10px;
    font-weight: 700;
    color: #6ee7b7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
    margin-bottom: 2px;
}

.sidebar-apps-header-title {
    font-size: 14px;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-apps-header-badge {
    font-size: 11px;
    font-weight: 800;
    color: #a7f3d0;
    background: rgba(16, 185, 129, 0.22);
    border: 1px solid rgba(52, 211, 153, 0.45);
    border-radius: 999px;
    padding: 3px 9px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Sidebar App Cards Container */
.sidebar-app-cards-wrap {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Individual App Card */
.sidebar-app-card {
    background: linear-gradient(145deg, rgba(13, 23, 30, 0.95), rgba(9, 17, 23, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 18px;
    padding: 16px 14px;
    text-align: center;
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.sidebar-app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.4), transparent);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.sidebar-app-card:hover {
    transform: translateY(-3px);
    border-color: rgba(16, 185, 129, 0.45);
    box-shadow: 0 10px 28px rgba(16, 185, 129, 0.15);
}

.sidebar-app-card:hover::before {
    opacity: 1;
}

/* Card Theme Variations */
.sidebar-app-card.card-flight {
    border-color: rgba(16, 185, 129, 0.2);
}
.sidebar-app-card.card-flight:hover {
    border-color: rgba(16, 185, 129, 0.55);
    box-shadow: 0 10px 28px rgba(16, 185, 129, 0.2);
}

.sidebar-app-card.card-taka {
    border-color: rgba(245, 158, 11, 0.2);
}
.sidebar-app-card.card-taka:hover {
    border-color: rgba(245, 158, 11, 0.55);
    box-shadow: 0 10px 28px rgba(245, 158, 11, 0.18);
}
.sidebar-app-card.card-taka::before {
    background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.5), transparent);
}

.sidebar-app-card.card-probashi {
    border-color: rgba(16, 185, 129, 0.25);
}
.sidebar-app-card.card-probashi:hover {
    border-color: rgba(16, 185, 129, 0.6);
    box-shadow: 0 10px 28px rgba(16, 185, 129, 0.22);
}

/* App Icon Container */
.sidebar-app-icon-wrap {
    width: 60px;
    height: 60px;
    margin: 0 auto 10px auto;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s ease;
}

.sidebar-app-card:hover .sidebar-app-icon-wrap {
    transform: scale(1.05) rotate(1deg);
}

.sidebar-app-icon-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

/* Animated Logo Container inside Sidebar */
.sidebar-app-anim-logo {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-app-anim-logo svg {
    width: 100% !important;
    height: 100% !important;
    border-radius: 16px;
}

.sidebar-app-anim-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

/* In-Article Conversion Card Animated Logo Badge */
.card-anim-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-anim-logo:hover {
    transform: scale(1.05);
}

.card-anim-logo svg,
.card-anim-logo .lottie-anim-inner svg {
    width: 100% !important;
    height: 100% !important;
    display: block;
    border-radius: inherit;
}

.card-anim-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: inherit;
}

/* App Name Title */
.sidebar-app-title {
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 6px 0;
    line-height: 1.25;
}

/* Meta: Badge + Stars */
.sidebar-app-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.sidebar-app-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    white-space: nowrap;
}

.sidebar-app-card.card-flight .sidebar-app-badge {
    background: rgba(16, 185, 129, 0.15);
    color: #6ee7b7;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.sidebar-app-card.card-taka .sidebar-app-badge {
    background: rgba(245, 158, 11, 0.15);
    color: #fcd34d;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.sidebar-app-card.card-probashi .sidebar-app-badge {
    background: rgba(16, 185, 129, 0.15);
    color: #6ee7b7;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.sidebar-app-rating {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 999px;
    padding: 2px 7px;
    font-size: 10.5px;
    font-weight: 700;
    color: #fbbf24;
}

/* Description */
.sidebar-app-desc {
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.5;
    margin: 0 0 12px 0;
    min-height: 36px;
    padding: 0 4px;
}

/* Action Buttons */
.sidebar-app-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-btn-download {
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 9px 8px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.sidebar-app-card.card-flight .sidebar-btn-download,
.sidebar-app-card.card-probashi .sidebar-btn-download {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.sidebar-app-card.card-flight .sidebar-btn-download:hover,
.sidebar-app-card.card-probashi .sidebar-btn-download:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-1.5px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
}

.sidebar-app-card.card-taka .sidebar-btn-download {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
}

.sidebar-app-card.card-taka .sidebar-btn-download:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
    transform: translateY(-1.5px);
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.35);
}

.sidebar-btn-features {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #e2e8f0;
    font-size: 12px;
    font-weight: 600;
    padding: 9px 8px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.sidebar-btn-features:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    transform: translateY(-1.5px);
}

/* Sidebar Trust Card */
.sidebar-trust-card {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 10px 14px;
    font-size: 11px;
    color: #94a3b8;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    line-height: 1.4;
}

/* ==========================================================================
   AUTO-RESPONSIVE ARTICLE LAYOUT: TABLET & MOBILE VIEWPORT FULL-SCREEN RULES
   ========================================================================== */

/* Tablet & Smaller Screens (max-width: 1024px) - Auto Full-Screen Article Body */
@media (max-width: 1024px) {
    .main-header {
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 9999 !important;
    }

    .header-links {
        display: none !important;
    }

    .nav-row {
        justify-content: space-between !important;
        padding: 10px 16px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .article-layout-wrapper {
        grid-template-columns: 1fr !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 20px 16px 0 16px !important;
        gap: 28px !important;
        box-sizing: border-box !important;
    }

    .article-main-content {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .article-main-content > .container,
    .article-main-content .container,
    .container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .article-header {
        padding: 28px 20px !important;
        border-radius: 16px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .chapter-card,
    .content-chapter,
    .content-card {
        padding: 24px 20px !important;
        border-radius: 16px !important;
        margin-bottom: 24px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .article-sticky-sidebar {
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 36px !important;
        top: auto !important;
    }

    .sidebar-app-cards-wrap {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
        gap: 16px !important;
        width: 100% !important;
    }

    .sidebar-app-card {
        width: 100% !important;
    }
}

/* Mobile Devices (max-width: 768px) - Full-Screen Edge-to-Edge Auto-Responsive */
@media (max-width: 768px) {
    html, body {
        overflow-x: clip !important;
        width: 100% !important;
    }

    .main-header {
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 9999 !important;
    }

    .article-layout-wrapper {
        padding: 12px 10px 0 10px !important;
        gap: 20px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .article-main-content {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
    }

    .article-main-content > .container,
    .article-main-content .container,
    .container {
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .article-header,
    .post-header,
    header.article-header {
        padding: 10px 12px !important;
        border-radius: 12px !important;
        margin-bottom: 10px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .article-container,
    .main-container {
        padding-top: 12px !important;
    }

    .breadcrumb-nav {
        margin-bottom: 5px !important;
        font-size: 11.5px !important;
        gap: 4px !important;
        line-height: 1.25 !important;
    }

    .article-title,
    h1.article-title,
    .post-title,
    .entry-title,
    .article-header h1,
    .article-main-content h1,
    .main-container h1,
    article h1,
    main h1 {
        font-size: 18px !important;
        line-height: 1.32 !important;
        margin: 0 0 8px 0 !important;
        font-weight: 800 !important;
        letter-spacing: -0.01em !important;
    }

    .article-meta-bar,
    .header-meta,
    .post-meta {
        padding-bottom: 6px !important;
        margin-bottom: 10px !important;
        gap: 5px 10px !important;
        font-size: 11px !important;
        line-height: 1.3 !important;
    }

    .article-lead {
        font-size: 14.5px !important;
        line-height: 1.65 !important;
    }

    .header-meta {
        font-size: 11.5px !important;
        gap: 6px !important;
        margin-bottom: 8px !important;
    }

    .chapter-card,
    .content-chapter,
    .content-card {
        padding: 18px 12px !important;
        border-radius: 14px !important;
        margin-bottom: 20px !important;
        width: 100% !important;
    }

    .chapter-header {
        margin-bottom: 16px !important;
        padding-bottom: 12px !important;
    }

    .chapter-title {
        font-size: 19px !important;
        line-height: 1.4 !important;
    }

    .chapter-body {
        padding: 0 !important;
        width: 100% !important;
    }

    .chapter-body p,
    .chapter-body li {
        font-size: 15px !important;
        line-height: 1.75 !important;
    }

    .chapter-body ul,
    .chapter-body ol {
        margin-left: 18px !important;
        padding-left: 0 !important;
    }

    .conversion-widget,
    .playstore-widget,
    .playstore-cta-widget {
        padding: 18px 14px !important;
        border-radius: 14px !important;
        margin: 24px 0 !important;
        width: 100% !important;
    }

    .widget-badge h3 {
        font-size: 18px !important;
    }

    .widget-desc {
        font-size: 14px !important;
        line-height: 1.6 !important;
    }

    .btn-playstore {
        width: 100% !important;
        justify-content: center !important;
        padding: 12px 20px !important;
        font-size: 15px !important;
    }

    .infographic-container,
    .infographic-box,
    .figure-card,
    .figure-box {
        margin: 16px 0 !important;
        border-radius: 10px !important;
        width: 100% !important;
    }

    .sidebar-app-cards-wrap {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .toc-container {
        padding: 18px 14px !important;
        border-radius: 14px !important;
        width: 100% !important;
    }

    .toc-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {
    .article-header,
    .post-header,
    header.article-header {
        padding: 8px 8px !important;
        margin-bottom: 8px !important;
    }

    .article-container,
    .main-container {
        padding: 8px 8px 40px 8px !important;
    }

    .breadcrumb-nav {
        font-size: 11px !important;
        margin-bottom: 4px !important;
        gap: 3px !important;
    }

    .article-title,
    h1.article-title,
    .post-title,
    .entry-title,
    .article-header h1,
    .article-main-content h1,
    .main-container h1,
    article h1,
    main h1 {
        font-size: 16.5px !important;
        line-height: 1.3 !important;
        margin: 0 0 6px 0 !important;
        font-weight: 800 !important;
    }

    .article-meta-bar,
    .header-meta,
    .post-meta {
        font-size: 10.5px !important;
        gap: 4px 8px !important;
        margin-bottom: 6px !important;
        padding-bottom: 4px !important;
    }
}

/* ==========================================================================
   LIVE PROBASHI NEWS FEED (FULL WIDE SCREEN CAROUSEL - 25 LATEST POSTS)
   ========================================================================== */
.probashi-news-feed-section {
    width: 100%;
    position: relative;
    background: linear-gradient(180deg, #05140e 0%, #030a07 100%);
    border-top: 1px solid rgba(16, 185, 129, 0.2);
    border-bottom: 1px solid rgba(16, 185, 129, 0.2);
    padding: 55px 0 50px 0;
    overflow: hidden;
    margin: 40px 0 20px 0;
}

.news-feed-header-wrap {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 32px auto;
    padding: 0 20px;
}

.news-feed-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #34D399;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.news-feed-title {
    font-size: 32px;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.news-feed-subtitle {
    font-size: 15px;
    color: #94A3B8;
    margin: 0;
    line-height: 1.65;
}

.news-feed-carousel-container {
    position: relative;
    width: 100%;
    max-width: 1650px;
    margin: 0 auto;
    padding: 0 24px;
}

.news-feed-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: auto;
    scroll-snap-type: none;
    padding: 12px 8px 26px 8px;
    scrollbar-width: thin;
    scrollbar-color: #10B981 rgba(15, 23, 42, 0.6);
    -webkit-overflow-scrolling: touch;
}

.news-feed-track::-webkit-scrollbar {
    height: 7px;
}
.news-feed-track::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 999px;
}
.news-feed-track::-webkit-scrollbar-thumb {
    background: #10B981;
    border-radius: 999px;
}

.news-feed-card {
    flex: 0 0 310px;
    max-width: 310px;
    scroll-snap-align: start;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}

.news-feed-card:hover {
    transform: translateY(-6px);
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55);
}

.news-card-img-wrap {
    position: relative;
    height: 175px;
    overflow: hidden;
    background: #061510;
}

.news-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
    display: block;
}

.news-feed-card:hover .news-card-img-wrap img {
    transform: scale(1.05);
}

.news-card-center-icon {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(6, 29, 21, 0.88);
    border: 2px solid #10B981;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
}

.news-card-category-badge {
    position: absolute;
    bottom: 9px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(16, 185, 129, 0.95);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 14px;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.news-card-body {
    padding: 18px 16px 16px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
    text-align: center;
}

.news-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #F8FAFC;
    line-height: 1.5;
    margin: 0 0 16px 0;
    min-height: 45px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-news-card-read {
    background: #10B981;
    color: #FFFFFF !important;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 999px;
    display: block;
    width: 100%;
    box-sizing: border-box;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

.btn-news-card-read:hover {
    background: #059669;
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.5);
    transform: translateY(-1px);
}

.feed-nav-btn {
    position: absolute;
    top: calc(50% - 15px);
    transform: translateY(-50%);
    z-index: 5;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #34D399;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
    outline: none;
}

.feed-nav-btn:hover {
    background: #10B981;
    color: #FFFFFF;
    border-color: #10B981;
}

.feed-nav-prev {
    left: 8px;
}

.feed-nav-next {
    right: 8px;
}

.news-feed-footer-cta {
    text-align: center;
    margin-top: 18px;
}

.btn-news-feed-view-all {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid #10B981;
    color: #34D399;
    font-size: 15px;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 999px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.btn-news-feed-view-all:hover {
    background: #10B981;
    color: #FFFFFF;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .news-feed-title {
        font-size: 22px;
    }
    .news-feed-subtitle {
        font-size: 14px;
    }
    .news-feed-card {
        flex: 0 0 270px;
        max-width: 270px;
    }
    .feed-nav-btn {
        display: flex;
        width: 38px;
        height: 38px;
        font-size: 22px;
    }
    .feed-nav-prev {
        left: 4px;
    }
    .feed-nav-next {
        right: 4px;
    }
}

/* ==========================================================================
   OFFICIAL PROBASHI APP SPOTLIGHT CARD AMBIENT CANVAS SYSTEM
   (Rolling Football Logo + Google Play Store Prism Station)
   ========================================================================== */
.playstore-cta-widget {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #04140e 0%, #08241a 50%, #03140e 100%) !important;
    border: 2px solid rgba(16, 185, 129, 0.55) !important;
    border-radius: 18px !important;
    padding: 22px 32px !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 30px rgba(16, 185, 129, 0.2) !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.spotlight-ambient-layer {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    pointer-events: none !important;
    user-select: none !important;
    z-index: 1 !important;
}

.spotlight-bg-svg {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    pointer-events: none !important;
    display: block !important;
}

.spotlight-orb {
    position: absolute;
    border-radius: 9999px;
    pointer-events: none;
    will-change: transform, opacity;
}

.spotlight-orb-green {
    width: 380px;
    height: 140px;
    top: -30px;
    left: 8%;
    filter: blur(45px);
    background: radial-gradient(circle, rgba(16, 185, 129, 0.45) 0%, rgba(16, 185, 129, 0) 70%);
    animation: spotlightOrbFloat1 10s ease-in-out infinite alternate;
}

.spotlight-orb-blue {
    width: 350px;
    height: 130px;
    bottom: -30px;
    right: 25%;
    filter: blur(42px);
    background: radial-gradient(circle, rgba(0, 162, 255, 0.42) 0%, rgba(0, 162, 255, 0) 70%);
    animation: spotlightOrbFloat2 12s ease-in-out infinite alternate;
}

.spotlight-orb-gold {
    width: 280px;
    height: 110px;
    top: -15px;
    right: 5%;
    filter: blur(40px);
    background: radial-gradient(circle, rgba(255, 206, 0, 0.32) 0%, rgba(255, 206, 0, 0) 70%);
    animation: spotlightOrbFloat1 14s ease-in-out infinite alternate-reverse;
}

@keyframes spotlightOrbFloat1 {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    100% { transform: translate3d(35px, -12px, 0) scale(1.1); }
}

@keyframes spotlightOrbFloat2 {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    100% { transform: translate3d(-30px, 12px, 0) scale(0.92); }
}

.spotlight-stream-emerald {
    stroke-dasharray: 12 28;
    animation: spotlightStreamFlow 6s linear infinite;
}

.spotlight-stream-cyan {
    stroke-dasharray: 10 24;
    animation: spotlightStreamFlowRev 5s linear infinite;
}

.spotlight-stream-gold {
    stroke-dasharray: 8 20;
    animation: spotlightStreamFlow 7s linear infinite;
}

@keyframes spotlightStreamFlow {
    from { stroke-dashoffset: 0; }
    to { stroke-dashoffset: -320px; }
}

@keyframes spotlightStreamFlowRev {
    from { stroke-dashoffset: 0; }
    to { stroke-dashoffset: 320px; }
}

.spotlight-pulse-ring {
    transform-box: fill-box;
    transform-origin: center;
    animation: spotlightPulseRing 2.6s cubic-bezier(0.1, 0.8, 0.2, 1) infinite;
}

.spotlight-pulse-ring-2 {
    transform-box: fill-box;
    transform-origin: center;
    animation: spotlightPulseRing 2.6s cubic-bezier(0.1, 0.8, 0.2, 1) infinite 1.3s;
}

@keyframes spotlightPulseRing {
    0% { transform: scale(0.65); opacity: 0.85; }
    70%, 100% { transform: scale(1.7); opacity: 0; }
}

.spotlight-spin-ring {
    transform-box: fill-box;
    transform-origin: center;
    animation: spotlightSpinRing 15s linear infinite;
}

.spotlight-spin-ring-rev {
    transform-box: fill-box;
    transform-origin: center;
    animation: spotlightSpinRingRev 18s linear infinite;
}

@keyframes spotlightSpinRing {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes spotlightSpinRingRev {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

.spotlight-play-prism {
    transform-box: fill-box;
    transform-origin: center;
    animation: spotlightPlayFloat 3s ease-in-out infinite alternate;
}

@keyframes spotlightPlayFloat {
    0% { transform: scale(0.95); filter: drop-shadow(0 0 8px rgba(0, 162, 255, 0.6)); }
    100% { transform: scale(1.08); filter: drop-shadow(0 0 18px rgba(0, 230, 118, 0.9)); }
}

/* Football Rolling Probashi Logo Rover */
.probashi-football-rover {
    position: absolute;
    top: 8px;
    left: 10px;
    width: 52px;
    height: 52px;
    pointer-events: none;
    z-index: 1;
    animation: footballWanderAcrossCard 18s ease-in-out infinite alternate;
}

@keyframes footballWanderAcrossCard {
    0% { transform: translate3d(20px, 8px, 0); }
    14% { transform: translate3d(260px, 68px, 0); }
    28% { transform: translate3d(490px, 12px, 0); }
    42% { transform: translate3d(710px, 70px, 0); }
    57% { transform: translate3d(920px, 10px, 0); }
    71% { transform: translate3d(1060px, 66px, 0); }
    85% { transform: translate3d(780px, 18px, 0); }
    100% { transform: translate3d(360px, 68px, 0); }
}

.probashi-football-spinner {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    animation: footballRollSpin 3.2s linear infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, rgba(3, 20, 14, 0.95) 75%);
    border: 2px solid #10b981;
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.65), inset 0 0 8px rgba(52, 211, 153, 0.5);
    overflow: hidden;
}

@keyframes footballRollSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.probashi-football-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.playstore-cta-widget > div:not(.spotlight-ambient-layer) {
    position: relative !important;
    z-index: 2 !important;
}

@media (max-width: 900px) {
    .spotlight-bg-svg {
        display: none !important;
    }
    .probashi-football-rover {
        display: none !important;
    }
    .playstore-cta-widget {
        padding: 20px 18px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .spotlight-orb,
    .spotlight-stream-emerald,
    .spotlight-stream-cyan,
    .spotlight-stream-gold,
    .spotlight-pulse-ring,
    .spotlight-spin-ring,
    .spotlight-play-prism,
    .probashi-football-rover,
    .probashi-football-spinner {
        animation: none !important;
    }
}

/* ==========================================================================
   COMPREHENSIVE LIGHT MODE ARCHITECT (Dual Light & Dark Mode Visual Fidelity)
   Guarantees 100% WCAG AAA Contrast, Sharp Typography, and Vibrant Visual View
   ========================================================================== */

/* 1. Header & Global Ticker Light Mode */
[data-theme="light"] .main-header {
    background: rgba(255, 255, 255, 0.94) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .brand-title-h2 {
    color: #0f172a !important;
}

[data-theme="light"] .header-links a {
    color: #475569 !important;
}

[data-theme="light"] .header-links a:hover,
[data-theme="light"] .header-links li.active > a {
    color: #059669 !important;
}

[data-theme="light"] .theme-toggle-btn {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}

[data-theme="light"] .theme-toggle-btn:hover {
    background: #e2e8f0 !important;
    border-color: #059669 !important;
}

[data-theme="light"] .btn-header-play {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .live-ticker-bar {
    border-bottom-color: rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .ticker-item {
    color: #475569 !important;
}

[data-theme="light"] .ticker-item strong {
    color: #0f172a !important;
}

/* Dropdowns in Light Mode */
[data-theme="light"] .mega-dropdown-menu,
[data-theme="light"] .country-dropdown-menu {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.12) !important;
}

[data-theme="light"] .mega-dropdown-header,
[data-theme="light"] .country-dropdown-header {
    background: #f8fafc !important;
    border-bottom-color: rgba(0, 0, 0, 0.06) !important;
    color: #0f172a !important;
}

[data-theme="light"] .mega-header-title strong,
[data-theme="light"] .country-header-title strong {
    color: #0f172a !important;
}

[data-theme="light"] .mega-dropdown-item,
[data-theme="light"] .country-dropdown-item {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .mega-dropdown-item:hover,
[data-theme="light"] .country-dropdown-item:hover {
    background: #f1f5f9 !important;
    border-color: rgba(16, 185, 129, 0.4) !important;
}

[data-theme="light"] .mega-item-title,
[data-theme="light"] .country-item-name {
    color: #0f172a !important;
}

[data-theme="light"] .mega-dropdown-footer,
[data-theme="light"] .country-dropdown-footer {
    background: #f8fafc !important;
    border-top-color: rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .btn-mega-all-services,
[data-theme="light"] .btn-country-all-tools {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}

/* 2. Hero Section Light Mode */
[data-theme="light"] .hero-section {
    background: radial-gradient(circle at 50% 15%, rgba(16, 185, 129, 0.12) 0%, rgba(244, 246, 251, 0.96) 75%), #f4f6fb !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .hero-headline {
    color: #0f172a !important;
}

[data-theme="light"] .hero-desc {
    color: #334155 !important;
}

[data-theme="light"] .hero-badge-pill {
    background: rgba(16, 185, 129, 0.12) !important;
    border-color: rgba(16, 185, 129, 0.35) !important;
    color: #065f46 !important;
}

[data-theme="light"] .hero-number-one {
    color: #059669 !important;
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.3) !important;
}

[data-theme="light"] .btn-hero-secondary {
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #0f172a !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .btn-hero-secondary:hover {
    background: #f8fafc !important;
    border-color: #059669 !important;
    color: #059669 !important;
}

[data-theme="light"] .btn-hero-guide {
    background: rgba(217, 119, 6, 0.1) !important;
    border-color: rgba(217, 119, 6, 0.4) !important;
    color: #b45309 !important;
}

[data-theme="light"] .hero-meta-proof {
    color: #475569 !important;
}

[data-theme="light"] .hero-img-card {
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .hero-tech-grid {
    stroke: rgba(16, 185, 129, 0.12) !important;
    opacity: 0.4 !important;
}

[data-theme="light"] .hero-telemetry-hud text {
    fill: #475569 !important;
    opacity: 0.75 !important;
}

/* 3. Section Headers */
[data-theme="light"] .section-title {
    color: #0f172a !important;
}

[data-theme="light"] .section-subtitle {
    color: #475569 !important;
}

/* 4. Calculator & 16 Country Rate Cards Light Mode */
[data-theme="light"] .tools-section {
    background: #edf2f7 !important;
    border-top-color: rgba(0, 0, 0, 0.06) !important;
    border-bottom-color: rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .calculator-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%) !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .calc-label {
    color: #0f172a !important;
}

[data-theme="light"] .calc-mini-select {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    color: #334155 !important;
}

[data-theme="light"] .calc-mini-card {
    background: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .calc-mini-card:hover {
    background: #f1f5f9 !important;
    border-color: #94a3b8 !important;
}

[data-theme="light"] .calc-mini-card.active {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    border-color: #047857 !important;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35) !important;
}

[data-theme="light"] .calc-mini-name {
    color: #334155 !important;
}

[data-theme="light"] .calc-mini-card.active .calc-mini-name {
    color: #ffffff !important;
}

[data-theme="light"] .calc-slider-wrapper {
    background: linear-gradient(135deg, #f0fdf4 0%, #f8fafc 100%) !important;
    border-color: #bbf7d0 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03) !important;
}

[data-theme="light"] .calc-chip {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    color: #475569 !important;
}

[data-theme="light"] .calc-chip:hover {
    background: #ecfdf5 !important;
    border-color: #10b981 !important;
    color: #059669 !important;
}

[data-theme="light"] .calc-chip.active {
    background: #059669 !important;
    border-color: #047857 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.35) !important;
}

[data-theme="light"] .calc-range-slider {
    background: linear-gradient(to right, #059669 0%, #059669 var(--slider-pct, 10%), #e2e8f0 var(--slider-pct, 10%), #e2e8f0 100%) !important;
}

[data-theme="light"] .calc-range-slider::-webkit-slider-thumb {
    border-color: #059669 !important;
    box-shadow: 0 0 10px rgba(5, 150, 105, 0.4) !important;
}

[data-theme="light"] .calc-range-slider::-moz-range-thumb {
    border-color: #059669 !important;
    box-shadow: 0 0 10px rgba(5, 150, 105, 0.4) !important;
}

[data-theme="light"] .calc-range-bounds {
    color: #475569 !important;
}

[data-theme="light"] .calc-yellow-box {
    background: #fffbeb !important;
    border: 1.5px solid #f59e0b !important;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.1) !important;
}

[data-theme="light"] .calc-yellow-label {
    color: #b45309 !important;
}

[data-theme="light"] .calc-yellow-val {
    color: #78350f !important;
}

[data-theme="light"] .calc-yellow-sub {
    color: #92400e !important;
}

[data-theme="light"] .calc-result-box {
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .calc-res-badge {
    background: #ecfdf5 !important;
    border-color: #a7f3d0 !important;
    color: #047857 !important;
}

[data-theme="light"] .calc-res-label {
    color: #475569 !important;
}

[data-theme="light"] .res-primary-val {
    color: #059669 !important;
}

[data-theme="light"] .res-sub-rate {
    color: #64748b !important;
}

[data-theme="light"] .incentive-row {
    background: #fffbeb !important;
    border-color: #fde68a !important;
}

[data-theme="light"] .incentive-val {
    color: #b45309 !important;
}

[data-theme="light"] .incentive-tag {
    background: #fef3c7 !important;
    border-color: #f59e0b !important;
    color: #92400e !important;
}

[data-theme="light"] .calc-res-divider {
    border-top-color: #e2e8f0 !important;
}

[data-theme="light"] .calc-total-label {
    color: #0284c7 !important;
}

[data-theme="light"] .total-final-val {
    color: #0f172a !important;
    text-shadow: none !important;
}

[data-theme="light"] .calc-res-trust-badges {
    border-top-color: #e2e8f0 !important;
    color: #64748b !important;
}

[data-theme="light"] .calc-countries-box {
    border-top-color: rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .calc-countries-header h3 {
    color: #0f172a !important;
}

[data-theme="light"] .calc-countries-header p {
    color: #475569 !important;
}

[data-theme="light"] .country-pill {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.09) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .country-pill:hover {
    background: #f8fafc !important;
    border-color: rgba(16, 185, 129, 0.6) !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08), 0 0 16px rgba(16, 185, 129, 0.2) !important;
}

[data-theme="light"] .country-code-badge {
    color: #0f172a !important;
}

[data-theme="light"] .country-name {
    color: #334155 !important;
}

[data-theme="light"] .country-currency {
    color: #64748b !important;
}

[data-theme="light"] .pill-currency-watermark {
    opacity: 0.18 !important;
}

[data-theme="light"] .country-pill:hover .pill-currency-watermark {
    opacity: 0.38 !important;
}

/* 5. 15 Core Services Grid Light Mode */
[data-theme="light"] .services-section {
    background: #f4f6fb !important;
    border-top-color: rgba(0, 0, 0, 0.06) !important;
    border-bottom-color: rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .service-card {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .service-card:hover {
    background: #f8fafc !important;
    border-color: rgba(16, 185, 129, 0.4) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .service-meta-text h3 {
    color: #0f172a !important;
}

[data-theme="light"] .service-desc {
    color: #475569 !important;
}

[data-theme="light"] .btn-service-app {
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #0f172a !important;
}

[data-theme="light"] .btn-service-app:hover {
    background: #f8fafc !important;
    border-color: var(--primary-emerald) !important;
    color: var(--primary-emerald) !important;
}

/* 6. Spotlight App Card Light Mode */
[data-theme="light"] .playstore-cta-widget {
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8f4 50%, #e0f2fe 100%) !important;
    border: 2px solid rgba(16, 185, 129, 0.4) !important;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.06), 0 0 20px rgba(16, 185, 129, 0.12) !important;
}

[data-theme="light"] .playstore-cta-widget h3 {
    color: #0f172a !important;
}

[data-theme="light"] .playstore-cta-widget p {
    color: #334155 !important;
}

[data-theme="light"] .btn-guide-spotlight {
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #0f172a !important;
}

[data-theme="light"] .btn-guide-spotlight:hover {
    background: #f8fafc !important;
    border-color: var(--primary-emerald) !important;
    color: var(--primary-emerald) !important;
}

[data-theme="light"] .spotlight-bg-svg rect {
    opacity: 0.35 !important;
}

[data-theme="light"] .spotlight-bg-svg text {
    fill: #475569 !important;
    opacity: 0.8 !important;
}

/* 7. Probashi News Feed Section Light Mode */
[data-theme="light"] .probashi-news-feed-section {
    background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%) !important;
    border-top: 1px solid rgba(16, 185, 129, 0.25) !important;
    border-bottom: 1px solid rgba(16, 185, 129, 0.25) !important;
}

[data-theme="light"] .news-feed-title {
    color: #0f172a !important;
}

[data-theme="light"] .news-feed-subtitle {
    color: #475569 !important;
}

[data-theme="light"] .news-feed-card {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .news-feed-card:hover {
    border-color: rgba(16, 185, 129, 0.5) !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12) !important;
}

[data-theme="light"] .news-card-title {
    color: #0f172a !important;
}

[data-theme="light"] .feed-nav-btn {
    background: #ffffff !important;
    border: 1px solid rgba(16, 185, 129, 0.4) !important;
    color: #059669 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

[data-theme="light"] .feed-nav-btn:hover {
    background: #10B981 !important;
    color: #FFFFFF !important;
}

[data-theme="light"] .news-feed-track::-webkit-scrollbar-track {
    background: #e2e8f0 !important;
}

[data-theme="light"] .btn-news-feed-view-all {
    background: #ffffff !important;
    border: 1.5px solid #10B981 !important;
    color: #059669 !important;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.15) !important;
}

/* 8. FAQ Section Light Mode */
[data-theme="light"] .faq-section {
    background: #f4f6fb !important;
    border-top-color: rgba(0, 0, 0, 0.06) !important;
    border-bottom-color: rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .faq-accordion-item {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
}

[data-theme="light"] .faq-question-text {
    color: #0f172a !important;
}

[data-theme="light"] .faq-answer-text {
    color: #475569 !important;
}

[data-theme="light"] .btn-faq-slide-toggle {
    background: #ffffff !important;
    border: 1.5px solid #10B981 !important;
    color: #059669 !important;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.15) !important;
}

[data-theme="light"] .btn-faq-view-all {
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #0f172a !important;
}

/* 9. Bottom Sticky App Bar Light Mode */
[data-theme="light"] .sticky-app-bar {
    background: rgba(255, 255, 255, 0.94) !important;
    border-top: 1px solid rgba(16, 185, 129, 0.45) !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .sticky-title {
    color: #0f172a !important;
}

[data-theme="light"] .sticky-sub {
    color: #475569 !important;
}

[data-theme="light"] .sticky-telemetry text {
    fill: #475569 !important;
}

[data-theme="light"] #sticky-bmet-chip rect[stroke="#f59e0b"] {
    fill: #ffffff !important;
}

[data-theme="light"] #sticky-mrz-scanner rect[fill="#03140e"] {
    fill: #f1f5f9 !important;
}

[data-theme="light"] #sticky-security-shield path[fill="#051912"] {
    fill: #e8f5e9 !important;
}

/* 10. Footer 4-Card Box & Layout Light Mode */
[data-theme="light"] footer.site-footer {
    background: #f1f5f9 !important;
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .footer-card-box {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .footer-card-title {
    color: #0f172a !important;
}

[data-theme="light"] .footer-card-header {
    border-bottom-color: rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .footer-card-desc {
    color: #475569 !important;
}

[data-theme="light"] .footer-card-links a {
    color: #475569 !important;
}

[data-theme="light"] .footer-card-links a:hover {
    color: #059669 !important;
}

[data-theme="light"] .footer-copyright-text {
    color: #64748b !important;
}

[data-theme="light"] .footer-bottom-policy-links a {
    color: #64748b !important;
}

[data-theme="light"] .footer-google-play-banner {
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #0f172a !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .play-banner-title {
    color: #0f172a !important;
}

[data-theme="light"] .play-banner-sub {
    color: #64748b !important;
}

/* 11. Audio Rate Popup Modal Light Mode */
[data-theme="light"] .rate-modal-dialog {
    background: #ffffff !important;
    border-color: rgba(16, 185, 129, 0.4) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2), 0 0 35px rgba(16, 185, 129, 0.15) !important;
}

[data-theme="light"] .rate-modal-header {
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8f4 100%) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .rate-modal-country-name {
    color: #0f172a !important;
}

[data-theme="light"] .metric-pill-box {
    background: #f8fafc !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .metric-pill-val {
    color: #0f172a !important;
}

[data-theme="light"] .rate-modal-paragraph {
    background: #f8fafc !important;
    color: #334155 !important;
}

[data-theme="light"] .audio-label-title {
    color: #0f172a !important;
}

[data-theme="light"] .audio-player-bar {
    background: #f1f5f9 !important;
    border-color: rgba(16, 185, 129, 0.3) !important;
}

/* ==========================================================================
   12. MASTER LIGHT MODE ARTICLE, SERVICE, CATEGORY & SIDEBAR ENGINE
   Enforces 100% WCAG AAA contrast, crisp dark slate typography, clean white
   cards, and polished premium visual aesthetics across all articles and sidebars.
   ========================================================================== */

/* Layout & Background */
[data-theme="light"] {
    background-color: #f4f6fb !important;
    color: #1e293b !important;
}

[data-theme="light"] body {
    background-color: #f4f6fb !important;
    color: #1e293b !important;
}

[data-theme="light"] .article-layout-wrapper {
    background-color: transparent !important;
}

/* Master Typography for Articles, Services & Categories */
[data-theme="light"] .article-main-content,
[data-theme="light"] .category-main-col,
[data-theme="light"] .category-main-article,
[data-theme="light"] .services-detail-content,
[data-theme="light"] article {
    color: #1e293b !important;
}

[data-theme="light"] .article-main-content p,
[data-theme="light"] .category-main-col p,
[data-theme="light"] .category-main-article p,
[data-theme="light"] article p,
[data-theme="light"] p[style*="#cbd5e1"],
[data-theme="light"] p[style*="#e2e8f0"],
[data-theme="light"] p[style*="#94a3b8"],
[data-theme="light"] p[style*="#f8fafc"],
[data-theme="light"] p[style*="#f1f5f9"],
[data-theme="light"] p[style*="#ffffff"],
[data-theme="light"] p[style*="#fff"] {
    color: #1e293b !important;
}

[data-theme="light"] .article-main-content h1,
[data-theme="light"] .article-main-content h2,
[data-theme="light"] .article-main-content h3,
[data-theme="light"] .article-main-content h4,
[data-theme="light"] .article-main-content h5,
[data-theme="light"] .article-main-content h6,
[data-theme="light"] .category-main-col h1,
[data-theme="light"] .category-main-col h2,
[data-theme="light"] .category-main-col h3,
[data-theme="light"] .category-main-col h4,
[data-theme="light"] .category-main-col h5,
[data-theme="light"] .category-main-col h6,
[data-theme="light"] article h1,
[data-theme="light"] article h2,
[data-theme="light"] article h3,
[data-theme="light"] article h4 {
    color: #0f172a !important;
    font-weight: 800 !important;
}

[data-theme="light"] .article-main-content strong,
[data-theme="light"] .article-main-content b,
[data-theme="light"] .category-main-col strong,
[data-theme="light"] .category-main-col b,
[data-theme="light"] article strong,
[data-theme="light"] article b {
    color: #0f172a !important;
    font-weight: 700 !important;
}

[data-theme="light"] .article-main-content li,
[data-theme="light"] .category-main-col li,
[data-theme="light"] article li,
[data-theme="light"] li[style*="#cbd5e1"],
[data-theme="light"] li[style*="#e2e8f0"],
[data-theme="light"] li[style*="#94a3b8"] {
    color: #1e293b !important;
}

[data-theme="light"] span[style*="#cbd5e1"],
[data-theme="light"] span[style*="#e2e8f0"] {
    color: #1e293b !important;
}

[data-theme="light"] span[style*="#94a3b8"],
[data-theme="light"] span[style*="#64748b"] {
    color: #475569 !important;
}

/* Links */
[data-theme="light"] .article-main-content a:not([class*="btn"]):not([class*="badge"]),
[data-theme="light"] .category-main-col a:not([class*="btn"]):not([class*="badge"]),
[data-theme="light"] article a:not([class*="btn"]):not([class*="badge"]) {
    color: #059669 !important;
    text-decoration: underline !important;
    text-decoration-color: rgba(5, 150, 105, 0.4) !important;
}

[data-theme="light"] .article-main-content a:not([class*="btn"]):not([class*="badge"]):hover,
[data-theme="light"] .category-main-col a:not([class*="btn"]):not([class*="badge"]):hover,
[data-theme="light"] article a:not([class*="btn"]):not([class*="badge"]):hover {
    color: #047857 !important;
    text-decoration-color: #047857 !important;
}

/* Article Hero Header Banners */
[data-theme="light"] .article-main-content header,
[data-theme="light"] .category-main-col header,
[data-theme="light"] article header,
[data-theme="light"] header[style*="radial-gradient"],
[data-theme="light"] header[style*="linear-gradient"] {
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%) !important;
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
    border-radius: 20px !important;
}

[data-theme="light"] .article-main-content header h1,
[data-theme="light"] .category-main-col header h1,
[data-theme="light"] article header h1 {
    color: #0f172a !important;
}

[data-theme="light"] .article-main-content header p,
[data-theme="light"] .category-main-col header p,
[data-theme="light"] article header p {
    color: #334155 !important;
}

/* Conversion App Widgets in Article Hero */
[data-theme="light"] div[style*="linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(15, 23, 42"],
[data-theme="light"] div[style*="linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%,rgba(15, 23, 42"],
[data-theme="light"] div[style*="linear-gradient(135deg,#0b1726,#061d15)"] {
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%) !important;
    border: 1.5px solid rgba(16, 185, 129, 0.4) !important;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.08) !important;
}

[data-theme="light"] div[style*="linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(15, 23, 42"] h3,
[data-theme="light"] div[style*="linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(15, 23, 42"] h4 {
    color: #065f46 !important;
}

[data-theme="light"] div[style*="linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(15, 23, 42"] p {
    color: #334155 !important;
}

/* Clean White Overrides for Dark-Styled Content Cards */
[data-theme="light"] .article-main-content div[style*="background: #0f172a"],
[data-theme="light"] .article-main-content div[style*="background:#0f172a"],
[data-theme="light"] .article-main-content div[style*="background: #0d1524"],
[data-theme="light"] .article-main-content div[style*="background:#0d1524"],
[data-theme="light"] .article-main-content div[style*="background: #1e293b"],
[data-theme="light"] .article-main-content div[style*="background:#1e293b"],
[data-theme="light"] .article-main-content div[style*="background: #111827"],
[data-theme="light"] .article-main-content div[style*="background:#111827"],
[data-theme="light"] .article-main-content div[style*="background: #0b1118"],
[data-theme="light"] .article-main-content div[style*="background:#0b1118"],
[data-theme="light"] .article-main-content div[style*="background: #162032"],
[data-theme="light"] .article-main-content div[style*="background:#162032"],
[data-theme="light"] .article-main-content div[style*="background: rgba(15, 23, 42"],
[data-theme="light"] .article-main-content div[style*="background:rgba(15, 23, 42"],
[data-theme="light"] .article-main-content div[style*="background: rgba(30, 41, 59"],
[data-theme="light"] .article-main-content div[style*="background:rgba(30, 41, 59"],
[data-theme="light"] .category-main-col div[style*="background: rgba(15, 23, 42"],
[data-theme="light"] .category-main-col div[style*="background: #0f172a"] {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    color: #1e293b !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
}

/* Quick Navigation / Table of Contents in Articles */
[data-theme="light"] div[style*="background: rgba(15, 23, 42, 0.7)"],
[data-theme="light"] div[style*="background:rgba(15, 23, 42, 0.7)"],
[data-theme="light"] .quick-nav-box,
[data-theme="light"] .toc-box {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] div[style*="background: rgba(15, 23, 42, 0.7)"] h3,
[data-theme="light"] .quick-nav-box h3,
[data-theme="light"] .toc-box h3 {
    color: #059669 !important;
}

[data-theme="light"] div[style*="background: rgba(15, 23, 42, 0.7)"] a,
[data-theme="light"] .quick-nav-box a,
[data-theme="light"] .toc-box a {
    background: #f8fafc !important;
    color: #1e293b !important;
    border: 1px solid #e2e8f0 !important;
}

[data-theme="light"] div[style*="background: rgba(15, 23, 42, 0.7)"] a:hover,
[data-theme="light"] .quick-nav-box a:hover,
[data-theme="light"] .toc-box a:hover {
    background: #ecfdf5 !important;
    color: #059669 !important;
    border-color: #10b981 !important;
}

/* Tables in Articles */
[data-theme="light"] .article-main-content table,
[data-theme="light"] .category-main-col table,
[data-theme="light"] article table {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-collapse: collapse !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03) !important;
}

[data-theme="light"] .article-main-content th,
[data-theme="light"] .category-main-col th,
[data-theme="light"] article th {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    font-weight: 700 !important;
    border-bottom: 2px solid #cbd5e1 !important;
}

[data-theme="light"] .article-main-content td,
[data-theme="light"] .category-main-col td,
[data-theme="light"] article td {
    background: #ffffff !important;
    color: #1e293b !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .article-main-content tr:nth-child(even) td,
[data-theme="light"] .category-main-col tr:nth-child(even) td,
[data-theme="light"] article tr:nth-child(even) td {
    background: #f8fafc !important;
}

/* FAQ Accordion Items in Articles */
[data-theme="light"] .faq-box,
[data-theme="light"] .faq-item,
[data-theme="light"] .accordion-item,
[data-theme="light"] details {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
}

[data-theme="light"] details summary {
    color: #0f172a !important;
    font-weight: 700 !important;
}

/* Canonical 3-App Right Sticky Sidebar in Light Mode */
[data-theme="light"] .article-sticky-sidebar {
    gap: 16px !important;
}

[data-theme="light"] .sidebar-apps-header {
    background: linear-gradient(135deg, #059669 0%, #065f46 100%) !important;
    border: 1px solid rgba(5, 150, 105, 0.3) !important;
    box-shadow: 0 4px 16px rgba(5, 150, 105, 0.15) !important;
}

[data-theme="light"] .sidebar-apps-header-title {
    color: #ffffff !important;
}

[data-theme="light"] .sidebar-apps-header-tag {
    color: #d1fae5 !important;
}

[data-theme="light"] .sidebar-apps-header-badge {
    background: rgba(255, 255, 255, 0.25) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    color: #ffffff !important;
}

[data-theme="light"] .sidebar-app-card {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .sidebar-app-card:hover {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1) !important;
    border-color: rgba(16, 185, 129, 0.4) !important;
}

[data-theme="light"] .sidebar-app-title {
    color: #0f172a !important;
    font-weight: 800 !important;
}

[data-theme="light"] .sidebar-app-desc {
    color: #475569 !important;
}

[data-theme="light"] .sidebar-app-meta .sidebar-app-badge {
    background: #f1f5f9 !important;
    color: #334155 !important;
    border: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .sidebar-app-meta .sidebar-app-rating {
    color: #d97706 !important;
    font-weight: 700 !important;
}

[data-theme="light"] .sidebar-btn-download {
    background: linear-gradient(135deg, #059669, #047857) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25) !important;
}

[data-theme="light"] .sidebar-btn-features {
    background: #f8fafc !important;
    color: #334155 !important;
    border: 1px solid #cbd5e1 !important;
}

[data-theme="light"] .sidebar-btn-features:hover {
    background: #f1f5f9 !important;
    color: #0f172a !important;
}

[data-theme="light"] .sidebar-trust-card {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    color: #475569 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04) !important;
}

/* Category Sidebar in Light Mode */
[data-theme="light"] .category-sidebar .sidebar-box {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    color: #1e293b !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .category-sidebar .sidebar-box-title {
    color: #0f172a !important;
}

[data-theme="light"] .sidebar-category-list a {
    color: #334155 !important;
}

[data-theme="light"] .sidebar-category-list a:hover {
    color: #059669 !important;
}

/* Breadcrumbs in Light Mode */
[data-theme="light"] .breadcrumb-nav {
    color: #475569 !important;
}

[data-theme="light"] .breadcrumb-nav a {
    color: #059669 !important;
}

[data-theme="light"] .breadcrumb-current {
    color: #0f172a !important;
    font-weight: 700 !important;
}

/* ==========================================================================
   RELATED ARTICLES 3x2 AUTO-RESPONSIVE GRID COMPONENT
   Strict 3x2 Grid on Desktop, 2x3 on Tablet, 1-Col Stack on Mobile
   Zero Dead Space Above & Below
   ========================================================================== */
.related-articles-section {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 24px 20px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-sizing: border-box;
}

.related-articles-header {
    text-align: center;
    margin-bottom: 20px;
}

.related-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
    font-size: 13px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.related-section-title {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 6px 0;
    line-height: 1.35;
}

.related-section-desc {
    font-size: 14.5px;
    color: var(--text-muted, #94a3b8);
    margin: 0 auto;
    max-width: 620px;
    line-height: 1.6;
}

/* 3x2 Grid on Desktop */
.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    width: 100%;
    box-sizing: border-box;
}

.related-article-card {
    background: #0b1118;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 18px 20px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.related-article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, #10b981, #059669);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.related-article-card:hover {
    transform: translateY(-3px);
    border-color: rgba(16, 185, 129, 0.45);
    background: #0e1620;
    box-shadow: 0 10px 24px -6px rgba(16, 185, 129, 0.2);
}

.related-article-card:hover::before {
    opacity: 1;
}

.related-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.related-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 700;
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 6px;
    padding: 3px 8px;
}

.related-card-icon {
    font-size: 20px;
    line-height: 1;
}

.related-card-title {
    font-size: 16.5px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px 0;
    line-height: 1.45;
    transition: color 0.2s ease;
}

.related-article-card:hover .related-card-title {
    color: #34d399;
}

.related-card-desc {
    font-size: 13.5px;
    color: #94a3b8;
    line-height: 1.6;
    margin: 0 0 14px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: auto;
}

.related-read-time {
    font-size: 12px;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.related-card-arrow {
    font-size: 14px;
    font-weight: 800;
    color: #10b981;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: transform 0.2s ease;
}

.related-article-card:hover .related-card-arrow {
    transform: translateX(4px);
    color: #34d399;
}

/* Tablet (1024px and below): 2 columns x 3 rows */
@media (max-width: 1024px) {
    .related-articles-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px !important;
    }
    .related-section-title {
        font-size: 22px !important;
    }
}

/* Mobile (640px and below): 1 column stack, 100% width, full mobile ergonomics */
@media (max-width: 640px) {
    .related-articles-section {
        margin: 14px 0 0 0 !important;
        padding: 16px 0 0 0 !important;
    }
    .related-articles-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    .related-section-title {
        font-size: 20px !important;
    }
    .related-section-desc {
        font-size: 13.5px !important;
    }
    .related-article-card {
        padding: 14px 16px !important;
    }
}

/* Light Mode Overrides */
[data-theme="light"] .related-articles-section {
    border-top-color: rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .related-section-title {
    color: #0f172a !important;
}

[data-theme="light"] .related-section-desc {
    color: #475569 !important;
}

[data-theme="light"] .related-article-card {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .related-article-card:hover {
    background: #f8fafc !important;
    border-color: rgba(16, 185, 129, 0.4) !important;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.12) !important;
}

[data-theme="light"] .related-card-title {
    color: #0f172a !important;
}

[data-theme="light"] .related-article-card:hover .related-card-title {
    color: #059669 !important;
}

[data-theme="light"] .related-card-desc {
    color: #475569 !important;
}

[data-theme="light"] .related-card-footer {
    border-top-color: rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .related-read-time {
    color: #64748b !important;
}


/* ==========================================================================
   UNIVERSAL DUAL-THEME ENGINE (LIGHT & DARK MODE 100% CONTRAST ARCHITECTURE)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. GLOBAL LIGHT MODE TOKEN NORMALIZATION
   -------------------------------------------------------------------------- */
[data-theme="light"],
html[data-theme="light"],
body.light-mode {
    --bg-dark: #f8fafc !important;
    --bg-header: rgba(255, 255, 255, 0.96) !important;
    --bg-card: #ffffff !important;
    --bg-card-hover: #f1f5f9 !important;
    --bg-card-sub: #f8fafc !important;
    --bg-calc: linear-gradient(135deg, #e8f5e9, #f1f5f9) !important;
    --bg-calc-res: #ffffff !important;
    --bg-footer: #f1f5f9 !important;
    --card-bg: #ffffff !important;
    --border-color: #e2e8f0 !important;
    --border-card: #e2e8f0 !important;
    --border-glass: #e2e8f0 !important;
    --text-main: #0f172a !important;
    --text-secondary: #334155 !important;
    --text-muted: #64748b !important;
    --primary-emerald: #059669 !important;
    --primary: #059669 !important;
    --input-bg: #ffffff !important;
    --input-border: #cbd5e1 !important;
}

[data-theme="light"] body,
html[data-theme="light"] body,
body.light-mode {
    background-color: #f8fafc !important;
    color: #0f172a !important;
}

/* --------------------------------------------------------------------------
   2. LIGHT MODE: COMPLETE CONTAINER & CARD NORMALIZATION
   -------------------------------------------------------------------------- */
[data-theme="light"] .content-card,
[data-theme="light"] section[id^="chapter-"],
[data-theme="light"] div[id^="ch"],
[data-theme="light"] .article-content-main,
[data-theme="light"] .step-block,
[data-theme="light"] .quick-answer-card,
[data-theme="light"] .info-callout-box,
[data-theme="light"] .table-of-contents-box,
[data-theme="light"] .faq-accordion-item,
[data-theme="light"] .faq-answer-content,
[data-theme="light"] .sidebar-widget-card,
[data-theme="light"] .sidebar-trust-card,
[data-theme="light"] .sidebar-sticky-panel .card,
[data-theme="light"] .quick-nav-box,
[data-theme="light"] .toc-box,
[data-theme="light"] section[style*="background: rgba(30, 41, 59"],
[data-theme="light"] section[style*="background:rgba(30,41,59"],
[data-theme="light"] section[style*="background: rgba(15, 23, 42"],
[data-theme="light"] section[style*="background:rgba(15,23,42"],
[data-theme="light"] section[style*="background: #0f172a"],
[data-theme="light"] section[style*="background:#0f172a"],
[data-theme="light"] div[style*="background: rgba(30, 41, 59"],
[data-theme="light"] div[style*="background:rgba(30,41,59"],
[data-theme="light"] div[style*="background: rgba(15, 23, 42"],
[data-theme="light"] div[style*="background:rgba(15,23,42"],
[data-theme="light"] div[style*="background: #0f172a"],
[data-theme="light"] div[style*="background:#0f172a"],
[data-theme="light"] div[style*="background: #0d1524"],
[data-theme="light"] div[style*="background:#0d1524"],
[data-theme="light"] div[style*="background: #1e293b"],
[data-theme="light"] div[style*="background:#1e293b"],
[data-theme="light"] div[style*="background: #111827"],
[data-theme="light"] div[style*="background:#111827"],
[data-theme="light"] div[style*="background: #162032"],
[data-theme="light"] div[style*="background:#162032"],
[data-theme="light"] div[style*="background: #020617"],
[data-theme="light"] div[style*="background:#020617"],
[data-theme="light"] div[style*="background: #030712"],
[data-theme="light"] div[style*="background:#030712"],
[data-theme="light"] div[style*="background: #0b1329"],
[data-theme="light"] div[style*="background:#0b1329"],
body.light-mode .content-card,
body.light-mode section[id^="chapter-"],
body.light-mode div[id^="ch"],
body.light-mode .article-content-main,
body.light-mode .step-block,
body.light-mode .quick-answer-card,
body.light-mode .info-callout-box,
body.light-mode .table-of-contents-box,
body.light-mode .faq-accordion-item,
body.light-mode .faq-answer-content,
body.light-mode .sidebar-widget-card,
body.light-mode .sidebar-trust-card,
body.light-mode .sidebar-sticky-panel .card,
body.light-mode .quick-nav-box,
body.light-mode .toc-box,
body.light-mode section[style*="background: rgba(30, 41, 59"],
body.light-mode section[style*="background:rgba(30,41,59"],
body.light-mode section[style*="background: rgba(15, 23, 42"],
body.light-mode section[style*="background:rgba(15,23,42"],
body.light-mode section[style*="background: #0f172a"],
body.light-mode section[style*="background:#0f172a"],
body.light-mode div[style*="background: rgba(30, 41, 59"],
body.light-mode div[style*="background:rgba(30,41,59"],
body.light-mode div[style*="background: rgba(15, 23, 42"],
body.light-mode div[style*="background:rgba(15,23,42"],
body.light-mode div[style*="background: #0f172a"],
body.light-mode div[style*="background:#0f172a"],
body.light-mode div[style*="background: #0d1524"],
body.light-mode div[style*="background:#0d1524"],
body.light-mode div[style*="background: #1e293b"],
body.light-mode div[style*="background:#1e293b"],
body.light-mode div[style*="background: #111827"],
body.light-mode div[style*="background:#111827"],
body.light-mode div[style*="background: #162032"],
body.light-mode div[style*="background:#162032"],
body.light-mode div[style*="background: #020617"],
body.light-mode div[style*="background:#020617"],
body.light-mode div[style*="background: #030712"],
body.light-mode div[style*="background:#030712"],
body.light-mode div[style*="background: #0b1329"],
body.light-mode div[style*="background:#0b1329"] {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    color: #334155 !important;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05) !important;
}

/* Light Mode Card Typography */
[data-theme="light"] .content-card h1,
[data-theme="light"] .content-card h2,
[data-theme="light"] .content-card h3,
[data-theme="light"] .content-card h4,
[data-theme="light"] section[id^="chapter-"] h1,
[data-theme="light"] section[id^="chapter-"] h2,
[data-theme="light"] section[id^="chapter-"] h3,
[data-theme="light"] section[id^="chapter-"] h4,
[data-theme="light"] div[id^="ch"] h1,
[data-theme="light"] div[id^="ch"] h2,
[data-theme="light"] div[id^="ch"] h3,
[data-theme="light"] div[id^="ch"] h4,
[data-theme="light"] .article-content-main h1,
[data-theme="light"] .article-content-main h2,
[data-theme="light"] .article-content-main h3,
[data-theme="light"] .article-content-main h4,
body.light-mode .content-card h1,
body.light-mode .content-card h2,
body.light-mode .content-card h3,
body.light-mode .content-card h4,
body.light-mode section[id^="chapter-"] h1,
body.light-mode section[id^="chapter-"] h2,
body.light-mode section[id^="chapter-"] h3,
body.light-mode section[id^="chapter-"] h4,
body.light-mode div[id^="ch"] h1,
body.light-mode div[id^="ch"] h2,
body.light-mode div[id^="ch"] h3,
body.light-mode div[id^="ch"] h4 {
    color: #0f172a !important;
}

[data-theme="light"] .content-card p,
[data-theme="light"] .content-card li,
[data-theme="light"] section[id^="chapter-"] p,
[data-theme="light"] section[id^="chapter-"] li,
[data-theme="light"] div[id^="ch"] p,
[data-theme="light"] div[id^="ch"] li,
[data-theme="light"] .article-content-main p,
[data-theme="light"] .article-content-main li,
body.light-mode .content-card p,
body.light-mode .content-card li,
body.light-mode section[id^="chapter-"] p,
body.light-mode section[id^="chapter-"] li,
body.light-mode div[id^="ch"] p,
body.light-mode div[id^="ch"] li {
    color: #334155 !important;
}

/* Light Mode Inner Feature / Alert Blocks */
[data-theme="light"] div[style*="background: rgba(30, 41, 59"],
[data-theme="light"] div[style*="background:rgba(30,41,59"],
body.light-mode div[style*="background: rgba(30, 41, 59"],
body.light-mode div[style*="background:rgba(30,41,59"] {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
}

[data-theme="light"] div[style*="background: rgba(30, 41, 59"] p,
[data-theme="light"] div[style*="background:rgba(30,41,59"] p,
body.light-mode div[style*="background: rgba(30, 41, 59"] p,
body.light-mode div[style*="background:rgba(30,41,59"] p {
    color: #334155 !important;
}

[data-theme="light"] div[style*="background: rgba(30, 41, 59"] h4,
[data-theme="light"] div[style*="background:rgba(30,41,59"] h4,
body.light-mode div[style*="background: rgba(30, 41, 59"] h4,
body.light-mode div[style*="background:rgba(30,41,59"] h4 {
    color: #0f172a !important;
}

/* --------------------------------------------------------------------------
   3. LIGHT MODE: ARTICLE HEADER, HERO WIDGET & FOOTER OVERRIDES
   -------------------------------------------------------------------------- */
[data-theme="light"] .container > header,
[data-theme="light"] header[style*="radial-gradient"],
body.light-mode .container > header,
body.light-mode header[style*="radial-gradient"] {
    background: linear-gradient(135deg, #ecfdf5 0%, #f1f5f9 100%) !important;
    border-color: #cbd5e1 !important;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .container > header h1,
[data-theme="light"] header[style*="radial-gradient"] h1,
body.light-mode .container > header h1,
body.light-mode header[style*="radial-gradient"] h1 {
    color: #0f172a !important;
}

[data-theme="light"] .container > header p,
[data-theme="light"] header[style*="radial-gradient"] p,
body.light-mode .container > header p,
body.light-mode header[style*="radial-gradient"] p {
    color: #334155 !important;
}

[data-theme="light"] .container > header div[style*="border-top"],
[data-theme="light"] header[style*="radial-gradient"] div[style*="border-top"],
body.light-mode .container > header div[style*="border-top"],
body.light-mode header[style*="radial-gradient"] div[style*="border-top"] {
    border-top-color: #cbd5e1 !important;
    color: #64748b !important;
}

/* In-Article Hero Conversion Widget in Light Mode */
[data-theme="light"] div[style*="linear-gradient(135deg, #0f172a 0%, #1e1b4b"],
[data-theme="light"] div[style*="linear-gradient(135deg,#0f172a 0%,#1e1b4b"],
[data-theme="light"] div[style*="#1e1b4b"],
body.light-mode div[style*="linear-gradient(135deg, #0f172a 0%, #1e1b4b"],
body.light-mode div[style*="linear-gradient(135deg,#0f172a 0%,#1e1b4b"],
body.light-mode div[style*="#1e1b4b"] {
    background: linear-gradient(135deg, #f0fdf4 0%, #e0f2fe 50%, #f0fdf4 100%) !important;
    border: 2px solid #0284c7 !important;
    box-shadow: 0 10px 25px -5px rgba(2, 132, 199, 0.15) !important;
}

[data-theme="light"] div[style*="#1e1b4b"] h2,
[data-theme="light"] div[style*="#1e1b4b"] h3,
[data-theme="light"] div[style*="#1e1b4b"] h4,
body.light-mode div[style*="#1e1b4b"] h2,
body.light-mode div[style*="#1e1b4b"] h3,
body.light-mode div[style*="#1e1b4b"] h4 {
    color: #0f172a !important;
}

[data-theme="light"] div[style*="#1e1b4b"] p,
body.light-mode div[style*="#1e1b4b"] p {
    color: #334155 !important;
}

[data-theme="light"] div[style*="#1e1b4b"] p a,
body.light-mode div[style*="#1e1b4b"] p a {
    color: #059669 !important;
    text-decoration: underline !important;
}

/* Badge container & text inside conversion widget */
[data-theme="light"] div[style*="#1e1b4b"] div[style*="border-radius: 30px"],
body.light-mode div[style*="#1e1b4b"] div[style*="border-radius: 30px"] {
    background: #e0f2fe !important;
    border: 1px solid #0284c7 !important;
}

[data-theme="light"] div[style*="#1e1b4b"] div[style*="border-radius: 30px"] span,
body.light-mode div[style*="#1e1b4b"] div[style*="border-radius: 30px"] span {
    color: #0369a1 !important;
    font-weight: 700 !important;
}

/* Rating / subtitle / muted text below button */
[data-theme="light"] div[style*="#1e1b4b"] div[style*="font-size: 13px"],
[data-theme="light"] div[style*="#1e1b4b"] div[style*="font-size: 14px"],
body.light-mode div[style*="#1e1b4b"] div[style*="font-size: 13px"],
body.light-mode div[style*="#1e1b4b"] div[style*="font-size: 14px"] {
    color: #475569 !important;
}

/* Download CTA button: must KEEP crisp white text on the bright blue gradient */
[data-theme="light"] div[style*="#1e1b4b"] a[style*="linear-gradient"],
[data-theme="light"] div[style*="#1e1b4b"] a[style*="linear-gradient"] *,
body.light-mode div[style*="#1e1b4b"] a[style*="linear-gradient"],
body.light-mode div[style*="#1e1b4b"] a[style*="linear-gradient"] * {
    color: #ffffff !important;
}

/* Table of Contents Nav Box in Light Mode */
[data-theme="light"] nav[style*="background: rgba(15, 23, 42"],
[data-theme="light"] nav[style*="background:rgba(15,23,42"],
[data-theme="light"] nav[style*="#0d1527"],
body.light-mode nav[style*="background: rgba(15, 23, 42"],
body.light-mode nav[style*="background:rgba(15,23,42"],
body.light-mode nav[style*="#0d1527"] {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] nav a[style*="background: #111827"],
[data-theme="light"] nav a[style*="background:#111827"],
[data-theme="light"] nav a[style*="background: #1e293b"],
[data-theme="light"] nav a[style*="background:#1e293b"],
body.light-mode nav a[style*="background: #111827"],
body.light-mode nav a[style*="background:#111827"],
body.light-mode nav a[style*="background: #1e293b"],
body.light-mode nav a[style*="background:#1e293b"] {
    background: #f8fafc !important;
    color: #1e293b !important;
    border: 1px solid #e2e8f0 !important;
}

[data-theme="light"] nav a[style*="background: #111827"]:hover,
[data-theme="light"] nav a[style*="background:#111827"]:hover,
body.light-mode nav a[style*="background: #111827"]:hover,
body.light-mode nav a[style*="background:#111827"]:hover {
    background: #ecfdf5 !important;
    color: #059669 !important;
    border-color: #10b981 !important;
}

/* Article Footers in Light Mode */
[data-theme="light"] footer,
[data-theme="light"] footer[style*="#0b0f19"],
[data-theme="light"] footer[style*="linear-gradient"],
body.light-mode footer,
body.light-mode footer[style*="#0b0f19"],
body.light-mode footer[style*="linear-gradient"] {
    background: #f1f5f9 !important;
    border-top: 1px solid #e2e8f0 !important;
    color: #475569 !important;
    border-radius: 14px;
    padding: 30px 20px !important;
    margin-top: 40px !important;
}

[data-theme="light"] footer strong,
body.light-mode footer strong {
    color: #0f172a !important;
}

[data-theme="light"] footer p,
body.light-mode footer p {
    color: #475569 !important;
}

/* --------------------------------------------------------------------------
   4. FIXED DARK HERO BANNERS & ACCENT BUTTONS (ALWAYS CRISP WHITE TEXT)
   -------------------------------------------------------------------------- */
.guide-hero-banner,
.guide-hero-banner h1,
.guide-hero-banner h2,
.guide-hero-banner .badge-pill-verified,
[data-theme="light"] .guide-hero-banner h1,
[data-theme="light"] .guide-hero-banner h2,
[data-theme="light"] .guide-hero-banner .badge-pill-verified,
body.light-mode .guide-hero-banner h1,
body.light-mode .guide-hero-banner h2,
body.light-mode .guide-hero-banner .badge-pill-verified {
    color: #ffffff !important;
}

.guide-hero-banner p,
[data-theme="light"] .guide-hero-banner p,
body.light-mode .guide-hero-banner p {
    color: rgba(255, 255, 255, 0.92) !important;
}

/* Force pure white text on call-to-action buttons */
.btn-hero-primary,
.sidebar-btn-download,
.btn-header-play,
[data-theme="light"] .btn-hero-primary,
[data-theme="light"] .sidebar-btn-download,
[data-theme="light"] .btn-header-play,
body.light-mode .btn-hero-primary,
body.light-mode .sidebar-btn-download,
body.light-mode .btn-header-play {
    color: #ffffff !important;
}

/* Captions in Light & Dark Mode */
[data-theme="light"] .infographic-caption,
[data-theme="light"] .caption,
[data-theme="light"] figcaption,
body.light-mode .infographic-caption,
body.light-mode .caption,
body.light-mode figcaption {
    background: #f1f5f9 !important;
    color: #475569 !important;
    border-top: 1px solid #e2e8f0 !important;
}

[data-theme="dark"] .infographic-caption,
[data-theme="dark"] .caption,
[data-theme="dark"] figcaption,
body.dark-mode .infographic-caption,
body.dark-mode .caption,
body.dark-mode figcaption {
    background: rgba(15, 23, 42, 0.95) !important;
    color: #94a3b8 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* --------------------------------------------------------------------------
   5. COMPLETE TABLE DUAL-MODE STYLES
   -------------------------------------------------------------------------- */
.data-matrix-table th,
table th {
    background: linear-gradient(135deg, #064e3b 0%, #0f172a 100%) !important;
    color: #ffffff !important;
}

[data-theme="light"] .data-matrix-table,
[data-theme="light"] table,
body.light-mode .data-matrix-table,
body.light-mode table {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
}

[data-theme="light"] .data-matrix-table td,
[data-theme="light"] table td,
body.light-mode .data-matrix-table td,
body.light-mode table td {
    background: #ffffff !important;
    color: #334155 !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .data-matrix-table tr:nth-child(even) td,
[data-theme="light"] table tr:nth-child(even) td,
[data-theme="light"] table tr[style*="background"] td,
body.light-mode .data-matrix-table tr:nth-child(even) td,
body.light-mode table tr:nth-child(even) td,
body.light-mode table tr[style*="background"] td {
    background-color: #f8fafc !important;
}

[data-theme="dark"] .data-matrix-table,
[data-theme="dark"] table,
body.dark-mode .data-matrix-table,
body.dark-mode table {
    background: #0d1524 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .data-matrix-table td,
[data-theme="dark"] table td,
body.dark-mode .data-matrix-table td,
body.dark-mode table td {
    background: #0d1524 !important;
    color: #cbd5e1 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .data-matrix-table tr:nth-child(even) td,
[data-theme="dark"] table tr:nth-child(even) td,
body.dark-mode .data-matrix-table tr:nth-child(even) td,
body.dark-mode table tr:nth-child(even) td {
    background-color: rgba(30, 41, 59, 0.45) !important;
}

/* --------------------------------------------------------------------------
   6. COMPLETE DARK MODE OVERRIDES FOR LIGHT-FIRST PAGES (SAUDI ARTICLES & HUBS)
   -------------------------------------------------------------------------- */
[data-theme="dark"] .article-main-content,
[data-theme="dark"] .article-content-main,
[data-theme="dark"] .category-main-col,
[data-theme="dark"] .table-of-contents-box,
[data-theme="dark"] .faq-accordion-item,
[data-theme="dark"] .faq-answer-content,
[data-theme="dark"] .sidebar-sticky-panel .card,
[data-theme="dark"] .faq-item,
[data-theme="dark"] .featured-image-box,
body.dark-mode .article-main-content,
body.dark-mode .article-content-main,
body.dark-mode .category-main-col,
body.dark-mode .table-of-contents-box,
body.dark-mode .faq-accordion-item,
body.dark-mode .faq-answer-content,
body.dark-mode .sidebar-sticky-panel .card,
body.dark-mode .faq-item,
body.dark-mode .featured-image-box {
    background: #0d1524 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #cbd5e1 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] .featured-image-box figcaption,
body.dark-mode .featured-image-box figcaption {
    background: #111827 !important;
    color: #94a3b8 !important;
    border-top-color: rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .step-block,
body.dark-mode .step-block {
    background: rgba(30, 41, 59, 0.45) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    border-left-color: #10b981 !important;
    color: #cbd5e1 !important;
}

[data-theme="dark"] .step-block h4,
body.dark-mode .step-block h4 {
    color: #f8fafc !important;
}

[data-theme="dark"] .quick-answer-card,
body.dark-mode .quick-answer-card {
    background: rgba(6, 78, 59, 0.25) !important;
    border-left-color: #10b981 !important;
    border-color: rgba(16, 185, 129, 0.3) !important;
    color: #e2e8f0 !important;
}

[data-theme="dark"] .quick-answer-card h3,
body.dark-mode .quick-answer-card h3 {
    color: #34d399 !important;
}

[data-theme="dark"] .quick-answer-card p,
body.dark-mode .quick-answer-card p {
    color: #d1fae5 !important;
}

[data-theme="dark"] .faq-question,
body.dark-mode .faq-question {
    background: #121c30 !important;
    color: #f8fafc !important;
}

[data-theme="dark"] .faq-question:hover,
body.dark-mode .faq-question:hover {
    background: #16223b !important;
    color: #34d399 !important;
}

[data-theme="dark"] .faq-answer,
body.dark-mode .faq-answer {
    background: #0d1524 !important;
    color: #cbd5e1 !important;
}

[data-theme="dark"] .data-table,
body.dark-mode .data-table {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .data-table th,
body.dark-mode .data-table th {
    background: #064e3b !important;
    color: #ffffff !important;
}

[data-theme="dark"] .data-table td,
body.dark-mode .data-table td {
    background: #0d1524 !important;
    color: #cbd5e1 !important;
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .data-table tr:nth-child(even) td,
body.dark-mode .data-table tr:nth-child(even) td {
    background: rgba(30, 41, 59, 0.45) !important;
}

[data-theme="dark"] .article-content-main h1,
[data-theme="dark"] .article-content-main h2,
[data-theme="dark"] .article-content-main h3,
[data-theme="dark"] .article-content-main h4,
[data-theme="dark"] .article-content h2,
[data-theme="dark"] .article-content h3,
[data-theme="dark"] .article-content h4,
[data-theme="dark"] .table-of-contents-box h3,
body.dark-mode .article-content-main h1,
body.dark-mode .article-content-main h2,
body.dark-mode .article-content-main h3,
body.dark-mode .article-content-main h4,
body.dark-mode .article-content h2,
body.dark-mode .article-content h3,
body.dark-mode .article-content h4,
body.dark-mode .table-of-contents-box h3 {
    color: #f8fafc !important;
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .article-content-main p,
[data-theme="dark"] .article-content-main li,
[data-theme="dark"] .article-content p,
[data-theme="dark"] .article-content li,
body.dark-mode .article-content-main p,
body.dark-mode .article-content-main li,
body.dark-mode .article-content p,
body.dark-mode .article-content li {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .table-of-contents-box a,
body.dark-mode .table-of-contents-box a {
    color: #94a3b8 !important;
}

[data-theme="dark"] .table-of-contents-box a:hover,
body.dark-mode .table-of-contents-box a:hover {
    color: #34d399 !important;
    background: rgba(16, 185, 129, 0.1) !important;
}

[data-theme="dark"] .faq-question-btn,
body.dark-mode .faq-question-btn {
    background: #121c30 !important;
    color: #f8fafc !important;
}

[data-theme="dark"] .info-callout-box,
body.dark-mode .info-callout-box {
    background: rgba(16, 185, 129, 0.08) !important;
    border-left-color: #10b981 !important;
    color: #cbd5e1 !important;
}

[data-theme="dark"] .info-callout-box.warning,
body.dark-mode .info-callout-box.warning {
    background: rgba(245, 158, 11, 0.08) !important;
    border-left-color: #f59e0b !important;
    color: #cbd5e1 !important;
}

[data-theme="dark"] .info-callout-box.danger,
body.dark-mode .info-callout-box.danger {
    background: rgba(239, 68, 68, 0.08) !important;
    border-left-color: #ef4444 !important;
    color: #cbd5e1 !important;
}

/* --------------------------------------------------------------------------
   7. COMPLETE ARTICLE BODY & TYPOGRAPHY DUAL-MODE ENFORCEMENT
   -------------------------------------------------------------------------- */
[data-theme="dark"] .article-main-content,
[data-theme="dark"] .article-content-main,
[data-theme="dark"] article,
[data-theme="dark"] .category-main-col,
body.dark-mode .article-main-content,
body.dark-mode .article-content-main,
body.dark-mode article,
body.dark-mode .category-main-col {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .article-main-content h1,
[data-theme="dark"] .article-main-content h2,
[data-theme="dark"] .article-main-content h3,
[data-theme="dark"] .article-main-content h4,
[data-theme="dark"] .article-main-content h5,
[data-theme="dark"] .article-main-content h6,
[data-theme="dark"] .article-content-main h1,
[data-theme="dark"] .article-content-main h2,
[data-theme="dark"] .article-content-main h3,
[data-theme="dark"] .article-content-main h4,
[data-theme="dark"] article h1,
[data-theme="dark"] article h2,
[data-theme="dark"] article h3,
[data-theme="dark"] article h4,
[data-theme="dark"] .category-main-col h1,
[data-theme="dark"] .category-main-col h2,
[data-theme="dark"] .category-main-col h3,
[data-theme="dark"] .category-main-col h4,
body.dark-mode .article-main-content h1,
body.dark-mode .article-main-content h2,
body.dark-mode .article-main-content h3,
body.dark-mode .article-main-content h4,
body.dark-mode .article-content-main h1,
body.dark-mode .article-content-main h2,
body.dark-mode .article-content-main h3,
body.dark-mode .article-content-main h4,
body.dark-mode article h1,
body.dark-mode article h2,
body.dark-mode article h3,
body.dark-mode article h4,
body.dark-mode .category-main-col h1,
body.dark-mode .category-main-col h2,
body.dark-mode .category-main-col h3,
body.dark-mode .category-main-col h4 {
    color: #f8fafc !important;
}

[data-theme="dark"] .article-main-content p,
[data-theme="dark"] .article-main-content li,
[data-theme="dark"] .article-content-main p,
[data-theme="dark"] .article-content-main li,
[data-theme="dark"] article p,
[data-theme="dark"] article li,
[data-theme="dark"] .category-main-col p,
[data-theme="dark"] .category-main-col li,
body.dark-mode .article-main-content p,
body.dark-mode .article-main-content li,
body.dark-mode .article-content-main p,
body.dark-mode .article-content-main li,
body.dark-mode article p,
body.dark-mode article li,
body.dark-mode .category-main-col p,
body.dark-mode .category-main-col li {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .article-main-content strong,
[data-theme="dark"] .article-main-content b,
[data-theme="dark"] .article-content-main strong,
[data-theme="dark"] .article-content-main b,
[data-theme="dark"] article strong,
[data-theme="dark"] article b,
[data-theme="dark"] .category-main-col strong,
[data-theme="dark"] .category-main-col b,
body.dark-mode .article-main-content strong,
body.dark-mode .article-main-content b,
body.dark-mode .article-content-main strong,
body.dark-mode .article-content-main b,
body.dark-mode article strong,
body.dark-mode article b,
body.dark-mode .category-main-col strong,
body.dark-mode .category-main-col b {
    color: #ffffff !important;
}

[data-theme="dark"] .article-main-content a:not([class*="btn"]):not([class*="badge"]),
[data-theme="dark"] .article-content-main a:not([class*="btn"]):not([class*="badge"]),
[data-theme="dark"] article a:not([class*="btn"]):not([class*="badge"]),
[data-theme="dark"] .category-main-col a:not([class*="btn"]):not([class*="badge"]),
body.dark-mode .article-main-content a:not([class*="btn"]):not([class*="badge"]),
body.dark-mode .article-content-main a:not([class*="btn"]):not([class*="badge"]),
body.dark-mode article a:not([class*="btn"]):not([class*="badge"]),
body.dark-mode .category-main-col a:not([class*="btn"]):not([class*="badge"]) {
    color: #34d399 !important;
}

[data-theme="dark"] .article-main-content a:not([class*="btn"]):not([class*="badge"]):hover,
[data-theme="dark"] .article-content-main a:not([class*="btn"]):not([class*="badge"]):hover,
[data-theme="dark"] article a:not([class*="btn"]):not([class*="badge"]):hover,
[data-theme="dark"] .category-main-col a:not([class*="btn"]):not([class*="badge"]):hover,
body.dark-mode .article-main-content a:not([class*="btn"]):not([class*="badge"]):hover,
body.dark-mode .article-content-main a:not([class*="btn"]):not([class*="badge"]):hover,
body.dark-mode article a:not([class*="btn"]):not([class*="badge"]):hover,
body.dark-mode .category-main-col a:not([class*="btn"]):not([class*="badge"]):hover {
    color: #6ee7b7 !important;
}

/* Footer High-Contrast Rules for Dark & Light Themes */
[data-theme="dark"] footer,
body.dark-mode footer,
[data-theme="dark"] .site-footer,
body.dark-mode .site-footer {
    color: #94a3b8 !important;
}

[data-theme="dark"] footer a,
body.dark-mode footer a,
[data-theme="dark"] .site-footer a,
body.dark-mode .site-footer a {
    color: #cbd5e1 !important;
}

[data-theme="dark"] footer a:hover,
body.dark-mode footer a:hover,
[data-theme="dark"] .site-footer a:hover,
body.dark-mode .site-footer a:hover {
    color: #34d399 !important;
}

[data-theme="light"] footer,
body.light-mode footer,
[data-theme="light"] .site-footer,
body.light-mode .site-footer {
    background: #f1f5f9 !important;
    color: #475569 !important;
    border-top: 1px solid #e2e8f0 !important;
}

[data-theme="light"] footer a,
body.light-mode footer a,
[data-theme="light"] .site-footer a,
body.light-mode .site-footer a {
    color: #334155 !important;
}

[data-theme="light"] footer a:hover,
body.light-mode footer a:hover,
[data-theme="light"] .site-footer a:hover,
body.light-mode .site-footer a:hover {
    color: #059669 !important;
}



/* ==========================================================================
   MASTER MALAYSIA & SITE-WIDE LIGHT/DARK MODE CONTRAST ENGINE (PROBASHI APP)
   ========================================================================== */

/* 1. ARTICLE TITLE ABSOLUTE CONTRAST OVERRIDE */
[data-theme="light"] .article-title,
body.light-mode .article-title,
[data-theme="light"] h1.article-title,
body.light-mode h1.article-title,
[data-theme="light"] .article-header h1,
body.light-mode .article-header h1,
[data-theme="light"] header h1,
body.light-mode header h1 {
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #0f172a !important;
    color: #0f172a !important;
    text-shadow: none !important;
}

[data-theme="dark"] .article-title,
body.dark-mode .article-title,
[data-theme="dark"] h1.article-title,
body.dark-mode h1.article-title,
[data-theme="dark"] .article-header h1,
body.dark-mode .article-header h1,
[data-theme="dark"] header h1,
body.dark-mode header h1 {
    background: linear-gradient(135deg, #ffffff 40%, #38bdf8 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: #ffffff !important;
}

/* 2. BREADCRUMBS & META BAR IN LIGHT MODE */
[data-theme="light"] .breadcrumb-nav,
body.light-mode .breadcrumb-nav,
[data-theme="light"] .breadcrumb-bar,
body.light-mode .breadcrumb-bar {
    color: #475569 !important;
}

[data-theme="light"] .breadcrumb-nav a,
body.light-mode .breadcrumb-nav a,
[data-theme="light"] .breadcrumb-bar a,
body.light-mode .breadcrumb-bar a {
    color: #0284c7 !important;
    font-weight: 500 !important;
}

[data-theme="light"] .breadcrumb-nav a:hover,
body.light-mode .breadcrumb-nav a:hover,
[data-theme="light"] .breadcrumb-bar a:hover,
body.light-mode .breadcrumb-bar a:hover {
    color: #0369a1 !important;
    text-decoration: underline !important;
}

[data-theme="light"] .breadcrumb-nav span,
body.light-mode .breadcrumb-nav span,
[data-theme="light"] .breadcrumb-bar span,
body.light-mode .breadcrumb-bar span {
    color: #475569 !important;
}

[data-theme="light"] .article-meta-bar,
body.light-mode .article-meta-bar {
    color: #475569 !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .article-meta-bar span,
body.light-mode .article-meta-bar span {
    color: #475569 !important;
}

/* 3. ARTICLE LEAD CARDS IN LIGHT MODE */
[data-theme="light"] .article-lead-card,
body.light-mode .article-lead-card {
    background: #f0fdf4 !important;
    border: 1px solid #86efac !important;
    box-shadow: 0 4px 20px -2px rgba(16, 185, 129, 0.12) !important;
}

[data-theme="light"] .article-lead-card p,
body.light-mode .article-lead-card p {
    color: #1e293b !important;
}

[data-theme="light"] .article-lead-card strong,
body.light-mode .article-lead-card strong {
    color: #0f172a !important;
}

/* Lead card pill badges in light mode */
[data-theme="light"] .article-lead-card span[style*="16, 185, 129"],
body.light-mode .article-lead-card span[style*="16, 185, 129"] {
    background: #dcfce7 !important;
    color: #15803d !important;
    border-color: #86efac !important;
}

[data-theme="light"] .article-lead-card span[style*="59, 130, 246"],
body.light-mode .article-lead-card span[style*="59, 130, 246"] {
    background: #dbeafe !important;
    color: #1d4ed8 !important;
    border-color: #93c5fd !important;
}

[data-theme="light"] .article-lead-card span[style*="245, 158, 11"],
body.light-mode .article-lead-card span[style*="245, 158, 11"] {
    background: #fef3c7 !important;
    color: #b45309 !important;
    border-color: #fde68a !important;
}

[data-theme="light"] .article-lead-card span[style*="239, 68, 68"],
body.light-mode .article-lead-card span[style*="239, 68, 68"] {
    background: #fee2e2 !important;
    color: #b91c1c !important;
    border-color: #fca5a5 !important;
}

/* 4. FIXED DARK CTAS & HIGH CONTRAST IN LIGHT MODE */
[data-theme="light"] [style*="background: linear-gradient"][style*="#075985"]:not(.playstore-cta-widget),
[data-theme="light"] [style*="background: linear-gradient"][style*="#064e3b"]:not(.playstore-cta-widget),
[data-theme="light"] [style*="background: linear-gradient"][style*="#450a0a"]:not(.playstore-cta-widget),
[data-theme="light"] [style*="background: linear-gradient"][style*="#111827"]:not(.playstore-cta-widget) {
    color: #ffffff !important;
}

[data-theme="light"] [style*="background: linear-gradient"][style*="#075985"]:not(.playstore-cta-widget) *,
[data-theme="light"] [style*="background: linear-gradient"][style*="#064e3b"]:not(.playstore-cta-widget) *,
[data-theme="light"] [style*="background: linear-gradient"][style*="#450a0a"]:not(.playstore-cta-widget) *,
[data-theme="light"] [style*="background: linear-gradient"][style*="#111827"]:not(.playstore-cta-widget) * {
    color: #ffffff !important;
}

/* 4B. SPOTLIGHT & PLAYSTORE CTA WIDGET LIGHT MODE CONTRAST (Bulletproof) */
[data-theme="light"] .playstore-cta-widget,
[data-theme="light"] div[class*="playstore-cta-widget"],
[data-theme="light"] [style*="#064e3b"].playstore-cta-widget {
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 50%, #eff6ff 100%) !important;
    border: 2px solid #10b981 !important;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.06), 0 0 20px rgba(16, 185, 129, 0.12) !important;
}

[data-theme="light"] .playstore-cta-widget h3,
[data-theme="light"] div[class*="playstore-cta-widget"] h3,
[data-theme="light"] [style*="#064e3b"].playstore-cta-widget h3,
[data-theme="light"] [style*="background: linear-gradient"][style*="#064e3b"].playstore-cta-widget h3 {
    color: #064e3b !important;
}

[data-theme="light"] .playstore-cta-widget p,
[data-theme="light"] div[class*="playstore-cta-widget"] p,
[data-theme="light"] [style*="#064e3b"].playstore-cta-widget p,
[data-theme="light"] [style*="background: linear-gradient"][style*="#064e3b"].playstore-cta-widget p {
    color: #334155 !important;
}

[data-theme="light"] .playstore-cta-widget a[href*="probashiapp.net"] {
    background: #ffffff !important;
    color: #0284c7 !important;
    border: 1.5px solid #0284c7 !important;
}

/* 4C. CONTENT CONTAINERS, CASE STUDIES & HEALTH/WELFARE IN LIGHT MODE */
[data-theme="light"] div[style*="background: #111827"],
[data-theme="light"] div[style*="background:#111827"] {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
}
[data-theme="light"] div[style*="background: #111827"] > h3,
[data-theme="light"] div[style*="background: #111827"] > h4 {
    color: #0f172a !important;
    border-bottom-color: #e2e8f0 !important;
}
[data-theme="light"] div[style*="background: #111827"] > p {
    color: #334155 !important;
}

/* Case Studies Cards */
[data-theme="light"] div[style*="border-left: 4px solid"] {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
}
[data-theme="light"] div[style*="border-left: 4px solid #10b981"] {
    border-left: 4px solid #10b981 !important;
}
[data-theme="light"] div[style*="border-left: 4px solid #10b981"] h4 {
    color: #047857 !important;
}
[data-theme="light"] div[style*="border-left: 4px solid #38bdf8"] {
    border-left: 4px solid #0284c7 !important;
}
[data-theme="light"] div[style*="border-left: 4px solid #38bdf8"] h4 {
    color: #0369a1 !important;
}
[data-theme="light"] div[style*="border-left: 4px solid #fbbf24"] {
    border-left: 4px solid #d97706 !important;
}
[data-theme="light"] div[style*="border-left: 4px solid #fbbf24"] h4 {
    color: #b45309 !important;
}
[data-theme="light"] div[style*="border-left: 4px solid #a78bfa"] {
    border-left: 4px solid #7c3aed !important;
}
[data-theme="light"] div[style*="border-left: 4px solid #a78bfa"] h4 {
    color: #6d28d9 !important;
}
[data-theme="light"] div[style*="border-left: 4px solid"] p {
    color: #334155 !important;
}

/* Health 3-Grid Cards */
[data-theme="light"] div[style*="border-top: 3px solid #38bdf8"] {
    background: #f0f9ff !important;
    border: 1px solid #bae6fd !important;
    border-top: 3px solid #0284c7 !important;
}
[data-theme="light"] div[style*="border-top: 3px solid #38bdf8"] h4 {
    color: #0369a1 !important;
}
[data-theme="light"] div[style*="border-top: 3px solid #10b981"] {
    background: #f0fdf4 !important;
    border: 1px solid #bbf7d0 !important;
    border-top: 3px solid #16a34a !important;
}
[data-theme="light"] div[style*="border-top: 3px solid #10b981"] h4 {
    color: #15803d !important;
}
[data-theme="light"] div[style*="border-top: 3px solid #fbbf24"] {
    background: #fefce8 !important;
    border: 1px solid #fef08a !important;
    border-top: 3px solid #d97706 !important;
}
[data-theme="light"] div[style*="border-top: 3px solid #fbbf24"] h4 {
    color: #b45309 !important;
}
[data-theme="light"] div[style*="border-top: 3px solid"] p {
    color: #334155 !important;
}

/* Welfare Board 3 Cards */
[data-theme="light"] div[style*="border-left: 3px solid #10b981"] {
    background: #f0fdf4 !important;
    border: 1px solid #bbf7d0 !important;
    border-left: 3px solid #16a34a !important;
}
[data-theme="light"] div[style*="border-left: 3px solid #10b981"] h4 {
    color: #15803d !important;
}
[data-theme="light"] div[style*="border-left: 3px solid #38bdf8"] {
    background: #f0f9ff !important;
    border: 1px solid #bae6fd !important;
    border-left: 3px solid #0284c7 !important;
}
[data-theme="light"] div[style*="border-left: 3px solid #38bdf8"] h4 {
    color: #0369a1 !important;
}
[data-theme="light"] div[style*="border-left: 3px solid #fbbf24"] {
    background: #fefce8 !important;
    border: 1px solid #fef08a !important;
    border-left: 3px solid #d97706 !important;
}
[data-theme="light"] div[style*="border-left: 3px solid #fbbf24"] h4 {
    color: #b45309 !important;
}
[data-theme="light"] div[style*="border-left: 3px solid"] p {
    color: #334155 !important;
}

/* Pre-departure Checklist 4 Cards */
[data-theme="light"] div[style*="padding: 14px 18px"][style*="background: #1f2937"],
[data-theme="light"] div[style*="padding: 18px 22px"][style*="background: #1f2937"] {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
}
[data-theme="light"] div[style*="padding: 14px 18px"][style*="background: #1f2937"] *,
[data-theme="light"] div[style*="padding: 18px 22px"][style*="background: #1f2937"] * {
    color: #0f172a !important;
}

/* FAQ items in Light Mode */
[data-theme="light"] div[style*="background: #1e293b"][style*="border: 1px solid #334155"] {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03) !important;
}
[data-theme="light"] div[style*="background: #1e293b"][style*="border: 1px solid #334155"] h4 {
    color: #0f172a !important;
}
[data-theme="light"] div[style*="background: #1e293b"][style*="border: 1px solid #334155"] p {
    color: #334155 !important;
}

/* Conclusion Box in Light Mode */
[data-theme="light"] div[style*="background: #0f172a"][style*="border-left: 4px solid #10b981"] {
    background: #f0fdf4 !important;
    border: 1px solid #bbf7d0 !important;
    border-left: 4px solid #10b981 !important;
}
[data-theme="light"] div[style*="background: #0f172a"][style*="border-left: 4px solid #10b981"] h3 {
    color: #064e3b !important;
}
[data-theme="light"] div[style*="background: #0f172a"][style*="border-left: 4px solid #10b981"] p {
    color: #334155 !important;
}


/* 5. SIDEBAR CARDS & WIDGETS IN LIGHT MODE */
[data-theme="light"] .sidebar-widget,
body.light-mode .sidebar-widget,
[data-theme="light"] .sidebar-sticky-panel,
body.light-mode .sidebar-sticky-panel,
[data-theme="light"] .author-card,
body.light-mode .author-card {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    color: #334155 !important;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05) !important;
}


/* ==========================================================================
   MASTER THEME UNIFICATION & PERMANENT DESIGN LOCK (PROBASHI APP)
   ========================================================================== */

/* 1. DARK MODE LOCK (Default & [data-theme="dark"]): Eliminates Frankenstein White Cards in Dark Mode */
[data-theme="dark"] body,
:root:not([data-theme="light"]) body {
    background-color: #0b1329 !important;
    color: #f1f5f9 !important;
}

[data-theme="dark"] .main-container,
:root:not([data-theme="light"]) .main-container,
[data-theme="dark"] .article-layout-wrapper,
:root:not([data-theme="light"]) .article-layout-wrapper {
    background-color: transparent !important;
}

[data-theme="dark"] .content-card,
:root:not([data-theme="light"]) .content-card,
[data-theme="dark"] .article-content,
:root:not([data-theme="light"]) .article-content,
[data-theme="dark"] .article-main-content,
:root:not([data-theme="light"]) .article-main-content {
    background-color: #0f172a !important;
    color: #f1f5f9 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .content-card h1,
[data-theme="dark"] .content-card h2,
[data-theme="dark"] .content-card h3,
[data-theme="dark"] .content-card h4,
[data-theme="dark"] .article-content h1,
[data-theme="dark"] .article-content h2,
[data-theme="dark"] .article-content h3,
[data-theme="dark"] .article-content h4,
[data-theme="dark"] .article-main-content h1,
[data-theme="dark"] .article-main-content h2,
[data-theme="dark"] .article-main-content h3,
[data-theme="dark"] .article-main-content h4,
:root:not([data-theme="light"]) .content-card h1,
:root:not([data-theme="light"]) .content-card h2,
:root:not([data-theme="light"]) .content-card h3,
:root:not([data-theme="light"]) .article-content h1,
:root:not([data-theme="light"]) .article-content h2,
:root:not([data-theme="light"]) .article-content h3,
:root:not([data-theme="light"]) .article-main-content h1,
:root:not([data-theme="light"]) .article-main-content h2,
:root:not([data-theme="light"]) .article-main-content h3 {
    color: #f8fafc !important;
}

[data-theme="dark"] .content-card p,
[data-theme="dark"] .content-card li,
[data-theme="dark"] .content-card span:not([class*="badge"]):not([class*="tag"]):not([class*="btn"]):not([class*="icon"]),
[data-theme="dark"] .article-content p,
[data-theme="dark"] .article-content li,
[data-theme="dark"] .article-main-content p,
[data-theme="dark"] .article-main-content li,
:root:not([data-theme="light"]) .content-card p,
:root:not([data-theme="light"]) .content-card li,
:root:not([data-theme="light"]) .content-card span:not([class*="badge"]):not([class*="tag"]):not([class*="btn"]):not([class*="icon"]),
:root:not([data-theme="light"]) .article-content p,
:root:not([data-theme="light"]) .article-content li,
:root:not([data-theme="light"]) .article-main-content p,
:root:not([data-theme="light"]) .article-main-content li {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .quick-nav-bar,
[data-theme="dark"] .breadcrumb-bar,
:root:not([data-theme="light"]) .quick-nav-bar,
:root:not([data-theme="light"]) .breadcrumb-bar {
    background-color: #0f172a !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #94a3b8 !important;
}

[data-theme="dark"] .quick-nav-bar a,
[data-theme="dark"] .breadcrumb-bar a,
:root:not([data-theme="light"]) .quick-nav-bar a,
:root:not([data-theme="light"]) .breadcrumb-bar a {
    color: #10b981 !important;
}

/* 2. LIGHT MODE HARMONY ([data-theme="light"]) */
[data-theme="light"] body {
    background-color: #f8fafc !important;
    color: #0f172a !important;
}

[data-theme="light"] .content-card,
[data-theme="light"] .article-content,
[data-theme="light"] .article-main-content {
    background-color: #ffffff !important;
    color: #1e293b !important;
    border-color: #e2e8f0 !important;
}

[data-theme="light"] .content-card p,
[data-theme="light"] .content-card li,
[data-theme="light"] .article-content p,
[data-theme="light"] .article-content li,
[data-theme="light"] .article-main-content p,
[data-theme="light"] .article-main-content li {
    color: #334155 !important;
}

[data-theme="light"] .content-card h1,
[data-theme="light"] .content-card h2,
[data-theme="light"] .content-card h3,
[data-theme="light"] .content-card h4,
[data-theme="light"] .article-content h1,
[data-theme="light"] .article-content h2,
[data-theme="light"] .article-content h3,
[data-theme="light"] .article-main-content h1,
[data-theme="light"] .article-main-content h2,
[data-theme="light"] .article-main-content h3 {
    color: #0f172a !important;
}

[data-theme="light"] .quick-nav-bar,
[data-theme="light"] .breadcrumb-bar {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    color: #64748b !important;
}

[data-theme="light"] .quick-nav-bar a,
[data-theme="light"] .breadcrumb-bar a {
    color: #0f5132 !important;
}

/* 3. STICKY APP BAR (FIXED TEXT CLIPPING & OVERLAP) */
.sticky-app-bar {
    min-height: 64px !important;
    padding: 8px 16px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.sticky-ambient-canvas-wrapper {
    opacity: 0.25 !important; /* soft, subtle ambient vector grid */
    pointer-events: none !important;
}

.sticky-bar-inner {
    position: relative !important;
    z-index: 10 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

.sticky-text {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    z-index: 11 !important;
}

.sticky-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    line-height: 1.3 !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.8);
}

.sticky-sub {
    font-size: 12px !important;
    color: rgba(255, 255, 255, 0.85) !important;
    line-height: 1.3 !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.8);
}


/* ==========================================================================
   BULLETPROOF THEME HARMONY & UI POLISH (ALL SAUDI & LEAF GUIDES)
   ========================================================================== */

/* 1. TABLE OF CONTENTS (TOC) - FIX GLARING WHITE BOX IN DARK MODE */
[data-theme="dark"] .table-of-contents,
:root:not([data-theme="light"]) .table-of-contents {
    background: #0f172a !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] .table-of-contents h2,
:root:not([data-theme="light"]) .table-of-contents h2 {
    color: #10b981 !important;
}

[data-theme="dark"] .table-of-contents li a,
:root:not([data-theme="light"]) .table-of-contents li a {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .table-of-contents li a:hover,
:root:not([data-theme="light"]) .table-of-contents li a:hover {
    color: #10b981 !important;
}

[data-theme="light"] .table-of-contents {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .table-of-contents h2 {
    color: #0f5132 !important;
}

[data-theme="light"] .table-of-contents li a {
    color: #334155 !important;
}

/* 2. GUIDE HEADER & META IN LIGHT AND DARK MODES */
[data-theme="dark"] .guide-header,
:root:not([data-theme="light"]) .guide-header {
    background: linear-gradient(135deg, #0d3b27 0%, #155724 100%) !important;
    border: 1px solid rgba(16, 185, 129, 0.25) !important;
    color: #ffffff !important;
}

[data-theme="dark"] .guide-header h1,
:root:not([data-theme="light"]) .guide-header h1 {
    color: #ffffff !important;
    background: transparent !important;
}

[data-theme="dark"] .guide-meta span,
:root:not([data-theme="light"]) .guide-meta span {
    color: #d1fae5 !important;
}

[data-theme="dark"] .guide-meta i,
:root:not([data-theme="light"]) .guide-meta i {
    color: #fbbf24 !important;
}

/* Light Mode: High Contrast Forest Green (No pale/invisible text) */
[data-theme="light"] .guide-header {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%) !important;
    border: 1.5px solid #86efac !important;
    box-shadow: 0 10px 25px rgba(15, 81, 50, 0.08) !important;
}

[data-theme="light"] .guide-header h1 {
    color: #064e3b !important;
    background: transparent !important;
}

[data-theme="light"] .guide-meta span {
    color: #065f46 !important;
    font-weight: 600 !important;
}

[data-theme="light"] .guide-meta i {
    color: #059669 !important;
}

/* 3. BREADCRUMB & QUICK NAV BAR */
[data-theme="dark"] .quick-nav-bar,
:root:not([data-theme="light"]) .quick-nav-bar {
    background: #0f172a !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #94a3b8 !important;
}

[data-theme="dark"] .quick-nav-bar a,
:root:not([data-theme="light"]) .quick-nav-bar a {
    color: #10b981 !important;
}

[data-theme="light"] .quick-nav-bar {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    color: #475569 !important;
}

[data-theme="light"] .quick-nav-bar a {
    color: #0f5132 !important;
}

/* 4. CLEAN STICKY APP BAR (NO OVERLAPPING SVG GLITCHES) */
.sticky-app-bar .sticky-ambient-svg {
    display: none !important;
}

.sticky-app-bar {
    min-height: 64px !important;
    padding: 8px 16px !important;
    box-sizing: border-box !important;
    background: rgba(11, 19, 41, 0.96) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-top: 1px solid rgba(16, 185, 129, 0.35) !important;
    box-shadow: 0 -6px 25px rgba(0, 0, 0, 0.5) !important;
    z-index: 9999 !important;
}

[data-theme="light"] .sticky-app-bar {
    background: rgba(255, 255, 255, 0.97) !important;
    border-top: 1px solid rgba(16, 185, 129, 0.3) !important;
    box-shadow: 0 -6px 25px rgba(0, 0, 0, 0.08) !important;
}

.sticky-bar-inner {
    position: relative !important;
    z-index: 10 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

.sticky-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    line-height: 1.3 !important;
}

[data-theme="light"] .sticky-title {
    color: #0f172a !important;
}

.sticky-sub {
    font-size: 12px !important;
    color: rgba(255, 255, 255, 0.8) !important;
    line-height: 1.3 !important;
}

[data-theme="light"] .sticky-sub {
    color: #475569 !important;
}


/* ==========================================================================
   PERFECT BOX & CALLOUT THEMING (STEP-BOX, ALERT-BOX, APP-CTA-BANNER)
   ========================================================================== */

/* 1. STEP-BOX (The 5 boxes in Qiwa & Leaf Guides) */
[data-theme="dark"] .step-box,
:root:not([data-theme="light"]) .step-box {
    background: #162032 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-left: 5px solid #10b981 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
    color: #f1f5f9 !important;
}

[data-theme="dark"] .step-box h4,
:root:not([data-theme="light"]) .step-box h4 {
    color: #34d399 !important;
    font-weight: 700 !important;
}

[data-theme="dark"] .step-box p,
[data-theme="dark"] .step-box li,
[data-theme="dark"] .step-box span,
:root:not([data-theme="light"]) .step-box p,
:root:not([data-theme="light"]) .step-box li,
:root:not([data-theme="light"]) .step-box span {
    color: #cbd5e1 !important;
}

[data-theme="light"] .step-box {
    background: #f0fdf4 !important;
    border: 1px solid #dcfce7 !important;
    border-left: 5px solid #059669 !important;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.06) !important;
    color: #064e3b !important;
}

[data-theme="light"] .step-box h4 {
    color: #065f46 !important;
    font-weight: 700 !important;
}

[data-theme="light"] .step-box p,
[data-theme="light"] .step-box li,
[data-theme="light"] .step-box span {
    color: #1e293b !important;
}

/* 2. ALERT-BOX & ALERT-BOX.DANGER (Notice and Legal Obligation Boxes) */
[data-theme="dark"] .alert-box,
:root:not([data-theme="light"]) .alert-box {
    background: rgba(245, 158, 11, 0.12) !important;
    border: 1px solid rgba(245, 158, 11, 0.25) !important;
    border-left: 5px solid #f59e0b !important;
    color: #fef3c7 !important;
}

[data-theme="dark"] .alert-box p,
[data-theme="dark"] .alert-box strong,
[data-theme="dark"] .alert-box span,
:root:not([data-theme="light"]) .alert-box p,
:root:not([data-theme="light"]) .alert-box strong,
:root:not([data-theme="light"]) .alert-box span {
    color: #fde68a !important;
}

[data-theme="dark"] .alert-box.danger,
:root:not([data-theme="light"]) .alert-box.danger {
    background: rgba(239, 68, 68, 0.12) !important;
    border: 1px solid rgba(239, 68, 68, 0.25) !important;
    border-left: 5px solid #ef4444 !important;
    color: #fecaca !important;
}

[data-theme="dark"] .alert-box.danger p,
[data-theme="dark"] .alert-box.danger strong,
[data-theme="dark"] .alert-box.danger span,
:root:not([data-theme="light"]) .alert-box.danger p,
:root:not([data-theme="light"]) .alert-box.danger strong,
:root:not([data-theme="light"]) .alert-box.danger span {
    color: #fca5a5 !important;
}

[data-theme="light"] .alert-box {
    background: #fffbeb !important;
    border: 1px solid #fef3c7 !important;
    border-left: 5px solid #d97706 !important;
    color: #78350f !important;
}

[data-theme="light"] .alert-box p,
[data-theme="light"] .alert-box strong,
[data-theme="light"] .alert-box span {
    color: #92400e !important;
}

[data-theme="light"] .alert-box.danger {
    background: #fef2f2 !important;
    border: 1px solid #fee2e2 !important;
    border-left: 5px solid #dc2626 !important;
    color: #7f1d1d !important;
}

[data-theme="light"] .alert-box.danger p,
[data-theme="light"] .alert-box.danger strong,
[data-theme="light"] .alert-box.danger span {
    color: #991b1b !important;
}

/* 3. APP CTA BANNER (Before Footer) */
[data-theme="dark"] .app-cta-banner,
:root:not([data-theme="light"]) .app-cta-banner {
    background: linear-gradient(135deg, #0d1527 0%, #1e293b 100%) !important;
    border: 1px solid rgba(16, 185, 129, 0.35) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
    color: #ffffff !important;
}

[data-theme="dark"] .app-cta-banner h2,
:root:not([data-theme="light"]) .app-cta-banner h2 {
    color: #facc15 !important;
}

[data-theme="dark"] .app-cta-banner p,
:root:not([data-theme="light"]) .app-cta-banner p {
    color: #e2e8f0 !important;
}

[data-theme="light"] .app-cta-banner {
    background: linear-gradient(135deg, #064e3b 0%, #0f766e 100%) !important;
    border: 1px solid #059669 !important;
    box-shadow: 0 10px 30px rgba(6, 78, 59, 0.25) !important;
    color: #ffffff !important;
}

[data-theme="light"] .app-cta-banner h2 {
    color: #fef08a !important;
}

[data-theme="light"] .app-cta-banner p {
    color: #f0fdf4 !important;
}



/* ==========================================================================
   MASTER UNIVERSAL THEME ENGINE & ZERO-FAILURE CONTRAST OVERRIDE (v5.0)
   100% Coverage for Light & Dark Modes across all Articles, Tables & Widgets
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. ROOT VARIABLES FORCED
   -------------------------------------------------------------------------- */
:root,
[data-theme="dark"],
:root:not([data-theme="light"]) {
    --primary: #10b981 !important;
    --primary-dark: #059669 !important;
    --bg-dark: #0b1329 !important;
    --card-bg: #0f172a !important;
    --border-color: rgba(255, 255, 255, 0.08) !important;
    --text-main: #f8fafc !important;
    --text-secondary: #cbd5e1 !important;
    --text-muted: #94a3b8 !important;
    --bg-light: #0b1329 !important;
    --text-dark: #f8fafc !important;
}

[data-theme="light"] {
    --primary: #059669 !important;
    --primary-dark: #047857 !important;
    --bg-dark: #f8fafc !important;
    --card-bg: #ffffff !important;
    --border-color: #e2e8f0 !important;
    --text-main: #0f172a !important;
    --text-secondary: #334155 !important;
    --text-muted: #64748b !important;
    --bg-light: #f8fafc !important;
    --text-dark: #0f172a !important;
}

/* --------------------------------------------------------------------------
   2. LIGHT MODE HARMONY (Zero dark boxes, Zero illegible text)
   -------------------------------------------------------------------------- */
[data-theme="light"] body {
    background-color: #f8fafc !important;
    color: #0f172a !important;
}

[data-theme="light"] .article-main-content,
[data-theme="light"] .article-layout-wrapper,
[data-theme="light"] .container,
[data-theme="light"] main,
[data-theme="light"] article,
[data-theme="light"] section {
    background-color: transparent !important;
    color: #0f172a !important;
}

/* All Headings in Light Mode */
[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] h4,
[data-theme="light"] h5,
[data-theme="light"] h6,
[data-theme="light"] [style*="color: #ffffff"],
[data-theme="light"] [style*="color:#ffffff"],
[data-theme="light"] [style*="color: #fff"],
[data-theme="light"] [style*="color:#fff;"],
[data-theme="light"] [style*="color: white"],
[data-theme="light"] [style*="color: #f8fafc"],
[data-theme="light"] [style*="color: #f1f5f9"] {
    color: #0f172a !important;
}

/* Preserve bright buttons and badges in Light Mode */
[data-theme="light"] .btn-hero-primary,
[data-theme="light"] .btn-hero-primary *,
[data-theme="light"] [class*="btn"],
[data-theme="light"] [class*="badge"],
[data-theme="light"] button,
[data-theme="light"] a[style*="background: #10b981"],
[data-theme="light"] a[style*="background:#10b981"],
[data-theme="light"] a[style*="background: #059669"],
[data-theme="light"] a[style*="background:#059669"],
[data-theme="light"] span[style*="background: #10b981"],
[data-theme="light"] span[style*="background:#10b981"],
[data-theme="light"] span[style*="background: #059669"] {
    color: #030712 !important;
}

[data-theme="light"] .btn-header-play,
[data-theme="light"] .btn-header-play * {
    color: #0f172a !important;
}

/* Paragraphs & Lists in Light Mode */
[data-theme="light"] p,
[data-theme="light"] li,
[data-theme="light"] dd,
[data-theme="light"] [style*="color: var(--text-secondary"],
[data-theme="light"] [style*="color: #cbd5e1"],
[data-theme="light"] [style*="color:#cbd5e1"],
[data-theme="light"] [style*="color: #94a3b8"],
[data-theme="light"] [style*="color:#94a3b8"] {
    color: #334155 !important;
}

[data-theme="light"] strong,
[data-theme="light"] b {
    color: #0f172a !important;
}

/* Neutralize Rogue Dark Boxes in Light Mode */
[data-theme="light"] div[style*="background: #0f172a"],
[data-theme="light"] div[style*="background:#0f172a"],
[data-theme="light"] div[style*="background: #030712"],
[data-theme="light"] div[style*="background:#030712"],
[data-theme="light"] div[style*="background: #0d1524"],
[data-theme="light"] div[style*="background:#0d1524"],
[data-theme="light"] div[style*="background: #1e293b"],
[data-theme="light"] div[style*="background:#1e293b"],
[data-theme="light"] div[style*="background: #111827"],
[data-theme="light"] div[style*="background:#111827"],
[data-theme="light"] div[style*="background: #162032"],
[data-theme="light"] div[style*="background:#162032"],
[data-theme="light"] div[style*="rgba(15, 23, 42"],
[data-theme="light"] section[style*="background: #0f172a"],
[data-theme="light"] section[style*="background:#0f172a"],
[data-theme="light"] section[style*="rgba(15, 23, 42"] {
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] div[style*="background: #0f172a"] *,
[data-theme="light"] div[style*="background:#0f172a"] *,
[data-theme="light"] div[style*="background: #030712"] *,
[data-theme="light"] div[style*="rgba(15, 23, 42"] *,
[data-theme="light"] section[style*="background: #0f172a"] * {
    color: #334155 !important;
}

[data-theme="light"] div[style*="background: #0f172a"] h1,
[data-theme="light"] div[style*="background: #0f172a"] h2,
[data-theme="light"] div[style*="background: #0f172a"] h3,
[data-theme="light"] div[style*="background: #0f172a"] h4,
[data-theme="light"] div[style*="rgba(15, 23, 42"] h1,
[data-theme="light"] div[style*="rgba(15, 23, 42"] h2,
[data-theme="light"] div[style*="rgba(15, 23, 42"] h3 {
    color: #0f172a !important;
}

/* Article Header in Light Mode */
[data-theme="light"] header[style*="radial-gradient"] {
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%) !important;
    border: 1.5px solid #a7f3d0 !important;
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.08) !important;
}
[data-theme="light"] header[style*="radial-gradient"] h1 {
    color: #064e3b !important;
}
[data-theme="light"] header[style*="radial-gradient"] p {
    color: #1e293b !important;
}

/* ==========================================================================
   CONVERSION WIDGETS & PLAY STORE CARDS (100% WCAG AAA DUAL THEME)
   ========================================================================== */

/* 1. LIGHT MODE: Pure clean emerald/mint cards, dark emerald headings, crisp slate body */
[data-theme="light"] .playstore-widget,
[data-theme="light"] .playstore-cta-widget,
[data-theme="light"] .conversion-widget,
[data-theme="light"] .hero-conversion-widget,
[data-theme="light"] .mid-conversion-widget,
[data-theme="light"] .conclusion-conversion-widget,
[data-theme="light"] .widget-final,
[data-theme="light"] .app-cta-banner,
[data-theme="light"] .app-cta-card,
[data-theme="light"] .in-article-banner,
[data-theme="light"] .in-article-cta,
[data-theme="light"] .hub-conversion-widget,
[data-theme="light"] #widget-hero,
[data-theme="light"] div[style*="#0b1726"][style*="#061d15"],
[data-theme="light"] div[style*="#0b1726,#061d15"],
[data-theme="light"] div[style*="#132438"][style*="#0d382e"],
[data-theme="light"] div[style*="#064e3b"][style*="#0f172a"]:not(.sidebar-app-card),
[data-theme="light"] div[style*="#450a0a"][style*="#0f172a"],
[data-theme="light"] div[style*="#0b1f17"][style*="#132e22"],
[data-theme="light"] div[style*="linear-gradient(135deg, rgba(16, 185, 129"],
[data-theme="light"] div[style*="linear-gradient(135deg, rgba(6, 78, 59"],
[data-theme="light"] div[style*="linear-gradient(135deg, rgba(15, 23, 42"] {
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 50%, #eff6ff 100%) !important;
    border: 2px solid #10b981 !important;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.06), 0 0 20px rgba(16, 185, 129, 0.12) !important;
}

/* Titles and Headings in Light Mode */
[data-theme="light"] .playstore-widget .widget-title,
[data-theme="light"] .playstore-cta-widget h2,
[data-theme="light"] .playstore-cta-widget h3,
[data-theme="light"] .conversion-widget .widget-title,
[data-theme="light"] .conversion-widget h2,
[data-theme="light"] .conversion-widget h3,
[data-theme="light"] .conversion-widget .widget-badge h3,
[data-theme="light"] .hero-conversion-widget h2,
[data-theme="light"] .hero-conversion-widget h3,
[data-theme="light"] .mid-conversion-widget h2,
[data-theme="light"] .mid-conversion-widget h3,
[data-theme="light"] .conclusion-conversion-widget h2,
[data-theme="light"] .conclusion-conversion-widget h3,
[data-theme="light"] .widget-final h2,
[data-theme="light"] .widget-final h3,
[data-theme="light"] .app-cta-banner h2,
[data-theme="light"] .app-cta-banner h3,
[data-theme="light"] .app-cta-card h2,
[data-theme="light"] .app-cta-card h3,
[data-theme="light"] div[style*="#0b1726"][style*="#061d15"] h3,
[data-theme="light"] div[style*="#0b1726,#061d15"] h3,
[data-theme="light"] div[style*="#132438"][style*="#0d382e"] h3,
[data-theme="light"] div[style*="linear-gradient(135deg, rgba(16, 185, 129"] h2,
[data-theme="light"] div[style*="linear-gradient(135deg, rgba(16, 185, 129"] h3 {
    color: #064e3b !important;
}

/* Descriptions, Paragraphs and Meta in Light Mode */
[data-theme="light"] .playstore-widget .widget-desc,
[data-theme="light"] .playstore-widget .widget-meta,
[data-theme="light"] .playstore-cta-widget p,
[data-theme="light"] .conversion-widget .widget-desc,
[data-theme="light"] .conversion-widget p,
[data-theme="light"] .hero-conversion-widget p,
[data-theme="light"] .mid-conversion-widget p,
[data-theme="light"] .conclusion-conversion-widget p,
[data-theme="light"] .widget-final p,
[data-theme="light"] .app-cta-banner p,
[data-theme="light"] .app-cta-card p,
[data-theme="light"] div[style*="#0b1726"][style*="#061d15"] p,
[data-theme="light"] div[style*="#0b1726,#061d15"] p,
[data-theme="light"] div[style*="#132438"][style*="#0d382e"] p,
[data-theme="light"] div[style*="linear-gradient(135deg, rgba(16, 185, 129"] p {
    color: #334155 !important;
}

/* Badges & Perks in Light Mode */
[data-theme="light"] .playstore-widget .widget-badge,
[data-theme="light"] .conversion-widget .widget-badge,
[data-theme="light"] .conversion-widget .widget-perks span,
[data-theme="light"] .hero-conversion-widget span:not(a span),
[data-theme="light"] .mid-conversion-widget span:not(a span),
[data-theme="light"] .conclusion-conversion-widget span:not(a span),
[data-theme="light"] div[style*="#0b1726"][style*="#061d15"] span:not(a span),
[data-theme="light"] div[style*="#0b1726,#061d15"] span:not(a span) {
    background: #dcfce7 !important;
    border: 1px solid #86efac !important;
    color: #166534 !important;
}

/* Play Store Download Buttons in Light Mode */
[data-theme="light"] .playstore-widget .playstore-btn,
[data-theme="light"] .conversion-widget .btn-playstore,
[data-theme="light"] .conversion-widget a[href*="play.google"],
[data-theme="light"] .hero-conversion-widget a[href*="play.google"],
[data-theme="light"] .mid-conversion-widget a[href*="play.google"],
[data-theme="light"] .conclusion-conversion-widget a[href*="play.google"],
[data-theme="light"] .widget-final a[href*="play.google"],
[data-theme="light"] .app-cta-banner a[href*="play.google"],
[data-theme="light"] .app-cta-card a[href*="play.google"],
[data-theme="light"] div[style*="#0b1726"][style*="#061d15"] a[href*="play.google"],
[data-theme="light"] div[style*="#0b1726,#061d15"] a[href*="play.google"],
[data-theme="light"] div[style*="linear-gradient(135deg, rgba(16, 185, 129"] a[href*="play.google"] {
    background: #10b981 !important;
    border: 1.5px solid #059669 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4) !important;
}

[data-theme="light"] .playstore-widget .playstore-btn *,
[data-theme="light"] .playstore-widget .playstore-btn .btn-large,
[data-theme="light"] .playstore-widget .playstore-btn .btn-small,
[data-theme="light"] .playstore-cta-widget a[href*="play.google"] *,
[data-theme="light"] .in-article-cta a[href*="play.google"] *,
[data-theme="light"] div[style*="#1e1b4b"] a[href*="play.google"] *,
[data-theme="light"] a[href*="play.google.com/store/apps/details?id=com.probashi.app"],
[data-theme="light"] a[href*="play.google.com/store/apps/details?id=com.probashi.app"] *,
body.light-mode a[href*="play.google.com/store/apps/details?id=com.probashi.app"],
body.light-mode a[href*="play.google.com/store/apps/details?id=com.probashi.app"] *,
[data-theme="light"] .conversion-widget .btn-playstore *,
[data-theme="light"] .hero-conversion-widget a[href*="play.google"] *,
[data-theme="light"] .mid-conversion-widget a[href*="play.google"] *,
[data-theme="light"] .conclusion-conversion-widget a[href*="play.google"] *,
[data-theme="light"] .widget-final a[href*="play.google"] *,
[data-theme="light"] .app-cta-banner a[href*="play.google"] *,
[data-theme="light"] div[style*="#0b1726"][style*="#061d15"] a[href*="play.google"] *,
[data-theme="light"] div[style*="#0b1726,#061d15"] a[href*="play.google"] * {
    color: #ffffff !important;
    text-decoration: none !important;
}

/* Secondary Action Button (e.g. Web Tools / Online Tools) in Light Mode */
[data-theme="light"] div[style*="#0b1726"][style*="#061d15"] a[href*="/tools"],
[data-theme="light"] div[style*="#0b1726,#061d15"] a[href*="/tools"],
[data-theme="light"] .conversion-widget a:not([href*="play.google"]),
[data-theme="light"] .widget-final a:not([href*="play.google"]) {
    background: #ffffff !important;
    color: #0284c7 !important;
    border: 1.5px solid #0284c7 !important;
}

/* 2. DARK MODE: Glowing dark emerald/navy cards, white headings, soft slate text */
[data-theme="dark"] .playstore-widget,
:root:not([data-theme="light"]) .playstore-widget,
[data-theme="dark"] .conversion-widget,
:root:not([data-theme="light"]) .conversion-widget,
[data-theme="dark"] .hero-conversion-widget,
:root:not([data-theme="light"]) .hero-conversion-widget,
[data-theme="dark"] .mid-conversion-widget,
:root:not([data-theme="light"]) .mid-conversion-widget,
[data-theme="dark"] .conclusion-conversion-widget,
:root:not([data-theme="light"]) .conclusion-conversion-widget,
[data-theme="dark"] .widget-final,
:root:not([data-theme="light"]) .widget-final,
[data-theme="dark"] .app-cta-banner,
:root:not([data-theme="light"]) .app-cta-banner,
[data-theme="dark"] .app-cta-card,
:root:not([data-theme="light"]) .app-cta-card {
    background: linear-gradient(135deg, #0b1726 0%, #061d15 100%) !important;
    border: 2px solid #10b981 !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7) !important;
}

[data-theme="dark"] .playstore-widget .widget-title,
:root:not([data-theme="light"]) .playstore-widget .widget-title,
[data-theme="dark"] .conversion-widget .widget-title,
:root:not([data-theme="light"]) .conversion-widget .widget-title,
[data-theme="dark"] .conversion-widget h2,
:root:not([data-theme="light"]) .conversion-widget h2,
[data-theme="dark"] .conversion-widget h3,
:root:not([data-theme="light"]) .conversion-widget h3,
[data-theme="dark"] .conversion-widget .widget-badge h3,
:root:not([data-theme="light"]) .conversion-widget .widget-badge h3,
[data-theme="dark"] .hero-conversion-widget h2,
:root:not([data-theme="light"]) .hero-conversion-widget h2,
[data-theme="dark"] .hero-conversion-widget h3,
:root:not([data-theme="light"]) .hero-conversion-widget h3,
[data-theme="dark"] .mid-conversion-widget h2,
:root:not([data-theme="light"]) .mid-conversion-widget h2,
[data-theme="dark"] .mid-conversion-widget h3,
:root:not([data-theme="light"]) .mid-conversion-widget h3,
[data-theme="dark"] .conclusion-conversion-widget h2,
:root:not([data-theme="light"]) .conclusion-conversion-widget h2,
[data-theme="dark"] .conclusion-conversion-widget h3,
:root:not([data-theme="light"]) .conclusion-conversion-widget h3,
[data-theme="dark"] .widget-final h2,
:root:not([data-theme="light"]) .widget-final h2,
[data-theme="dark"] .widget-final h3,
:root:not([data-theme="light"]) .widget-final h3,
[data-theme="dark"] .app-cta-banner h2,
:root:not([data-theme="light"]) .app-cta-banner h2,
[data-theme="dark"] .app-cta-banner h3,
:root:not([data-theme="light"]) .app-cta-banner h3 {
    color: #ffffff !important;
}

[data-theme="dark"] .playstore-widget .widget-desc,
:root:not([data-theme="light"]) .playstore-widget .widget-desc,
[data-theme="dark"] .playstore-widget .widget-meta,
:root:not([data-theme="light"]) .playstore-widget .widget-meta,
[data-theme="dark"] .conversion-widget .widget-desc,
:root:not([data-theme="light"]) .conversion-widget .widget-desc,
[data-theme="dark"] .conversion-widget p,
:root:not([data-theme="light"]) .conversion-widget p,
[data-theme="dark"] .hero-conversion-widget p,
:root:not([data-theme="light"]) .hero-conversion-widget p,
[data-theme="dark"] .mid-conversion-widget p,
:root:not([data-theme="light"]) .mid-conversion-widget p,
[data-theme="dark"] .conclusion-conversion-widget p,
:root:not([data-theme="light"]) .conclusion-conversion-widget p,
[data-theme="dark"] .widget-final p,
:root:not([data-theme="light"]) .widget-final p,
[data-theme="dark"] .app-cta-banner p,
:root:not([data-theme="light"]) .app-cta-banner p {
    color: #cbd5e1 !important;
}


/* Table of Contents in Light Mode */
[data-theme="light"] div[style*="background: rgba(15, 23, 42, 0.7)"] {
    background: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
}
[data-theme="light"] div[style*="background: rgba(15, 23, 42, 0.7)"] a {
    color: #0f172a !important;
}
[data-theme="light"] div[style*="background: rgba(15, 23, 42, 0.7)"] a:hover {
    color: #059669 !important;
}

/* --------------------------------------------------------------------------
   3. DARK MODE HARMONY (Zero glaring white boxes, crisp high contrast)
   -------------------------------------------------------------------------- */
[data-theme="dark"] body,
:root:not([data-theme="light"]) body {
    background-color: #0b1329 !important;
    color: #f1f5f9 !important;
}

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6,
:root:not([data-theme="light"]) h1,
:root:not([data-theme="light"]) h2,
:root:not([data-theme="light"]) h3,
:root:not([data-theme="light"]) h4 {
    color: #f8fafc !important;
}

[data-theme="dark"] p,
[data-theme="dark"] li,
[data-theme="dark"] dd,
:root:not([data-theme="light"]) p,
:root:not([data-theme="light"]) li,
:root:not([data-theme="light"]) dd {
    color: #cbd5e1 !important;
}

[data-theme="dark"] strong,
[data-theme="dark"] b,
:root:not([data-theme="light"]) strong,
:root:not([data-theme="light"]) b {
    color: #ffffff !important;
}

/* Rogue dark font overrides in Dark Mode */
[data-theme="dark"] [style*="#334155"],
[data-theme="dark"] [style*="#475569"],
[data-theme="dark"] [style*="#64748b"],
[data-theme="dark"] [style*="#1e293b"],
[data-theme="dark"] [style*="#0f172a"],
[data-theme="dark"] [style*="#212529"],
[data-theme="dark"] [style*="#6c757d"],
:root:not([data-theme="light"]) [style*="#334155"],
:root:not([data-theme="light"]) [style*="#475569"],
:root:not([data-theme="light"]) [style*="#64748b"],
:root:not([data-theme="light"]) [style*="#1e293b"],
:root:not([data-theme="light"]) [style*="#0f172a"],
:root:not([data-theme="light"]) [style*="#212529"],
:root:not([data-theme="light"]) [style*="#6c757d"] {
    color: #cbd5e1 !important;
}

/* Rogue White Boxes in Dark Mode */
[data-theme="dark"] [style*="background: #ffffff"],
[data-theme="dark"] [style*="background:#ffffff"],
[data-theme="dark"] [style*="background: #fff"],
[data-theme="dark"] [style*="background:#fff;"],
[data-theme="dark"] [style*="background: white"],
[data-theme="dark"] [style*="background: #f8fafc"],
[data-theme="dark"] [style*="background: #f8faf9"],
[data-theme="dark"] [style*="background: #fdfdfd"],
[data-theme="dark"] [style*="background: #fff8e1"],
[data-theme="dark"] [style*="background: #fdf2f2"],
[data-theme="dark"] [style*="background-color: #ffffff"],
[data-theme="dark"] [style*="background-color:#ffffff"],
:root:not([data-theme="light"]) [style*="background: #ffffff"],
:root:not([data-theme="light"]) [style*="background:#ffffff"],
:root:not([data-theme="light"]) [style*="background: #fff"],
:root:not([data-theme="light"]) [style*="background: white"],
:root:not([data-theme="light"]) [style*="background: #f8fafc"],
:root:not([data-theme="light"]) [style*="background: #f8faf9"],
:root:not([data-theme="light"]) [style*="background: #fdfdfd"],
:root:not([data-theme="light"]) [style*="background: #fff8e1"],
:root:not([data-theme="light"]) [style*="background: #fdf2f2"] {
    background: #162032 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

[data-theme="dark"] [style*="background: #ffffff"] *,
[data-theme="dark"] [style*="background:#ffffff"] *,
[data-theme="dark"] [style*="background: #f8fafc"] *,
:root:not([data-theme="light"]) [style*="background: #ffffff"] *,
:root:not([data-theme="light"]) [style*="background:#ffffff"] *,
:root:not([data-theme="light"]) [style*="background: #f8fafc"] * {
    color: #cbd5e1 !important;
}

/* --------------------------------------------------------------------------
   4. TABLES IN BOTH MODES
   -------------------------------------------------------------------------- */
[data-theme="dark"] table,
:root:not([data-theme="light"]) table {
    background: #0f172a !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}
[data-theme="dark"] th,
:root:not([data-theme="light"]) th {
    background: #1e293b !important;
    color: #34d399 !important;
}
[data-theme="dark"] td,
:root:not([data-theme="light"]) td {
    background: #0f172a !important;
    color: #cbd5e1 !important;
}

[data-theme="light"] table {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
}
[data-theme="light"] th {
    background: #f1f5f9 !important;
    color: #065f46 !important;
}
[data-theme="light"] td {
    background: #ffffff !important;
    color: #334155 !important;
}

/* ==========================================================================
   BREADCRUMB COMPLETELY REMOVED & ZERO SPACE ENFORCEMENT
   ========================================================================== */
.page-breadcrumb-bar,
.breadcrumb-nav,
.breadcrumbs-bar,
.breadcrumbs-list,
.breadcrumb-bar,
.breadcrumb-container,
.breadcrumb {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    line-height: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
    border: none !important;
}

/* ==========================================================================
   GLOBAL STICKY BOTTOM APP INSTALL BAR (HOMEPAGE & EVERY PAGE DEFAULT)
   ========================================================================== */
.sticky-app-bar {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
    background: rgba(15, 23, 42, 0.95) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    padding: 10px 16px !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.35) !important;
    transition: transform 0.3s ease, background 0.3s ease !important;
}

[data-theme="light"] .sticky-app-bar,
body.light-mode .sticky-app-bar {
    background: rgba(255, 255, 255, 0.96) !important;
    border-top: 1px solid #e2e8f0 !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08) !important;
}

.sticky-bar-inner {
    max-width: 1200px !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
}

.sticky-text {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.sticky-logo-anim {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    border-radius: 10px !important;
    overflow: hidden !important;
}

.sticky-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #f8fafc !important;
    line-height: 1.3 !important;
}

[data-theme="light"] .sticky-title,
body.light-mode .sticky-title {
    color: #0f172a !important;
}

.sticky-sub {
    font-size: 12.5px !important;
    color: #94a3b8 !important;
    line-height: 1.3 !important;
}

[data-theme="light"] .sticky-sub,
body.light-mode .sticky-sub {
    color: #64748b !important;
}

.sticky-app-bar .btn-hero-primary {
    background: #10b981 !important;
    color: #ffffff !important;
    border-radius: 999px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35) !important;
    padding: 8px 20px !important;
    font-size: 14px !important;
}

.sticky-app-bar .btn-hero-primary:hover {
    background: #059669 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.45) !important;
}

@media (max-width: 480px) {
    .sticky-sub {
        font-size: 11px !important;
    }
    .sticky-app-bar .btn-hero-primary {
        padding: 7px 14px !important;
        font-size: 13px !important;
    }
}

