﻿/*admin-desk.css*/

.product-hero {
    display: grid;
    grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr);
    gap: 28px;
    padding: 48px 0 24px
}

.ph-badge {
    display: inline-block;
    border: 1px solid #1f2738;
    border-radius: 999px;
    color: #9aa4b2;
    padding: 6px 10px;
    font-size: .9rem
}

.ph-title {
    font-weight: 800;
    font-size: clamp(30px,4.5vw,44px);
    line-height: 1.06;
    margin: 40px 0 40px
}

.ph-sub {
    color: var(--muted);
    opacity: .95;
    max-width: 60ch
}

.ph-bullets {
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px
}

    .ph-bullets li {
        display: flex;
        gap: 10px;
        align-items: baseline;
        color: #b9c4d6
    }

    .ph-bullets i {
        color: var(--accent1);
        width: 18px;
        text-align: center
    }

.ph-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
    margin-top: 16px
}

.ph-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 18px;
    opacity: .9
}

    .ph-meta .k {
        display: block;
        font-weight: 800
    }

    .ph-meta .v {
        display: block;
        color: #9aa4b2;
        font-size: .9rem
    }

.ph-right {
    min-width: 0
}

.ph-card {
    border-radius: 16px;
    background: linear-gradient(180deg,#121827,#101522);
    border: 1px solid #23304a;
    box-shadow: var(--shadow)
}

.ph-card-inner {
    padding: 28px
}

.logo-pill {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-weight: 800;
    letter-spacing: .5px;
    background: radial-gradient(120% 120% at 30% 20%,#1a2030,#0e1420);
    border: 1px solid #202a3d;
    box-shadow: 0 0 0 1px rgba(103,232,249,.15) inset
}

.preview-lines .line {
    height: 12px;
    border-radius: 8px;
    background: #1b2435;
    margin: 12px 0;
    position: relative
}

    .preview-lines .line::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: inherit;
        background: linear-gradient(90deg,rgba(103,232,249,.25),rgba(167,139,250,.25));
        width: 50%
    }

    .preview-lines .line.short::after {
        width: 30%
    }

.features {
    padding: 24px 0
}

.f-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px;
    margin-top: 14px
}

.f-item {
    background: var(--card);
    border: 1px solid #1a2130;
    border-radius: 14px;
    padding: 18px;
    box-shadow: var(--shadow)
}

    .f-item i {
        color: var(--accent1);
        font-size: 20px;
        margin-bottom: 6px;
    }

    .f-item h3 {
        margin: 6px 0 6px
    }

    .f-item p {
        color: #aeb8c9;
        margin: 0
    }

.pricing {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 18px;
    margin-top: 10px;
    align-items: start
}

.price-card {
    background: var(--card);
    border: 1px solid #1a2130;
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 18px
}

    .price-card header {
        border-bottom: 1px solid #1f2738;
        padding-bottom: 12px;
        margin-bottom: 12px
    }

    .price-card h3 {
        margin: 6px 0
    }

    .price-card .price {
        font-weight: 800;
        font-size: 28px
    }

        .price-card .price small {
            font-weight: 600;
            color: #9aa4b2
        }

    .price-card .inc {
        list-style: none;
        padding: 0;
        margin: 10px 0 0;
        display: grid;
        gap: 8px;
        color: #b9c4d6
    }

        .price-card .inc i {
            color: #7fd5e6;
            margin-right: 6px
        }

    .price-card .sep {
        height: 1px;
        background: #1f2738;
        margin: 12px 0
    }

    .price-card .addon {
        color: #c8cfe0;
        margin-bottom: 12px
    }

    .price-card .act {
        margin-top: 4px
    }

