body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #222a45;
    color: #cfd8e5;

    overflow-x: hidden;
}


.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px; /* 👈 теперь справа */

    width: 360px; /* лучше фиксированную ширину */
    max-width: calc(100% - 40px); /* чтобы не ломалось на мобилках */

    padding: 18px 20px;

    background: linear-gradient(
        135deg,
        rgba(34, 42, 69, 0.98),
        rgba(45, 55, 90, 0.98)
    );

    color: #cfd8e5;

    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;

    border-radius: 14px;
    border: 1px solid rgba(0, 255, 255, 0.15);

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;

    z-index: 9999;
    backdrop-filter: blur(10px);

    box-shadow:
        0 0 20px rgba(0, 255, 255, 0.15),
        0 10px 40px rgba(0, 0, 0, 0.5);

    animation: slideUpRight 0.4s ease;
}

@keyframes slideUpRight {
    from {
        transform: translateY(40px) translateX(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0) translateX(0);
        opacity: 1;
    }
}

.cookie-banner button {
    background: linear-gradient(135deg, #00e0ff, #00bcd4);
    border: none;
    color: #001018;

    padding: 8px 14px;
    border-radius: 8px;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition: all 0.2s ease;
    width: 100%;
    align-self: stretch;
}

.cookie-banner button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.main_text {
    font-family: "Noto Sans", sans-serif;
    font-size: 102px;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -1.5px;
    text-align: left;

    background: linear-gradient(90deg, #00c6ff 0%, #0088ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    text-shadow: 0 0 10px rgba(0, 170, 255, 0.2);

    margin-bottom: 60px;

    margin: 0 0 20px 0;

    /* Добавляем левый отступ */
    padding-right: 700px; /* или сколько нужно, чтобы текст ушёл влево */

    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.main_text::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('../images/main.jpg');

    background-position: center;
    filter: blur(1px) brightness(1.4);
    opacity: 0.5;
    z-index: -1;

    -webkit-mask-image: 
        linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 15%, rgba(0,0,0,1) 65%, rgba(0,0,0,0) 100%),
        linear-gradient(to left, rgba(0,0,0,1) 65%, rgba(0,0,0,0) 100%),
        linear-gradient(to right, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
    -webkit-mask-composite: destination-in;

    background-repeat: no-repeat;
    mask-composite: intersect;

    background-size: 95%;
    transform: translate(15%, -3%); /* поднимаем вверх: минус по Y */
}


@media (max-width: 480px) {
    .main_text {
        font-size: 48px;
        letter-spacing: -1px;
        line-height: 1.1;
        margin-bottom: 20px;
        text-align: left;
        max-width: 100%; /* Убираем ограничение */
        width: 100%; /* Занимаем всю ширину */
        padding: 0 76px 0 0; /* Отступ только справа */
        box-sizing: border-box; /* Учитываем паддинги */
        margin-left: 0; /* Убираем отступ слева */
    }

    .main_text::before {
        transform: translate(18%, -10%);
        background-size: 200% auto;
    
        background-position: center top;
        filter: blur(0.8px) brightness(1.1);
        opacity: 0.4;
    }
}

    .sub_main_text {
        font-family: "Inter", sans-serif;
        font-size: clamp(18px, 1.6vw, 32px);
        font-weight: 500;
        color: rgba(255, 255, 255, 0.9);
        margin-top: 40px;
        text-shadow: 0 0 20px rgba(0, 212, 255, 0.25);
        max-width: 700px;
        line-height: 1.4;
        background: linear-gradient(90deg, rgba(255,255,255,0.9), rgba(0,212,255,0.9));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    @media (max-width: 768px) {
        .sub_main_text {
            font-size: clamp(22px, 3vw, 36px);
            margin-top: 50px;
            max-width: 90%;
            line-height: 1.3;
            text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
            padding: 0 15px;
        }
    }

@media (max-width: 480px) {
    .sub_main_text {
        padding: 0;
        margin-left: 0;
        
        padding: 0 8px 0 0;
        
        position: relative;
        width: calc(100% + 32px); /* Расширяем на размер компенсации */
    }
}

    @media (max-width: 375px) {
        .sub_main_text {
            font-size: clamp(18px, 4.5vw, 24px);
            margin-top: 35px;
            line-height: 1.2;
            text-shadow: 0 0 12px rgba(0, 212, 255, 0.2);
            padding: 0 8px;
        }
    }

    /* Mobile Small (маленькие телефоны, 320px и меньше) */
    @media (max-width: 320px) {
        .sub_main_text {
            font-size: clamp(16px, 5vw, 20px);
            margin-top: 30px;
            line-height: 1.15;
            text-shadow: 0 0 10px rgba(0, 212, 255, 0.15);
        }
    }

    @media (max-height: 500px) and (orientation: landscape) {
        .sub_main_text {
            margin-top: 30px;
            font-size: clamp(18px, 2.5vw, 28px);
            line-height: 1.2;
        }
    }

    /* Высокопиксельные экраны (2x, 3x DPI) */
    @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
        .sub_main_text {
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            text-rendering: optimizeLegibility;
        }
    }

        .btn {
            display: inline-block;
            margin-top: 25px;
            padding: 1rem 3rem;
            background-color: #00d4ff;
            color: #0a0f1f;
            text-decoration: none;
            border-radius: 100px;
            font-weight: bold;
            font-size: 5rem;
            transition: 0.3s;
        }

        .btn:hover {
            background-color: #00a0cc;
        }
        section {
            padding: 60px 20px;
            text-align: center;
        }
        section h2 {
            font-size: 2.2em;
            margin-bottom: 20px;
            color: #00d4ff;
        }
        section p {
            max-width: 650px;
            margin: 0 auto 40px;
            line-height: 1.6;
            color: #cfd8e5;
        }
        .features {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 20px;
        }
        .feature {
            background-color: #1a223f;
            padding: 30px;
            border-radius: 10px;
            width: 270px;
            box-shadow: 0 6px 15px rgba(0,0,0,0.4);
            transition: 0.3s;
        }
        .feature:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.6);
        }
        .feature h3 {
            margin-top: 0;
            color: #00d4ff;
        }
        footer {
            background-color: #0f192f;
            color: #a0bcd5;
            text-align: center;
            padding: 10px;
            border-top: 1px solid #1a223f;
            font-size: 12px;

        }
