/* intro v16 â€” Metropolis reel: film-perforation strips, image cover, load stagger, radius morph */

/* Film-perforation edge strips: colour comes from Tailwind bg-* on the element; mask punches holes */
.intro-reel__perf {
    -webkit-mask: radial-gradient(circle at center, transparent 0 0.28rem, black 0.3rem) center / 1.5rem 2.2rem;
    mask: radial-gradient(circle at center, transparent 0 0.28rem, black 0.3rem) center / 1.5rem 2.2rem;
    z-index: 1;
}

/* Background image fills the band, keeps aspect via object-fit (no BS utility) */
.intro-reel__row {
    min-height: 18rem;
    transition: border-radius 320ms ease;
    opacity: 0;
    animation: intro-reel-rise 520ms ease forwards;
}
.intro-reel__img {
    object-fit: cover;
    object-position: center;
}

/* Border-radius morph on hover */
.intro-reel__row:hover {
    border-radius: 2.25rem 0.5rem 2.25rem 0.5rem;
}

/* Stagger children â€” 80ms delay each on load */
.intro-reel__row:nth-child(1) { animation-delay: 0ms; }
.intro-reel__row:nth-child(2) { animation-delay: 80ms; }
.intro-reel__row:nth-child(3) { animation-delay: 160ms; }
.intro-reel__row:nth-child(4) { animation-delay: 240ms; }
.intro-reel__row:nth-child(5) { animation-delay: 320ms; }
.intro-reel__row:nth-child(6) { animation-delay: 400ms; }

@keyframes intro-reel-rise {
    from { opacity: 0; transform: translateY(1.5rem); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .intro-reel__row { animation: none; opacity: 1; }
}

.reversed-layout__cart-btn.reversed-layout__cart-btn--added {
  opacity: 0.6;
  cursor: not-allowed;
  transform: scale(1);
}

.reversed-layout__cta-hover:hover { transform: scale(1.05); transition: transform .2s ease; }

.reversed-layout__btn-hover:hover { transform: scale(1.05); transition: transform .2s ease; }

.reversed-layout__grid-space {
    margin-bottom: 4rem;
}

.reversed-layout__grid-gap {
    gap: 4rem;
}

/* Match Tailwind flex-1 min-w-0 (flex-row-reverse: main column still needs flex-basis 0) */
.reversed-layout__main-slot {
    width: 100%;
    min-width: 0;
}

@media (min-width: 768px) {
    .reversed-layout__main-slot {
        flex: 1 1 0%;
        width: auto;
    }
}

.reversed-layout__cover {
    height: 26rem;
}

.reversed-layout__badge {
    width: 1.75rem;
    height: 1.75rem;
}

@media (min-width: 768px) {
    .reversed-layout__sticky-col {
        position: sticky;
        top: 2rem;
        flex: 0 0 auto;
        width: 41.6667%;
        max-width: 41.6667%;
    }
}

.mxw-6xl { max-width: 72rem !important; }

/* Steps v20 â€” Horizontal Boarding-Pass Ticket Row Steps with Perforated Stub Divider */

/* Responsive card grid (avoids mixing Bootstrap row/col with a flex/grid gap on the same node) */
.ticket-stub__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .ticket-stub__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .ticket-stub__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Fixed-width code/number stub (no Bootstrap utility equivalent) */
.ticket-stub__code-box {
    width: 5rem;
}

/* Perforated divider â€” dashed edge between the stub and the ticket body */
.ticket-stub__divider {
    width: 0;
    border-left-style: dashed;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

/* Prevents flex-child text overflow inside the ticket body */
.ticket-stub__min-shrink {
    min-width: 0;
}

.features-accordion__item summary::-webkit-details-marker {
    display: none;
}

.features-accordion__item summary::marker {
    display: none;
}

.features-accordion__chevron {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.features-accordion__item[open] .features-accordion__chevron {
    transform: rotate(180deg);
}

.features-accordion__item[open] .features-accordion__icon--scale {
    transform: scale(1.05);
}

@keyframes features-accordion-pulse-kf {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
}

@keyframes features-accordion-spin-kf {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes features-accordion-bounce-kf {
    0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8,0,1,1); }
    50% { transform: none; animation-timing-function: cubic-bezier(0,0,0.2,1); }
}

.features-accordion__decor--pulse {
    filter: blur(32px);
    animation: features-accordion-pulse-kf 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.features-accordion__decor--spin {
    animation: features-accordion-spin-kf 1s linear infinite;
}

.features-accordion__decor--bounce {
    transform: rotate(45deg);
    animation: features-accordion-bounce-kf 1s infinite;
}

.features-accordion__decor--line {
    transform: rotate(12deg);
}

/* -- Feature card hover -- */
.feat-card-hover {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feat-card-hover:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,.12) !important;
}

/* -- Icon box sizing -- */
.feat-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 2.5rem;
    min-height: 2.5rem;
}
.feat-icon-box--lg {
    width: 4rem;
    height: 4rem;
    border-radius: 0.75rem;
}
.feat-icon-box--xl {
    width: 5rem;
    height: 5rem;
    border-radius: 1rem;
}
.feat-icon-box--circle {
    border-radius: 50%;
}

/* -- Nav/filmstrip button hover -- */
.feat-btn-nav {
    transition: transform 0.15s ease, background-color 0.15s ease;
}
.feat-btn-nav:hover {
    transform: scale(1.1);
}

/* -- Table row hover -- */
.feat-table-row-hover {
    transition: background-color 0.15s ease;
}
.feat-table-row-hover:hover {
    background-color: var(--bs-primary-bg-subtle) !important;
}

/* -- Accordion item hover -- */
.feat-accordion-hover summary:hover {
    background-color: var(--bs-primary-bg-subtle);
    border-radius: 0.75rem;
}

/* -- DL item hover -- */
.feat-dl-item-hover {
    transition: background-color 0.15s ease;
    border-radius: 0.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}
.feat-dl-item-hover:hover {
    background-color: var(--bs-primary-bg-subtle);
}

/* -- Deck button hover -- */
.feat-deck-btn {
    transition: filter 0.2s ease, transform 0.15s ease;
}
.feat-deck-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}
/* BS-mode decorative shapes — subtle, non-intrusive */
.features-accordion__decor--bs-blob {
    width: 14rem;
    height: 14rem;
    background-color: var(--bs-primary-bg-subtle);
    opacity: 0.35;
    filter: blur(48px);
}
.features-accordion__decor--bs-shape {
    opacity: 0.15;
}
.features-accordion__decor--bs-line {
    border-left: 1px solid var(--bs-primary-border-subtle);
    opacity: 0.2;
}
/* integrations â€” unified hover (layout; shadow + lift; respect reduced motion) */
.integrations-card-hover {
    transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.integrations-card-hover:hover {
    box-shadow:
        0 20px 25px -5px rgb(0 0 0 / 0.1),
        0 8px 10px -6px rgb(0 0 0 / 0.1);
    transform: translateY(-2px) scale(1.03);
}

.integrations-card-hover--shadow-only {
    transition: box-shadow 0.35s ease;
}

.integrations-card-hover--shadow-only:hover {
    transform: none;
    box-shadow:
        0 20px 25px -5px rgb(0 0 0 / 0.1),
        0 8px 10px -6px rgb(0 0 0 / 0.1);
}

@media (prefers-reduced-motion: reduce) {
    .integrations-card-hover:hover {
        transform: none;
    }
}


@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fade-in 0.6s ease-out forwards;
    opacity: 0;
}

