/* Members Newsletter Section Styles */
.site-home-members-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 25%, #f1f5f9 50%, #f8fafc 75%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

/* Silk-like texture overlay */
.site-home-members-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23f1f5f9' fill-opacity='0.4'%3E%3Cpath opacity='.5' d='M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9zm-1 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.2;
    pointer-events: none;
}

.site-home-members-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

.site-home-members-text {
    font-size: 1.125rem;
    color: #64748b;
    margin-bottom: 2.5rem;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.site-home-members-newsletter-container {
    display: flex;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05), 
                0 5px 15px rgba(0, 0, 0, 0.05), 
                0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 1.5rem 2rem;
    transition: box-shadow 0.3s ease;
    border: 1px solid rgba(241, 245, 249, 0.8);
    position: relative;
    overflow: hidden;
}

.site-home-members-newsletter-container:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08), 
                0 8px 20px rgba(0, 0, 0, 0.06);
}

.site-home-members-newsletter-content {
    flex: 1;
    padding-right: 2rem;
}

.site-home-members-newsletter-icon {
    width: 3.5rem;
    height: 3.5rem;
    color: #3b82f6;
    margin-bottom: 1.5rem;
    background-color: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
}

.site-home-members-newsletter-icon svg {
    width: 100%;
    height: 100%;
}

.site-home-members-newsletter-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.site-home-members-newsletter-description {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 0;
    line-height: 1.5;
}

.site-home-members-newsletter-benefits {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.site-home-members-newsletter-benefits li {
    color: #475569;
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 0.5rem;
    list-style-type: none;
}

.site-home-members-newsletter-benefits li::before {
    content: '';
    position: absolute;
    left: -1rem;
    top: 0.5rem;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: #3b82f6;
}

.site-home-members-newsletter-form-container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.site-home-members-newsletter-form {
    display: flex;
    gap: 0.75rem;
    align-items: stretch;
}

.site-home-members-newsletter-form-group {
    flex: 1;
    margin: 0;
}

.site-home-members-newsletter-form-input {
    width: 100%;
    height: 100%;
    padding: 0.75rem 1.25rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    background-color: #f8fafc;
    font-size: 0.95rem;
    color: #334155;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-home-members-newsletter-form-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.site-home-members-newsletter-form-disclaimer {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 0.75rem;
    text-align: center;
}

.site-home-members-newsletter-form-link {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-home-members-newsletter-form-link:hover {
    color: #2563eb;
    text-decoration: underline;
}

.site-home-members-newsletter-form-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: #3b82f6;
    color: #fff;
    padding: 0 1.25rem;
    border: none;
    border-radius: 0.375rem;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
}

.site-home-members-newsletter-form-button:hover {
    background-color: #2563eb;
    transform: translateY(-1px);
}

.site-home-members-newsletter-form-button-icon {
    width: 1rem;
    height: 1rem;
    transition: transform 0.3s ease;
}

.site-home-members-newsletter-form-button:hover .site-home-members-newsletter-form-button-icon {
    transform: translateX(3px);
}

.site-home-members-newsletter-form-input-error {
    border-color: #ef4444;
    background-color: #fef2f2;
}

.site-home-members-newsletter-form-input-error:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.site-home-members-newsletter-error-message {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    border-left: 4px solid #ef4444;
    color: #b91c1c;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    animation: errorFadeIn 0.3s ease-in-out;
}

.site-home-members-newsletter-success {
    text-align: center;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: successFadeIn 0.4s ease-in-out;
}

.site-home-members-newsletter-success-icon {
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto 1rem;
    color: #22c55e;
    background-color: rgba(34, 197, 94, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
}

.site-home-members-newsletter-success-icon svg {
    width: 100%;
    height: 100%;
}

.site-home-members-newsletter-success-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.site-home-members-newsletter-success-text {
    font-size: 0.95rem;
    color: #64748b;
    margin-bottom: 0;
}

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

@keyframes successFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive styles */
@media (max-width: 768px) {
    .site-home-members-newsletter-container {
        flex-direction: column;
        padding: 1.5rem;
    }
    
    .site-home-members-newsletter-content {
        padding-right: 0;
        padding-bottom: 1rem;
        text-align: center;
    }
    
    .site-home-members-newsletter-form {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .site-home-members-newsletter-form-button {
        width: 100%;
        padding: 0.75rem 1.25rem;
    }
} 