@media (max-width: 480px) {
    footer {
        width: 100vw !important;
        margin: 0 !important;
        padding: 12px 10px !important;
        font-size: 12px !important;
        line-height: 1.4 !important;
        border-top: 1px solid #1a223f !important;
        position: relative;
        left: 0;
        right: 0;
        box-sizing: border-box;
        text-align: center;
    }
}




        @media (max-width: 768px) {
            .features {
                flex-direction: column;
                align-items: center;
            }
        }



.connect-btn { 
    display: inline-block;
    font-family: "Noto Sans", sans-serif;
    font-weight: 900;

    font-size: 35px;

    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: none;
    border-radius: 20px;
    cursor: pointer;

    padding: clamp(0.6rem, 1.5vw, 1.2rem) clamp(1.2rem, 3vw, 2.5rem);

    overflow: hidden;
    z-index: 1;
    transition: transform 0.25s ease, box-shadow 0.3s ease;

    background: linear-gradient(90deg, #00d4ff, #00aaff, #007bff);
    color: #fff;                 
    text-shadow: 0 0 8px rgba(0, 180, 255, 0.6);
    position: relative;
    white-space: nowrap;
}

@media (max-width: 480px) {

    #connect {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
        margin-top: -410px;
        width: 95%;
    }
    
    .connect-btn {
        font-size: clamp(20px, 6vw, 50px);
        padding: 1rem 2rem;
    }
}



        .connect-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 0 25px rgba(0, 180, 255, 0.45);
        }

        .connect-btn:active {
            transform: translateY(0);
            box-shadow: 0 0 10px rgba(0, 180, 255, 0.3);
        }

