[data-theme=dark] {
    color-scheme: dark;
    --bg: #000000;
    --card: #111111;
    --text: #ffffff;
    --muted: #a0aec0;
    --line: #222222;
    --sh: 0 12px 32px rgba(0, 0, 0, .8);
}

/* All standard sections turn pure black in dark mode */
[data-theme=dark] body,
[data-theme=dark] main,
[data-theme=dark] section,
[data-theme=dark] .sec,
[data-theme=dark] .alt,
[data-theme=dark] .auth .main {
    background-color: #000000;
}

[data-theme=dark] header {
    background: #000000;
    border-color: #222222;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .5);
}

[data-theme=dark] .topbar {
    background: #111111;
    color: #9fb3c6;
    border-color: #222222;
}

[data-theme=dark] .logo {
    color: #ffffff;
}

[data-theme=dark] .menu>li>a {
    color: #ffffff;
}

[data-theme=dark] .menu>li>a:hover,
[data-theme=dark] .menu a.on {
    color: #ffffff;
    background: rgba(14, 165, 233, .2);
}

[data-theme=dark] .ib {
    background: #111111;
    border-color: #222222;
    color: #ffffff;
}

[data-theme=dark] .ib:hover,
[data-theme=dark] .rtl-btn:hover,
[data-theme=dark] .theme-btn:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.45);
}

[data-theme=dark] .ib:active,
[data-theme=dark] .rtl-btn:active,
[data-theme=dark] .theme-btn:active {
    transform: translateY(0);
}

[data-theme=dark] .burger {
    color: #ffffff;
}

[data-theme=dark] .menu {
    background: #000000;
    border-color: #222222;
}

[data-theme=dark] .dark,
[data-theme=dark] .sec.dark {
    background: #000000;
    color: #ffffff;
    border-color: #222222;
}

[data-theme=dark] .dark h1,
[data-theme=dark] .dark h2,
[data-theme=dark] .dark h3,
[data-theme=dark] .dark h4 {
    color: #ffffff;
}

[data-theme=dark] .dark .muted,
[data-theme=dark] .dark .head p {
    color: #a0aec0;
}

[data-theme=dark] .stat {
    color: #ffffff;
}

[data-theme=dark] .stat .muted {
    color: #a0aec0;
}

/* Sections with custom background colors in light mode keep their exact styling in dark mode */
[data-theme=dark] section.hero,
[data-theme=dark] .hero {
    background: var(--blue);
}

[data-theme=dark] section.banner,
[data-theme=dark] .banner {
    background: #000000;
}

