/* styles/promo-popup.css */

.promo-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 25000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.promo-popup.active {
    display: flex;
    opacity: 1;
}

.promo-popup__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 12, 26, 0.92);
    backdrop-filter: blur(12px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.promo-popup.active .promo-popup__overlay {
    opacity: 1;
}

.promo-popup__content {
    position: relative;
    background: #060C1A;
    background-image: linear-gradient(135deg, rgb(11, 24, 54), rgba(20, 97, 204, 0.15));
    border: 1.5px solid rgba(88, 141, 214, 0.6);
    border-radius: 20px;
    max-width: 450px;
    width: 100%;
    padding: 30px 28px 28px;
    z-index: 25001;
    box-shadow: 0 25px 70px rgba(4, 219, 214, 0.2), 0 10px 40px rgba(20, 97, 204, 0.3);
    transform: translateY(30px) scale(0.95);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.promo-popup.active .promo-popup__content {
    transform: translateY(0) scale(1);
    opacity: 1;
    transition-delay: 0.15s;
}

.promo-popup__close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 36px;
    line-height: 1;
    z-index: 10;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.promo-popup__close:hover {
    color: #04dbd6;
    background: rgba(4, 219, 214, 0.1);
    transform: rotate(90deg);
}

.promo-popup__icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #1461cc 0%, #04dbd6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(4, 219, 214, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(4, 219, 214, 0);
    }
}

.promo-popup__title {
    font-family: 'Gilroy', sans-serif;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.5px;
    background: linear-gradient(90deg, #82A7DA 0%, #7EE2E2 50%, #FFFFFF 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0 0 12px 0;
    text-align: center;
    line-height: 1.2;
}

.promo-popup__subtitle {
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 20px 0;
    text-align: center;
    line-height: 1.4;
}

.promo-popup__benefits {
    margin: 0 0 20px 0;
    padding: 0;
    list-style: none;
}

.promo-popup__benefit {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 10px;
    padding-left: 5px;
}

.promo-popup__benefit:last-child {
    margin-bottom: 0;
}

.promo-popup__benefit::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #1461cc 0%, #04dbd6 100%);
    border-radius: 50%;
    font-weight: 700;
    font-size: 12px;
    color: #060c1a;
}

.promo-popup__form {
    margin-top: 8px;
}

.promo-popup__field {
    margin-bottom: 10px;
}

.promo-popup__field input,
.promo-popup__field textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(88, 141, 214, 0.3);
    border-radius: 28px;
    color: #FFFFFF;
    font-family: 'Manrope', sans-serif;
    letter-spacing: 0.5px;
    font-size: 13px;
    font-weight: 300;
    transition: all 0.3s ease;
}

.promo-popup__field textarea {
    resize: none;
    border-radius: 18px;
    min-height: 75px;
}

.promo-popup__field input::placeholder,
.promo-popup__field textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 300;
}

.promo-popup__field input:focus,
.promo-popup__field textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(88, 141, 214, 0.6);
}

.promo-popup__submit {
    width: 100%;
    padding: 14px 28px;
    background: linear-gradient(90deg, #1461cc 0%, #04dbd6 100%);
    border: none;
    border-radius: 28px;
    color: #060c1a;
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 6px;
}

.promo-popup__submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(4, 219, 214, 0.4);
}

.promo-popup__submit:active {
    transform: translateY(-1px);
}

.promo-popup__notice {
    margin-top: 14px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
    letter-spacing: 0.2px;
    text-align: center;
    font-family: 'Manrope', sans-serif;
    line-height: 1.4;
}

body.promo-popup-open {
    overflow: hidden;
}

/* Адаптивная версия */
@media (max-width: 768px) {
    .promo-popup__content {
        max-width: 400px;
        padding: 25px 22px 22px;
        border-radius: 18px;
    }

    .promo-popup__icon {
        width: 45px;
        height: 45px;
        font-size: 24px;
        margin-bottom: 14px;
    }

    .promo-popup__title {
        font-size: 21px;
        margin-bottom: 10px;
    }

    .promo-popup__subtitle {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .promo-popup__benefits {
        margin-bottom: 16px;
    }

    .promo-popup__benefit {
        font-size: 12px;
        gap: 8px;
        margin-bottom: 8px;
    }

    .promo-popup__benefit::before {
        min-width: 18px;
        height: 18px;
        font-size: 11px;
    }

    .promo-popup__field {
        margin-bottom: 8px;
    }

    .promo-popup__field input,
    .promo-popup__field textarea {
        padding: 12px 16px;
        font-size: 12px;
        border-radius: 24px;
    }

    .promo-popup__field textarea {
        border-radius: 16px;
        min-height: 65px;
    }

    .promo-popup__submit {
        padding: 12px 24px;
        font-size: 14px;
        border-radius: 24px;
    }

    .promo-popup__close {
        font-size: 30px;
        width: 30px;
        height: 30px;
        top: 10px;
        right: 10px;
    }

    .promo-popup__notice {
        font-size: 10px;
        margin-top: 12px;
    }
}

@media (max-width: 480px) {
    .promo-popup__content {
        max-width: 360px;
        padding: 22px 18px 18px;
        border-radius: 16px;
    }

    .promo-popup__icon {
        width: 42px;
        height: 42px;
        font-size: 22px;
        margin-bottom: 12px;
    }

    .promo-popup__title {
        font-size: 19px;
        margin-bottom: 8px;
    }

    .promo-popup__subtitle {
        font-size: 13px;
        margin-bottom: 14px;
    }

    .promo-popup__benefits {
        margin-bottom: 14px;
    }

    .promo-popup__benefit {
        font-size: 11px;
        gap: 7px;
        margin-bottom: 7px;
        padding-left: 3px;
    }

    .promo-popup__benefit::before {
        min-width: 16px;
        height: 16px;
        font-size: 10px;
    }

    .promo-popup__field {
        margin-bottom: 7px;
    }

    .promo-popup__field input,
    .promo-popup__field textarea {
        padding: 11px 14px;
        font-size: 11px;
        border-radius: 20px;
    }

    .promo-popup__field textarea {
        border-radius: 14px;
        min-height: 60px;
    }

    .promo-popup__submit {
        padding: 11px 22px;
        font-size: 13px;
        border-radius: 20px;
    }

    .promo-popup__close {
        font-size: 26px;
        width: 26px;
        height: 26px;
        top: 8px;
        right: 8px;
    }

    .promo-popup__notice {
        font-size: 9px;
        margin-top: 10px;
    }
}
