@font-face {
    font-family: "sfprodisplay";
    src: url(../fonts/SFPRODISPLAYMEDIUM.woff2) format('woff2');
}
@font-face {
    font-family: "sfprodisplay_bold";
    src: url(../fonts/SFPRODISPLAYBOLD.woff2) format('woff2');
}
::-webkit-scrollbar {
    width: 0;
    display: none;
}
* {
    color: white;
    user-select: none;
}
title {
    display: none;
}
body {
    display: flex;
    justify-content: center;
    background-color: black;
    overflow-x: hidden;
    scrollbar-width: none;
}
body::-webkit-scrollbar {
    width: 0;
    background: transparent;
}
.main-cont {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;

    text-align: center;

    /* УБРАТЬ */
    justify-content: center;
}


.header {
    margin-top: 20px;
    height: 70px;
    width: 100%;
    max-width: 1440px;
    color: white;
    display: flex;
    justify-content: space-between;
    padding-inline: 50px;

    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 30px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1),
        inset 0 0 0px 0px rgba(255, 255, 255, 0);
    overflow: hidden;
    position: fixed;

    z-index: 6;
}
.header::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 30px;
    pointer-events: none;
    padding: 1px; /* толщина "рамки" */

    /* два радиальных градиента в углах — они и гаснут */
    background:
        radial-gradient(160% 160% at 0% 100%, rgba(255,255,255,0.30) 0%, transparent 65%),
        radial-gradient(160% 160% at 100% 0%, rgba(255,255,255,0.30) 0%, transparent 65%);

    /* вырезаем центр, чтобы не светился фон */
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;

    /* рамка поверх фоновых эффектов, но под контентом */
    z-index: 1;
}
/* Поднимаем контент (текст, кнопки, лого) над рамкой */
.header > * {
  position: relative;
  z-index: 2;
}
.logo-title {
    display: flex;
}
.logo-div img {
    margin-top: 8px;
    width: 54px;
    filter: brightness(75%);
}
.title {
    font-size: 24px;
    margin-left: 10px;
    height: 70px;
    line-height: 70px; /* должно равняться высоте контейнера */
    font-family: 'sfprodisplay';
}
.header-btn {
    margin-left: 40px;
    height: 56px;
    line-height: 70px;
    text-decoration: none;
    color: white;
    font-family: "sfprodisplay";
    font-size: 20px;
    background-color: #121212;
    padding: 15px 30px;
    border-radius: 40px;
    overflow: hidden;
    position: relative;

    transition: 0.3s;
}
.header-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px; /* толщина границы */
    
    background:
        radial-gradient(120% 120% at 0% 100%, rgba(255,255,255,0.32) 0%, transparent 65%),
        radial-gradient(120% 120% at 100% 0%, rgba(255,255,255,0.32) 0%, transparent 65%);

    /* Вырезаем центр, оставляя только границу */
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
}
.header-btn img {
    width: 30px;
    margin-left: 10px;
}
.header-btn:hover {
    filter: brightness(1.5);
}



.main {
    margin-top: 140px;
    padding-top: 20px;
    text-align: center;
    z-index: 5;

    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
    overflow: hidden;

    background: none;
}

/* 1. Фон картинка с блюром */
.main::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url(../img/Background.gif);
    background-size: cover;
    background-position: center;
    filter: blur(4px) brightness(30%);
    z-index: 1;
}
/* 2. ТЁМНЫЙ ФЭЙД, СИЛЬНЫЙ, РАСТЯНУТЫЙ */
.main::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;

    background: linear-gradient(to bottom,
        rgba(0,0,0,1) 0%,        /* ЖЁСТКО ЧЁРНЫЙ */
        rgba(0,0,0,0.85) 15%,   /* Продолжаем чёрный */
        rgba(0,0,0,0.4) 35%,    /* Плавное уменьшение */
        rgba(0,0,0,0) 50%,      /* Центр полностью открыт */
        rgba(0,0,0,0.4) 65%, 
        rgba(0,0,0,0.85) 85%,   
        rgba(0,0,0,1) 100%
    );

    mix-blend-mode: multiply; /* >>>>>> ЭТО ДЕЛАЕТ ВСЮ МАГИЮ <<<<<< */
}
/* Контент поверх */
.main > * {
    position: relative;
    z-index: 3;
}