.page-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 2530px;
    margin: 0 auto;
    padding: 0 150px;
    box-sizing: border-box;
}

#about {
  margin-top: 47px;
}


        #connect {
            display: inline-flex;
            justify-content: center;
            align-items: top;
            margin-top: -110px;
        }

        .flags-section {
            display: flex;
            justify-content: center;
            gap: 40px;
            flex-wrap: wrap;
            margin-top: 50px;
        }

        .price-card {
            flex: 1 1 45%;
            min-width: 420px;          
            max-width: 67px;           
            padding: 75px 19px;
            background: linear-gradient(135deg, #0f192f, #1a223f);
            border-radius: 60px;
            box-shadow: 0 18px 45px rgba(0,0,0,0.5);
            color: #00d4ff;
            font-size: 32px;
            font-weight: 500;
            line-height: 1.3;
            text-align: center;
            transition: transform 0.3s, box-shadow 0.3s;
        }


        .price-card:first-child {
            box-shadow: 0 12px 30px rgba(0, 212, 255, 0.5);
        }

        .price-card:last-child {
            box-shadow: 0 12px 30px rgba(255, 180, 0, 0.5);
        }

        .price-card strong {
            font-weight: 700;
        }


.price-card:first-child strong {
    color: #00ffff;
}

.price-card:nth-child(2) strong {
    color: #ff6f61;
}

.price-card:last-child strong {
    color: #ffdd00;
}


        .price-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(0,0,0,0.6);
        }

        @media (max-width: 1024px) {
            .price-card {
                flex: 1 1 45%;
            }
        }

        @media (max-width: 768px) {
            .price-card {
                flex: 1 1 90%;
                margin: 0 auto;
            }
        }

@media (max-width: 480px) {
    .flags-section {
        flex-direction: column;

        gap: 20px;
        margin-top: 30px;
        padding: 0 10px;
    }

    .price-card {
        flex: 1 1 100%;
        min-width: 300px;
        max-width: 95%;
        padding: 50px 60px;
        font-size: clamp(20px, 5vw, 36px);
        border-radius: 40px;
        box-shadow: 0 12px 30px rgba(0,0,0,0.5);
    }

    .price-card:hover {
        transform: none;
        box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    }

    .price-card strong {
        font-size: clamp(22px, 5vw, 32px);
    }
}




#manual {
    padding: 50px 50px;
    max-width: 100%;
    margin: 50px 0;
    line-height: 2.2;
    background: linear-gradient(135deg, rgba(15,25,47,0.9), rgba(26,34,63,0.9));
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    width: 100%;
    box-sizing: border-box;
}

#manual h2 {
    font-size: 55px;
    background: linear-gradient(90deg, #00d4ff, #007bff, #00ffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 25px rgba(0, 212, 255, 0.6);
    margin: 0 0 10px 0;
    line-height: 1.1;
    text-align: center;
    animation: fadeInText 1s ease forwards;
}

#manual p {
    font-size: 13px;

    color: #cfd8e5;
    line-height: 1.4;
    margin: 25px 0;
    position: relative;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
    display: block;

    max-width: 2900px;

}

#manual p::before {
    content: "👉";
    display: inline-block;
    margin-right: -1px;
    font-size: 30px;
    animation: bounce 1.5s infinite;
}

#manual p strong {
    display: inline;


    background: linear-gradient(120deg, #00ffff, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 15px rgba(0,255,255,0.4);
    transition: all 0.3s ease;
    vertical-align: middle;

    font-size: 35px;
}

#manual p a {
    color: #00d4ff;
    text-decoration: underline;
    text-shadow: 0 0 10px rgba(0,212,255,0.4);
    transition: color 0.2s, text-shadow 0.2s;
    display: inline;
}

        #manual p a:hover {
            color: #00ffff;
            text-shadow: 0 0 20px rgba(0,255,255,0.7);
        }

        @keyframes bounce {
            0%, 100% { transform: translateX(0); }
            50% { transform: translateX(-7px); }
        }

        @keyframes fadeInText {
            0% { opacity: 0; transform: translateX(-20px); }
            100% { opacity: 1; transform: translateX(0); }
        }

