:root {
    --brand-100: #d7f2ff;
    --brand-200: #aee3ff;
    --brand-300: #67c7ff;
    --brand-400: #00abff;
    --brand-500: #006fca;
    --brand-600: #054c8c;
}

html {
    color-scheme: dark;
    scroll-behavior: smooth;
}

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

body {
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at 15% 20%, rgba(0, 171, 255, 0.12), transparent 55%),
                radial-gradient(circle at 80% 0%, rgba(0, 111, 202, 0.18), transparent 55%),
                #021426;
    color: #f8fbff;
}

html[data-theme="light"] body {
    background: radial-gradient(circle at 15% 20%, rgba(0, 171, 255, 0.08), transparent 55%),
                radial-gradient(circle at 78% 3%, rgba(0, 111, 202, 0.12), transparent 55%),
                #f6f9ff;
    color: #0f172a;
}

.site-header-offset {
    padding-top: 4.25rem;
}

@media (min-width: 768px) {
    .site-header-offset {
        padding-top: 4.5rem;
    }
}

@media (max-width: 640px) {
    .site-header-offset {
        padding-top: 4.4rem;
    }
}

[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: var(--animate-delay, 0ms);
}

[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}

.modal-open {
    overflow: hidden;
}

.form-response {
    min-height: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.25s ease, transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
    font-weight: 600;
}

.form-response::before {
    content: '';
    width: 0.85rem;
    height: 0.85rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.form-response.is-success {
    color: #4ade80;
}

.form-response.is-success::before {
    content: '✓';
    background: rgba(74, 222, 128, 0.12);
    color: #4ade80;
    opacity: 1;
    transform: scale(1);
}

.form-response.is-error {
    color: #f87171;
}

.form-response.is-error::before {
    content: '!';
    background: rgba(248, 113, 113, 0.15);
    color: #f87171;
    opacity: 1;
    transform: scale(1);
}

.theme-light .form-response.is-error {
    color: #b91c1c;
}
.theme-light .form-response.is-error::before {
    background: rgba(185, 28, 28, 0.16);
    color: #b91c1c;
}

@media (max-width: 640px) {
    #contact {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    #contact .grid.max-w-6xl {
        gap: 2rem;
        grid-template-columns: 1fr !important;
        padding-left: 1rem;
        padding-right: 1rem;
        max-width: 100%;
    }
    #contact .grid.max-w-6xl > * {
        width: 100%;
    }
    #contact form {
        padding: 1.25rem;
        width: 100%;
        border-radius: 1rem;
        border-width: 1px;
        box-shadow: none;
    }
    #contact form input,
    #contact form textarea {
        width: 100%;
        font-size: 15px;
        padding: 12px 14px;
    }
    #contact form button[type="submit"] {
        width: 100%;
        justify-content: center;
    }
    #contact .recaptcha-wrap {
        width: 100%;
        justify-content: center;
    }
    .contact-map-bg {
        opacity: 0.9;
    }
    .theme-light .contact-map-bg iframe {
        filter: grayscale(1) brightness(0.7);
    }
}

@media (max-width: 400px) {
    #contact .grid.max-w-6xl {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    #contact form {
        padding: 1rem;
    }
    #contact form input,
    #contact form textarea {
        font-size: 14px;
        padding: 11px 12px;
    }
    #contact .recaptcha-wrap {
        padding: 10px 8px;
    }
}

