        :root {
            --primary: #0061ff;
            --primary-dark: #0046bd;
            --secondary: #60efff;
            --accent: #f59e0b;
            --success: #10b981;
            --dark-bg: #071527;
            --dark-card: #0d1f36;
            --text-main: #334155;
            --text-soft: #64748b;
            --light-bg: #f8fafc;
            --line: #e2e8f0;
            --white: #ffffff;
            --radius-lg: 18px;
            --radius-xl: 28px;
            --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.08);
            --shadow-strong: 0 28px 70px rgba(0, 97, 255, 0.18);
            --font-ui: 'Be Vietnam Pro', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
        }

        * {
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            margin: 0;
            font-family: var(--font-ui);
            color: var(--text-main);
            background: #ffffff;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
            text-rendering: optimizeLegibility;
            -webkit-font-smoothing: antialiased;
        }

        body,
        button,
        input,
        select,
        textarea,
        .btn,
        .form-control,
        .form-select {
            font-family: var(--font-ui) !important;
        }

        main {
            flex: 1;
            overflow: hidden;
        }

        h1, h2, h3, h4, h5, h6, .font-heading {
            font-family: var(--font-ui) !important;
            letter-spacing: 0 !important;
            font-feature-settings: "kern" 1;
        }

        a {
            text-decoration: none;
        }

        img {
            max-width: 100%;
        }

        .text-gradient {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .hover-lift {
            transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
        }

        .hover-lift:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-strong);
        }

        /* ================= TOPBAR ================= */
        .sv-topbar {
            background:
                radial-gradient(circle at 10% 20%, rgba(96, 239, 255, .14), transparent 28%),
                linear-gradient(135deg, #061225, #0b2340);
            color: rgba(255,255,255,.78);
            font-size: .88rem;
            border-bottom: 1px solid rgba(255,255,255,.08);
        }

        .sv-topbar a {
            color: rgba(255,255,255,.82);
            transition: color .2s ease;
        }

        .sv-topbar a:hover {
            color: var(--secondary);
        }

        .topbar-item {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            white-space: nowrap;
        }

        .topbar-item i {
            color: var(--secondary);
        }

        .topbar-social {
            width: 30px;
            height: 30px;
            border-radius: 999px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: rgba(255,255,255,.08);
            color: #fff;
        }

        .topbar-social:hover {
            background: rgba(96,239,255,.18);
            color: var(--secondary);
        }

        /* ================= NAVBAR ================= */
        .navbar-glass {
            background: rgba(255, 255, 255, 0.92);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border-bottom: 1px solid rgba(0, 97, 255, 0.10);
            box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
            transition: padding .25s ease, box-shadow .25s ease, background .25s ease;
            padding: 12px 0;
        }

        .navbar-glass.is-scrolled {
            padding: 7px 0;
            background: rgba(255, 255, 255, .97);
            box-shadow: 0 14px 36px rgba(15, 23, 42, .10);
        }

        .navbar-brand-wrapper {
            display: inline-flex;
            align-items: center;
            gap: 13px;
            text-decoration: none;
            min-width: 0;
        }

        .logo-box {
            width: 58px;
            height: 58px;
            border-radius: 18px;
            background:
                linear-gradient(#fff, #fff) padding-box,
                linear-gradient(135deg, rgba(0,97,255,.32), rgba(96,239,255,.42)) border-box;
            border: 1px solid transparent;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 7px;
            box-shadow: 0 12px 28px rgba(0,97,255,.12);
            overflow: hidden;
            flex: 0 0 auto;
            transition: transform .25s ease, box-shadow .25s ease;
        }

        .navbar-brand-wrapper:hover .logo-box {
            transform: translateY(-2px) scale(1.03);
            box-shadow: 0 18px 38px rgba(0,97,255,.18);
        }

        .logo-img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            display: block;
        }

        .brand-text {
            display: flex;
            flex-direction: column;
            justify-content: center;
            min-width: 0;
        }

        .brand-name {
            font-family: var(--font-ui);
            font-weight: 900;
            font-size: 1.38rem;
            color: var(--dark-bg);
            line-height: 1;
            letter-spacing: 0;
        }

        .brand-sub {
            font-size: .66rem;
            font-weight: 900;
            color: var(--primary);
            text-transform: uppercase;
            letter-spacing: .13em;
            margin-top: 4px;
        }

        .navbar-nav {
            gap: 2px;
        }

        .navbar-glass .nav-link {
            font-family: var(--font-ui);
            font-weight: 800;
            font-size: .82rem;
            color: var(--text-main) !important;
            text-transform: uppercase;
            padding: 12px 13px !important;
            border-radius: 999px;
            position: relative;
            transition: color .22s ease, background .22s ease, transform .22s ease;
        }

        .navbar-glass .nav-link:hover,
        .navbar-glass .nav-link.active {
            color: #003f9e !important;
            background: #eaf3ff;
            box-shadow: inset 0 0 0 1px rgba(0, 97, 255, .14);
            transform: translateY(-1px);
        }

        .btn-nav-cta {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white !important;
            font-family: var(--font-ui);
            font-weight: 900;
            border-radius: 999px;
            padding: 12px 24px !important;
            box-shadow: 0 14px 30px rgba(0, 97, 255, 0.28);
            transition: transform .22s ease, box-shadow .22s ease;
            border: none;
            white-space: nowrap;
        }

        .btn-nav-cta:hover {
            transform: translateY(-3px);
            box-shadow: 0 20px 38px rgba(0, 97, 255, 0.36);
            color: white !important;
        }

        .navbar-toggler {
            width: 46px;
            height: 46px;
            border-radius: 16px;
            background: rgba(0,97,255,.07);
        }

        /* ================= PARTNERS STRIP ================= */
        .partners-strip {
            background:
                linear-gradient(135deg, rgba(0,97,255,.05), rgba(96,239,255,.08)),
                #ffffff;
            border-top: 1px solid rgba(226,232,240,.9);
            border-bottom: 1px solid rgba(226,232,240,.9);
        }

        .partners-kicker {
            font-weight: 900;
            color: var(--text-soft);
            text-transform: uppercase;
            letter-spacing: .12em;
            font-size: .75rem;
        }

        .partner-pill {
            min-height: 64px;
            border-radius: 18px;
            background: rgba(255,255,255,.88);
            border: 1px solid rgba(226,232,240,.9);
            box-shadow: 0 12px 28px rgba(15,23,42,.045);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 14px 20px;
            font-family: var(--font-ui);
            font-weight: 900;
            color: #1e293b;
            letter-spacing: 0;
            transition: all .25s ease;
        }

        .partner-pill small {
            color: var(--primary);
            font-weight: 800;
            letter-spacing: .08em;
            margin-left: 8px;
            text-transform: uppercase;
            font-size: .62rem;
        }

        .partner-pill:hover {
            transform: translateY(-4px);
            border-color: rgba(0,97,255,.28);
            box-shadow: 0 18px 38px rgba(0,97,255,.11);
        }

        /* ================= FOOTER ================= */
        .footer-pro {
            position: relative;
            overflow: hidden;
            background:
                radial-gradient(circle at 12% 10%, rgba(0,198,255,.14), transparent 25%),
                radial-gradient(circle at 85% 15%, rgba(0,97,255,.18), transparent 30%),
                linear-gradient(135deg, #071527 0%, #0a192f 56%, #061124 100%);
            color: rgba(255, 255, 255, 0.72);
            padding: 0;
            margin-top: auto;
        }

        .footer-pro::before {
            content: '';
            position: absolute;
            inset: 0;
            background:
                linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px),
                linear-gradient(180deg, rgba(255,255,255,.045) 1px, transparent 1px);
            background-size: 52px 52px;
            mask-image: linear-gradient(180deg, #000, transparent 86%);
            pointer-events: none;
        }

        .footer-top-cta {
            position: relative;
            z-index: 1;
            margin-top: -1px;
            padding: 44px 0;
            border-bottom: 1px solid rgba(255,255,255,.10);
        }

        .footer-cta-card {
            background: rgba(255,255,255,.08);
            border: 1px solid rgba(255,255,255,.14);
            border-radius: 28px;
            padding: 26px;
            backdrop-filter: blur(12px);
            box-shadow: 0 20px 60px rgba(0,0,0,.20);
        }

        .footer-main {
            position: relative;
            z-index: 1;
            padding: 66px 0 0;
        }

        .footer-logo-box {
            width: 62px;
            height: 62px;
            border-radius: 20px;
            background: #ffffff;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 7px;
            box-shadow: 0 16px 34px rgba(0,0,0,.24);
            overflow: hidden;
            flex: 0 0 auto;
        }

        .footer-logo-img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            display: block;
        }

        .footer-title {
            color: white;
            font-family: var(--font-ui);
            font-weight: 900;
            margin-bottom: 24px;
            font-size: 1.08rem;
            position: relative;
            padding-bottom: 13px;
        }

        .footer-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 42px;
            height: 3px;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            border-radius: 999px;
        }

        .footer-link {
            color: rgba(255,255,255,0.72);
            text-decoration: none;
            transition: color .22s ease, transform .22s ease;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 12px;
        }

        .footer-link::before {
            content: '\f105';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            color: var(--secondary);
            font-size: .75rem;
            opacity: .85;
        }

        .footer-link:hover {
            color: var(--secondary);
            transform: translateX(5px);
        }

        .footer-contact li {
            margin-bottom: 18px;
            display: flex;
            align-items: flex-start;
            gap: 13px;
        }

        .footer-contact i {
            width: 38px;
            height: 38px;
            border-radius: 14px;
            background: rgba(96,239,255,.10);
            color: var(--secondary);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            flex: 0 0 auto;
        }

        .social-btn {
            width: 42px;
            height: 42px;
            background: rgba(255,255,255,0.10);
            color: white;
            border-radius: 999px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin-right: 9px;
            transition: transform .22s ease, background .22s ease, color .22s ease;
        }

        .social-btn:hover {
            background: var(--primary);
            color: white;
            transform: translateY(-4px);
        }

        .newsletter-control {
            height: 52px;
            border-radius: 16px 0 0 16px !important;
            background: rgba(255,255,255,.95);
            border: 0;
            font-weight: 600;
        }

        .newsletter-btn {
            padding: 12px 18px;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: #fff;
            border: 0;
        }

        .newsletter-btn:hover {
            color: #fff;
            filter: brightness(1.06);
        }

        .trust-mini {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 10px;
            margin-top: 24px;
        }

        .trust-mini-item {
            padding: 12px 10px;
            border-radius: 16px;
            background: rgba(255,255,255,.07);
            border: 1px solid rgba(255,255,255,.10);
            text-align: center;
        }

        .trust-mini-item strong {
            color: #fff;
            display: block;
            font-family: var(--font-ui);
            font-size: 1rem;
        }

        .trust-mini-item span {
            font-size: .72rem;
            color: rgba(255,255,255,.65);
            line-height: 1.25;
            display: block;
        }

        .footer-bottom {
            position: relative;
            z-index: 1;
            background: rgba(0,0,0,0.24);
            border-top: 1px solid rgba(255,255,255,.08);
            padding: 20px 0;
            margin-top: 52px;
            font-size: .9rem;
        }

        /* ================= FLOATING CONTACT ================= */
        .floating-contact-wrapper {
            position: fixed;
            right: 24px;
            bottom: 24px;
            z-index: 1050;
            display: flex;
            flex-direction: column;
            gap: 13px;
        }

        .float-btn {
            width: 58px;
            height: 58px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            text-decoration: none;
            box-shadow: 0 14px 30px rgba(15,23,42,.22);
            transition: transform .25s ease, box-shadow .25s ease;
            position: relative;
        }

        .float-zalo {
            background: linear-gradient(135deg, #0068ff, #00a3ff);
        }

        .float-phone {
            background: linear-gradient(135deg, #10b981, #059669);
        }

        .float-btn i {
            font-size: 24px;
        }

        .float-btn strong {
            font-size: 1.45rem;
            line-height: 1;
        }

        .float-btn:hover {
            transform: translateY(-4px) scale(1.06);
            color: #fff;
            box-shadow: 0 18px 38px rgba(15,23,42,.28);
        }

        .pulse-green {
            animation: pulse-green 2s infinite;
        }

        @keyframes pulse-green {
            0% {
                box-shadow: 0 0 0 0 rgba(16,185,129,.65), 0 14px 30px rgba(15,23,42,.22);
            }
            70% {
                box-shadow: 0 0 0 14px rgba(16,185,129,0), 0 14px 30px rgba(15,23,42,.22);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(16,185,129,0), 0 14px 30px rgba(15,23,42,.22);
            }
        }

        .float-tooltip {
            position: absolute;
            right: 72px;
            top: 50%;
            transform: translate(12px, -50%);
            background: white;
            color: var(--dark-bg);
            padding: 9px 15px;
            border-radius: 999px;
            font-weight: 800;
            font-size: .88rem;
            box-shadow: 0 10px 24px rgba(15,23,42,.14);
            opacity: 0;
            visibility: hidden;
            transition: .25s ease;
            white-space: nowrap;
            pointer-events: none;
        }

        .float-btn:hover .float-tooltip {
            opacity: 1;
            visibility: visible;
            transform: translate(0, -50%);
        }

        .mobile-callbar {
            display: none;
        }

        /* ================= RESPONSIVE ================= */
        @media (max-width: 1199.98px) {
            .nav-link {
                padding: 11px 9px !important;
                font-size: .78rem;
            }
        }

        @media (max-width: 991.98px) {
            .sv-topbar {
                display: none;
            }

            .navbar-brand-wrapper {
                max-width: 78%;
            }

            .logo-box {
                width: 52px;
                height: 52px;
                border-radius: 16px;
            }

            .brand-name {
                font-size: 1.12rem;
            }

            .brand-sub {
                font-size: .55rem;
            }

            .navbar-collapse {
                margin-top: 14px;
                padding: 16px;
                border-radius: 22px;
                background: #fff;
                border: 1px solid rgba(226,232,240,.9);
                box-shadow: 0 18px 44px rgba(15,23,42,.12);
            }

            .navbar-nav {
                align-items: stretch !important;
            }

            .nav-link {
                border-radius: 16px;
                padding: 13px 14px !important;
            }

            .partners-strip {
                display: none;
            }

            .footer-top-cta {
                padding: 34px 0;
            }

            .footer-main {
                padding-top: 46px;
            }
        }

        @media (max-width: 575.98px) {
            body {
                padding-bottom: 70px;
            }

            .brand-sub {
                display: none;
            }

            .floating-contact-wrapper {
                display: none;
            }

            .mobile-callbar {
                position: fixed;
                left: 12px;
                right: 12px;
                bottom: 12px;
                z-index: 1052;
                display: grid;
                grid-template-columns: repeat(3, 1fr);
                gap: 8px;
                padding: 9px;
                border-radius: 22px;
                background: rgba(255,255,255,.96);
                border: 1px solid rgba(226,232,240,.95);
                box-shadow: 0 18px 46px rgba(15,23,42,.20);
                backdrop-filter: blur(14px);
            }

            .mobile-callbar a {
                min-height: 48px;
                border-radius: 16px;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                gap: 2px;
                font-size: .72rem;
                font-weight: 900;
                color: var(--dark-bg);
                text-decoration: none;
                background: #f8fafc;
            }

            .mobile-callbar a.primary {
                background: linear-gradient(135deg, var(--primary), var(--secondary));
                color: #fff;
            }

            .trust-mini {
                grid-template-columns: 1fr;
            }

            .footer-bottom .d-flex {
                gap: 10px;
            }
        }


/* ================= DARK THEME OVERRIDES ================= */
.dark-theme {
    --dark-bg: #030a16;
    --dark-card: #091322;
    --text-main: #f1f5f9;
    --text-soft: #94a3b8;
    --light-bg: #0b1528;
    --line: #1e293b;
    --white: #0d1e36;
    --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.4);
    --shadow-strong: 0 28px 70px rgba(0, 97, 255, 0.1);
}

.dark-theme body {
    background: #030a16 !important;
    color: #f1f5f9 !important;
}

.dark-theme .navbar-glass {
    background: rgba(13, 30, 54, 0.85) !important;
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3) !important;
}

