/* ==== Базовое ==== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #0a0a0a;
    --fg: #ffffff;
    --dim: #e3e3e3;
    --dimb: #ffffff;
    --accent: #ce0201;
    --border: rgba(255, 255, 255, 0.15);
    --overlay: rgba(0, 0, 0, 0.7);
}

body {
    font-family: 'Montserrat', sans-serif;
    /* background: var(--bg); */
    color: var(--fg);
    line-height: 1.5;
    min-height: 100vh;
}

/* ==== Фон ==== */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: url('images/background.jpg') center/cover no-repeat;
    opacity: 0.9;
    z-index: -2;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.7) 100%);
    z-index: -1;
}

/* ==== Шапка ==== */
.header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.header__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 30px 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 30px;
    text-decoration: none;
    color: var(--fg);
}

.logo__img {
    height: 32px;
    width: auto;
}

.logo__text {
    font-size: 1.1em;
    font-weight: 600;
    padding-left: 25px;
    border-left: 1px solid var(--border);
}

.nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav__link {
    color: var(--fg);
    text-decoration: none;
    font-size: 0.95em;
    font-weight: 500;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.nav__link:hover {
    opacity: 1;
}

.search {
    background: none;
    border: none;
    color: var(--fg);
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
    padding: 5px;
}

.search:hover {
    opacity: 1;
}

/* ==== Hero ==== */
.hero {
    padding: 40px 40px 0px;
}

.hero__container {
    max-width: 1280px;
    margin: 0 auto;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.4fr 2fr;
    gap: 20px;
    align-items: center;
}

.hero__image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.hero__title {
    font-size: clamp(2em, 4vw, 3.5em);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero__title b {
    font-size: clamp(0.4em, 1vw, 0.4em) !important;
    font-weight: 300;
    line-height: 1.0;
    color: var(--dim) !important;
    letter-spacing: 0em;
}

/* ==== Достоинства ==== */
.features {
    padding: 40px 40px 80px;
}

.features__container {
    max-width: 1280px;
    margin: 0 auto;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px 40px;
}

.feature__title {
    font-size: 1.4em;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 20px;
    padding-left: 15px;
    border-left: 3px solid var(--accent);
}

.feature__list {
    list-style: none;
    background: rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(4px);
    border-radius: 10px;
    padding: 3px 10px;
}

.feature__list li {
    font-size: 0.90em;
    color: var(--dim);
    padding: 8px 0;
    line-height: 1.5;
}

.feature__list b {
    font-size: 0.90em;
    color: var(--dimb);
}

.feature__list li::before {
    /* content: '— '; */
    color: var(--dim);
    opacity: 0.5;
}

/* ==== Скачать ==== */
.download {
    padding: 100px 40px;
    text-align: center;
    border-top: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.5);
}

.download__container {
    max-width: 900px;
    margin: 0 auto;
}

.download__title {
    font-size: 2.5em;
    font-weight: 900;
    margin-bottom: 15px;
}

.download__subtitle {
    color: var(--dim);
    font-size: 1.1em;
    margin-bottom: 50px;
}

.download__platforms {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 40px;
    background: var(--accent);
    color: var(--fg);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    transition: transform 0.2s, box-shadow 0.2s;
    min-width: 180px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 45, 85, 0.4);
}

.btn__os {
    font-size: 1.2em;
    margin-bottom: 5px;
}

.btn__arch {
    font-size: 0.8em;
    opacity: 0.8;
    font-weight: 400;
}

.download__note {
    color: var(--dim);
    font-size: 0.95em;
}

.download__note code {
    background: rgba(255, 255, 255, 0.1);
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'SF Mono', 'Consolas', monospace;
    color: var(--fg);
}

/* ==== Подвал ==== */
.footer {
    padding: 40px;
    text-align: center;
    color: var(--dim);
    border-top: 1px solid var(--border);
    font-size: 0.9em;
}

.footer__container p {
    margin: 5px 0;
}

.footer a {
    color: var(--accent);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* ==== Адаптив ==== */
@media (max-width: 900px) {
    .features__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
    }

    .hero__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero__image {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .header__container,
    .hero,
    .features,
    .download,
    .footer {
        padding-left: 20px;
        padding-right: 20px;
    }

    .features__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .nav {
        gap: 15px;
    }

    .logo__text {
        display: none;
    }

    .hero {
        padding-top: 60px;
    }

    .hero__title {
        font-size: 1.8em;
    }

    .btn {
        width: 100%;
    }
}