* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #f7f9fc;
    color: #172033;
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;
    line-height: 1.55;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}


/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid #e7ebf2;
    backdrop-filter: blur(12px);
}

.header-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.brand-shield {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #1769ff;
    color: #fff;
    font-size: 21px;
    font-weight: 900;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: auto;
    font-size: 15px;
    font-weight: 600;
}

.main-nav a {
    color: #4d5870;
}

.main-nav a:hover {
    color: #1769ff;
}


/* Language */

.language-switcher {
    position: relative;
}

.language-switcher summary {
    cursor: pointer;
    list-style: none;
    border: 1px solid #dfe5ef;
    background: #fff;
    border-radius: 12px;
    padding: 9px 12px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.language-switcher summary::-webkit-details-marker {
    display: none;
}

.language-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 235px;
    padding: 8px;
    border-radius: 16px;
    border: 1px solid #e1e6ef;
    background: #fff;
    box-shadow: 0 18px 50px rgba(31, 45, 70, 0.14);
}

[dir="rtl"] .language-menu {
    right: auto;
    left: 0;
}

.language-menu a {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px 11px;
    border-radius: 10px;
    font-size: 14px;
}

.language-menu a:hover,
.language-menu a[aria-current="page"] {
    background: #f1f5ff;
    color: #1769ff;
}


/* Hero */

.hero {
    padding: 86px 0 76px;
    background:
        radial-gradient(circle at 78% 30%, rgba(23, 105, 255, 0.11), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
    align-items: center;
    gap: 70px;
}

.eyebrow,
.section-kicker {
    display: inline-block;
    margin-bottom: 14px;
    color: #1769ff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 780px;
    margin: 0;
    font-size: clamp(40px, 5vw, 68px);
    line-height: 1.03;
    letter-spacing: -2.5px;
}

.hero-text {
    max-width: 760px;
    margin: 26px 0 0;
    font-size: 19px;
    color: #4b5870;
}

.hero-subtext {
    margin: 16px 0 0;
    color: #68758c;
    font-size: 15px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 20px;
    border-radius: 13px;
    font-weight: 750;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    background: #1769ff;
    color: #fff;
    box-shadow: 0 10px 24px rgba(23, 105, 255, 0.22);
}

.button-secondary {
    background: #fff;
    border: 1px solid #dfe5ef;
    color: #273149;
}

.button-dark {
    background: #111827;
    color: #fff;
}


/* Hero protection card */

.hero-card {
    background: #111827;
    color: #fff;
    border-radius: 26px;
    padding: 27px;
    box-shadow: 0 30px 70px rgba(17, 24, 39, 0.18);
}

.status-line {
    display: flex;
    gap: 10px;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    font-size: 18px;
    font-weight: 800;
}

.status-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #42d392;
    box-shadow: 0 0 0 6px rgba(66, 211, 146, 0.12);
}

.protection-list {
    display: grid;
    gap: 3px;
    margin-top: 18px;
}

.protection-list div {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 4px;
    color: #dbe3f0;
}

.protection-list span {
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(66, 211, 146, 0.13);
    color: #55e6a7;
}


/* Sections */

.catalog-section,
.feature-section,
.promotion-section {
    padding: 80px 0;
}

.catalog-section {
    background: #fff;
}

.section-heading {
    margin-bottom: 30px;
}

.section-heading h2,
.promotion-box h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.1;
    letter-spacing: -1.2px;
}

.catalog-search {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 760px;
    height: 58px;
    margin-bottom: 20px;
    padding: 0 18px;
    border: 1px solid #dce3ed;
    border-radius: 15px;
    background: #f8fafc;
}

.search-icon {
    font-size: 23px;
    color: #758197;
}

.catalog-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #172033;
}

.catalog-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 28px;
}

.catalog-tabs span {
    padding: 8px 12px;
    border-radius: 999px;
    background: #f0f4fa;
    color: #536078;
    font-size: 14px;
    font-weight: 700;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.category-card {
    min-height: 112px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 9px;
    padding: 18px;
    border: 1px solid #e2e7ef;
    border-radius: 17px;
    background: #fff;
}

.category-card span {
    font-size: 27px;
}

.category-card strong {
    font-size: 15px;
}


/* Protection */

.feature-section {
    background: #f7f9fc;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
}

.feature-card {
    padding: 24px;
    border: 1px solid #e0e6ef;
    border-radius: 19px;
    background: #fff;
}

.feature-icon {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 13px;
    background: #eef4ff;
    font-size: 22px;
}

.feature-card h3 {
    margin: 0 0 9px;
    font-size: 18px;
}

.feature-card p {
    margin: 0;
    color: #69768c;
    font-size: 14px;
}

.center-action {
    margin-top: 28px;
}


/* Promotion */

.promotion-section {
    background: #fff;
}

.promotion-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    padding: 42px;
    border-radius: 24px;
    background: #eef4ff;
}

.promotion-box p {
    max-width: 720px;
    margin: 15px 0 0;
    color: #5f6c83;
}


/* Footer */

.site-footer {
    padding: 38px 0;
    background: #111827;
    color: #d7deea;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 30px;
}

.footer-inner strong {
    font-size: 20px;
    color: #fff;
}

.footer-inner p {
    margin: 4px 0 0;
    font-size: 13px;
    color: #909caf;
}

.footer-links,
.footer-languages {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 14px;
}

.footer-links a:hover {
    color: #fff;
}


/* RTL */

[dir="rtl"] body {
    text-align: right;
}

[dir="rtl"] .main-nav {
    margin-left: 0;
    margin-right: auto;
}


/* FAQ */

.faq-section {
    padding: 78px 0;
}

.faq-list {
    display: grid;
    gap: 14px;
    max-width: 900px;
    margin-top: 34px;
}

.faq-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
}

.faq-item summary {
    position: relative;
    padding: 21px 58px 21px 24px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 26px;
    font-weight: 400;
    line-height: 1;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item p {
    margin: 0;
    padding: 0 24px 22px;
    line-height: 1.7;
    color: var(--muted);
}

[dir="rtl"] .faq-item summary {
    padding: 21px 24px 21px 58px;
}

[dir="rtl"] .faq-item summary::after {
    right: auto;
    left: 24px;
}



/* Tablet */

@media (max-width: 900px) {
    .main-nav {
        display: none;
    }

    .language-switcher {
        margin-left: auto;
    }

    [dir="rtl"] .language-switcher {
        margin-left: 0;
        margin-right: auto;
    }

    .hero {
        padding: 58px 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .hero-card {
        max-width: 620px;
    }

    .category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }
}


/* Mobile */

@media (max-width: 600px) {
    .container {
        width: min(100% - 22px, 1180px);
    }

    .header-inner {
        min-height: 62px;
        gap: 10px;
    }

    .brand {
        font-size: 18px;
    }

    .brand-shield {
        width: 34px;
        height: 34px;
        font-size: 18px;
    }

    .language-switcher summary {
        max-width: 150px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .language-menu {
        width: min(260px, calc(100vw - 24px));
    }

    .hero {
        padding: 45px 0 52px;
    }

    .hero h1 {
        font-size: 39px;
        letter-spacing: -1.7px;
    }

    .hero-text {
        font-size: 17px;
    }

    .hero-actions {
        display: grid;
    }

    .button {
        width: 100%;
    }

    .catalog-section,
    .feature-section,
    .promotion-section {
        padding: 55px 0;
    }

    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .promotion-box {
        align-items: stretch;
        flex-direction: column;
        padding: 27px 22px;
    }
}
