/* Modern Footer Newsletter Design */

.modern-newsletter-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 50px 0;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.modern-newsletter-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.modern-newsletter-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.modern-newsletter-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 1;
}

.modern-newsletter-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.modern-newsletter-text {
    flex: 1;
    color: white;
}

.modern-newsletter-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.modern-newsletter-title {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 12px 0;
    color: white;
    line-height: 1.2;
}

.modern-newsletter-description {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    color: rgba(255, 255, 255, 0.95);
}

.modern-newsletter-form-wrapper {
    flex: 1;
    max-width: 500px;
}

.modern-newsletter-form {
    display: flex;
    gap: 12px;
    background: white;
    padding: 8px;
    border-radius: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.modern-newsletter-input-wrapper {
    flex: 1;
    position: relative;
}

.modern-newsletter-input {
    width: 100%;
    padding: 16px 20px 16px 50px;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    outline: none;
    background: transparent;
    color: #333;
}

.modern-newsletter-input::placeholder {
    color: #9ca3af;
}

.modern-newsletter-input-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 20px;
    pointer-events: none;
}

.modern-newsletter-submit {
    padding: 16px 32px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.modern-newsletter-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.modern-newsletter-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.modern-newsletter-features {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.modern-newsletter-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 14px;
}

.modern-newsletter-feature::before {
    content: '✓';
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

/* Success/Error Messages */
.modern-newsletter-message {
    margin-top: 15px;
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    animation: slideInUp 0.4s ease;
}

.modern-newsletter-success {
    background: rgba(16, 185, 129, 0.2);
    color: white;
    border: 2px solid rgba(16, 185, 129, 0.4);
}

.modern-newsletter-error {
    background: rgba(239, 68, 68, 0.2);
    color: white;
    border: 2px solid rgba(239, 68, 68, 0.4);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .modern-newsletter-section {
        padding: 40px 0;
        margin-top: 40px;
    }
    
    .modern-newsletter-container {
        padding: 0 20px;
    }
    
    .modern-newsletter-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .modern-newsletter-icon {
        width: 60px;
        height: 60px;
        font-size: 30px;
        margin: 0 auto 15px;
    }
    
    .modern-newsletter-title {
        font-size: 26px;
        margin-bottom: 10px;
    }
    
    .modern-newsletter-description {
        font-size: 15px;
    }
    
    .modern-newsletter-form-wrapper {
        max-width: 100%;
        width: 100%;
    }
    
    .modern-newsletter-form {
        flex-direction: column;
        padding: 12px;
        gap: 10px;
    }
    
    .modern-newsletter-input {
        padding: 14px 20px 14px 50px;
        font-size: 16px; /* Prevents iOS zoom */
    }
    
    .modern-newsletter-submit {
        width: 100%;
        padding: 14px 28px;
    }
    
    .modern-newsletter-features {
        flex-direction: column;
        gap: 12px;
        margin-top: 15px;
    }
    
    .modern-newsletter-feature {
        justify-content: center;
        font-size: 13px;
    }
}

@media (max-width: 575px) {
    .modern-newsletter-section {
        padding: 30px 0;
    }
    
    .modern-newsletter-container {
        padding: 0 15px;
    }
    
    .modern-newsletter-icon {
        width: 50px;
        height: 50px;
        font-size: 26px;
    }
    
    .modern-newsletter-title {
        font-size: 22px;
    }
    
    .modern-newsletter-description {
        font-size: 14px;
    }
    
    .modern-newsletter-form {
        padding: 10px;
    }
    
    .modern-newsletter-input {
        padding: 12px 18px 12px 45px;
    }
    
    .modern-newsletter-submit {
        padding: 12px 24px;
        font-size: 15px;
    }
}

/* Alternative Compact Design */
.modern-newsletter-compact {
    background: #f9fafb;
    padding: 40px 0;
    border-top: 1px solid #e5e7eb;
}

.modern-newsletter-compact .modern-newsletter-content {
    gap: 30px;
}

.modern-newsletter-compact .modern-newsletter-title {
    font-size: 24px;
    color: #1a1a1a;
}

.modern-newsletter-compact .modern-newsletter-description {
    color: #666;
}

.modern-newsletter-compact .modern-newsletter-form {
    background: white;
    border: 2px solid #e5e7eb;
}

.modern-newsletter-compact .modern-newsletter-submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