.step-number {
    font-size: 40px;
    font-weight: 900;
    color: #00ffff;
    display: inline-block;
    width: 1.5em;
    text-align: right;
    margin-right: 20px;
    vertical-align: middle;
}


@media (max-width: 480px) {
    #manual {
        padding: 20px 10px;
        margin: 20px 0;              
        line-height: 1.8;           
        border-radius: 15px;         
        box-shadow: 0 5px 20px rgba(0,0,0,0.5); 
    }

    #manual h2 {
        font-size: clamp(20px, 7vw, 50px);
        margin-bottom: 20px;              
        line-height: 1.05;
    }

    #manual p {
        font-size: clamp(14px, 3.5vw, 24px);
        margin-bottom: 5px;
        line-height: 1.1;
        padding: 5px 20px;             
        max-width: 100%;                    
        box-sizing: border-box;
        word-wrap: break-word;
    }

    #manual p::before {
        font-size: 0.9em;                   
        margin-right: 4px;
    }

    #manual p strong {
        font-size: clamp(18px, 4vw, 28px);  
    }

    #manual p a {
        font-size: clamp(14px, 3.5vw, 24px);  
    }

    .step-number {
        font-size: clamp(18px, 4vw, 28px);  
        margin-right: 8px;
    }
}

/* ===== BENEFITS SECTION ===== */

#benefits {
    padding: 2px 50px; /* уже есть сверху и снизу */
    padding-bottom: 150px; /* увеличиваем нижний отступ */
    background: linear-gradient(135deg, #1a223f, #0f192f);
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
    margin-top: 12px;
    text-align: center;
    overflow: hidden;
}

#benefits h2 {
    font-size: 55px;
    margin-bottom: 40px;

    background: linear-gradient(90deg, #00d4ff, #00aaff, #00ffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 25px rgba(0, 212, 255, 0.4);
    letter-spacing: 2px;
    animation: fadeInText 1s ease forwards;
}

.benefits-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 колонки */
    justify-content: center; /* центрируем сетку */
    gap: 30px 20px; /* вертикальный и горизонтальный отступ */
    max-width: 70px; /* чтобы не растягивалось слишком сильно */
    margin: 0 auto;
}

.benefit-card {
    background: linear-gradient(145deg, #35446f, #1d2547);
    border-radius: 40px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.45);
    padding: 20px 30px;
    width: 280px;
    text-align: center;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.benefit-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 50px rgba(0, 212, 255, 0.3);
}

.benefit-card img {
    width: 100px;
    height: 100px;
    margin-bottom: 35px;
    filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.5));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.benefit-card:hover img {
    /* transform: scale(1.1); */
    filter: drop-shadow(0 0 25px rgba(0, 255, 255, 0.8));
}

.benefit-card p {
    font-size: 25px;
    color: #cfd8e5;
    line-height: 1.4;
    font-weight: 500;
    text-shadow: 0 0 12px rgba(0, 212, 255, 0.2);
}


/* ===== SMALL MOBILE ===== */
@media (max-width: 480px) {
    #benefits {
        padding: 40px 15px;
        border-radius: 20px;
    }

    #benefits h2 {
        font-size: clamp(26px, 7vw, 50px);
        margin-bottom: 40px;
    }

    .benefit-card {
        width: 100%;
        padding: 40px 20px;
        border-radius: 25px;
    }

    .benefit-card img {
        width: 60px;
        height: 60px;
    }

    .benefit-card p {
        font-size: clamp(16px, 4vw, 22px);
    }
}



/* ===== CONNECT REPEAT BUTTON ===== */
#connect-repeat {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
}

