@keyframes rotateSquare {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.intro-pattern-overlay {
    background-image: repeating-linear-gradient(45deg, transparent, transparent 20px, currentColor 20px, currentColor 40px);
    opacity: 0.03;
    top: -20%;
    left: -30%;
    width: 100%;
    height: 100%;
    animation: rotateSquare 20s linear infinite;
}

.intro-pattern-content {
    max-width: 56rem;
}

/* process tron — grid bg pattern, card glow line, hover + active state */
.process-tron__grid-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.35;
    background-image:
        linear-gradient(currentColor 1px, transparent 1px),
        linear-gradient(90deg, currentColor 1px, transparent 1px);
    background-size: 3rem 3rem;
}

.process-tron__card {
    cursor: pointer;
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.process-tron__card-hov:hover,
.process-tron__card-hov:focus-within,
.process-tron__card.is-active {
    transform: translateY(-0.35rem);
    box-shadow: var(--bs-box-shadow-lg);
    border-color: var(--bs-primary);
}

.process-tron__glow-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--bs-primary);
    opacity: 0;
    transition: opacity 220ms ease;
}

.process-tron__card-hov:hover .process-tron__glow-line,
.process-tron__card-hov:focus-within .process-tron__glow-line,
.process-tron__card.is-active .process-tron__glow-line {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .process-tron__card {
        transition: none;
    }

    .process-tron__card-hov:hover,
    .process-tron__card-hov:focus-within,
    .process-tron__card.is-active {
        transform: none;
    }
}

.features-timeline__decor--pulse {
    animation: features-timeline-pulse-kf 2s infinite;
}
.features-timeline__decor--bounce {
    animation: features-timeline-bounce-kf 2s infinite;
    transform: rotate(12deg);
}
.features-timeline__decor--spin {
    animation: features-timeline-spin-kf 4s linear infinite;
}
.features-timeline__decor--pulse-small {
    animation: features-timeline-pulse-kf 2s infinite;
}
.features-timeline__item:hover .features-timeline__icon {
    transform: scale(1.1);
    transition: transform 0.25s ease;
}
.features-timeline__item:hover .features-timeline__title {
    color: var(--bs-primary);
}

/* ?? step number (BS mode) ?? */
.features-timeline__num-bs {
    font-size: 1.75rem;
    font-weight: 900;
    line-height: 1;
    color: var(--bs-primary-border-subtle);
    opacity: 0.8;
    min-width: 2.75rem;
    flex-shrink: 0;
    transition: color 0.25s ease, opacity 0.25s ease;
}
.features-timeline__item:hover .features-timeline__num-bs {
    color: var(--bs-primary);
    opacity: 1;
}

@keyframes features-timeline-pulse-kf {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
}
@keyframes features-timeline-bounce-kf {
    0%, 100% { transform: translateY(-25%) rotate(12deg); animation-timing-function: cubic-bezier(0.8,0,1,1); }
    50% { transform: none rotate(12deg); animation-timing-function: cubic-bezier(0,0,0.2,1); }
}
@keyframes features-timeline-spin-kf {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* -- 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-decor__bs-blob {
    background-color: var(--bs-primary-bg-subtle);
    opacity: 0.35;
    filter: blur(48px);
}
.features-decor__bs-shape {
    opacity: 0.15;
}
.features-decor__bs-line {
    border-left: 1px solid var(--bs-primary-border-subtle);
    opacity: 0.18;
}

/* ?? v19 timeline connector line ?? */
.features-timeline__connector {
    position: absolute;
    left: 1.75rem;
    top: 1.75rem;
    bottom: 2rem;
    width: 1px;
    background: linear-gradient(to bottom, var(--bs-primary), rgba(var(--bs-primary-rgb), 0.3), transparent);
    pointer-events: none;
}

/* ?? v19 number watermark ?? */
.features-timeline__number {
    left: -0.25rem;
    top: -0.75rem;
    line-height: 1;
    font-size: 3rem;
    font-weight: 900;
    color: var(--bs-border-color);
    opacity: 0.6;
    pointer-events: none;
    user-select: none;
    position: absolute;
    z-index: 0;
}
/* advantages broadsheet — sticky heading offset + decorative corner orb (layout only, no colors) */

/* mirror Tailwind md:top-24 in Bootstrap (sticky-md-top defaults to top:0) */
.advantages-broadsheet__box {
    top: 6rem;
}

.advantages-broadsheet__orb {
    width: 20rem;
    height: 20rem;
    bottom: -6rem;
    left: -6rem;
}