.animate-slide-up {
    animation: slide-up 0.5s ease-out forwards;
    opacity: 0;
}

/* Primary tile: wpg-preview --tw-primary-* | --bs-primary-scale-*; inherited --bs-primary hex */
.integrations__icon-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    color: #fff;
    --_ie-from: rgb(var(--tw-primary-500, var(--bs-primary-scale-500, 99 102 241)) / 1);
    --_ie-to: rgb(var(--tw-primary-600, var(--bs-primary-scale-600, 79 70 229)) / 1);
    background-color: var(--bs-primary, rgb(var(--tw-primary-600, var(--bs-primary-scale-600, 79 70 229)) / 1));
    background-image: linear-gradient(to bottom right, var(--_ie-from), var(--_ie-to));
}
.integrations__icon-tile--sm {
    width: 2rem;
    height: 2rem;
}

/* Integrations tile: min-width for flex-wrap layout parity with TW min-w-48 */
.integrations__tile {
    min-width: 12rem;
}
.integrations__icon-tile i {
    color: inherit;
}
.integrations__icon-tile svg,
.integrations__icon-tile :is(path, circle, rect, polygon) {
    fill: currentColor;
}

/* Softer card hover shadow (avoids muddy stack with shadow-lg / BS cards) */
.integrations-card-hover:hover {
    box-shadow: 0 0.375rem 1rem rgba(15, 23, 42, 0.07);
}
.integrations-card-hover--shadow-only:hover {
    box-shadow: 0 0.375rem 1rem rgba(15, 23, 42, 0.07);
}

/* Solid primary CTA (explicit tokens; readable vs explicit colors in BS) */
.integrations__cta-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    background-color: var(--bs-primary, rgb(var(--tw-primary-600, var(--bs-primary-scale-600, 79 70 229)) / 1));
    color: #fff !important;
    border: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
    text-decoration: none;
    cursor: pointer;
    font: inherit;
}
.integrations__cta-primary:hover {
    filter: brightness(1.06);
    color: #fff !important;
}

/* Hover effects moved out of the sem directive (custom classes, framework-independent) */
.integrations-v8__fx-card .integrations__icon-tile,
.integrations-v8__fx-tile .integrations__icon-tile,
.integrations-v8__fx-card .integrations__icon-tile i,
.integrations-v8__fx-tile .integrations__icon-tile i { transition: transform 0.3s ease; }
.integrations-v8__fx-card:hover .integrations__icon-tile { transform: rotate(12deg); }
.integrations-v8__fx-tile:hover .integrations__icon-tile { transform: rotate(6deg); }
.integrations-v8__fx-card:hover .integrations__icon-tile i,
.integrations-v8__fx-tile:hover .integrations__icon-tile i { transform: scale(1.1); }
@media (prefers-reduced-motion: reduce) {
    .integrations-v8__fx-card:hover .integrations__icon-tile,
    .integrations-v8__fx-tile:hover .integrations__icon-tile,
    .integrations-v8__fx-card:hover .integrations__icon-tile i,
    .integrations-v8__fx-tile:hover .integrations__icon-tile i { transform: none; }
}

