/* ── Features page ───────────────────────────────────────────── */

.features-wrap {
    max-width: 980px;
    margin: 32px auto 0;
}

/* ── Screenshot gallery ──────────────────────────────────────── */

.features-gallery {
    margin-bottom: 48px;
}

.features-gallery-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.features-thumb-strip {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: thin;
    scrollbar-color: #dee2e6 transparent;
}

.features-thumb-strip::-webkit-scrollbar       { height: 4px; }
.features-thumb-strip::-webkit-scrollbar-track { background: transparent; }
.features-thumb-strip::-webkit-scrollbar-thumb { background: #dee2e6; border-radius: 2px; }

.features-thumb {
    flex: 0 0 auto;
    cursor: pointer;
    border-radius: 4px;
    overflow: hidden;
    border: 2px solid transparent;
    box-shadow: 0 1px 6px rgba(0,0,0,0.10);
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.1s;
    background: #f8f9fa;
}

.features-thumb:hover {
    border-color: #0cada2;
    box-shadow: 0 3px 14px rgba(0,0,0,0.18);
    transform: translateY(-1px);
}

.features-thumb img {
    height: 150px;
    width: auto;
    display: block;
}

.features-thumb-caption {
    font-size: 0.72rem;
    color: #555;
    text-align: center;
    padding: 5px 8px;
    background: #f8f9fa;
    border-top: 1px solid #eee;
    white-space: nowrap;
}

/* ── Lightbox ────────────────────────────────────────────────── */

.features-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.90);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.features-lightbox.open {
    display: flex;
}

.features-lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 4px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.5);
    display: block;
    object-fit: contain;
}

.features-lightbox-close {
    position: absolute;
    top: 14px;
    right: 18px;
    color: #fff;
    font-size: 1.6rem;
    cursor: pointer;
    background: none;
    border: none;
    line-height: 1;
    opacity: 0.75;
    padding: 4px 8px;
}

.features-lightbox-close:hover { opacity: 1; }

.features-lightbox-prev,
.features-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px 18px;
    opacity: 0.65;
}

.features-lightbox-prev:hover,
.features-lightbox-next:hover { opacity: 1; }

.features-lightbox-prev { left: 8px; }
.features-lightbox-next { right: 8px; }

.features-lightbox-caption {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 0.82rem;
    background: rgba(0,0,0,0.55);
    padding: 5px 16px;
    border-radius: 20px;
    white-space: nowrap;
    pointer-events: none;
}

/* ── Feature checklist card ──────────────────────────────────── */

.features-card-wrap {
    max-width: 560px;
    margin: 0 auto;
}

.features-card {
    background: #ffffff;
    border-left: 5px solid #0cada2;
    border-radius: 4px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.07);
    overflow: hidden;
}

/* ── Header ──────────────────────────────────────────────────── */
.features-header {
    padding: 14px 18px;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.features-header-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ── Feature rows ────────────────────────────────────────────── */
.features-list {
    padding: 6px 0;
}

.features-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 18px;
    border-bottom: 1px solid #f0f0f0;
    gap: 12px;
}

.features-row:last-child {
    border-bottom: none;
}

.features-row-label {
    font-size: 0.9rem;
    color: #212529;
}

.features-row-check {
    color: #198754;
    font-size: 0.95rem;
    flex-shrink: 0;
}

/* ── Footer ──────────────────────────────────────────────────── */
.features-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
}

.features-footer-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.features-footer-value {
    font-size: 1rem;
    font-weight: 700;
    color: #0cada2;
    letter-spacing: 0.04em;
}
