.research-header {
    padding-bottom: 4rem;
}

/* Email Overlay Styles */
.email-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 1rem;
    backdrop-filter: blur(4px);
}

.email-overlay.active {
    opacity: 1;
    visibility: visible;
}

.overlay-content {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: calc(var(--radius) * 2);
    padding: 2.5rem;
    max-width: 500px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.email-overlay.active .overlay-content {
    transform: translateY(0);
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: hsl(var(--muted-foreground));
    cursor: pointer;
    transition: color 0.2s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
}

.close-btn:hover {
    color: hsl(var(--foreground));
    background: hsl(var(--muted));
}

.overlay-header {
    text-align: center;
    margin-bottom: 2rem;
}

.report-icon {
    width: 60px;
    height: 60px;
    background: hsl(var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 24px;
}

.overlay-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin-bottom: 1rem;
}

.overlay-header p {
    color: hsl(var(--muted-foreground));
    font-size: 1rem;
    line-height: 1.5;
}

.overlay-form {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: hsl(var(--foreground));
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-group input[type="email"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    font-size: 1rem;
    background: hsl(var(--background));
    color: hsl(var(--foreground));
    transition: all 0.2s ease;
}

.form-group input[type="email"]:focus {
    outline: none;
    border-color: hsl(var(--primary));
    box-shadow: 0 0 0 2px hsl(var(--primary) / 0.1);
}

.overlay-form .cta-button {
    width: 100%;
    position: relative;
    justify-content: center;
}

.loading-spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid hsl(var(--primary-foreground) / 0.3);
    border-top: 2px solid hsl(var(--primary-foreground));
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 0.5rem;
}

.loading-spinner.active {
    display: inline-block;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.success-message {
    display: none;
    text-align: center;
}

.success-message.active {
    display: block;
}

.success-icon {
    width: 60px;
    height: 60px;
    background: hsl(var(--success));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 24px;
    font-weight: bold;
}

.success-message h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin-bottom: 0.5rem;
}

.success-message p {
    color: hsl(var(--muted-foreground));
    margin-bottom: 1.5rem;
}

.privacy-note {
    font-size: 0.75rem;
    color: hsl(var(--muted-foreground));
    text-align: center;
    line-height: 1.4;
    margin-top: 1rem;
}

/* Mobile responsive */
@media (max-width: 640px) {
    .overlay-content {
        padding: 2rem;
        margin: 1rem;
    }
    
    .overlay-header h2 {
        font-size: 1.25rem;
    }
    
    .report-icon, .success-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

/* Prevent body scroll when overlay is active */
body.overlay-active {
    overflow: hidden;
}