.bg-brand-500 { background-color: var(--brand-500) !important; }
.bg-brand-500\/10 { background-color: rgba(0, 110, 202, 0.12) !important; }
.bg-brand-500\/20 { background-color: rgba(0, 110, 202, 0.2) !important; }
.bg-brand-400 { background-color: var(--brand-400) !important; }
.bg-brand-400\/15 { background-color: rgba(0, 171, 255, 0.15) !important; }
.bg-accent-500\/60 { background-color: rgba(10, 25, 41, 0.6) !important; }
.bg-hero-grid { background-image: radial-gradient(circle at 20% 20%, rgba(0, 171, 255, 0.14), transparent 60%) !important; }
.bg-slate-950\/90 { background-color: rgba(2, 6, 23, 0.9) !important; }
.bg-slate-950\/80 { background-color: rgba(2, 6, 23, 0.8) !important; }
.bg-slate-950\/60 { background-color: rgba(2, 6, 23, 0.6) !important; }
.bg-slate-900\/80 { background-color: rgba(15, 23, 42, 0.8) !important; }
.bg-slate-900\/70 { background-color: rgba(15, 23, 42, 0.7) !important; }
.bg-slate-900\/60 { background-color: rgba(15, 23, 42, 0.6) !important; }
.bg-slate-900\/40 { background-color: rgba(15, 23, 42, 0.4) !important; }
.bg-slate-800\/40 { background-color: rgba(30, 41, 59, 0.4) !important; }
.bg-white\/5 { background-color: rgba(255, 255, 255, 0.05) !important; }
.bg-white\/10 { background-color: rgba(255, 255, 255, 0.1) !important; }

.text-brand-200 { color: var(--brand-200) !important; }
.text-brand-300 { color: var(--brand-300) !important; }
.text-brand-400 { color: var(--brand-400) !important; }
.text-brand-500 { color: var(--brand-500) !important; }
.text-brand-200\/80 { color: rgba(174, 227, 255, 0.8) !important; }
.text-brand-200\/90 { color: rgba(174, 227, 255, 0.9) !important; }
.text-brand-200\/60 { color: rgba(174, 227, 255, 0.6) !important; }
.text-brand-100\/90 { color: rgba(215, 242, 255, 0.9) !important; }
.text-slate-400\/80 { color: rgba(148, 163, 184, 0.8) !important; }

.category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 30;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.92);
    color: #0f172a;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.category-titlebar {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 30;
    padding: 14px 16px;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0) 0%, rgba(2, 6, 23, 0.92) 60%);
    pointer-events: none;
}
.category-title {
    margin: 0;
    color: #f8fbff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}


.border-brand-500\/60 { border-color: rgba(0, 110, 202, 0.6) !important; }
.border-brand-500\/40 { border-color: rgba(0, 110, 202, 0.4) !important; }
.border-brand-500\/30 { border-color: rgba(0, 110, 202, 0.3) !important; }
.border-brand-400\/20 { border-color: rgba(0, 171, 255, 0.2) !important; }
.border-white\/5 { border-color: rgba(255, 255, 255, 0.05) !important; }
.border-white\/10 { border-color: rgba(255, 255, 255, 0.1) !important; }
.border-white\/15 { border-color: rgba(255, 255, 255, 0.15) !important; }
.border-slate-800\/60 { border-color: rgba(30, 41, 59, 0.6) !important; }



.shadow-brand-500\/20 { box-shadow: 0 20px 45px rgba(0, 110, 202, 0.2) !important; }
.shadow-brand-500\/30 { box-shadow: 0 25px 50px rgba(0, 110, 202, 0.3) !important; }
.shadow-glow { box-shadow: 0 30px 80px rgba(0, 171, 255, 0.18) !important; }

.focus\:border-brand-400:focus { border-color: var(--brand-400) !important; }
.focus\:ring-brand-400\/40:focus { box-shadow: 0 0 0 4px rgba(0, 171, 255, 0.4) !important; }
.ring-brand-500\/40 { box-shadow: 0 0 0 4px rgba(0, 111, 202, 0.4) !important; }

.hover\:bg-brand-400:hover { background-color: var(--brand-400) !important; }
.hover\:bg-brand-500:hover { background-color: var(--brand-500) !important; }
.hover\:text-brand-200:hover { color: var(--brand-200) !important; }
.hover\:border-brand-400\/60:hover { border-color: rgba(0, 171, 255, 0.6) !important; }
.hover\:border-brand-500\/60:hover { border-color: rgba(0, 110, 202, 0.6) !important; }
.hover\:border-brand-300:hover { border-color: rgba(103, 199, 255, 0.8) !important; }
.hover\:border-brand-400\/40:hover { border-color: rgba(0, 171, 255, 0.4) !important; }
.hover\:border-rose-300:hover { border-color: rgba(253, 164, 175, 0.8) !important; }
.hover\:text-brand-100:hover { color: rgba(215, 242, 255, 1) !important; }
.hover\:text-white:hover { color: #ffffff !important; }
.from-accent-500\/70 {
    --tw-gradient-from: rgba(10, 25, 41, 0.7) !important;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(10, 25, 41, 0));
}
.via-accent-500\/40 {
    --tw-gradient-stops: var(--tw-gradient-from), rgba(10, 25, 41, 0.4), var(--tw-gradient-to, rgba(10, 25, 41, 0));
}
.language-button:focus-visible,
.language-option:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 171, 255, 0.45);
    border-color: rgba(0, 171, 255, 0.6) !important;
}