.dark-theme .navbar-glass.is-scrolled {
    background: rgba(13, 30, 54, 0.95) !important;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4) !important;
}

.dark-theme .navbar-glass .nav-link {
    color: #e2e8f0 !important;
}

.dark-theme .navbar-glass .nav-link:hover,
.dark-theme .navbar-glass .nav-link.active {
    color: #60efff !important;
    background: rgba(255, 255, 255, 0.08) !important;
    box-shadow: inset 0 0 0 1px rgba(96, 239, 255, 0.2) !important;
}

.dark-theme .navbar-collapse {
    background: #0d1e36 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4) !important;
}

.dark-theme .partner-pill {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #f1f5f9 !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2) !important;
}

.dark-theme .partner-pill:hover {
    border-color: rgba(96, 239, 255, 0.4) !important;
    box-shadow: 0 18px 38px rgba(96, 239, 255, 0.1) !important;
}

.dark-theme .footer-pro {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.dark-theme .float-tooltip {
    background: #0d1e36 !important;
    color: #f1f5f9 !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3) !important;
}

.dark-theme .mobile-callbar {
    background: rgba(13, 30, 54, 0.96) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.4) !important;
}

.dark-theme .mobile-callbar a {
    background: #091322 !important;
    color: #e2e8f0 !important;
}

