/*
 * EIT.KG
 * Публичный каталог и страницы цифровых продуктов.
 */


/* =========================================================
   1. Общие хлебные крошки
   ========================================================= */

.products-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;

    margin-bottom: 44px;

    color: rgba(255, 255, 255, 0.4);

    font-size: 12px;
    font-weight: 700;
}

.products-breadcrumbs a {
    color: rgba(255, 255, 255, 0.62);

    text-decoration: none;

    transition:
        color var(--eit-transition);
}

.products-breadcrumbs a:hover {
    color: var(--eit-teal-400);
}


/* =========================================================
   2. Hero каталога
   ========================================================= */

.products-page-hero {
    position: relative;

    padding: 155px 0 90px;

    overflow: hidden;

    color: var(--eit-white);

    background:
        radial-gradient(
            circle at 82% 26%,
            rgba(0, 216, 199, 0.15),
            transparent 31%
        ),
        linear-gradient(
            140deg,
            var(--eit-navy-950),
            var(--eit-navy-800) 58%,
            var(--eit-navy-950)
        );
}

.products-page-hero__grid,
.product-detail-hero__grid {
    position: absolute;
    inset: 0;

    opacity: 0.09;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.08) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.08) 1px,
            transparent 1px
        );

    background-size: 72px 72px;
}

.products-page-hero__glow {
    position: absolute;
    top: 10%;
    right: -12%;

    width: 650px;
    height: 650px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(0, 216, 199, 0.14),
            transparent 68%
        );
}

