:root {
    color-scheme: dark light;
    --ash-blue: #0c7cd5;
    --ash-blue-dark: #05569b;
    --ash-gradient-start: #0c7cd5;
    --ash-gradient-end: #062c4c;
    --ash-accent: #00c2ff;
    --ash-text: #f6f7fb;
    --ash-text-muted: #b7c3d7;
    --ash-surface: #121826;
    --ash-surface-elevated: #182235;
    --ash-border: rgba(255, 255, 255, 0.08);
    --ash-shadow: 0 20px 50px rgba(12, 124, 213, 0.15);
    --max-width: 1200px;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: radial-gradient(circle at top, rgba(12, 124, 213, 0.35) 0%, rgba(6, 44, 76, 0.95) 45%, #05080f 100%);
    color: var(--ash-text);
    font-weight: 400;
    line-height: 1.6;
}

.theme-dark {
    background-color: #05080f;
}

a {
    color: var(--ash-accent);
    text-decoration: none;
}

a:hover,
a:focus-visible {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

main {
    display: block;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 10px;
    padding: 12px 20px;
    border-radius: 50px;
    background: var(--ash-accent);
    color: #041024;
    font-weight: 600;
    z-index: 9999;
}

.skip-link:focus {
    left: 16px;
    outline: none;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    backdrop-filter: blur(16px);
    background: rgba(7, 11, 18, 0.86);
    border-bottom: 1px solid var(--ash-border);
}

.site-header__top,
.site-header__nav {
    margin: 0 auto;
    max-width: var(--max-width);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-header__logo img {
    height: 36px;
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.site-header__search {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--ash-border);
    border-radius: 40px;
    padding: 10px 18px;
    color: var(--ash-text);
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.site-header__search:hover,
.site-header__search:focus-visible {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
}

.site-header__search .icon-search::before {
    content: "⌕";
    font-size: 16px;
}

.language-switch {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.language-switch__link {
    color: var(--ash-text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.language-switch__link.is-active {
    color: var(--ash-text);
}

.site-header__nav nav ul {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-header__nav a {
    color: var(--ash-text-muted);
    font-weight: 500;
    letter-spacing: 0.03em;
    position: relative;
    padding-bottom: 4px;
}

.site-header__nav a.is-active,
.site-header__nav a:hover,
.site-header__nav a:focus-visible {
    color: var(--ash-text);
}

.site-header__nav a.is-active::after,
.site-header__nav a:hover::after,
.site-header__nav a:focus-visible::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--ash-accent), var(--ash-blue));
}

.hero {
    padding: 72px 24px 60px;
    background: radial-gradient(circle at top right, rgba(0, 194, 255, 0.4), rgba(6, 44, 76, 0) 55%),
                linear-gradient(120deg, rgba(6, 44, 76, 0.85), rgba(12, 124, 213, 0.9));
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 8, 15, 0) 0%, rgba(5, 8, 15, 0.65) 100%);
    pointer-events: none;
}

.hero__inner {
    position: relative;
    z-index: 1;
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 48px;
    align-items: center;
}

.hero__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.64);
}

.hero h1 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin: 16px 0;
    font-weight: 700;
}

.hero__lead {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 520px;
}

.hero__actions {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero__product {
    background: rgba(4, 16, 36, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 32px;
    box-shadow: var(--ash-shadow);
}

.hero__product-card {
    margin-top: 24px;
    display: grid;
    gap: 4px;
}

.hero__product-name {
    font-weight: 600;
}

.hero__product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ash-accent);
}

.section {
    padding: 72px 24px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.section__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
}

.section__header h2 {
    font-size: 2rem;
    margin: 0;
}

.section__description {
    color: var(--ash-text-muted);
    max-width: 560px;
}

.section__link {
    color: var(--ash-accent);
    font-weight: 600;
}

.product-grid {
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.product-card {
    background: rgba(12, 18, 28, 0.82);
    border: 1px solid var(--ash-border);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 16px 30px rgba(5, 10, 20, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 46px rgba(12, 124, 213, 0.35);
}

.product-card__image {
    background: rgba(4, 10, 20, 0.6);
    display: block;
    padding: 32px;
}

.product-card__body {
    padding: 24px 24px 32px;
    display: grid;
    gap: 12px;
}

.product-card__tagline {
    color: var(--ash-text-muted);
    min-height: 48px;
}

.product-card__price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--ash-accent);
}

