/* Nav Demo CTA — shared across all pages */
.nav-demo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: -.01em;
    font-family: inherit;
    white-space: nowrap;
    color: #fff;
    background: linear-gradient(135deg, var(--purple, #7c2d6f) 0%, var(--pink, #e73f83) 52%, var(--orange, #ff7a3d) 100%);
    background-size: 160% 160%;
    box-shadow:
        0 10px 24px rgba(124, 45, 111, .34),
        inset 0 1px 0 rgba(255, 255, 255, .22);
    border: 1px solid rgba(255, 255, 255, .14);
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, filter .25s ease, background-position .35s ease;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.nav-demo-btn::after {
    content: "";
    position: absolute;
    inset: -40% auto -40% -120%;
    width: 42%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .34), transparent);
    transform: skewX(-18deg);
    transition: left .55s ease;
    pointer-events: none;
}

.nav-demo-btn i {
    font-size: 11px;
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
    flex-shrink: 0;
}

.nav-demo-btn:hover {
    transform: translateY(-3px);
    background-position: 100% 50%;
    box-shadow:
        0 16px 32px rgba(124, 45, 111, .4),
        inset 0 1px 0 rgba(255, 255, 255, .28);
    filter: brightness(1.04);
}

.nav-demo-btn:hover::after {
    left: 130%;
}

.nav-demo-btn:focus-visible {
    outline: 2px solid var(--yellow, #ffc247);
    outline-offset: 3px;
}

/* Prevent default nav link styles from flattening the CTA in mobile menu */
.nav-menu .nav-demo-btn,
.nav-menu .nav-demo-btn:hover,
.nav-menu .nav-demo-btn:focus {
    color: #fff;
    background: linear-gradient(135deg, var(--purple, #7c2d6f) 0%, var(--pink, #e73f83) 52%, var(--orange, #ff7a3d) 100%);
    background-size: 160% 160%;
}

.nav-menu .nav-demo-btn:hover {
    background-position: 100% 50%;
}

/* Full-width CTA inside mobile dropdown */
.nav-demo-btn--mobile {
    display: none;
}

@media (max-width: 860px) {
    .nav-actions .nav-demo-btn {
        min-height: 40px;
        padding: 0 13px;
        font-size: 13px;
        gap: 6px;
    }

    .nav-actions .nav-demo-btn span {
        display: none;
    }

    .nav-actions .nav-demo-btn i {
        width: 20px;
        height: 20px;
        font-size: 12px;
    }

    .nav-demo-btn--mobile {
        display: inline-flex;
        width: 100%;
        min-height: 50px;
        margin-top: 6px;
        font-size: 15px;
        box-shadow:
            0 12px 28px rgba(124, 45, 111, .32),
            inset 0 1px 0 rgba(255, 255, 255, .22);
    }

    .nav-demo-btn--mobile span {
        display: inline;
    }
}

@media (max-width: 420px) {
    .nav-actions .nav-demo-btn {
        min-height: 38px;
        padding: 0 11px;
    }
}