.products-page-hero__eyebrow,
.product-detail-hero__eyebrow {
    display: inline-block;

    color: var(--eit-teal-400);

    font-size: 11px;
    font-weight: 850;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.products-page-hero h1 {
    max-width: 900px;
    margin: 19px 0 27px;

    color: var(--eit-white);

    font-size: clamp(52px, 6vw, 88px);
    font-weight: 860;
    line-height: 0.97;
    letter-spacing: -4px;
}

.products-page-hero h1 span {
    display: block;

    color: transparent;

    background: var(--eit-gradient-brand);
    background-clip: text;
    -webkit-background-clip: text;
}

.products-page-hero p {
    max-width: 790px;
    margin: 0;

    color: rgba(255, 255, 255, 0.63);

    font-size: 19px;
    line-height: 1.75;
}

.products-page-stats {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 13px;
}

.products-page-stats > div {
    padding: 23px;

    background: rgba(255, 255, 255, 0.05);

    border:
        1px solid rgba(255, 255, 255, 0.1);

    border-radius: 18px;

    backdrop-filter: blur(14px);
}

.products-page-stats strong {
    display: block;

    color: var(--eit-white);

    font-size: 38px;
    font-weight: 850;
    line-height: 1;
}

.products-page-stats span {
    display: block;

    margin-top: 11px;

    color: rgba(255, 255, 255, 0.45);

    font-size: 11px;
    line-height: 1.45;
}


/* =========================================================
   3. Каталог
   ========================================================= */

.products-catalog-section {
    padding: 100px 0 115px;

    background:
        radial-gradient(
            circle at 8% 18%,
            rgba(0, 216, 199, 0.055),
            transparent 24%
        ),
        var(--eit-background);
}

.products-catalog-heading {
    display: grid;
    grid-template-columns:
        minmax(0, 1.1fr)
        minmax(280px, 0.7fr);
    align-items: end;
    gap: 45px;

    margin-bottom: 52px;
}

.products-catalog-heading span {
    color: var(--eit-teal-500);

    font-size: 11px;
    font-weight: 850;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.products-catalog-heading h2 {
    margin: 12px 0 0;

    color: var(--eit-text);

    font-size: clamp(38px, 4vw, 60px);
    font-weight: 850;
    letter-spacing: -2.2px;
}

.products-catalog-heading p {
    margin: 0;

    color: var(--eit-text-muted);

    font-size: 16px;
    line-height: 1.7;
}

.products-catalog-grid {
    display: grid;
    grid-template-columns:
        repeat(
            auto-fit,
            minmax(min(100%, 420px), 1fr)
        );
    gap: 25px;
}

.products-catalog-card {
    display: flex;
    flex-direction: column;

    min-width: 0;
    overflow: hidden;

    background: var(--eit-white);

    border: 1px solid var(--eit-border);
    border-radius: 25px;

    box-shadow: var(--eit-shadow-md);

    transition:
        transform var(--eit-transition),
        box-shadow var(--eit-transition),
        border-color var(--eit-transition);
}

.products-catalog-card:hover {
    border-color:
        rgba(0, 184, 176, 0.25);

    transform: translateY(-6px);

    box-shadow:
        0 28px 65px rgba(7, 36, 53, 0.13);
}

.products-catalog-card__media {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 285px;
    padding: 30px;

    overflow: hidden;

    text-decoration: none;

    background:
        radial-gradient(
            circle at 75% 25%,
            rgba(0, 216, 199, 0.16),
            transparent 31%
        ),
        linear-gradient(
            145deg,
            var(--eit-navy-800),
            var(--eit-navy-950)
        );
}

.products-catalog-card__cover {
    display: block;

    width: 100%;
    height: 100%;
    min-height: 225px;
    max-height: 320px;

    object-fit: contain;

    transition:
        transform 0.45s ease;
}

.products-catalog-card:hover
.products-catalog-card__cover {
    transform: scale(1.025);
}

.products-catalog-card__logo-wrapper {
    display: grid;
    place-items: center;

    width: 180px;
    height: 180px;
    padding: 30px;

    background:
        rgba(255, 255, 255, 0.08);

    border:
        1px solid rgba(255, 255, 255, 0.12);

    border-radius: 34px;

    backdrop-filter: blur(15px);
}

.products-catalog-card__logo {
    display: block;

    max-width: 100%;
    max-height: 100%;

    object-fit: contain;
}

.products-catalog-card__code {
    display: grid;
    place-items: center;

    width: 145px;
    height: 145px;

    color: var(--eit-white);

    background: var(--eit-gradient-brand);

    border-radius: 34px;

    box-shadow:
        0 24px 55px rgba(0, 184, 176, 0.28);

    font-size: 64px;
    font-weight: 900;
}

.products-catalog-card__status,
.product-detail-status {
    position: absolute;
    top: 20px;
    right: 20px;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 9px 13px;

    border-radius: 999px;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.3px;
}

.products-catalog-card__status::before,
.product-detail-status::before {
    content: "";

    width: 7px;
    height: 7px;

    border-radius: 50%;
}

.products-catalog-card__status.is-active,
.product-detail-status.is-active {
    color: #8ef0ce;

    background:
        rgba(84, 222, 184, 0.11);

    border:
        1px solid rgba(84, 222, 184, 0.22);
}

.products-catalog-card__status.is-active::before,
.product-detail-status.is-active::before {
    background: #54deb8;

    box-shadow:
        0 0 10px rgba(84, 222, 184, 0.7);
}

.products-catalog-card__status.is-development,
.product-detail-status.is-development {
    color: #8dd8ff;

    background:
        rgba(70, 167, 226, 0.11);

    border:
        1px solid rgba(70, 167, 226, 0.23);
}

.products-catalog-card__status.is-development::before,
.product-detail-status.is-development::before {
    background: #64c5ff;

    box-shadow:
        0 0 10px rgba(100, 197, 255, 0.65);
}

.products-catalog-card__status.is-planned,
.product-detail-status.is-planned {
    color: #d4c6ff;

    background:
        rgba(147, 112, 219, 0.11);

    border:
        1px solid rgba(147, 112, 219, 0.23);
}

.products-catalog-card__status.is-planned::before,
.product-detail-status.is-planned::before {
    background: #b99aff;
}

.products-catalog-card__status.is-paused,
.product-detail-status.is-paused {
    color: #ffd590;

    background:
        rgba(235, 174, 70, 0.11);

    border:
        1px solid rgba(235, 174, 70, 0.23);
}

.products-catalog-card__status.is-paused::before,
.product-detail-status.is-paused::before {
    background: #f0ba61;
}

.products-catalog-card__status.is-archived,
.product-detail-status.is-archived {
    color: rgba(255, 255, 255, 0.5);

    background:
        rgba(255, 255, 255, 0.06);

    border:
        1px solid rgba(255, 255, 255, 0.12);
}

.products-catalog-card__status.is-archived::before,
.product-detail-status.is-archived::before {
    background:
        rgba(255, 255, 255, 0.4);
}

.products-catalog-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;

    padding: 35px;
}

.products-catalog-card__slogan {
    color: var(--eit-teal-500);

    font-size: 10px;
    font-weight: 850;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.products-catalog-card h2 {
    margin: 11px 0 15px;

    font-size: 30px;
    font-weight: 850;
    letter-spacing: -1px;
}

.products-catalog-card h2 a {
    color: var(--eit-text);

    text-decoration: none;

    transition:
        color var(--eit-transition);
}

.products-catalog-card h2 a:hover {
    color: var(--eit-teal-600);
}

.products-catalog-card__body > p {
    margin: 0;

    color: var(--eit-text-muted);

    line-height: 1.7;
}

.products-catalog-card__features {
    display: grid;
    gap: 10px;

    margin: 25px 0 0;
    padding: 0;

    list-style: none;
}

.products-catalog-card__features li {
    position: relative;

    padding-left: 22px;

    color: var(--eit-text);

    font-size: 13px;
    font-weight: 650;
}

.products-catalog-card__features li::before {
    content: "";

    position: absolute;
    top: 7px;
    left: 0;

    width: 8px;
    height: 8px;

    background: var(--eit-gradient-brand);
    border-radius: 50%;
}

.products-catalog-card__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 17px;

    margin-top: auto;
    padding-top: 31px;
}

.products-catalog-card__details {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    color: var(--eit-teal-600);

    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.products-catalog-card__details span {
    transition:
        transform var(--eit-transition);
}

.products-catalog-card__details:hover span {
    transform: translateX(4px);
}

.products-catalog-card__external {
    color: var(--eit-text-muted);

    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.products-catalog-card__external:hover {
    color: var(--eit-text);
}

.products-empty-state {
    padding: 70px 35px;

    text-align: center;

    background: var(--eit-white);
    border: 1px solid var(--eit-border);
    border-radius: 25px;
}

.products-empty-state > span {
    color: var(--eit-teal-500);

    font-size: 11px;
    font-weight: 850;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.products-empty-state h2 {
    margin: 13px 0;

    color: var(--eit-text);

    font-weight: 850;
}

.products-empty-state p {
    max-width: 600px;
    margin: 0 auto;

    color: var(--eit-text-muted);
}


/* =========================================================
   4. CTA каталога
   ========================================================= */

.products-page-cta {
    padding: 0 0 115px;

    background: var(--eit-background);
}

.products-page-cta__card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 45px;

    padding: 52px 58px;

    color: var(--eit-white);

    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(0, 216, 199, 0.16),
            transparent 31%
        ),
        linear-gradient(
            145deg,
            var(--eit-navy-800),
            var(--eit-navy-950)
        );

    border:
        1px solid rgba(0, 216, 199, 0.14);

    border-radius: 28px;

    box-shadow: var(--eit-shadow-md);
}

.products-page-cta__card > div > span {
    color: var(--eit-teal-400);

    font-size: 10px;
    font-weight: 850;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.products-page-cta__card h2 {
    margin: 11px 0 12px;

    color: var(--eit-white);

    font-size: 38px;
    font-weight: 850;
    letter-spacing: -1.4px;
}

.products-page-cta__card p {
    max-width: 680px;
    margin: 0;

    color: rgba(255, 255, 255, 0.53);

    line-height: 1.65;
}


/* =========================================================
   5. Hero страницы продукта
   ========================================================= */

.product-detail-hero {
    position: relative;

    padding: 150px 0 100px;

    overflow: hidden;

    color: var(--eit-white);

    background:
        radial-gradient(
            circle at 82% 30%,
            rgba(0, 216, 199, 0.14),
            transparent 32%
        ),
        linear-gradient(
            140deg,
            var(--eit-navy-950),
            var(--eit-navy-800) 58%,
            var(--eit-navy-950)
        );
}

.product-detail-hero__glow {
    position: absolute;
    top: 20%;
    right: -9%;

    width: 650px;
    height: 650px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(0, 216, 199, 0.13),
            transparent 68%
        );
}

.product-detail-hero__identity {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 17px;

    margin-bottom: 30px;
}

.product-detail-hero__logo,
.product-detail-hero__code {
    display: grid;
    place-items: center;

    width: 72px;
    height: 72px;
    padding: 13px;

    background:
        rgba(255, 255, 255, 0.075);

    border:
        1px solid rgba(255, 255, 255, 0.13);

    border-radius: 19px;
}

.product-detail-hero__logo img {
    display: block;

    max-width: 100%;
    max-height: 100%;

    object-fit: contain;
}

.product-detail-hero__code {
    padding: 0;

    color: var(--eit-white);

    background: var(--eit-gradient-brand);

    font-size: 30px;
    font-weight: 900;
}

.product-detail-hero
.product-detail-status {
    position: static;
}

.product-detail-hero h1 {
    margin: 15px 0 25px;

    color: var(--eit-white);

    font-size: clamp(54px, 7vw, 96px);
    font-weight: 870;
    line-height: 0.95;
    letter-spacing: -4.5px;
}

.product-detail-hero p {
    max-width: 790px;
    margin: 0;

    color: rgba(255, 255, 255, 0.64);

    font-size: 19px;
    line-height: 1.75;
}

.product-detail-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;

    margin-top: 35px;
}

.product-detail-hero__media {
    position: relative;

    display: grid;
    place-items: center;

    min-height: 430px;
    padding: 28px;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.09),
            rgba(255, 255, 255, 0.025)
        );

    border:
        1px solid rgba(255, 255, 255, 0.12);

    border-radius: 29px;

    box-shadow:
        0 32px 80px rgba(0, 0, 0, 0.28);

    backdrop-filter: blur(18px);
}

