/* ═══════════════════════════════════════════════════════════
   FEATURE SHOWCASE — feature-showcase.css
   Fixed left panel + scroll-driven right panels
   .fsc-* prefix — no global conflicts
═══════════════════════════════════════════════════════════ */

/* ── Section: must be positioned for JS fixed-within-section trick ── */
.fsc-section {
    width: 100%;
    background: #080808;
    position: relative;
}

/* ── Two-column layout ── */
.fsc-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

/* ══════════════════════════════════
   LEFT: image column
   Height = right column (panels) height
   JS switches between relative/fixed
══════════════════════════════════ */
.fsc-sticky-col {
    position: relative; /* JS changes this to fixed when in view */
}

.fsc-sticky-wrap {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #080808;
}

/* When JS makes it fixed */
.fsc-sticky-wrap.is-fixed {
    position: fixed;
    top: 0;
    width: calc(50vw - (100vw - min(1400px, 100vw)) / 2);
    max-width: 700px;
    z-index: 50;
}

/* When JS pins it to bottom (past section) */
.fsc-sticky-wrap.is-bottom {
    position: absolute;
    bottom: 0;
    top: auto;
    width: 100%;
}

/* ── Product image ── */
.fsc-img-wrap {
    position: relative;
    width: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 30px;
}

.fsc-product-img {
    width: 85%;
    max-width: 520px;
    height: auto;
    max-height: 55vh;
    object-fit: contain;
    filter: brightness(0.92) contrast(1.05);
    display: block;
    position: relative;
    z-index: 2;
}

/* Vignette */
.fsc-img-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 65% 65% at 50% 50%, transparent 40%, #080808 100%);
    z-index: 3;
    pointer-events: none;
}

/* ── Hotspot markers ── */
.fsc-marker {
    position: absolute;
    z-index: 10;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.fsc-marker.is-active {
    opacity: 1;
}

.fsc-marker-dot {
    display: block;
    width: 10px;
    height: 10px;
    background: #3db451;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 0 3px rgba(61,180,81,0.25);
}

.fsc-marker-pulse {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: rgba(61,180,81,0.35);
    border-radius: 50%;
    animation: fsc-pulse 2s ease-out infinite;
}

@keyframes fsc-pulse {
    0%   { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(4); opacity: 0; }
}

/* ── Progress bar ── */
.fsc-progress-bar {
    width: 100px;
    height: 2px;
    background: rgba(255,255,255,0.08);
    border-radius: 2px;
    margin-bottom: 10px;
    flex-shrink: 0;
}

.fsc-progress-fill {
    height: 100%;
    background: #3db451;
    border-radius: 2px;
    width: 25%;
    transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Counter ── */
.fsc-counter {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 28px;
    flex-shrink: 0;
}

#fsc-current {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    transition: opacity 0.3s ease;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.fsc-counter-sep,
.fsc-counter-total {
    font-size: 17px;
    color: rgba(255,255,255,0.22);
    font-variant-numeric: tabular-nums;
}

/* ══════════════════════════════════
   RIGHT: scroll panels
══════════════════════════════════ */
.fsc-panels-col {
    display: flex;
    flex-direction: column;
}

.fsc-panel {
    min-height: auto;
    display: flex;
    align-items: center;
    padding: 24px 60px;
    position: relative;
}

.fsc-panel + .fsc-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 60px;
    right: 60px;
    height: 1px;
    background: rgba(255,255,255,0.05);
}

.fsc-panel-inner {
    max-width: 500px;
    opacity: 0.2;
    transform: translateY(18px);
    transition:
        opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.fsc-panel.is-active .fsc-panel-inner {
    opacity: 1;
    transform: translateY(0);
}

.fsc-eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #3db451;
    margin-bottom: 18px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.fsc-heading {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.8px;
    color: #fff;
    margin: 0 0 20px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.fsc-body {
    font-size: 17px;
    line-height: 1.85;
    color: rgba(255,255,255,0.48);
    margin: 0 0 28px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.fsc-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.fsc-features li {
    font-size: 17px;
    color: rgba(255,255,255,0.5);
    padding-left: 16px;
    position: relative;
    line-height: 1.5;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.fsc-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 5px;
    height: 5px;
    background: #3db451;
    border-radius: 50%;
}

/* ══════════════════════════════════
   MOBILE
══════════════════════════════════ */
@media (max-width: 900px) {
    .fsc-inner {
        grid-template-columns: 1fr;
    }
    .fsc-sticky-col {
        display: none;
    }
    .fsc-panel {
        min-height: auto;
        padding: 60px 24px;
    }
    .fsc-panel-inner {
        opacity: 1 !important;
        transform: none !important;
        max-width: 100%;
    }
    .fsc-heading {
        font-size: 26px;
    }
}