/* ============================================
   NEWSLETTER SECTION
   ============================================ */

.newsletter {
    background: var(--gradient-hero);
    color: var(--color-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.newsletter__content {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.newsletter__title {
    font-size: var(--text-4xl);
    font-weight: var(--font-extrabold);
    color: var(--color-white);
    margin-bottom: var(--space-4);
}

.newsletter__description {
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
    color: var(--color-white);
    opacity: 0.95;
    margin-bottom: var(--space-6);
}

.newsletter__form {
    flex-direction: column;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}

.newsletter__input {
    flex-grow: 1;
    padding: var(--space-4) var(--space-6);
    font-size: var(--text-base);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-lg);
    outline: none;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    transition: all var(--transition-fast);
}

.newsletter__input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter__input:focus {
    border-color: var(--color-white);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.newsletter__form .btn {
    background: var(--color-white);
    color: var(--color-primary);
    font-weight: var(--font-bold);
    box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.2);
}

.newsletter__form .btn:hover {
    background: linear-gradient(135deg, #4F46E5, #7C3AED);
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.25);
}

.newsletter__cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}

.newsletter__card {
    cursor: pointer;
    position: relative;
}

.newsletter__card-input {
    display: none;
}

.newsletter__card-content {
    padding: var(--space-5);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.newsletter__card:hover .newsletter__card-content {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.newsletter__card-input:checked + .newsletter__card-content {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--color-white);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3), 0 8px 25px rgba(0, 0, 0, 0.15);
}

.newsletter__card-icon {
    font-size: 32px;
    align-self: center;
}

.newsletter__card-details {
    text-align: center;
}

.newsletter__card-title {
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
    color: var(--color-white);
    margin: 0 0 var(--space-2) 0;
}

.newsletter__card-subtitle {
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 var(--space-2) 0;
}

.newsletter__card-features {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.8);
}

.newsletter__card-features li {
    padding: 2px 0;
}

.newsletter__card-check {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
    color: var(--color-white);
}

.newsletter__card-input:checked ~ .newsletter__card-content .newsletter__card-check {
    opacity: 1;
    transform: scale(1);
}

.newsletter__privacy {
    font-size: var(--text-sm);
    color: var(--color-white);
    opacity: 0.8;
    margin: 0;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .newsletter__cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 425px) {
    .newsletter__cards {
        grid-template-columns: 1fr;
    }
}