.product-detail-hero__cover {
    display: block;

    width: 100%;
    max-height: 500px;

    object-fit: contain;
}

.product-detail-hero__media-logo {
    display: block;

    max-width: 70%;
    max-height: 260px;

    object-fit: contain;
}

.product-detail-hero__media-code {
    display: grid;
    place-items: center;

    width: 190px;
    height: 190px;

    color: var(--eit-white);

    background: var(--eit-gradient-brand);

    border-radius: 43px;

    box-shadow:
        0 26px 65px rgba(0, 184, 176, 0.28);

    font-size: 80px;
    font-weight: 900;
}


/* =========================================================
   6. Контент страницы продукта
   ========================================================= */

.product-detail-content {
    padding: 105px 0 115px;

    background:
        radial-gradient(
            circle at 7% 16%,
            rgba(0, 216, 199, 0.055),
            transparent 25%
        ),
        var(--eit-background);
}

.product-detail-section {
    display: grid;
    grid-template-columns:
        58px minmax(0, 1fr);
    gap: 25px;

    margin-bottom: 28px;
    padding: 42px;

    background: var(--eit-white);
    border: 1px solid var(--eit-border);
    border-radius: 25px;

    box-shadow: var(--eit-shadow-md);
}

.product-detail-section:last-child {
    margin-bottom: 0;
}