.product-card__features {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    color: var(--ash-text-muted);
    font-size: 0.95rem;
}

.product-card__features li::before {
    content: "•";
    margin-right: 8px;
    color: var(--ash-accent);
}

.product-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.product-card--compact .product-card__body {
    gap: 6px;
}

.category-grid {
    display: grid;
    gap: 28px;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.category-card {
    background: rgba(12, 18, 28, 0.78);
    border: 1px solid var(--ash-border);
    border-radius: 18px;
    padding: 28px;
    display: grid;
    gap: 12px;
    box-shadow: 0 16px 28px rgba(5, 10, 20, 0.35);
}

.category-card__description {
    color: var(--ash-text-muted);
}

.btn,
.btn-link {
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn {
    border-radius: 999px;
    padding: 12px 26px;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(90deg, var(--ash-accent), var(--ash-blue));
    color: #03101f;
    box-shadow: 0 12px 20px rgba(0, 194, 255, 0.35);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 20px 30px rgba(0, 194, 255, 0.45);
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--ash-text);
}

.btn-link {
    color: var(--ash-accent);
    text-decoration: none;
}

.btn-link::after {
    content: "→";
    margin-left: 6px;
    transition: transform 0.2s ease;
}

.btn-link:hover::after {
    transform: translateX(3px);
}

.section--cta {
    background: rgba(12, 18, 28, 0.7);
    border: 1px solid var(--ash-border);
    border-radius: 24px;
}

.section__split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    align-items: center;
}

.page-hero {
    padding: 72px 24px 32px;
    background: linear-gradient(135deg, rgba(12, 124, 213, 0.35), rgba(5, 8, 15, 0.92));
    border-bottom: 1px solid var(--ash-border);
}

.page-hero__inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.page-hero__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ash-text-muted);
}

.page-hero h1 {
    margin-top: 12px;
    font-size: clamp(2rem, 3vw, 2.6rem);
}

.product-page {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 64px 24px 96px;
    display: grid;
    gap: 48px;
}

.product-page__header {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 48px;
    align-items: center;
}

.product-page__media {
    background: rgba(4, 10, 20, 0.6);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid var(--ash-border);
}

.product-page__tagline {
    color: var(--ash-text-muted);
}

.product-page__price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--ash-accent);
    margin: 12px 0 0;
}

.product-page__actions {
    display: flex;
    gap: 16px;
    margin: 24px 0;
}

.product-page__meta {
    color: var(--ash-text-muted);
    font-size: 0.95rem;
}

.product-page__section {
    background: rgba(12, 18, 28, 0.72);
    border-radius: 20px;
    border: 1px solid var(--ash-border);
    padding: 32px 36px;
    box-shadow: 0 18px 36px rgba(5, 10, 20, 0.28);
}

.product-page__section h2 {
    margin-top: 0;
    font-size: 1.6rem;
}

.feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.feature-list li {
    padding-left: 28px;
    position: relative;
    color: var(--ash-text-muted);
}

.feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ash-accent), var(--ash-blue));
    box-shadow: 0 0 14px rgba(0, 194, 255, 0.4);
}

.legal-content {
    display: grid;
    gap: 24px;
    color: var(--ash-text-muted);
}

.legal-block h2,
.legal-block h3,
.legal-block h4 {
    color: var(--ash-text);
    margin-bottom: 8px;
}

.site-footer {
    background: rgba(6, 10, 18, 0.94);
    padding: 64px 24px 32px;
    border-top: 1px solid var(--ash-border);
}

.site-footer__grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.site-footer__grid h2 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.site-footer__grid ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.site-footer__grid a {
    color: var(--ash-text-muted);
}

.site-footer__grid a:hover {
    color: var(--ash-text);
}

.site-footer__bottom {
    margin: 32px auto 0;
    max-width: var(--max-width);
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: var(--ash-text-muted);
    font-size: 0.9rem;
    border-top: 1px solid var(--ash-border);
    padding-top: 24px;
}

