/* Product Range Section - pr prefix */
.pr {
    width: 100%;
    position: relative;
    isolation: isolate;
    overflow: clip;
    padding: clamp(56px, 7vw, 96px) 0;
    background: linear-gradient(180deg, #f7faff 0%, #eaf1ff 100%);
}

.pr-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: clamp(32px, 5vw, 80px);
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 24px;
}

.pr-visual {
    flex: 0 0 46%;
    min-width: 0;
}

.pr-content {
    flex: 1 1 0;
    min-width: 0;
}

/* Stage */
.pr-stage {
    position: relative;
    background: #fff;
    border: 1px solid #e3ebfa;
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(15, 31, 122, 0.12);
    overflow: hidden;
    aspect-ratio: 1 / 1.05;
    max-width: 520px;
    margin-inline: auto;
}

/* Track */
.pr-track {
    display: flex;
    width: 100%;
    height: 100%;
    will-change: transform;
    transition: transform 0.6s cubic-bezier(.65,0,.35,1);
    transform: translateX(0);
    touch-action: pan-y;
    user-select: none;
    cursor: grab;
    /* NO overflow scrolling, NO scroll-snap */
}

.pr-track::-webkit-scrollbar {
    display: none;
}

/* Slide */
.pr-slide {
    flex: 0 0 100%;
    min-width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px 28px 64px;
    position: relative;
}

/* Dragging state */
.pr-track.is-dragging {
    transition: none;
    cursor: grabbing;
}

.pr-stage {
    cursor: grab;
}

.pr-stage.is-dragging {
    cursor: grabbing;
}

.pr-slide img {
    max-width: 88%;
    max-height: 100%;
    height: auto;
    object-fit: contain;
    draggable: false;
    pointer-events: none;
    -webkit-user-drag: none;
    animation: pr-float 5s ease-in-out infinite;
}

@keyframes pr-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
    .pr-slide img { animation: none !important; }
    .pr-track { scroll-behavior: auto !important; transition-duration: .01s !important; }
}

/* Caption */
.pr-caption {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    background: #0b1b6b;
    color: #fff;
    font-family: var(--font-heading, 'Barlow Condensed', sans-serif);
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: 99px;
    white-space: nowrap;
    z-index: 4;
}

/* Arrows */
.pr-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.25s ease;
    z-index: 5;
    background: #1b2a73;
    color: #fff;
}

.pr-arrow.pr-next {
    background: #0b1550;
    right: 12px;
    left: auto;
}

.pr-arrow.pr-prev {
    left: 12px;
}

.pr-arrow:hover {
    transform: translateY(-50%) scale(1.06);
}

.pr-arrow:focus-visible {
    outline: 3px solid #0a4dff;
    outline-offset: 3px;
}

.pr-arrow svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    stroke: currentColor;
    stroke-width: 2.5;
}

/* Dots */
.pr-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.pr-dot {
    height: 6px;
    width: 28px;
    border-radius: 99px;
    background: #c9d6f2;
    border: 0;
    padding: 0;
    cursor: pointer;
    transition: width 0.3s ease, background 0.3s ease;
    position: relative;
    padding-block: 10px;
    background-clip: content-box;
}

.pr-dot:hover {
    background: #a8bdf0;
}

.pr-dot.is-active {
    width: 44px;
    background: #0a4dff;
}

.pr-dot:focus-visible {
    outline: 3px solid #0a4dff;
    outline-offset: 3px;
}

