.button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 800;
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        background 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-small {
    min-height: 40px;
    padding-inline: 16px;
    border-radius: 10px;
    font-size: 0.82rem;
}

.button-primary {
    border-color: var(--primary-bright);
    background: linear-gradient(135deg, #14b8a6, #2563eb);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.25);
    color: white;
}

.button-secondary {
    border-color: var(--border);
    background: rgba(255, 255, 255, 0.025);
    color: var(--text-primary);
}

.button-secondary:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.06);
}

/* =======================================================
   PREMIUM BUTTON POLISH
======================================================= */

.button {
    position: relative;
    overflow: hidden;
}

.button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -140%;
    width: 75%;
    height: 100%;
    transform: skewX(-22deg);
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.18),
            transparent
        );
    transition: left 520ms ease;
}

.button:hover::before {
    left: 150%;
}

.button:focus-visible {
    outline: 3px solid rgba(94, 234, 212, 0.32);
    outline-offset: 3px;
}

.button:active {
    transform: translateY(0) scale(0.985);
}

.download-button-copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    line-height: 1.1;
}

.download-button-copy strong {
    font-size: 0.9rem;
}

.download-button-copy small {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.62rem;
    font-weight: 600;
}

.download-primary {
    min-height: 58px;
    cursor: pointer;
}