.main-title {
    text-align: center;
    font-family: 'sfprodisplay_bold';
}
.main-title h1 {
    font-size: 96px;
    font-family: 'sfprodisplay_bold';
    color: white;

    /* Делаем текст прозрачным под маской */
    -webkit-mask-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.116) 0%,
        rgba(0,0,0,1) 60%
    );
    -webkit-mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
}
.main-subtitle {
    font-family: 'sfprodisplay';
    font-size: 18px;
    color: #969696;
    margin-bottom: 40px;
    user-select: text;
}
.main-subtitle::selection {
  color: black; /* Меняет цвет выделенного текста на черный */
  background: white; /* Добавляет белый фон при выделении */
}
.main-button {
    color: white;
    text-decoration: none;

    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 30px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.979),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1),
        inset 0 0 0px 0px rgba(255, 255, 255, 0);
    overflow: hidden;
    padding: 15px 30px;
    font-size: 20px;

    transition: 0.3s;
}
.main-button::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px; /* толщина границы */
    
    background:
        radial-gradient(120% 120% at 0% 100%, rgba(255,255,255,0.32) 0%, transparent 65%),
        radial-gradient(120% 120% at 100% 0%, rgba(255,255,255,0.32) 0%, transparent 65%);

    /* Вырезаем центр, оставляя только границу */
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;

    transition: --glow-opacity 0.4s ease;
}
.main-button:hover {
    filter: brightness(1.5);
}

.platforms {
    margin: 60px auto 0;
    width: 500px;
    
    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 30px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.979),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1),
        inset 0 0 0px 0px rgba(255, 255, 255, 0);
    overflow: hidden;
    padding: 20px 10px;
}
.platforms::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px; /* толщина границы */
    
    background:
        radial-gradient(120% 120% at 100% 0%, rgba(255,255,255,0.32) 0%, transparent 65%),
        radial-gradient(120% 120% at 0% 100%, rgba(255,255,255,0.32) 0%, transparent 65%);

    /* Вырезаем центр, оставляя только границу */
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
}
.p-title {
    font-family: "sfprodisplay";
    color: #969696;
}
.p-imgs {
    margin-top: 20px;
    display: flex;
    justify-content: space-around
}
.p-img {
    height: 56px;
    width: 56px;
    position: relative;
    filter: brightness(0.6); /* 1 = норм, 0 = чернота, 0.6 = слегка затемнено */
    transition: 0.3s;
}
.p-img:hover {
    filter: brightness(1);
}




/* Приемущества */
.advantages {
    margin-top: 100px;
}
.advantages-title {
    font-size: 64px;
    font-family: "sfprodisplay_bold";

    /* Делаем текст прозрачным под маской */
    -webkit-mask-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.116) 0%,
        rgba(0,0,0,1) 100%
    );
    -webkit-mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;

    margin-bottom: 100px;
}