/* Decorative */
.pr-blob {
    position: absolute;
    bottom: -120px;
    right: -120px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(10, 77, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

/* Content */
.pr-heading {
    font-family: var(--font-heading, 'Barlow Condensed', sans-serif);
    font-weight: 700;
    text-transform: uppercase;
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1.05;
    color: #0b1b6b;
    margin: 0 0 28px;
    position: relative;
}

.pr-heading::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: #0a4dff;
    border-radius: 4px;
    margin-top: 16px;
}

/* Tabs */
.pr-tabs {
    display: inline-flex;
    padding: 6px;
    background: #fff;
    border: 1px solid #dbe6fb;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(15, 31, 122, 0.06);
    gap: 6px;
    margin-bottom: 28px;
}

.pr-tab {
    min-height: 48px;
    padding: 10px 24px;
    border-radius: 10px;
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    font-size: 17px;
    color: #0b1b6b;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.pr-tab:hover:not([aria-selected="true"]) {
    background: #eef4ff;
}

.pr-tab[aria-selected="true"] {
    background: #0b1b6b;
    color: #fff;
    box-shadow: 0 8px 18px rgba(11, 27, 107, 0.25);
}

.pr-tab:focus:not(:focus-visible) {
    outline: none;
    box-shadow: none;
}

.pr-tab:focus-visible {
    outline: 3px solid #0a4dff;
    outline-offset: 3px;
}

/* Description */
.pr-desc {
    font-family: var(--font-body, 'Barlow', sans-serif);
    font-weight: 400;
    font-size: clamp(16px, 0.4vw + 14px, 18px);
    line-height: 1.75;
    color: #3a3f47;
    max-width: 56ch;
    margin: 28px 0;
    transition: opacity 0.3s ease;
}

/* Link */
.pr-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 14px 28px;
    border-radius: 10px;
    background: transparent;
    color: #0a4dff;
    border: 1.5px solid #0a4dff;
    font-family: var(--font-heading, 'Barlow Condensed', sans-serif);
    font-weight: 600;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    box-shadow: none;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pr-link svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    stroke: currentColor;
    stroke-width: 2;
}

.pr-link:focus-visible {
    outline: 3px solid #0a4dff;
    outline-offset: 3px;
}

@media (hover: hover) {
    .pr-link:hover {
        background: #0a4dff;
        color: #fff;
        border-color: #0a4dff;
        transform: translateY(-3px);
        box-shadow: 0 14px 30px rgba(10, 77, 255, 0.3);
    }
    .pr-link:hover svg {
        transform: translateX(5px);
    }
    .pr-link:active {
        transform: translateY(0) scale(0.98);
    }
}

@media (prefers-reduced-motion: reduce) {
    .pr-link,
    .pr-link svg {
        transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    }
    .pr-link:hover,
    .pr-link:focus,
    .pr-link:active {
        transform: none !important;
    }
}

.pr-link:focus-visible {
    outline: 3px solid #0a4dff;
    outline-offset: 3px;
}

/* Arrow buttons for track */
.pr-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.25s ease;
    z-index: 3;
    background: #1b2a73;
    color: #fff;
    flex-shrink: 0;
}

.pr-arrow.pr-next {
    background: #0b1550;
    right: 12px;
    left: auto;
}

.pr-arrow.pr-prev {
    left: 12px;
}

.pr-arrow:hover {
    transform: translateY(-50%) scale(1.06);
}

.pr-arrow:focus-visible {
    outline: 3px solid #0a4dff;
    outline-offset: 3px;
}

.pr-arrow svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    stroke: currentColor;
    stroke-width: 2.5;
}

/* Dots */
.pr-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.pr-dot {
    height: 6px;
    width: 28px;
    border-radius: 99px;
    background: #c9d6f2;
    border: 0;
    padding: 0;
    cursor: pointer;
    transition: width 0.3s ease, background 0.3s ease;
    position: relative;
    padding-block: 10px;
    background-clip: content-box;
}

.pr-dot:hover {
    background: #a8bdf0;
}

.pr-dot.is-active {
    width: 44px;
    background: #0a4dff;
}

.pr-dot:focus-visible {
    outline: 3px solid #0a4dff;
    outline-offset: 3px;
}

/* Decorative */
.pr-blob {
    position: absolute;
    bottom: -120px;
    right: -120px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(10, 77, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .pr-inner {
        flex-direction: column;
        gap: 40px;
    }
    .pr-visual {
        flex: 1 1 auto;
        width: 100%;
        max-width: 460px;
        order: -1;
    }
    .pr-tabs {
        width: 100%;
        justify-content: space-between;
    }
    .pr-tab {
        flex: 1;
        text-align: center;
    }
    .pr-stage {
        max-width: 460px;
    }
}

@media (max-width: 640px) {
    .pr {
        padding: 48px 0;
    }
    .pr-inner {
        padding-inline: 20px;
    }
    .pr-heading {
        font-size: clamp(34px, 9vw, 44px);
    }
    .pr-arrow {
        width: 40px;
        height: 40px;
    }
    .pr-link {
        width: 100%;
        justify-content: center;
    }
    .pr-link svg {
        width: 18px;
        height: 18px;
    }
}

/* Reveal animation - progressive enhancement */
.js .pr-visual,
.js .pr-content {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .pr-visual {
    transition-delay: 0.1s;
}

.pr.is-visible .pr-visual,
.pr.is-visible .pr-content {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .js .pr-visual,
    .js .pr-content {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}