/* ═══════════════════════════════════════════════════════════════
   NEWSLETTER SECTION STYLES
   ═══════════════════════════════════════════════════════════════ */

.newsletter-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #0a0e13 0%, #151922 100%);
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(180, 123, 24, 0.3), transparent);
}

.newsletter-card {
    background: rgba(26, 33, 41, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(180, 123, 24, 0.2);
    border-radius: 20px;
    padding: 60px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.newsletter-card:hover {
    border-color: rgba(180, 123, 24, 0.4);
    box-shadow: 0 25px 70px rgba(180, 123, 24, 0.1);
}

.newsletter-content {
    padding-right: 30px;
}

.newsletter-icon {
    margin-bottom: 25px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.newsletter-title {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.newsletter-description {
    font-size: 16px;
    color: #b0b0b0;
    margin-bottom: 30px;
    line-height: 1.6;
}

.newsletter-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.newsletter-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: #d0d0d0;
    margin-bottom: 15px;
}

.newsletter-benefits li svg {
    flex-shrink: 0;
}

/* Form Styles */
.newsletter-form-wrapper {
    background: rgba(0, 0, 0, 0.3);
    padding: 35px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.newsletter-input {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: #b47b18;
    box-shadow: 0 0 0 3px rgba(180, 123, 24, 0.1);
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-submit-btn {
    width: 100%;
    padding: 15px 30px;
    background: linear-gradient(135deg, #b47b18 0%, #d4a76a 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.newsletter-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(180, 123, 24, 0.3);
}

.newsletter-submit-btn:active {
    transform: translateY(0);
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.newsletter-submit-btn:hover .btn-arrow {
    transform: translateX(5px);
}

.newsletter-privacy {
    font-size: 13px;
    color: #888;
    margin-top: 15px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Success Message */
.newsletter-success-message {
    text-align: center;
    padding: 40px 20px;
    animation: fadeIn 0.5s ease;
}

.newsletter-success-message svg {
    margin-bottom: 20px;
    animation: scaleIn 0.5s ease;
}

.newsletter-success-message h4 {
    font-size: 24px;
    font-weight: 700;
    color: #4ade80;
    margin-bottom: 10px;
}

.newsletter-success-message p {
    font-size: 16px;
    color: #b0b0b0;
    margin: 0;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

/* ═══════════════════════════════════════════════════════════════
   NEWSLETTER POPUP ALERT
   ═══════════════════════════════════════════════════════════════ */

.newsletter-popup-alert {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    max-width: 400px;
    width: calc(100% - 60px);
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.newsletter-popup-alert.show {
    opacity: 1;
    transform: translateY(0);
}

.newsletter-popup-content {
    background: linear-gradient(135deg, #1a2129 0%, #232b36 100%);
    border: 2px solid rgba(180, 123, 24, 0.3);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    text-align: center;
}

.newsletter-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    transition: all 0.3s ease;
}

.newsletter-popup-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.newsletter-popup-icon {
    margin-bottom: 20px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.newsletter-popup-content h4 {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.newsletter-popup-content p {
    font-size: 15px;
    color: #b0b0b0;
    margin-bottom: 20px;
    line-height: 1.5;
}

.btn-newsletter-popup {
    width: 100%;
    padding: 12px 25px;
    background: linear-gradient(135deg, #b47b18 0%, #d4a76a 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-newsletter-popup:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(180, 123, 24, 0.3);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 991px) {
    .newsletter-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .newsletter-title {
        font-size: 28px;
    }
    
    .newsletter-card {
        padding: 40px;
    }
    
    .newsletter-form-wrapper {
        padding: 25px;
    }
}

@media (max-width: 575px) {
    .newsletter-section {
        padding: 60px 0;
    }
    
    .newsletter-card {
        padding: 30px 20px;
    }
    
    .newsletter-title {
        font-size: 24px;
    }
    
    .newsletter-description {
        font-size: 14px;
    }
    
    .newsletter-popup-alert {
        bottom: 20px;
        right: 20px;
        width: calc(100% - 40px);
    }
    
    .newsletter-popup-content {
        padding: 25px 20px;
    }
    
    .newsletter-popup-content h4 {
        font-size: 18px;
    }
    
    .newsletter-popup-content p {
        font-size: 14px;
    }
}