.demo-card {
    background: linear-gradient(180deg,#121827,#101522);
    border: 1px solid #23304a;
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 18px
}

    .demo-card .demo-row {
        display: flex;
        gap: 12px;
        align-items: center;
        margin: 10px 0 14px
    }

    .demo-card .host {
        font-family: ui-monospace,Menlo,Consolas,monospace;
        border: 1px solid #1f2738;
        border-radius: 10px;
        padding: 6px 10px;
        background: #0f141f
    }

    .demo-card .creds {
        color: #aeb8c9
    }

        .demo-card .creds span {
            color: #7fd5e6
        }

.demo-request .demo-wrap {
    background: linear-gradient(180deg,#121827,#0f141f);
    border: 1px solid #23304a;
    border-radius: 16px;
    padding: 22px;
    box-shadow: var(--shadow)
}

.demo-request .lead {
    color: #c8cfe0
}

.faqs {
    padding: 28px 0 60px
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px
}

.faq {
    background: var(--card);
    border: 1px solid #1a2130;
    border-radius: 14px;
    padding: 18px
}

    .faq h4 {
        margin: 0 0 6px
    }

@media (max-width: 980px) {
    .product-hero {
        grid-template-columns: 1fr
    }

    .pricing {
        grid-template-columns: 1fr
    }

    .f-grid {
        grid-template-columns: 1fr 1fr !important
    }

    .faq-grid {
        grid-template-columns: 1fr
    }
}

@media (max-width: 640px) {
    .f-grid {
        grid-template-columns: 1fr !important
    }
}

#demoSubmitBtn .btn-spinner {
    display: none;
}

#demoSubmitBtn[aria-busy="true"] .btn-text {
    display: none;
}

#demoSubmitBtn[aria-busy="true"] .btn-spinner {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

#demoSubmitBtn {
    min-width: 240px;
}

.price {
    display: flex;
    align-items: baseline;
    gap: .5rem;
    font-weight: 800;
    line-height: 1.1;
}

    .price .old {
        position: relative;
        color: #9aa4b2;
        opacity: .95;
    }

        .price .old::after {
            content: "";
            position: absolute;
            left: -3%;
            right: -3%;
            top: 50%;
            height: .12em;
            background: #ffffff;
            transform: rotate(-8deg);
            transform-origin: 50% 50%;
        }

    .price .new {
        color: #fff;
        font-size: 1.1em;
    }

    .price small {
        color: #b0b8c3;
        font-weight: 500;
    }

.loc-flag {
    height: 1em;
    vertical-align: middle;
    margin-left: 0;
    border-radius: 3px;
}

/* FEATURES SHOWCASE: СПИСОК СЛЕВА + ПАНЕЛЬ СПРАВА, НА МОБИЛЕ — АККОРДЕОН */
.features-showcase {
    margin-top: 3.5rem;
}

    .features-showcase .section-title {
        margin-bottom: 0.75rem;
    }

    .features-showcase .feature-sub {
        max-width: 46rem;
    }

    /* MOBILE-FIRST: ПАНЕЛИ ИДУТ СТОЛБЦОМ, КАЖДАЯ МОЖЕТ БЫТЬ "РАЗВЁРНУТА" */
    .features-showcase .feature-rail {
        display: block;
    }

    .features-showcase .feature-nav {
        display: none;
    }

    .features-showcase .feature-content {
        margin-top: 0.75rem;
    }

    .features-showcase .feature-panel {
        background: var(--card);
        border-radius: 20px;
        border: 1px solid #1a2130;
        box-shadow: var(--shadow);
        padding: 1.1rem 1.25rem 1.25rem;
        color: #e5e7eb;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        margin-bottom: 0.75rem;
    }

        .features-showcase .feature-panel:last-child {
            margin-bottom: 0;
        }

    /* ЗАГОЛОВОК ПАНЕЛИ (КЛИКАБЕЛЕН НА МОБИЛЕ) */
    .features-showcase .feature-card-head {
        display: flex;
        flex-direction: column;
        gap: 0.35rem;
        margin-bottom: 0.5rem;
    }

        .features-showcase .feature-card-head h4 {
            font-size: 1.1rem;
            margin: 0;
        }

        .features-showcase .feature-card-head .chip {
            display: inline-flex;
            align-items: center;
            padding: 0.18rem 0.7rem;
            border-radius: 999px;
            font-size: 0.7rem;
            letter-spacing: 0.03em;
            text-transform: uppercase;
            background: rgba(15, 23, 42, 0.8);
            border: 1px solid rgba(191, 219, 254, 0.6);
            width: fit-content;
        }

    /* ТЕКСТ ПАНЕЛИ */
    .features-showcase .feature-card-body {
        font-size: 0.9rem;
        flex: 0 0 auto;
    }

    .features-showcase .feature-points {
        margin: 0;
        padding-left: 1.1rem;
    }

        .features-showcase .feature-points li + li {
            margin-top: 0.2rem;
        }

    /* КАРТИНКА */
    .features-showcase .feature-card-shot {
        margin-top: 0.75rem;
        overflow: hidden;
        flex: 1 1 auto;
        min-height: 0;
        display: flex;
        justify-content: center;
    }

        .features-showcase .feature-card-shot img {
            width: 100%;
            height: 100%;
            display: block;
            object-fit: cover;
            cursor: zoom-in;
            border-radius: 14px;
        }

    /* НА МОБИЛЕ НЕАКТИВНЫЕ ПАНЕЛИ СКРЫВАЮТ КОНТЕНТ/КАРТИНКУ, ОСТАЁТСЯ ТОЛЬКО ХЕДЕР */
    .features-showcase .feature-panel:not(.is-active) .feature-card-body,
    .features-showcase .feature-panel:not(.is-active) .feature-card-shot {
        display: none;
    }