#connect-repeat .connect-btn {
    font-family: "Noto Sans", sans-serif;
    font-weight: 900;
    font-size: 35px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    padding: clamp(1rem, 2vw, 1.8rem) clamp(2rem, 5vw, 5rem);


    background: linear-gradient(90deg, #e6c700, #cca300, #b38f00);
    color: #1a223f;
    text-shadow: 0 0 15px rgba(255, 221, 0, 0.6);

    box-shadow: 0 10px 35px rgba(255, 221, 0, 0.45);
    transition: transform 0.25s ease, box-shadow 0.3s ease, background 0.3s ease;
    position: relative;
    white-space: nowrap;

    width: 100%;
}

#connect-repeat .connect-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 45px rgba(255, 221, 0, 0.7);
    background: linear-gradient(90deg, #ffeb3b, #ffd600, #ffc107);
}

#connect-repeat .connect-btn:active {
    transform: translateY(0);
    box-shadow: 0 0 20px rgba(255, 221, 0, 0.5);
}


/* ===== MOBILE ===== */
@media (max-width: 480px) {

    #connect-repeat {
        padding: 40px 10px;
    }

    #connect-repeat .connect-btn {
        font-size: clamp(20px, 6vw, 48px);
        padding: 1rem 2rem;
        white-space: normal;
    }
}


#faq {
    padding: 12px 61px 150px 61px;
    background: linear-gradient(135deg, #1a223f, #0f192f);
    border-radius: 72px; /* 40*1.8=72 */
    margin-top: 10px; /* 202*1.8=364 */
    margin-block-end: 40px;
    text-align: left;
    color: #cfd8e5;
}

#faq h2 {
    font-size: 45px;
    margin-bottom: 80px;

    text-align: center;

    background: linear-gradient(90deg, #00d4ff, #00aaff, #00ffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 25px rgba(0, 212, 255, 0.4);
    letter-spacing: 2px;
    animation: fadeInText 1s ease forwards;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 35px; /* 16*1.8=29 */
    width: 100%;
    max-width: 2160px; /* 1200*1.8=2160 */
    margin: 0 auto;
}

.faq-item {
    width: 100%;
    border-bottom: 1px solid #555;
    padding: 14px 0; /* 8*1.8=14 */
}

.faq-question {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 35px; /* 28*1.8=50, 36*1.8=65 */
    font-weight: 600;
    cursor: pointer;
    position: relative;
    color: #00d4ff;
    padding-right: 54px; /* 30*1.8=54 */
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    font-size: 2.24rem; /* 1.8*1.8=3.24rem */
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0;
    font-size: 20px; /* 20*1.8=36, 24*1.8=43 */
    line-height: 1.5;
    color: #cfd8e5;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 900px; /* 500*1.8=900 */
    padding: 9px 0 50px 0; /* 5*1.8=9, 15*1.8=27 */
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    #faq {
        padding: 202px 36px; /* 112*1.8=202, 20*1.8=36 */
    }
    .faq-question {
        font-size: clamp(40px, 7.2vw, 50px); /* 22*1.8=40, 28*1.8=50 */
    }
    .faq-answer {
        font-size: clamp(32px, 6.3vw, 40px); /* 18*1.8=32, 22*1.8=40 */
    }
}

/* ===== SMALL MOBILE ===== */
@media (max-width: 480px) {

    .page-wrapper {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 20px; /* компактные боковые отступы */

        display: flex;
        flex-direction: column; /* элементы идут вертикально */
        justify-content: flex-start; /* выравниваем сверху */
        align-items: center; /* центрируем по горизонтали */
        box-sizing: border-box;
    }

    #faq {
        padding: 144px 27px; /* 80*1.8=144, 15*1.8=27 */
    }
    .faq-question {
        font-size: clamp(32px, 8.1vw, 40px); /* 18*1.8=32, 22*1.8=40 */
    }
    .faq-answer {
        font-size: clamp(29px, 7.2vw, 36px); /* 16*1.8=29, 20*1.8=36 */
    }
}
