/* BUTTON STYLES - Shared Across All Pages */

/* Primary Button - Main CTA Style */
.btn-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 16px 36px;
    border: 4px solid;
    border-color: transparent;
    font-size: 16px;
    background-color: var(--primary);
    border-radius: 100px;
    font-weight: 600;
    color: white;
    box-shadow: 0 0 0 2px var(--primary);
    cursor: pointer;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    text-decoration: none;
}

.btn-primary svg {
    position: absolute;
    width: 24px;
    fill: white;
    z-index: 9;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-primary .arr-1 {
    right: 16px;
}

.btn-primary .arr-2 {
    left: -25%;
}

.btn-primary .circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background-color: var(--primary);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-primary .text {
    position: relative;
    z-index: 1;
    transform: translateX(-12px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-primary:hover {
    box-shadow: 0 0 0 12px transparent;
    color: white;
    border-radius: 12px;
}

.btn-primary:hover .arr-1 {
    right: -25%;
}

.btn-primary:hover .arr-2 {
    left: 16px;
}

.btn-primary:hover .text {
    transform: translateX(12px);
}

.btn-primary:hover svg {
    fill: white;
}

.btn-primary:active {
    scale: 0.95;
}

.btn-primary:hover .circle {
    width: 220px;
    height: 220px;
    opacity: 1;
}

/* CTA Primary Button - White with Primary Color Text */
.cta-btn-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 16px 36px;
    border: 4px solid transparent;
    font-size: 16px;
    background-color: white;
    border-radius: 100px;
    font-weight: 600;
    color: var(--primary);
    box-shadow: 0 0 0 2px white;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    text-decoration: none;
}

.cta-btn-primary svg {
    position: absolute;
    width: 24px;
    fill: var(--primary);
    z-index: 9;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.cta-btn-primary .arr-1 {
    right: 16px;
}

.cta-btn-primary .arr-2 {
    left: -25%;
}

.cta-btn-primary .circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background-color: white;
    border-radius: 50%;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.cta-btn-primary .text {
    position: relative;
    z-index: 1;
    transform: translateX(-12px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.cta-btn-primary:hover {
    box-shadow: 0 0 0 12px transparent;
    border-radius: 12px;
}

.cta-btn-primary:hover .arr-1 {
    right: -25%;
}

.cta-btn-primary:hover .arr-2 {
    left: 16px;
}

.cta-btn-primary:hover .text {
    transform: translateX(12px);
}

.cta-btn-primary:hover svg {
    fill: var(--primary);
}

.cta-btn-primary:active {
    scale: 0.95;
}

.cta-btn-primary:hover .circle {
    width: 220px;
    height: 220px;
    opacity: 1;
}

/* CTA Secondary Button - Transparent with White Border */
.cta-btn-secondary {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 16px 36px;
    border: 4px solid white;
    font-size: 16px;
    background-color: transparent;
    border-radius: 100px;
    font-weight: 600;
    color: white;
    box-shadow: 0 0 0 2px white;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    text-decoration: none;
    margin: 0 0.65rem;
}

.cta-btn-secondary svg {
    position: absolute;
    width: 24px;
    fill: white;
    z-index: 9;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.cta-btn-secondary .arr-1 {
    right: 16px;
}

.cta-btn-secondary .arr-2 {
    left: -25%;
}

.cta-btn-secondary .circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background-color: white;
    border-radius: 50%;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.cta-btn-secondary .text {
    position: relative;
    z-index: 1;
    transform: translateX(-12px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.cta-btn-secondary:hover {
    background-color: white;
    color: var(--primary);
    box-shadow: 0 0 0 12px transparent;
    border-radius: 12px;
}

.cta-btn-secondary:hover .arr-1 {
    right: -25%;
}

.cta-btn-secondary:hover .arr-2 {
    left: 16px;
}

.cta-btn-secondary:hover .text {
    transform: translateX(12px);
}

.cta-btn-secondary:hover svg {
    fill: var(--primary);
}

.cta-btn-secondary:active {
    scale: 0.95;
}

.cta-btn-secondary:hover .circle {
    width: 220px;
    height: 220px;
    opacity: 1;
}

/* Secondary Button - Alternative Style */
.btn-secondary {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 16px 36px;
    border: 4px solid var(--primary);
    font-size: 16px;
    background-color: white;
    border-radius: 100px;
    font-weight: 600;
    color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary);
    cursor: pointer;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    text-decoration: none;
}

.btn-secondary svg {
    position: absolute;
    width: 24px;
    fill: var(--primary);
    z-index: 9;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-secondary .arr-1 {
    right: 16px;
}

.btn-secondary .arr-2 {
    left: -25%;
}

.btn-secondary .circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background-color: white;
    border-radius: 50%;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-secondary .text {
    position: relative;
    z-index: 1;
    transform: translateX(-12px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-secondary:hover {
    box-shadow: 0 0 0 12px transparent;
    background-color: var(--primary);
    color: white;
    border-radius: 12px;
}

.btn-secondary:hover .arr-1 {
    right: -25%;
}

.btn-secondary:hover .arr-2 {
    left: 16px;
}

.btn-secondary:hover .text {
    transform: translateX(12px);
}

.btn-secondary:hover svg {
    fill: white;
}

.btn-secondary:active {
    scale: 0.95;
}

.btn-secondary:hover .circle {
    width: 220px;
    height: 220px;
    opacity: 1;
}

/* Strobe Animation - Used on Product Cards */
@keyframes strobeLight {
    0%, 100% {
        color: white;
    }
    50% {
        color: var(--tertiary);
    }
}

/* Focus-Visible Styles for Keyboard Accessibility */
.btn-primary:focus-visible,
.cta-btn-primary:focus-visible,
.cta-btn-secondary:focus-visible,
.btn-secondary:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
    box-shadow: 0 0 0 2px white;
}
