.newsletter__section {
    margin-top: 5rem;
    margin-bottom: 5rem;
}

.newsletter__card {
    position: relative;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 24px;
    padding: 4rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.newsletter__content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

.newsletter__text {
    flex: 1;
}

.newsletter__text h2 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 700;
}

.newsletter__text p {
    font-size: 1.1rem;
    color: #cccccc;
    max-width: 400px;
}

.newsletter__form {
    flex: 1;
    max-width: 500px;
}

.input__group {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 0.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.input__group:focus-within {
    border-color: var(--primary-color, #ffbe33);
    box-shadow: 0 0 15px rgba(255, 190, 51, 0.2);
}

.newsletter__form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 1rem 1.5rem;
    color: #ffffff;
    font-size: 1rem;
    outline: none;
}

.newsletter__form input::placeholder {
    color: #888888;
}

.newsletter__form .com__btn {
    border-radius: 12px;
    padding: 0.8rem 2rem;
    margin: 0;
}

.error-msg {
    display: block;
    color: #ff4d4d;
    font-size: 0.85rem;
    margin-top: 0.75rem;
    padding-left: 1rem;
}

.success-msg {
    display: block;
    color: #00e676;
    font-size: 1rem;
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(0, 230, 118, 0.1);
    border-top: 2px solid #00e676;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
}

.newsletter__decoration .circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 1;
}

.circle-1 {
    width: 300px;
    height: 300px;
    background: rgba(255, 190, 51, 0.15);
    top: -150px;
    right: -50px;
}

.circle-2 {
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    bottom: -100px;
    left: -50px;
}

/* RTL Support */
[dir="rtl"] .newsletter__content {
    flex-direction: row-reverse;
}

[dir="rtl"] .newsletter__text {
    text-align: right;
}

[dir="rtl"] .newsletter__form {
    text-align: right;
}

[dir="rtl"] .circle-1 {
    right: auto;
    left: -50px;
}

[dir="rtl"] .circle-2 {
    left: auto;
    right: -50px;
}

@media (max-width: 991px) {
    .newsletter__content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .newsletter__text p {
        max-width: 100%;
    }

    .newsletter__form {
        width: 100%;
    }

    [dir="rtl"] .newsletter__content {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .newsletter__card {
        padding: 2rem 1.5rem;
    }

    .newsletter__text h2 {
        font-size: 1.8rem;
    }

    .input__group {
        flex-direction: column;
        background: transparent;
        border: none;
        padding: 0;
        gap: 1rem;
    }

    .newsletter__form input {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        width: 100%;
    }

    .newsletter__form .com__btn {
        width: 100%;
        justify-content: center;
    }
}