.site-footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.search-modal {
    position: fixed;
    inset: 0;
    background: rgba(5, 8, 15, 0.86);
    backdrop-filter: blur(18px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.search-modal.is-visible {
    display: flex;
}

.search-modal__dialog {
    max-width: 720px;
    width: 100%;
    background: rgba(12, 18, 28, 0.92);
    border: 1px solid var(--ash-border);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 36px 72px rgba(5, 10, 20, 0.6);
}

.search-modal__close {
    background: transparent;
    border: none;
    color: var(--ash-text-muted);
    font-size: 1.5rem;
    position: absolute;
    right: 32px;
    top: 24px;
    cursor: pointer;
}

.search-modal__input {
    width: 100%;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(4, 10, 20, 0.85);
    color: var(--ash-text);
    margin: 20px 0 24px;
    font-size: 1rem;
}

.search-modal__results {
    display: grid;
    gap: 16px;
}

.search-result {
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid var(--ash-border);
    background: rgba(12, 18, 28, 0.8);
}

.search-result__title {
    font-weight: 600;
    margin: 0;
}

.search-result__meta {
    margin-top: 6px;
    color: var(--ash-text-muted);
    font-size: 0.95rem;
}

.page-hero__meta {
    margin-top: 24px;
    display: grid;
    gap: 8px;
    color: var(--ash-text-muted);
    font-size: 0.95rem;
}

.section--deals,
.section--deals-preview {
    padding-top: 48px;
}

.deal-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.deal-grid--compact {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.deal-card {
    background: rgba(12, 18, 28, 0.72);
    border: 1px solid var(--ash-border);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 16px 32px rgba(5, 10, 20, 0.22);
    display: grid;
    gap: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.deal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 42px rgba(0, 194, 255, 0.18);
}

.deal-card--disabled {
    opacity: 0.6;
    box-shadow: none;
}

.deal-card__meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ash-text-muted);
}

.deal-card__discount {
    background: rgba(0, 194, 255, 0.18);
    color: var(--ash-accent);
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 600;
}

.deal-card__badge {
    background: rgba(255, 165, 0, 0.14);
    color: #ffb347;
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 600;
}

.deal-card__title {
    margin: 0;
    font-size: 1.3rem;
}

.deal-card__tagline {
    margin: 0;
    color: var(--ash-text-muted);
    font-size: 0.95rem;
}

.deal-card__pricing {
    display: flex;
    gap: 12px;
    align-items: baseline;
}

.deal-card__price {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--ash-accent);
}

.deal-card__price--original {
    font-size: 1rem;
    text-decoration: line-through;
    color: var(--ash-text-muted);
}

.deal-card__footer {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.btn-disabled {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(14, 20, 30, 0.6);
    color: var(--ash-text-muted);
    cursor: not-allowed;
    font-weight: 500;
}

.section--deals-empty {
    text-align: center;
    padding: 64px 24px 96px;
    color: var(--ash-text-muted);
}

.support-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.support-card {
    background: rgba(12, 18, 28, 0.7);
    border: 1px solid var(--ash-border);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 16px 32px rgba(5, 10, 20, 0.2);
    display: grid;
    gap: 12px;
}

.support-card h2 {
    margin: 0;
}

.support-note {
    margin-top: 32px;
    color: var(--ash-text-muted);
    font-size: 0.95rem;
}

.category-deals-intro {
    margin: 24px 0 12px;
    color: var(--ash-text-muted);
}

.category-deals-list {
    margin-top: 32px;
    display: grid;
    gap: 18px;
}

.category-deals-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.category-deals-header h2 {
    margin: 0;
    font-size: 1.4rem;
}

.search-modal__hint {
    color: var(--ash-text-muted);
    margin: 0;
}

@media (max-width: 980px) {
    .site-header__nav nav ul {
        overflow-x: auto;
        padding-bottom: 8px;
    }
    .site-header__nav nav ul::-webkit-scrollbar {
        height: 6px;
    }
    .site-header__nav nav ul::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 4px;
    }
}

@media (max-width: 720px) {
    .hero__inner {
        text-align: center;
    }
    .hero__actions {
        justify-content: center;
    }
    .product-page__actions {
        flex-direction: column;
        align-items: stretch;
    }
    .site-header__top {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .site-header__actions {
        justify-content: space-between;
    }
    .search-modal__dialog {
        padding: 24px;
    }
}