.product-detail-section__number {
    display: grid;
    place-items: center;

    width: 52px;
    height: 52px;

    color: var(--eit-white);

    background: var(--eit-gradient-brand);
    border-radius: 16px;

    font-size: 12px;
    font-weight: 850;

    box-shadow:
        0 14px 28px rgba(0, 184, 176, 0.22);
}

.product-detail-section__eyebrow,
.product-detail-sidebar__eyebrow,
.product-detail-cta__eyebrow {
    color: var(--eit-teal-500);

    font-size: 10px;
    font-weight: 850;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.product-detail-section h2 {
    margin: 10px 0 25px;

    color: var(--eit-text);

    font-size: 34px;
    font-weight: 850;
    letter-spacing: -1.2px;
}

.product-detail-rich-text {
    color: var(--eit-text-muted);

    font-size: 16px;
    line-height: 1.85;
}

.product-features-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.product-feature-card {
    display: flex;
    align-items: center;
    gap: 16px;

    min-height: 82px;
    padding: 17px 19px;

    background: #f7fafb;
    border: 1px solid var(--eit-border);
    border-radius: 16px;
}

.product-feature-card > span {
    display: grid;
    flex: 0 0 35px;
    place-items: center;

    width: 35px;
    height: 35px;

    color: var(--eit-teal-600);

    background:
        rgba(0, 184, 176, 0.09);

    border-radius: 10px;

    font-size: 10px;
    font-weight: 850;
}

.product-feature-card strong {
    color: var(--eit-text);

    font-size: 13px;
    line-height: 1.45;
}

.product-audience-list,
.product-technology-list {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
}

.product-audience-list span,
.product-technology-list span {
    padding: 11px 15px;

    color: var(--eit-text);

    background: #f7fafb;
    border: 1px solid var(--eit-border);
    border-radius: 999px;

    font-size: 12px;
    font-weight: 700;
}

.product-technology-list span {
    color: var(--eit-teal-700);

    background:
        rgba(0, 184, 176, 0.06);

    border-color:
        rgba(0, 184, 176, 0.15);
}


/* =========================================================
   7. Боковая карточка продукта
   ========================================================= */

.product-detail-sidebar {
    position: sticky;
    top: 100px;

    padding: 35px;

    color: var(--eit-white);

    background:
        radial-gradient(
            circle at 82% 15%,
            rgba(0, 216, 199, 0.16),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            var(--eit-navy-800),
            var(--eit-navy-950)
        );

    border:
        1px solid rgba(0, 216, 199, 0.14);

    border-radius: 25px;

    box-shadow: var(--eit-shadow-md);
}

.product-detail-sidebar h2 {
    margin: 13px 0 27px;

    color: var(--eit-white);

    font-size: 31px;
    font-weight: 850;
    letter-spacing: -1px;
}

.product-detail-sidebar dl {
    margin: 0;
}

.product-detail-sidebar dl > div {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;

    padding: 17px 0;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.09);
}

