/* Newsletter CTA Section */
.newsletter-cta-section {
    padding: 4rem 0;
    background: transparent;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-cta-glass-card {
    max-width: 950px;
    margin: 0 auto;
    background: var(--primary-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 4rem 3rem;
    text-align: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 50px rgba(14, 65, 91, 0.2);
}

/* Social Proof Stack */
.newsletter-social-proof {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.newsletter-avatars-stack {
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-stack-item {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid var(--white);
    overflow: hidden;
    margin-left: -12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.avatar-stack-item:first-child {
    margin-left: 0;
}

.avatar-stack-item:hover {
    transform: translateY(-5px) scale(1.1);
    z-index: 5;
}

.avatar-stack-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.social-proof-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.newsletter-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.newsletter-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Pill Form Design */
.form-input-pill {
    display: flex;
    background: var(--white);
    padding: 6px;
    border-radius: 100px;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 8px 25px rgba(11, 43, 70, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.newsletter-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0 2rem;
    font-size: 1.05rem;
    color: var(--text-dark);
    outline: none;
}

.newsletter-input::placeholder {
    color: #94a3b8;
}

.newsletter-button {
    padding: 1.1rem 3rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    background: linear-gradient(135deg, rgba(235, 75, 70, 0.9), rgba(190, 30, 25, 0.95));
    color: var(--white);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow:
        inset 0 4px 6px rgba(255, 255, 255, 0.5),
        inset 0 -6px 10px rgba(120, 10, 10, 0.6),
        inset 0 2px 15px rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-bottom-color: rgba(225, 55, 50, 0.8);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.newsletter-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 30%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0));
    border-radius: 50px 50px 0 0;
    pointer-events: none;
    opacity: 0.6;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: block;
}

.newsletter-button:hover {
    background: linear-gradient(135deg, rgba(245, 85, 80, 0.95), rgba(205, 45, 40, 1));
    box-shadow:
        inset 0 4px 8px rgba(255, 255, 255, 0.6),
        inset 0 -6px 10px rgba(120, 10, 10, 0.6),
        inset 0 2px 20px rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-bottom-color: rgba(225, 55, 50, 0.9);
}

.newsletter-button:hover::before {
    opacity: 0.8;
}

.newsletter-button:active {
    transform: translateY(1px);
    box-shadow:
        0 4px 10px -2px rgba(0, 0, 0, 0.2),
        inset 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .newsletter-cta-section {
        padding: 4rem 15px;
    }

    .newsletter-cta-glass-card {
        padding: 3rem 1.5rem;
        border-radius: 30px;
    }

    .newsletter-title {
        font-size: 2.25rem;
    }

    .form-input-pill {
        flex-direction: column;
        background: transparent;
        padding: 0;
        gap: 0.75rem;
        box-shadow: none;
        border-radius: 0;
        border: none;
        max-width: 100%;
    }

    .newsletter-input {
        padding: 1rem 1.2rem;
        font-size: 0.95rem;
        width: 100%;
        background: var(--white);
        border-radius: 100px;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .newsletter-button {
        padding: 1rem 1.8rem;
        font-size: 0.9rem;
        width: 100%;
        border-radius: 100px;
    }

    .avatar-stack-item {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .newsletter-title {
        font-size: 1.85rem;
    }

    .newsletter-subtitle {
        font-size: 1rem;
    }
}