:root {
    --surface: #050808;
    --surface-raised: #0a0f0e;
    --surface-card: #0f1615;
    --border: #1f2a28;
    --text: #f4f4f5;
    --text-muted: #94a3a8;
    --accent: #144e48;
    --accent-soft: #7ab8af;
    --accent-dim: rgba(20, 78, 72, 0.15);
}

html[data-theme="dark"] {
    color-scheme: dark;
}

html[data-theme="dark"] body {
    background: var(--surface);
    color: var(--text);
}

html[data-theme="dark"] ::selection {
    background: rgba(20, 78, 72, 0.45);
    color: #fff;
}

html[data-theme="dark"] .page-header {
    background: linear-gradient(135deg, #050808 0%, #0a1412 50%, #144e48 100%);
}

html[data-theme="dark"] .card-hover:hover {
    box-shadow: 0 20px 40px rgba(20, 78, 72, 0.12);
}

html[data-theme="dark"] input,
html[data-theme="dark"] textarea,
html[data-theme="dark"] select {
    background-color: #09090b;
    color: #f4f4f5;
    border-color: #2a3533;
}

html[data-theme="dark"] input:focus,
html[data-theme="dark"] textarea:focus,
html[data-theme="dark"] select:focus {
    border-color: #144e48;
    ring-color: rgba(20, 78, 72, 0.35);
}

html[data-theme="dark"] details summary {
    color: #f4f4f5;
}

html[data-theme="dark"] details[open] {
    background: #0f1615;
}

html[data-theme="dark"] .hero-slide-img {
    filter: brightness(0.75) contrast(1.05) saturate(0.82);
}

html[data-theme="dark"] #site-header nav {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

html[data-theme="dark"] .site-footer {
    background: linear-gradient(to bottom, #000000, #09090b, #000000);
}

html[data-theme="dark"] .footer-payments {
    background-color: #000000;
}

html[data-theme="dark"] .footer-heading {
    color: #ffffff;
}

html[data-theme="dark"] .footer-link {
    color: #94a3b8;
}

html[data-theme="dark"] .footer-link:hover {
    color: #ffffff;
}

html[data-theme="dark"] .footer-social {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

html[data-theme="dark"] .footer-social:hover {
    background: rgba(20, 78, 72, 0.2);
    border-color: rgba(20, 78, 72, 0.45);
}