.dark-theme .mobile-callbar a.primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
    color: #fff !important;
}

.dark-theme .text-dark {
    color: #f1f5f9 !important;
}

.dark-theme .text-muted {
    color: #94a3b8 !important;
}

/* ================= DARK THEME FOR INTERNAL PAGES ================= */
.dark-theme .db-card,
.dark-theme .db-panel,
.dark-theme .ld-card,
.dark-theme .rp-panel {
    background: #0d1e36 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #f1f5f9 !important;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dark-theme .db-card:hover,
.dark-theme .ld-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45) !important;
    border-color: rgba(0, 97, 255, 0.3) !important;
}

.dark-theme .db-panel h2,
.dark-theme .rp-panel h2 {
    background: #091322 !important;
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
    color: #f8fafc !important;
}

.dark-theme .db-row {
    color: #e2e8f0 !important;
    border-bottom-color: rgba(255, 255, 255, 0.06) !important;
}

.dark-theme .db-row:hover {
    background: #091322 !important;
    color: #fff !important;
}

.dark-theme .db-card .db-value,
.dark-theme .ld-name,
.dark-theme .rp-panel h2,
.dark-theme .rp-bar-val,
.dark-theme .rp-total,
.dark-theme .rp-fcard .v {
    color: #f8fafc !important;
}

