﻿/* Enfocus stack + interactive product cards (Solutions) */

.enfocus-stack {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 0.25rem;
}

.enfocus-stack__item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border: 1px solid rgb(226 232 240);
    background: rgb(248 250 252);
    color: rgb(51 65 85);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dark .enfocus-stack__item {
    border-color: rgb(51 65 85);
    background: rgb(15 23 42);
    color: rgb(203 213 225);
}

.enfocus-stack__item--os {
    border-color: rgb(6 182 212 / 0.35);
}

.enfocus-stack__item--pressley {
    border-color: rgb(6 182 212 / 0.6);
    background: rgb(6 182 212 / 0.08);
    color: rgb(8 145 178);
}

.dark .enfocus-stack__item--pressley {
    color: rgb(34 211 238);
    background: rgb(6 182 212 / 0.12);
}

.enfocus-stack__chevron {
    color: rgb(6 182 212);
    flex-shrink: 0;
}

.enfocus-product-card {
    position: relative;
    text-align: left;
    width: 100%;
    padding: 1.25rem 1.5rem;
    border-radius: 1rem;
    border: 2px solid rgb(226 232 240);
    background: rgb(248 250 252);
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease,
        background 0.2s ease;
}

.dark .enfocus-product-card {
    border-color: rgb(51 65 85);
    background: rgb(15 23 42);
}

.enfocus-product-card:hover,
.enfocus-product-card:active {
    border-color: rgb(6 182 212 / 0.5);
    box-shadow: 0 8px 24px rgb(6 182 212 / 0.12);
    transform: translateY(-2px);
}

.enfocus-product-card.is-active {
    border-color: rgb(6 182 212);
    box-shadow: 0 0 0 1px rgb(6 182 212 / 0.4), 0 12px 32px rgb(6 182 212 / 0.18);
    background: rgb(6 182 212 / 0.06);
}

.dark .enfocus-product-card.is-active {
    background: rgb(6 182 212 / 0.1);
}

.enfocus-product-card__badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    font-size: 0.625rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgb(6 182 212);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.enfocus-product-card.is-active .enfocus-product-card__badge,
.enfocus-product-card:hover .enfocus-product-card__badge {
    opacity: 1;
}

.enfocus-product-card__icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgb(6 182 212 / 0.1);
    margin-bottom: 0.75rem;
    transition: background 0.2s ease, transform 0.2s ease;
}

.enfocus-product-card.is-active .enfocus-product-card__icon,
.enfocus-product-card:hover .enfocus-product-card__icon {
    background: rgb(6 182 212 / 0.2);
    transform: scale(1.05);
}

#enfocus-product-detail {
    min-height: 10rem;
    transition: opacity 0.25s ease;
}

#enfocus-product-detail.is-updating {
    opacity: 0.6;
}

.plan-row.is-enfocus-highlight,
.plan-card-mobile.is-enfocus-highlight {
    background: rgb(6 182 212 / 0.08) !important;
    box-shadow: inset 3px 0 0 rgb(6 182 212);
}

.plan-row.is-enfocus-highlight td:first-child,
.plan-card-mobile.is-enfocus-highlight .plan-tier-name {
    color: rgb(34 211 238);
}

@media (prefers-reduced-motion: reduce) {
    .enfocus-product-card,
    .enfocus-product-card__icon,
    #enfocus-product-detail {
        transition: none;
        transform: none;
    }
}