.text-brand-200::selection,
.bg-brand-500::selection {
    color: #031629;
    background-color: var(--brand-200);
}

.contact-map-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.contact-map-bg iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(1) brightness(0.32);
}
.theme-light .contact-map-bg iframe {
    filter: grayscale(1) brightness(0.65);
}

.offer-gradient.theme-light,
.theme-light .offer-gradient {
    background: linear-gradient(180deg, rgba(103, 199, 255, 0.25), rgba(255, 255, 255, 0.0));
}

.category-overlay.theme-light,
.theme-light .category-overlay {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.85) 70%, rgba(255, 255, 255, 0.95));
}

.theme-light #product-image-lightbox {
    background-color: rgba(255, 255, 255, 0.92);
}

.theme-light #product-image-lightbox [data-lightbox-close] {
    background-color: rgba(255, 255, 255, 0.9) !important;
    border-color: rgba(15, 23, 42, 0.2) !important;
    color: #0f172a !important;
}

.theme-light input::placeholder,
.theme-light textarea::placeholder {
    color: rgba(31, 41, 55, 0.75);
}

html[data-theme="light"] .bg-slate-950,
html[data-theme="light"] .bg-slate-950\/80,
html[data-theme="light"] .bg-slate-900,
html[data-theme="light"] .bg-slate-900\/80,
html[data-theme="light"] .bg-slate-900\/70,
html[data-theme="light"] .bg-slate-900\/60,
html[data-theme="light"] .bg-slate-900\/40,
html[data-theme="light"] .bg-slate-800\/40 {
    background-color: rgba(242, 245, 252, 0.94) !important;
    color: #0f172a !important;
}

html[data-theme="light"] .supports-\[backdrop-filter\]\:bg-slate-950\/60 {
    background-color: rgba(255, 255, 255, 0.8) !important;
}
.supports-\[backdrop-filter\]\:bg-slate-950\/60 {
    background-color: rgba(2, 6, 23, 0.6) !important;
    backdrop-filter: blur(12px);
}
.recaptcha-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.25s ease, border-color 0.25s ease;
    padding: 10px;
    border: 0 none !important;
    background: transparent;
    box-shadow: none;
}
.recaptcha-wrap iframe {
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 12px;
}
.theme-light .recaptcha-wrap {
    background: transparent;
    border: 0 none !important;
    box-shadow: none;
}
.theme-light .recaptcha-wrap iframe {
    border: 1px solid rgba(15, 23, 42, 0.2) !important;
}

html[data-theme="light"] .bg-white\/5 {
    background-color: rgba(15, 23, 42, 0.05) !important;
}

html[data-theme="light"] .bg-white\/10 {
    background-color: rgba(15, 23, 42, 0.08) !important;
}

html[data-theme="light"] .bg-accent-500\/60 {
    background-color: rgba(234, 241, 255, 0.92) !important;
}