/* ДЕСКТОП: СЕТКА 2 КОЛОНКИ — СЛЕВА СПИСОК, СПРАВА ОДНА ПАНЕЛЬ */
@media (min-width: 992px) {
    .features-showcase .feature-rail {
        display: grid;
        grid-template-columns: minmax(0, 0.38fr) minmax(0, 0.62fr);
        gap: 1.5rem;
        align-items: stretch;
    }

    .features-showcase .feature-nav {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .features-showcase .feature-content {
        position: relative;
        min-height: 320px;
        margin-top: 0;
    }

    .features-showcase .feature-panel {
        position: absolute;
        inset: 0;
        margin-bottom: 0;
        padding: 1.5rem 1.75rem 1.75rem;
        display: none;
        cursor: default;
    }

        .features-showcase .feature-panel.is-active {
            display: flex;
        }
}

/* КНОПКИ В ЛЕВОМ СПИСКЕ (ДЕСКТОП/ПЛАНШЕТ) */
.features-showcase .feature-nav-item {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 0.9rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid #1f2937;
    color: #e5e7eb;
    font-size: 0.9rem;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.12s ease, box-shadow 0.2s ease;
}

    .features-showcase .feature-nav-item:hover {
        transform: translateY(-1px);
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.65);
        border-color: rgba(59, 130, 246, 0.7);
    }

    .features-showcase .feature-nav-item.is-active {
        background: linear-gradient(90deg,#3fbad1,#6c5bd8);
        border-color: rgba(96, 165, 250, 1);
        color: #ffffff;
        box-shadow: 0 14px 40px rgba(37, 99, 235, 0.55);
        transform: none;
        font-size: larger;
    }

.features-showcase .feature-nav-text {
    flex: 1 1 auto;
    margin-right: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.features-showcase .feature-nav-index {
    flex: 0 0 auto;
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.8);
    background: rgba(15, 23, 42, 0.8);
}

/* FEATURE SCREENSHOTS LIGHTBOX */
.feature-lightbox[hidden] {
    display: none;
}

.feature-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1050;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    backdrop-filter: blur(4px);
}

.feature-lightbox-img {
    max-width: 100%;
    max-height: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    border-radius: 10px;
}

.feature-lightbox-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    border: none;
    border-radius: 999px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.8);
    color: #e5e7eb;
    cursor: pointer;
}

    .feature-lightbox-close i {
        font-size: 1.1rem;
    }

/* SLIDER ВНУТРИ FEATURE-СЕКЦИЙ */
.features-showcase .feature-card-shot--slider {
    display: flex;
    position: relative;
    overflow: hidden;
}

    .features-showcase .feature-card-shot--slider .feature-shot-link {
        display: none;
    }

        .features-showcase .feature-card-shot--slider .feature-shot-link.is-current {
            display: block;
        }

    .features-showcase .feature-card-shot--slider .feature-shot-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        border-radius: 999px;
        width: 32px;
        height: 32px;
        border: none;
        background: rgba(15, 23, 42, 0.8);
        color: #e5e7eb;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        opacity: 0;
        transition: opacity 0.2s ease, background 0.2s ease;
    }

    .features-showcase .feature-card-shot--slider .feature-shot-prev {
        left: 8px;
    }

    .features-showcase .feature-card-shot--slider .feature-shot-next {
        right: 8px;
    }

    .features-showcase .feature-card-shot--slider .feature-shot-nav i {
        font-size: 0.9rem;
    }

/* показываем стрелки при ховере на десктопе */
@media (min-width: 992px) {
    .features-showcase .feature-card-shot--slider:hover .feature-shot-nav {
        opacity: 1;
    }
}

/* на мобильных стрелки всегда видны */
@media (max-width: 991.98px) {
    .features-showcase .feature-card-shot--slider .feature-shot-nav {
        opacity: 1;
    }
}
