/* Blossom Pill / Tagline */

.bpt {
    display: flex;
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
}

.bpt__pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    box-sizing: border-box;
    text-decoration: none;
    color: inherit;
    border-style: solid;
    border-width: 1px;
    border-color: rgba(15, 23, 42, 0.12);
    background: rgba(255, 255, 255, 0.92);
    border-radius: 999px;
    padding: 10px 18px;
    transition:
        transform 0.28s ease,
        box-shadow 0.28s ease,
        border-color 0.28s ease,
        background-color 0.28s ease;
}

.bpt__pill--link {
    cursor: pointer;
}

.bpt__pill--link:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.bpt__inner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    min-width: 0;
}

.bpt__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 0;
    color: #0f172a;
}

.bpt__icon svg {
    display: block;
    width: 1em;
    height: 1em;
}

.bpt__text {
    font-size: 14px;
    line-height: 1.35;
    font-weight: 500;
    color: #0f172a;
    text-align: center;
    word-break: break-word;
}

/* Entrance (before .bpt--visible) */
.bpt[data-bpt-anim]:not(.bpt--visible) .bpt__pill {
    opacity: 0;
    transition:
        opacity var(--bpt-enter-duration, 550ms) ease,
        transform var(--bpt-enter-duration, 550ms) ease;
    transition-delay: var(--bpt-enter-delay, 0ms);
}

.bpt[data-bpt-anim='fade-up']:not(.bpt--visible) .bpt__pill {
    transform: translate3d(0, 14px, 0);
}

.bpt[data-bpt-anim='fade-in']:not(.bpt--visible) .bpt__pill {
    transform: translate3d(0, 0, 0);
}

.bpt[data-bpt-anim='scale-in']:not(.bpt--visible) .bpt__pill {
    transform: scale(0.94);
}

.bpt[data-bpt-anim='slide-left']:not(.bpt--visible) .bpt__pill {
    transform: translate3d(-20px, 0, 0);
}

.bpt[data-bpt-anim='slide-right']:not(.bpt--visible) .bpt__pill {
    transform: translate3d(20px, 0, 0);
}

.bpt.bpt--visible .bpt__pill,
.bpt[data-bpt-anim].bpt--visible .bpt__pill {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

/* No scroll animation: always visible */
.bpt:not([data-bpt-anim]) .bpt__pill {
    opacity: 1;
    transform: none;
}

.bpt--hover-lift .bpt__pill:hover {
    transform: translate3d(0, -3px, 0);
}

.bpt--hover-lift.bpt--visible .bpt__pill:hover,
.bpt--hover-lift:not([data-bpt-anim]) .bpt__pill:hover {
    transform: translate3d(0, -3px, 0);
}

/* Shimmer: soft glow on border */
@keyframes bpt-shimmer-glow {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
    }
    50% {
        box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.22);
    }
}

.bpt--shimmer .bpt__pill {
    animation: bpt-shimmer-glow 2.4s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .bpt .bpt__pill,
    .bpt[data-bpt-anim]:not(.bpt--visible) .bpt__pill {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        animation: none !important;
    }

    .bpt--hover-lift .bpt__pill:hover {
        transform: none !important;
    }
}