.advantages-table {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}
.advantage {
    text-align: left;
    height: 270px;
    border-right: 1px solid rgba(255, 255, 255, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
    padding: 30px;
}
/* убираем правую границу у крайних карточек */
.advantage:nth-child(3n) {
    border-right: none;
}
/* убираем нижнюю границу у последнего ряда */
.advantage:nth-last-child(-n+3) {
    border-bottom: none;
}

.advantage:hover {
    .advantage-img img {
        filter: brightness(1);
        transform: scale(1.1);
    }
}
.advantage-img img {
    width: 54px;
    filter: brightness(0.7);
    transition: 0.3s;

    position: absolute;
}
.advantage-title {
    padding-top: 70px;
    font-size: 24px;
    color: white;
    font-family: "sfprodisplay";
}
.advantage-text {
    color: #969696;
    font-family: "sfprodisplay";
}




.prices {
    margin-top: 120px;
    text-align: center;
    margin-bottom: 70px;
}
.prices-title {
    margin: 0 auto 0;
    text-align: center;
    width: min-content;
    white-space: nowrap;

    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 30px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.979),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1),
        inset 0 0 0px 0px rgba(255, 255, 255, 0);
    overflow: hidden;
    padding: 15px 30px;
}
.prices-title::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px; /* толщина границы */
    
    background:
        radial-gradient(120% 120% at 100% 0%, rgba(255,255,255,0.32) 0%, transparent 65%),
        radial-gradient(120% 120% at 0% 100%, rgba(255,255,255,0.32) 0%, transparent 65%);

    /* Вырезаем центр, оставляя только границу */
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
}
.price-cards {
    display: flex;
    justify-content: space-evenly;   
    margin-top: 50px;
}
.price-card {
    min-width: 300px;
    padding: 20px;

    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 30px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.979),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1),
        inset 0 0 0px 0px rgba(255, 255, 255, 0);
    overflow: hidden; 
}
.price-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px; /* толщина границы */
    
    background:
        radial-gradient(120% 120% at 100% 0%, rgba(255,255,255,0.32) 0%, transparent 65%),
        radial-gradient(120% 120% at 0% 100%, rgba(255,255,255,0.32) 0%, transparent 65%);

    /* Вырезаем центр, оставляя только границу */
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
}
.price-title {
    font-family: "sfprodisplay_bold";
    font-size: 24px;
    margin-bottom: 10px;
}
.price-price {
    font-family: "sfprodisplay_bold";
    font-size: 20px;
}
.price-text {
    text-align: left;
    margin-left: 15%;
    margin-bottom: 30px;
    color: #a8a8a8;
}
.price-text img {
    width: 20px;
}
.price-btn {
    height: 56px;
    line-height: 70px;
    text-decoration: none;
    color: white;
    font-family: "sfprodisplay";
    font-size: 20px;
    background-color: #121212;
    padding: 15px 30px;
    border-radius: 40px;
    overflow: hidden;
    position: relative;

    transition: 0.3s;
}
.price-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px; /* толщина границы */
    
    background:
        radial-gradient(120% 120% at 0% 100%, rgba(255,255,255,0.32) 0%, transparent 65%),
        radial-gradient(120% 120% at 100% 0%, rgba(255,255,255,0.32) 0%, transparent 65%);

    /* Вырезаем центр, оставляя только границу */
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
}
.price-btn:hover {
    filter: brightness(1.5);
}