.product-detail-sidebar dt {
    color: rgba(255, 255, 255, 0.4);

    font-size: 11px;
    font-weight: 650;
}

.product-detail-sidebar dd {
    margin: 0;

    color: rgba(255, 255, 255, 0.82);

    font-size: 12px;
    font-weight: 750;
    text-align: right;
}

.product-detail-sidebar__link {
    display: inline-flex;
    align-items: center;

    margin-top: 27px;

    color: var(--eit-teal-400);

    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.product-detail-sidebar__link:hover {
    color: var(--eit-white);
}


/* =========================================================
   8. Финальный CTA продукта
   ========================================================= */

.product-detail-cta {
    padding: 0 0 115px;

    background: var(--eit-background);
}

.product-detail-cta__card {
    padding: 70px 45px;

    color: var(--eit-white);
    text-align: center;

    background:
        radial-gradient(
            circle at 50% 15%,
            rgba(0, 216, 199, 0.17),
            transparent 34%
        ),
        linear-gradient(
            145deg,
            var(--eit-navy-800),
            var(--eit-navy-950)
        );

    border:
        1px solid rgba(0, 216, 199, 0.14);

    border-radius: 29px;
}

.product-detail-cta h2 {
    max-width: 850px;
    margin: 13px auto 18px;

    color: var(--eit-white);

    font-size: clamp(38px, 5vw, 65px);
    font-weight: 860;
    line-height: 1.04;
    letter-spacing: -2.5px;
}

.product-detail-cta p {
    max-width: 650px;
    margin: 0 auto;

    color: rgba(255, 255, 255, 0.55);

    font-size: 17px;
    line-height: 1.7;
}

.product-detail-cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 13px;

    margin-top: 34px;
}


/* =========================================================
   9. Адаптивность
   ========================================================= */

@media (max-width: 1199.98px) {
    .product-detail-hero__media {
        min-height: 380px;
    }

    .product-detail-sidebar {
        position: static;
    }
}

@media (max-width: 991.98px) {
    .products-page-hero,
    .product-detail-hero {
        padding-top: 135px;
    }

    .products-catalog-heading {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .products-page-cta__card {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 767.98px) {
    .products-page-hero,
    .product-detail-hero {
        padding: 120px 0 70px;
    }

    .products-breadcrumbs {
        margin-bottom: 32px;
    }

    .products-page-hero h1,
    .product-detail-hero h1 {
        font-size: 49px;
        letter-spacing: -2.4px;
    }

    .products-page-hero p,
    .product-detail-hero p {
        font-size: 16px;
    }

    .products-page-stats {
        grid-template-columns: 1fr;
    }

    .products-catalog-section,
    .product-detail-content {
        padding: 70px 0 85px;
    }

    .products-catalog-card__media {
        min-height: 240px;
    }

    .products-catalog-card__body {
        padding: 28px;
    }

    .products-page-cta,
    .product-detail-cta {
        padding-bottom: 85px;
    }

    .products-page-cta__card {
        padding: 38px 29px;
    }

    .products-page-cta__card h2 {
        font-size: 31px;
    }

    .product-detail-hero__media {
        min-height: 300px;
    }

    .product-detail-section {
        grid-template-columns: 1fr;
        gap: 18px;

        padding: 29px;
    }

    .product-features-grid {
        grid-template-columns: 1fr;
    }

    .product-detail-cta__card {
        padding: 52px 25px;
    }
}

@media (max-width: 575.98px) {
    .products-catalog-grid {
        grid-template-columns: 1fr;
    }

    .products-catalog-card__actions,
    .product-detail-hero__actions,
    .product-detail-cta__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .product-detail-hero__actions .btn,
    .product-detail-cta__actions .btn,
    .products-page-cta__card .btn {
        width: 100%;
    }

    .products-page-cta__card {
        padding: 34px 23px;
    }

    .product-detail-sidebar {
        padding: 28px;
    }
}