/* Standardized CTA Button Styles */
/* These buttons match the footer btn-white and btn-black styles for consistency */

.cta-buttons-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem 0;
}

/* Primary CTA Button (White background, black text) */
.cta-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.75rem;
    background: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 12px;
    color: #000000;
    font-family: InterVariable, Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.25s ease;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizelegibility;
    box-sizing: border-box;
    text-transform: none;
    gap: 0.5rem;
    min-width: 120px;
}

.cta-btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.9);
    color: #000000;
    transform: translateY(-1px);
}

/* Secondary CTA Button (Black background, white text) */
.cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.75rem;
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    color: #ffffff;
    font-family: InterVariable, Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.25s ease;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizelegibility;
    box-sizing: border-box;
    text-transform: none;
    gap: 0.5rem;
    min-width: 120px;
}

.cta-btn-secondary:hover {
    background: rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
    transform: translateY(-1px);
}

/* Icon styling for buttons */
.cta-btn-primary svg,
.cta-btn-secondary svg {
    width: 16px;
    height: 16px;
    transition: all 0.25s ease;
}

.cta-btn-primary:hover svg,
.cta-btn-secondary:hover svg {
    transform: translateX(2px);
}

/* Button text styling */
.cta-btn-text {
    transition: all 0.25s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cta-buttons-container {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn-primary,
    .cta-btn-secondary {
        min-width: 250px;
        padding: 1rem 2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .cta-btn-primary,
    .cta-btn-secondary {
        min-width: 100%;
        max-width: 300px;
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
}

/* Alternative layout - horizontal buttons */
.cta-buttons-horizontal {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem 0;
}

@media (max-width: 768px) {
    .cta-buttons-horizontal {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }
}

/* Compact button variant */
.cta-btn-compact {
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
    min-width: 100px;
}

/* Large button variant */
.cta-btn-large {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    min-width: 160px;
}

/* Button with loading state */
.cta-btn-loading {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}

.cta-btn-loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: cta-btn-spin 1s linear infinite;
    margin-left: 0.5rem;
}

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

/* Disabled state */
.cta-btn-primary:disabled,
.cta-btn-secondary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.cta-btn-primary:disabled:hover,
.cta-btn-secondary:disabled:hover {
    transform: none;
    background: inherit;
    border-color: inherit;
}
