/* ==========================================
   Consistent Button Styles - Based on Live Demo
   ========================================== */

/* Base Button Reset and Enhancement */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

/* Primary Button - Dark Blue Style */
.btn--primary {
    background: #0066cc;
    color: white;
    position: relative;
}

.btn--primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0052a3;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.3);
}

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

.btn--primary svg,
.btn--primary span {
    position: relative;
    z-index: 1;
}

/* Secondary Button - Outlined Style */
.btn--secondary {
    background: transparent;
    color: #0066cc;
    border: 2px solid rgba(0, 102, 204, 0.3);
    position: relative;
}

.btn--secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(0, 212, 255, 0.1);
    transition: width 0.3s ease;
}

.btn--secondary:hover {
    border-color: #0066cc;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 102, 204, 0.2);
}

.btn--secondary:hover::before {
    width: 100%;
}

.btn--secondary svg,
.btn--secondary span {
    position: relative;
    z-index: 1;
}

/* Pilot Button - Compact Version */
.btn-pilot-small {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    background: #0066cc;
    color: white;
    white-space: nowrap;
}

.btn-pilot-small::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0052a3;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-pilot-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.25);
}

.btn-pilot-small:hover::before {
    opacity: 1;
}

.btn-pilot-small::after {
    content: '→';
    margin-left: 0.25rem;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.btn-pilot-small:hover::after {
    transform: translateX(3px);
}

/* Size Variants */
.btn--sm {
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
}

.btn--lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.btn--xl {
    padding: 1.25rem 3rem;
    font-size: 1.25rem;
}

/* Icon Animations */
.btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn:hover svg {
    transform: scale(1.1);
}

/* CTA Section Specific */
.agents-cta .btn--primary {
    background: #0066cc;
    color: white;
}

.agents-cta .btn--secondary {
    background: transparent;
    color: #0066cc;
    border: 2px solid rgba(0, 102, 204, 0.3);
}

/* Dark Background Adjustments */
.section--dark .btn--secondary {
    border-color: rgba(0, 212, 255, 0.3);
    color: #00d4ff;
}

.section--dark .btn--secondary:hover {
    border-color: #00d4ff;
    background: rgba(0, 212, 255, 0.1);
}

/* Light Background Adjustments */
.section--light .btn--primary {
    box-shadow: 0 2px 8px rgba(0, 153, 204, 0.2);
}

.section--light .btn--secondary {
    border-color: rgba(0, 153, 204, 0.4);
    color: #0099cc;
}

.section--light .btn--secondary:hover {
    border-color: #0099cc;
    background: rgba(0, 153, 204, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .btn {
        padding: 0.75rem 1.75rem;
        font-size: 0.9375rem;
    }
    
    .btn--lg {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    .btn--xl {
        padding: 1rem 2.5rem;
        font-size: 1.125rem;
    }
    
    .btn-pilot-small {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1.75rem;
    }
    
    .btn__group {
        flex-direction: column;
        width: 100%;
    }
    
    .btn__group .btn {
        width: 100%;
        justify-content: center;
    }
}