/* ProveAIble Button System - Consistent across all pages */

/* Base Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

/* Primary Button - Main CTAs */
.btn-primary {
    background: #3543F0;
    color: white;
}

.btn-primary:hover {
    background: #2937d8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(53, 67, 240, 0.3);
}

/* Waitlist Button - Special sparkle effect */
.btn-waitlist {
    background: #BE123C;
    color: white;
    padding: 14px 40px;
}

.btn-waitlist::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.4) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    transition: all 0.6s;
    animation: sparkle 3s infinite;
}

@keyframes sparkle {
    0% { transform: rotate(45deg) translateX(-200%); }
    100% { transform: rotate(45deg) translateX(200%); }
}

.btn-waitlist:hover {
    background: #9F1239;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(190, 18, 60, 0.3);
}

/* Secondary Button - Alternative actions */
.btn-secondary {
    background: transparent;
    color: #070D5A;
    border: 2px solid #070D5A;
}

.btn-secondary:hover {
    background: #070D5A;
    color: white;
    transform: translateY(-1px);
}

/* Ghost Button - Subtle actions */
.btn-ghost {
    background: transparent;
    color: #3543F0;
    border: 2px solid rgba(53, 67, 240, 0.3);
}

.btn-ghost:hover {
    background: rgba(53, 67, 240, 0.1);
    border-color: #3543F0;
    transform: translateY(-1px);
}

/* Large Button Variant */
.btn-lg {
    padding: 18px 48px;
    font-size: 1.125rem;
}

/* Small Button Variant */
.btn-sm {
    padding: 10px 24px;
    font-size: 0.875rem;
}

/* Full Width Button */
.btn-block {
    width: 100%;
}

/* Button with Icon */
.btn i {
    font-size: 1.1em;
}

/* Disabled State */
.btn:disabled,
.btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Loading State */
.btn-loading {
    color: transparent;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spinner 0.8s linear infinite;
}

@keyframes spinner {
    to { transform: rotate(360deg); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .btn {
        padding: 12px 28px;
        font-size: 0.95rem;
    }
    
    .btn-lg {
        padding: 16px 40px;
        font-size: 1.05rem;
    }
    
    .btn-sm {
        padding: 8px 20px;
        font-size: 0.85rem;
    }
}