[data-theme=dark] section.h2-hero,
[data-theme=dark] .h2-hero {
    background: linear-gradient(135deg, #0b1f30 0%, #12304A 52%, #0EA5E9 165%);
}

[data-theme=dark] section.ab-hero,
[data-theme=dark] .ab-hero {
    background: #000000;
}

[data-theme=dark] h1,
[data-theme=dark] h2,
[data-theme=dark] h3,
[data-theme=dark] h4,
[data-theme=dark] h5,
[data-theme=dark] h6,
[data-theme=dark] .price .amt,
[data-theme=dark] .h2-plan-amt {
    color: #ffffff;
}

[data-theme=dark] .eyebrow {
    color: var(--orange);
    background: rgba(14, 165, 233, .15);
}

[data-theme=dark] .drop {
    background: #111111;
    border-color: #222222;
}

[data-theme=dark] .drop a:hover,
[data-theme=dark] .drop a.on {
    background: rgba(14, 165, 233, .2);
    color: #ffffff;
}

[data-theme=dark] .msg {
    background: rgba(14, 165, 233, 0.15);
    color: #ffffff;
    border: 1px solid var(--blue);
}

[data-theme=dark] .link,
[data-theme=dark] .tline b {
    color: var(--orange);
}

[data-theme=dark] .btn.out {
    color: var(--orange);
    border-color: var(--orange);
}

[data-theme=dark] .cert {
    background: #111111;
    color: #ffffff;
    border: 2px solid var(--orange);
}

[data-theme=dark] .cert h3 {
    color: var(--orange);
}

[data-theme=dark] .calc-preset-btn {
    background: #161616;
    border-color: #2a2a2a;
    color: #ffffff;
}

[data-theme=dark] .calc-preset-btn.active {
    background: var(--orange);
    border-color: var(--orange);
    color: #ffffff;
}

[data-theme=dark] .calc-out-box {
    background: rgba(14, 165, 233, 0.08);
    border-color: rgba(14, 165, 233, 0.25);
}

[data-theme=dark] .calc-out-val {
    color: #0EA5E9;
}

[data-theme=dark] .review-rating-bar {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
}

[data-theme=dark] .rating-text {
    color: #ffffff;
}

[data-theme=dark] .review-card {
    background: #111111;
    border-color: #222222;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

[data-theme=dark] .review-body {
    color: #ffffff;
}

[data-theme=dark] .review-name {
    color: #ffffff;
}

[data-theme=dark] .review-header {
    border-top-color: #222222;
}

[data-theme=dark] .review-loc {
    color: #a0aec0;
}

[data-theme=dark] footer {
    background: #000000;
    color: #9cb4cb;
    border-top: 1px solid #222222;
}

[data-theme=dark] footer h4 {
    color: #ffffff;
}

[data-theme=dark] .footer-desc {
    color: #a0aec0;
}

[data-theme=dark] .footer-nav li a {
    color: #9cb4cb;
}

[data-theme=dark] .footer-nav li a:hover {
    color: #0EA5E9;
}

[data-theme=dark] .footer-val {
    color: #ffffff;
}

[data-theme=dark] a.footer-val:hover {
    color: #0EA5E9;
}

[data-theme=dark] .footer-icon-pill {
    background: rgba(14, 165, 233, 0.15);
    border-color: rgba(14, 165, 233, 0.3);
}

[data-theme=dark] .soc a {
    background: #111111;
    border-color: #222222;
    color: #ffffff;
}

[data-theme=dark] .copy {
    border-color: #222222;
}

[data-theme=dark] .copy-inner {
    color: #a0aec0;
}

[data-theme=dark] .copy-perks span {
    color: #ffffff;
}

[data-theme=dark] .cta {
    background: linear-gradient(120deg, var(--blue), var(--orange));
}

[data-theme=dark] .h2-cta {
    background: linear-gradient(120deg, #12304A, #0EA5E9);
    border: none;
}

[data-theme=dark] .ab-final-cta {
    background: linear-gradient(120deg, #12304A, #0EA5E9);
    border: none;
}

[data-theme=dark] .emergency-container {
    background: linear-gradient(135deg, var(--blue) 0%, #0EA5E9 100%);
    border-color: rgba(14, 165, 233, 0.25);
}

[data-theme=dark] .audit-gauge-card {
    background: linear-gradient(135deg, #111111, #000000);
    border: 1px solid #222222;
}

[data-theme=dark] .hub-summary-bar {
    background: linear-gradient(135deg, #111111, #000000);
    border: 1px solid #222222;
}

[data-theme=dark] .matrix-table th:first-child {
    background: #111111;
    color: #ffffff;
}

[data-theme=dark] .matrix-table th.col-rg {
    background: var(--blue);
    color: #ffffff;
}

[data-theme=dark] .matrix-table th.col-other {
    background: #161616;
    color: #a0aec0;
}

[data-theme=dark] .mq {
    background: #000000;
    border-color: #222222;
    color: #ffffff;
}

[data-theme=dark] .h2-mq {
    background: #0b1f30;
    border-color: transparent;
}

[data-theme=dark] .mq-cert {
    background: #000000;
    border-color: #222222;
    color: #ffffff;
}

[data-theme=dark] .mq-cert-item {
    background: #111111;
    border-color: #222222;
    color: #ffffff;
}

/* Marquee track text */
[data-theme=dark] .mq div,
[data-theme=dark] [dir=rtl] .mq div {
    color: #ffffff;
}

/* FAQ / Accordions */
[data-theme=dark] details {
    background: #111111;
    border-color: #222222;
}

[data-theme=dark] details p {
    color: #a0aec0;
}

[data-theme=dark] summary {
    color: #ffffff;
}

[data-theme=dark] summary::after {
    color: #0EA5E9;
}

[data-theme=dark] details[open] summary::after {
    color: #0EA5E9;
}

/* Tables & Comparison Matrix */
[data-theme=dark] th {
    background: #111111;
    color: #ffffff;
    border-color: #222222;
}

[data-theme=dark] td {
    color: #ffffff;
    border-color: #222222;
}

[data-theme=dark] .tw {
    background: #111111;
    border-color: #222222;
}

[data-theme=dark] .yes,
[data-theme=dark] .cmp-badge.yes {
    color: #0EA5E9;
}

[data-theme=dark] .no,
[data-theme=dark] .cmp-badge.no {
    color: #94a3b8;
}

[data-theme=dark] .h2-compare th.col-them {
    background: #161616;
    color: #a0aec0;
}

[data-theme=dark] .h2-compare td.col-us {
    background: rgba(14, 165, 233, .12);
    color: #ffffff;
}

/* Service Cards */
[data-theme=dark] .serv-card {
    background: #111111;
    border-color: #222222;
}

[data-theme=dark] .serv-sub {
    color: #0EA5E9;
}

[data-theme=dark] .serv-card .serv-badge {
    color: #0EA5E9;
    border-color: rgba(14, 165, 233, 0.4);
}

[data-theme=dark] .serv-specs li {
    color: #ffffff;
}

/* Process Cards & Step Numbers */
[data-theme=dark] .process-card {
    background: #111111;
    border-color: #222222;
}

[data-theme=dark] .process-card h3 {
    color: #ffffff;
}

[data-theme=dark] .process-perks li {
    color: #ffffff;
}

[data-theme=dark] .step::before {
    color: #0EA5E9;
    opacity: 0.35;
}

[data-theme=dark] .h2-step {
    background: #111111;
    border-color: #222222;
}

[data-theme=dark] .h2-step h3 {
    color: #ffffff;
}

[data-theme=dark] .h2-step p {
    color: #a0aec0;
}

/* Pricing & Maintenance Plans */
[data-theme=dark] .price,
[data-theme=dark] .h2-plan {
    background: #111111;
    border-color: #222222;
}

[data-theme=dark] .price h3,
[data-theme=dark] .h2-plan h3 {
    color: #ffffff;
}

[data-theme=dark] .price p,
[data-theme=dark] .h2-plan-sub {
    color: #a0aec0;
}

[data-theme=dark] .ticks li {
    color: #ffffff;
}

/* Pillar Cards */
[data-theme=dark] .pillar-card {
    background: #111111;
    border-color: #222222;
}

[data-theme=dark] .pillar-card h4 {
    color: #ffffff;
}

[data-theme=dark] .pillar-card p {
    color: #a0aec0;
}

/* Service Areas Chips & Floats */
[data-theme=dark] .h2-area-chip {
    background: #111111;
    border-color: #222222;
    color: #ffffff;
}

[data-theme=dark] .h2-area-chip:hover {
    background: var(--blue);
    color: #ffffff;
}

[data-theme=dark] .h2-float {
    background: #111111;
    color: #ffffff;
    border: 1px solid #222222;
}

[data-theme=dark] .h2-float small {
    color: #a0aec0;
}

/* Generic Cards & Block Elements */
[data-theme=dark] .card {
    background: #111111;
    border-color: #222222;
}

[data-theme=dark] .card h3 {
    color: #ffffff;
}

[data-theme=dark] .card p {
    color: #a0aec0;
}

[data-theme=dark] .fade cite {
    color: #0EA5E9;
}

[data-theme=dark] .review-card:hover .review-quote-mark {
    color: #0EA5E9;
}

/* Form Controls, Calendar & Placeholders */
[data-theme=dark] input,
[data-theme=dark] select,
[data-theme=dark] textarea {
    background: #111111;
    color: #ffffff;
    border-color: #222222;
}

[data-theme=dark] select {
    color-scheme: dark !important;
}

[data-theme=dark] .calc-svc-pill {
    background: #141820;
    border-color: #27272a;
    color: #f1f5f9;
}

[data-theme=dark] .calc-svc-pill:hover {
    border-color: #0EA5E9;
    background: #18202c;
}

[data-theme=dark] .calc-svc-pill.active {
    background: rgba(14, 165, 233, 0.16);
    border-color: #0EA5E9;
    box-shadow: 0 0 0 1.5px #0EA5E9;
}

[data-theme=dark] .calc-svc-check {
    border-color: #3f3f46;
    background: #1c2230;
}

[data-theme=dark] .calc-svc-pill.active .calc-svc-check {
    background: #0EA5E9;
    border-color: #0EA5E9;
}

[data-theme=dark] .calc-svc-name {
    color: #ffffff;
}

[data-theme=dark] input[type="date"] {
    color-scheme: dark !important;
}

[data-theme=dark] input[type="date"]::-webkit-calendar-picker-indicator,
[data-theme=dark] .ct-form-card input[type="date"]::-webkit-calendar-picker-indicator,
html[data-theme=dark] input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1) brightness(1.7) !important;
    opacity: 0.95 !important;
    cursor: pointer !important;
}

[data-theme=dark] input[type="date"]::-webkit-calendar-picker-indicator:hover,
[data-theme=dark] .ct-form-card input[type="date"]::-webkit-calendar-picker-indicator:hover,
html[data-theme=dark] input[type="date"]::-webkit-calendar-picker-indicator:hover {
    filter: invert(1) brightness(2.2) !important;
    opacity: 1 !important;
}

[data-theme=dark] .form-group label {
    color: #ffffff;
}

[data-theme=dark] input::placeholder,
[data-theme=dark] textarea::placeholder {
    color: #718096;
}

/* Auth pages dark mode */
[data-theme=dark] .auth-page {
    background: #000000;
    color: #ffffff;
}

[data-theme=dark] .auth-header {
    background: #000000;
    border-bottom-color: #222222;
}

[data-theme=dark] .auth-head h1 {
    color: #ffffff;
}

[data-theme=dark] .auth-head p {
    color: #a0aec0;
}

[data-theme=dark] .auth-card {
    background: #111111;
    border-color: rgba(14, 165, 233, 0.35);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
}

[data-theme=dark] .auth-field label {
    color: #ffffff;
}

[data-theme=dark] .auth-field input[type="text"],
[data-theme=dark] .auth-field input[type="email"],
[data-theme=dark] .auth-field input[type="password"] {
    background: #1a1a1a;
    border-color: #333333;
    color: #ffffff;
}

[data-theme=dark] .auth-field input::placeholder {
    color: #718096;
}

[data-theme=dark] .auth-field input:focus {
    background: #1a1a1a;
    border-color: #0EA5E9;
}

[data-theme=dark] .auth-field .pw .pw-toggle {
    color: #718096;
}

[data-theme=dark] .auth-field .pw .pw-toggle:hover {
    color: #0EA5E9;
}

[data-theme=dark] .auth-checkbox-label {
    color: #a0aec0;
}

[data-theme=dark] .auth-divider {
    color: #718096;
}

[data-theme=dark] .auth-divider::before,
[data-theme=dark] .auth-divider::after {
    border-bottom-color: #222222;
}

[data-theme=dark] .auth-social-btn {
    background: #1a1a1a;
    border-color: #333333;
    color: #ffffff;
}

[data-theme=dark] .auth-social-btn:hover,
[data-theme=dark] .auth-social-btn:focus-visible {
    border-color: #0EA5E9;
    color: #0EA5E9;
}

[data-theme=dark] .auth-switch-text {
    color: #a0aec0;
}

[data-theme=dark] .auth-back-link {
    color: #718096;
}

[data-theme=dark] .auth-back-link:hover {
    color: #0EA5E9;
}

[data-theme=dark] .wt-cert-ticks li {
    color: #cbd5e1;
}