/* АДАПТАЦИЯ */
@media (max-width: 1500px) {
    body {
        zoom: 0.95;
    }

    .main {
        zoom: 1.05;
        margin-top: 120px;
    }
    .main-logo {
        zoom: 0.95;
    }
    .main-title {
        zoom: 0.95;
    }
    .main-subtitle {
        zoom: 0.95;
    }
    .main-button {
        zoom: 0.95;
    }
    .platforms {
        zoom: 0.95;
    }
}
@media (max-width: 1390px) {
    body {
        zoom: 0.90;
    }

    .main {
        zoom: 1.12;
        margin-top: 100px;
    }
    .main-logo {
        zoom: 0.90;
    }
    .main-title {
        zoom: 0.90;
    }
    .main-subtitle {
        zoom: 0.90;
    }
    .main-button {
        zoom: 0.90;
    }
    .platforms {
        zoom: 0.90;
    }
}
@media (max-width: 1300px) {
    body {
        zoom: 0.85;
    }

    .main {
        zoom: 1.20;
        margin-top: 100px;
    }
    .main-logo {
        zoom: 0.85;
    }
    .main-title {
        zoom: 0.85;
    }
    .main-subtitle {
        zoom: 0.85;
    }
    .main-button {
        zoom: 0.85;
    }
    .platforms {
        zoom: 0.85;
    }
}
@media (max-width: 1250px) {
    body {
        zoom: 0.80;
    }

    .main {
        zoom: 1.25;
        margin-top: 80px;
    }
    .main-logo {
        zoom: 0.80;
    }
    .main-title {
        zoom: 0.80;
    }
    .main-subtitle {
        zoom: 0.80;
    }
    .main-button {
        zoom: 0.80;
    }
    .platforms {
        zoom: 0.80;
    }
}
@media (max-width: 1170px) {
    body {
        zoom: 0.75;
    }

    .main {
        zoom: 1.35;
        margin-top: 70px;
    }
    .main-logo {
        zoom: 0.75;
    }
    .main-title {
        zoom: 0.75;
    }
    .main-subtitle {
        zoom: 0.75;
    }
    .main-button {
        zoom: 0.75;
    }
    .platforms {
        zoom: 0.75;
    }
}
@media (max-width: 1090px) {
    body {
        zoom: 0.70;
    }

    .main {
        zoom: 1.45;
        margin-top: 60px;
    }
    .main-logo {
        zoom: 0.70;
    }
    .main-title {
        zoom: 0.70;
    }
    .main-subtitle {
        zoom: 0.70;
    }
    .main-button {
        zoom: 0.70;
    }
    .platforms {
        zoom: 0.70;
    }
}
/* ПЛАНШЕТНАЯ */
@media (max-width: 1024px) {
    body {
        zoom: 0;
    }

    .main {
        zoom: 0;
    }
    .main-logo {
        zoom: 0;
    }
    .main-title {
        zoom: 0;
    }
    .main-subtitle {
        zoom: 0;
    }
    .main-button {
        zoom: 0;
    }
    .platforms {
        zoom: 0;
    }
}
@media (max-width: 1024px) {
    .header {
        width: 95%;
        left: 50%;
        transform: translateX(-50%);
    }
    .main-logo {
        margin-top: 30px;
        height: 120px;
    }
    .main-logo img {
        height: 120px;
    }
    .main-title h1 {
        font-size: 48px;
    }
    .main-subtitle {
        font-size: 14px;
    }
    .main-button {
        zoom: 80%;
    }
    .platforms {
        zoom: 70%;
    }

    .advantages {
        margin-top: 60px;
    }
    .advantages-title {
        font-size: 32px;
        margin-bottom: 40px;
    }
    .advantage {
        height: 200px;
    }
    .advantage-img {
        zoom: 80%;
    }
    .advantage-title {
        font-size: 14px;
        padding-top: 50px;
    }
    .advantage-text {
        font-size: 10px;
    }

    .prices-title {
        zoom: 80%;
    }
    .price-card {
        zoom: 80%;
    }
}
@media (max-width: 900px) {
    .header-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 0;
        height: 50px;
        margin-top: 10px;
        margin-left: 15px;
    }
    .header-btn::before {
        height: 50px;
    }
    .header-btn img {
        margin-left: 0;
    }
    .main-subtitle {
        font-size: 12px;
    }

    .prices {
        margin-top: 60px;
    }
}
@media (max-width: 780px) {
    .advantage {
        padding: 15px;
        height: 180px;
    }

    .price-cards {
        gap: 0px;
        display: flex;
        justify-content: center;
        margin-top: 20px;
    }
    .price-card {
        transform: scale(0.85);
        margin-inline: -10px;
    }
}
/* ТИПО-ТЕЛЕФОННАЯ */
@media (max-width: 660px) {
    /* Сжимаем блок "Приемущества" */
    .advantages-table {
        grid-template-columns: repeat(2, 1fr);
    }
    .advantage {
        border-right: 1px solid rgba(255, 255, 255, 0.4);
        border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    }
    /* Возвращаем границы по правой у карточек */
    .advantage:nth-child(3n) {
        border-right: 1px solid rgba(255, 255, 255, 0.4);
    }
    /* убираем у правого ряда */
    .advantage:nth-child(2n) {
        border-right: none;
    }
    /* Возвращаем границы по низу границу у карточек */
    .advantage:nth-last-child(-n+3) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    }
    /* убираем у нижнего ряда */
    .advantage:nth-last-child(-n+2) {
        border-bottom: none;
    }

    /* сжимаем блок тарифов */
    .price-cards {
        display:flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .price-card {
        max-width: 300px;
        zoom: 120%;
    }

    .prices-title {
        zoom: 100%;
    }
}
@media (max-width: 570px) {
    /* А то элементы в хэдэр не помещаются */
    .header {
        padding-inline: 10px;
    }
    .main-title h1 {
        font-size: 40px;
        padding-inline: 20px;
    }
    .main-subtitle {
        padding-inline: 15px;
    }
}
@media (max-width: 490px) {
    .title {font-size: 20px;}
    .header-btn {margin-left: 5px;}
}
@media (max-width: 460px) {
    .title {font-size: 0;}
    .title::after {
        content: "FrogShield";
        font-size: 20px;
    }
}
@media (max-width: 395px) {
    .title::after {font-size: 16px;}

    .advantage-img {zoom: 70%;}
    .advantage-title{padding-top: 40px;}
}
/* Ебучие самсунги */
@media (max-width: 365px) {
    .header {zoom: 80%;}
    .advantage-title {font-size: 12px;}
}