html[data-theme="light"] .border-white\/5,
html[data-theme="light"] .border-white\/10,
html[data-theme="light"] .border-white\/15 {
    border-color: rgba(15, 23, 42, 0.14) !important;
}

html[data-theme="light"] .border-slate-800\/60 {
    border-color: rgba(148, 163, 184, 0.55) !important;
}

html[data-theme="light"] .text-white,
html[data-theme="light"] .text-slate-100 {
    color: #0f172a !important;
}

html[data-theme="light"] .text-slate-200 {
    color: #1f2a44 !important;
}

html[data-theme="light"] .text-slate-300 {
    color: #334155 !important;
}

html[data-theme="light"] .text-slate-400\/90 {
    color: rgba(71, 85, 105, 0.9) !important;
}

html[data-theme="light"] .text-brand-200,
html[data-theme="light"] .text-brand-200\/80,
html[data-theme="light"] .text-brand-200\/90,
html[data-theme="light"] .text-brand-100,
html[data-theme="light"] .text-brand-100\/90 {
    color: #0a3d62 !important;
}

html[data-theme="light"] .text-brand-300,
html[data-theme="light"] .text-brand-400 {
    color: #005f99 !important;
}

html[data-theme="light"] .hover\:bg-white\/10:hover {
    background-color: rgba(15, 23, 42, 0.08) !important;
}

html[data-theme="light"] .bg-brand-500,
html[data-theme="light"] .bg-brand-500 .text-white,
html[data-theme="light"] .theme-toggle.bg-brand-500 {
    color: #ffffff !important;
}

.theme-toggle,
.language-toggle {
    min-height: 2.5rem;
    border-width: 1px;
}

.theme-toggle svg {
    width: 1.2rem;
    height: 1.2rem;
    transition: transform 0.3s ease;
}

.theme-toggle:hover svg {
    transform: scale(1.05);
}

.language-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.language-toggle-icon svg {
    width: 0.85rem;
    height: 0.85rem;
    transition: transform 0.3s ease;
}

.language-toggle.is-open .language-toggle-icon svg {
    transform: rotate(180deg);
}

.language-dropdown {
    backdrop-filter: blur(16px);
}

.language-dropdown button {
    transition: background-color 0.2s ease, color 0.2s ease;
}

.language-dropdown button.language-option--active {
    background-color: var(--brand-500) !important;
    color: #ffffff !important;
}

.language-option-check {
    transition: opacity 0.2s ease;
}

html[data-theme="light"] .bg-brand-500\/10 {
    background-color: rgba(0, 110, 202, 0.08) !important;
}

html[data-theme="light"] .bg-brand-500\/20 {
    background-color: rgba(0, 110, 202, 0.12) !important;
}

html[data-theme="light"] .bg-brand-400\/15 {
    background-color: rgba(0, 171, 255, 0.1) !important;
}

html[data-theme="light"] .bg-hero-grid {
    background-image: radial-gradient(circle at 20% 20%, rgba(0, 171, 255, 0.18), transparent 60%) !important;
}

html[data-theme="light"] .language-dropdown {
    background-color: rgba(255, 255, 255, 0.95) !important;
    border-color: rgba(15, 23, 42, 0.15) !important;
}

html[data-theme="light"] .language-dropdown button {
    color: #0f172a !important;
}

html[data-theme="light"] .language-dropdown button:hover {
    background-color: rgba(15, 23, 42, 0.08) !important;
}

html[data-theme="light"] .language-option--active {
    background-color: var(--brand-500) !important;
    color: #ffffff !important;
}

html[data-theme="light"] .language-toggle {
    color: #0f172a !important;
    border-color: rgba(15, 23, 42, 0.15) !important;
    background-color: rgba(15, 23, 42, 0.05) !important;
}

html[data-theme="light"] .language-toggle:hover {
    background-color: rgba(15, 23, 42, 0.08) !important;
}
