/* 
 * Button hover sensitivity improvement
 */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease; /* Faster transition for better responsiveness */
    cursor: pointer;
    text-align: center;
    border: none;
    outline: none;
    position: relative; /* Added for hover effect */
    overflow: hidden; /* Added for hover effect */
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.15s ease; /* Very fast transition */
    pointer-events: none; /* Ensures the pseudo-element doesn't interfere with clicks */
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(67, 97, 238, 0.4);
    color: var(--text-primary);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--accent-blue);
    color: var(--accent-blue);
}

.btn-secondary:hover {
    background-color: var(--accent-blue);
    color: var(--text-primary);
    transform: translateY(-2px);
}

/* Specific styles for the hero CTA buttons */
.hero-cta .btn {
    transition: all 0.15s ease-out; /* Even faster for main CTA buttons */
}

.hero-cta .btn:hover {
    transform: translateY(-3px) scale(1.02); /* Slightly larger on hover */
}
