/* ===== Brochure Download Popup ===== */

.brochure-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 3500;
    align-items: center;
    justify-content: center;
}

.brochure-overlay.active {
    display: flex;
}

.brochure-popup {
    background: white;
    border-radius: 20px;
    max-width: 440px;
    width: 90%;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    animation: brochureSlideIn 0.35s ease forwards;
}

@keyframes brochureSlideIn {
    from { transform: translateY(30px) scale(0.96); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.brochure-popup-header {
    background: linear-gradient(135deg, #6C4DE6 0%, #8B5CF6 100%);
    padding: 24px 28px;
    color: white;
    text-align: center;
}

.brochure-popup-header h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
}

.brochure-popup-header p {
    font-size: 13px;
    opacity: 0.9;
}

.brochure-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    line-height: 1;
}

.brochure-close:hover {
    background: rgba(255, 255, 255, 0.35);
}

.brochure-form-card {
    padding: 24px 28px 28px;
}

.brochure-form-card input {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    margin-bottom: 12px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
    color: #333;
}

.brochure-form-card input::placeholder {
    color: #aaa;
}

.brochure-form-card input:focus {
    outline: none;
    border-color: #6C4DE6;
    box-shadow: 0 0 0 3px rgba(108, 77, 230, 0.1);
}

.brochure-submit-btn {
    width: 100%;
    padding: 12px;
    background: #6C4DE6;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    font-family: 'Poppins', sans-serif;
    margin-top: 4px;
}

.brochure-submit-btn:hover {
    background: #5a3cc4;
    transform: translateY(-1px);
}

.brochure-submit-btn:disabled {
    background: #a89be0;
    cursor: not-allowed;
    transform: none;
}

/* Thank You State */
.brochure-thank-you {
    text-align: center;
    padding: 36px 24px;
}

.brochure-thank-you .check-icon {
    font-size: 52px;
    margin-bottom: 12px;
}

.brochure-thank-you h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 700;
}

.brochure-thank-you p {
    font-size: 14px;
    color: #666;
    margin-bottom: 4px;
}

.brochure-thank-you .download-note {
    font-size: 12px;
    color: #6C4DE6;
    font-weight: 600;
    margin-top: 12px;
}

/* ===== Responsive ===== */
@media (max-width: 480px) {
    .brochure-popup {
        width: 94%;
        border-radius: 16px;
    }

    .brochure-popup-header {
        padding: 20px 20px;
    }

    .brochure-popup-header h3 {
        font-size: 17px;
    }

    .brochure-form-card {
        padding: 20px 20px 24px;
    }

    .brochure-form-card input {
        padding: 10px 12px;
        font-size: 13px;
    }

    .brochure-submit-btn {
        font-size: 14px;
        padding: 11px;
    }
}
