/* ===== Enhanced Buttons with Cool Animations ===== */
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: -1;
}

.btn-primary:hover::after {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.6),
        0 0 30px rgba(99, 102, 241, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-primary i {
    transition: transform 0.4s;
}

.btn-primary:hover i {
    transform: translateX(5px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    padding: 1rem 2.5rem;
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.btn-secondary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
    z-index: -1;
}

.btn-secondary:hover::before {
    transform: scaleX(1);
}

.btn-secondary:hover {
    color: white;
    border-color: transparent;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.6);
}

.btn-secondary i {
    transition: transform 0.4s;
}

.btn-secondary:hover i {
    transform: scale(1.2) rotate(360deg);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.2rem;
}

.nav-cta {
    padding: 0.75rem 1.75rem;
    font-size: 1rem;
}

/* Button Glow Animation */
@keyframes buttonGlow {

    0%,
    100% {
        box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
    }

    50% {
        box-shadow: 0 10px 40px rgba(99, 102, 241, 0.7),
            0 0 30px rgba(99, 102, 241, 0.5);
    }
}

.btn-primary {
    animation: buttonGlow 3s infinite;
}