/* ===== Newsletter Full-Width Section Styles ===== */

/* Full-width Newsletter Section */
.newsletter-full-section {
    background: linear-gradient(135deg, var(--color-primary-600) 0%, var(--color-primary-700) 50%, var(--color-secondary-600) 100%);
}

/* Animated Gradient Background */
.newsletter-gradient-bg {
    background: linear-gradient(135deg, var(--color-primary-600), var(--color-secondary-600), var(--color-primary-700));
    background-size: 400% 400%;
    animation: newsletter-gradient 15s ease infinite;
}

@keyframes newsletter-gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Mesh Pattern Background */
.newsletter-mesh {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Floating Circle Elements */
.newsletter-float-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    filter: blur(40px);
}

.newsletter-float-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -50px;
    animation: float-slow 20s ease-in-out infinite;
}

.newsletter-float-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    right: 10%;
    animation: float-slow 15s ease-in-out infinite reverse;
}

.newsletter-float-3 {
    width: 150px;
    height: 150px;
    top: 30%;
    right: -30px;
    animation: float-slow 18s ease-in-out infinite 2s;
}

@keyframes float-slow {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -20px) scale(1.1);
    }
    50% {
        transform: translate(-20px, 30px) scale(0.9);
    }
    75% {
        transform: translate(20px, 20px) scale(1.05);
    }
}

/* Icon Glow Effect */
.newsletter-icon-glow {
    animation: icon-glow 3s ease-in-out infinite;
}

@keyframes icon-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow: 0 0 40px rgba(255, 255, 255, 0.4), 0 0 60px rgba(255, 255, 255, 0.2);
    }
}

/* Newsletter Full-Width Button */
.newsletter-full-btn {
    background: white;
    color: var(--color-primary-700);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.newsletter-full-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.95);
}

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

.newsletter-full-btn svg {
    transition: transform 0.3s ease;
}

.newsletter-full-btn:hover svg {
    transform: translateX(4px);
}

/* Dark mode adjustments for newsletter full section */
.dark .newsletter-full-section {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 50%, #1e3a8a 100%);
}

.dark .newsletter-gradient-bg {
    background: linear-gradient(135deg, #1e293b, #0f172a, #1e3a8a);
    background-size: 400% 400%;
    animation: newsletter-gradient 15s ease infinite;
}

.dark .newsletter-mesh {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

.dark .newsletter-float-circle {
    background: rgba(59, 130, 246, 0.15);
}

.dark .newsletter-icon-glow {
    background: rgba(59, 130, 246, 0.2);
}

.dark .newsletter-full-btn {
    background: linear-gradient(135deg, var(--color-primary-600), var(--color-primary-700));
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.dark .newsletter-full-btn:hover {
    background: linear-gradient(135deg, var(--color-primary-500), var(--color-primary-600));
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
}

/* Dark mode text adjustments for newsletter */
.dark .newsletter-full-section .text-white {
    color: #f1f5f9 !important;
}

.dark .newsletter-full-section .text-white\/80 {
    color: rgba(241, 245, 249, 0.8) !important;
}

.dark .newsletter-full-section .text-white\/70 {
    color: rgba(241, 245, 249, 0.7) !important;
}

.dark .newsletter-full-section .text-white\/90 {
    color: rgba(241, 245, 249, 0.9) !important;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .newsletter-float-1,
    .newsletter-float-2,
    .newsletter-float-3 {
        display: none;
    }
}