.dark-theme .db-card .db-label,
.dark-theme .db-card .db-sub,
.dark-theme .ld-src,
.dark-theme .ld-meta,
.dark-theme .rp-bar-label,
.dark-theme .rp-fcard .l {
    color: #94a3b8 !important;
}

.dark-theme .ld-meta b {
    color: #f1f5f9 !important;
}

.dark-theme .db-act,
.dark-theme .ld-chip,
.dark-theme .ld-assign,
.dark-theme .ld-select,
.dark-theme .ld-note {
    background: #091322 !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #e2e8f0 !important;
}

.dark-theme .db-act:hover,
.dark-theme .ld-chip:hover {
    background: #0d1e36 !important;
    border-color: rgba(96, 239, 255, 0.3) !important;
    color: #60efff !important;
}

.dark-theme .db-act.primary,
.dark-theme .ld-chip.active {
    background: linear-gradient(135deg, #0061ff, #00c6ff) !important;
    color: #fff !important;
    border: 0 !important;
}

.dark-theme .ld-msg pre {
    background: #091322 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #e2e8f0 !important;
}

.dark-theme .rp-bar-track {
    background: #091322 !important;
}

.dark-theme .rp-fcard {
    background: #091322 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #e2e8f0 !important;
}

.dark-theme table.rp-table th {
    background: #091322 !important;
    color: #f8fafc !important;
    border-bottom-color: rgba(255, 255, 255, 0.12) !important;
}

.dark-theme table.rp-table td {
    color: #e2e8f0 !important;
    border-bottom-color: rgba(255, 255, 255, 0.06) !important;
}

/* New lead badge highlight in dark mode */
.dark-theme .ld-card.is-new {
    border-color: rgba(220, 38, 38, 0.4) !important;
    box-shadow: 0 10px 28px rgba(220, 38, 38, 0.15) !important;
}

/* ================= DARK THEME OVERRIDES FOR CLIENT PAGES ================= */

/* 1. Products list CSS variables override */
.dark-theme {
    --sv-light: #030a16 !important;
    --sv-text: #e2e8f0 !important;
    --sv-muted: #94a3b8 !important;
    --sv-border: rgba(255, 255, 255, 0.08) !important;
    --sv-shadow: 0 18px 45px rgba(0, 0, 0, 0.3) !important;
}

/* 2. Product Detail page */
.dark-theme .product-detail-page {
    background: #030a16 !important;
    color: #cbd5e1 !important;
}
.dark-theme .product-media {
    background: #0d1e36 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}
.dark-theme .product-summary h1 {
    color: #60efff !important;
}
.dark-theme .zoom-badge {
    background: #0d1e36 !important;
    color: #e2e8f0 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}
.dark-theme .product-breadcrumb {
    color: #94a3b8 !important;
}
.dark-theme .product-breadcrumb a {
    color: #00c6ff !important;
}

/* 3. About page */
.dark-theme .story-shell,
.dark-theme .process-card,
.dark-theme .value-card,
.dark-theme .commit-card,
.dark-theme .stat-card {
    background: #0d1e36 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #cbd5e1 !important;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25) !important;
}
.dark-theme .story-content h2,
.dark-theme .section-heading,
.dark-theme .hero-title,
.dark-theme .value-card h4 {
    color: #f8fafc !important;
}

/* 4. Contact page */
.dark-theme .contact-page {
    background: #030a16 !important;
    color: #cbd5e1 !important;
}
.dark-theme .contact-panel,
.dark-theme .contact-service-card,
.dark-theme .contact-info-panel {
    background: #0d1e36 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #cbd5e1 !important;
}
.dark-theme .contact-title,
.dark-theme .contact-heading,
.dark-theme .contact-info-item strong {
    color: #f8fafc !important;
}

/* 5. Services page */
.dark-theme .service-page {
    background: #030a16 !important;
    color: #cbd5e1 !important;
}
.dark-theme .sv-service-card,
.dark-theme .sv-standard-card,
.dark-theme .sv-featured-card,
.dark-theme .sv-faq-card {
    background: #0d1e36 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #cbd5e1 !important;
}
.dark-theme .sv-service-title,
.dark-theme .sv-section-title,
.dark-theme .accordion-button {
    color: #f8fafc !important;
    background-color: transparent !important;
}
.dark-theme .sv-partner-strip {
    background: #0d1e36 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* 6. Blog & Projects pages */
.dark-theme .blog-page,
.dark-theme .projects-page {
    background: #030a16 !important;
    color: #cbd5e1 !important;
}
.dark-theme .bl-card,
.dark-theme .article-card,
.dark-theme .side-card,
.dark-theme .bottom-nav-card,
.dark-theme .project-card,
.dark-theme .bl-empty,
.dark-theme .projects-empty {
    background: #0d1e36 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #cbd5e1 !important;
}
.dark-theme .bl-card-title,
.dark-theme .blog-title,
.dark-theme .project-title,
.dark-theme .projects-title {
    color: #f8fafc !important;
}

/* ================= DARK THEME OVERRIDES FOR ADVANCED INTERNAL SECTIONS ================= */

/* 1. Contract list page */
.dark-theme .cl-table-wrap {
    background: #0d1e36 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #f1f5f9 !important;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.3) !important;
}
.dark-theme table.cl-table th {
    background: #091322 !important;
    color: #f8fafc !important;
    border-bottom-color: rgba(255, 255, 255, 0.12) !important;
}
.dark-theme table.cl-table td {
    color: #e2e8f0 !important;
    border-bottom-color: rgba(255, 255, 255, 0.06) !important;
}

/* 2. Contract editor / preview page */
.dark-theme .ct-page {
    background: #030a16 !important;
}
.dark-theme .ct-btn-back,
.dark-theme .ct-btn-reset,
.dark-theme .ct-status-select,
.dark-theme .ct-date-input {
    background: #091322 !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #e2e8f0 !important;
}
.dark-theme .ct-btn-back:hover {
    background: #0d1e36 !important;
}
.dark-theme .ct-status-wrap {
    color: #cbd5e1 !important;
}

/* 3. Internal BOQ builder and Quote Editor */
.dark-theme .internal-quote-page {
    background: linear-gradient(180deg, #030a16 0, #091322 260px) !important;
}
.dark-theme .internal-topbar {
    background: rgba(13, 30, 54, 0.86) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.3) !important;
}
.dark-theme .internal-kicker {
    background: #091322 !important;
    border-color: rgba(0, 97, 255, 0.3) !important;
    color: #60efff !important;
}
.dark-theme .internal-panel {
    background: #0d1e36 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.25) !important;
}
.dark-theme .internal-panel-head {
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
    color: #f8fafc !important;
}
.dark-theme .internal-panel h3,
.dark-theme .internal-panel h4 {
    color: #f8fafc !important;
}
.dark-theme .saved-quote-link {
    background: #091322 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #cbd5e1 !important;
}
.dark-theme .saved-quote-link:hover {
    border-color: #0061ff !important;
    background: #0d1e36 !important;
}
.dark-theme .saved-quote-name {
    color: #f8fafc !important;
}
.dark-theme .saved-quote-meta {
    color: #94a3b8 !important;
}
.dark-theme .production-summary div {
    background: #091322 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}
.dark-theme .production-summary strong {
    color: #f8fafc !important;
}
.dark-theme .quote-project-card {
    background: #091322 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}
.dark-theme .quote-project-body h4 {
    color: #f8fafc !important;
}
.dark-theme .quote-project-capacity {
    background: #0d1e36 !important;
    border-color: rgba(0, 97, 255, 0.3) !important;
    color: #60efff !important;
}
.dark-theme .quote-empty-state {
    background: radial-gradient(circle at 50% 35%, #0d1e36 0, #091322 48%, #030a16 100%) !important;
}
.dark-theme .quote-empty-icon {
    background: #0d1e36 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #00c6ff !important;
}
.dark-theme .form-help-box {
    background: #091322 !important;
    border-color: rgba(0, 97, 255, 0.2) !important;
    color: #94a3b8 !important;
}
.dark-theme .material-row-card {
    background: #091322 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}
.dark-theme .material-row-index {
    background: #0d1e36 !important;
    color: #60efff !important;
}
.dark-theme .boq-group {
    background: #0d1e36 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}
.dark-theme .boq-group summary {
    background: #091322 !important;
    color: #f8fafc !important;
}
.dark-theme .boq-group summary::after {
    background: #0d1e36 !important;
    color: #60efff !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
}
.dark-theme .boq-group-count {
    color: #94a3b8 !important;
}
.dark-theme .boq-item {
    border-bottom-color: rgba(255, 255, 255, 0.06) !important;
}
.dark-theme .boq-item-name {
    color: #f8fafc !important;
}
.dark-theme .boq-item-meta {
    color: #94a3b8 !important;
}
.dark-theme .price-override-box summary {
    background: #091322 !important;
    color: #00c6ff !important;
    border-color: rgba(0, 198, 255, 0.3) !important;
}
.dark-theme .price-override-box summary::after {
    background: #0d1e36 !important;
    color: #00c6ff !important;
}
.dark-theme .price-override-group {
    background: #091322 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}
.dark-theme .price-override-group-title {
    color: #f8fafc !important;
}
