/* ================================================= */
/* MACROS TECHNOLOGY */
/* ГОЛОВНИЙ CSS */
/* ================================================= */

/* ================================================= */
/* ЗМІННІ */
/* ================================================= */

:root {

    --bg: #050505;
    --bg-secondary: #0a0a0a;

    --text: #ffffff;
    --text-muted: #777777;

    --border: rgba(255, 255, 255, 0.14);
    --border-hover: rgba(255, 255, 255, 0.55);

    --font-main: "JetBrains Mono", monospace;
    --font-pixel: "Press Start 2P", monospace;
}

/* ================================================= */
/* LIGHT THEME */
/* ================================================= */

body.theme-light {

    --bg: #f5f5f5;
    --bg-secondary: #ffffff;

    --text: #050505;
    --text-muted: #666666;

    --border: rgba(0, 0, 0, 0.14);
    --border-hover: rgba(0, 0, 0, 0.55);
}

/* ================================================= */
/* БАЗОВІ НАЛАШТУВАННЯ */
/* ================================================= */

* {

    box-sizing: border-box;

    margin: 0;

    padding: 0;
}

html {

    scroll-behavior: smooth;
}

body {

    min-height: 100vh;

    background: var(--bg);

    color: var(--text);

    font-family: var(--font-main);

    font-size: 14px;

    line-height: 1.5;

    overflow-x: hidden;

    transition:
        background 0.3s ease,
        color 0.3s ease;
}

/* ================================================= */
/* CANVAS MATRIX */
/* ================================================= */

#matrix {

    position: fixed;

    inset: 0;

    width: 100%;

    height: 100%;

    z-index: 0;

    pointer-events: none;

    opacity: 0.18;
}

/* ================================================= */
/* ТЕМНИЙ ШАР ПОВЕРХ MATRIX */
/* ================================================= */

body::before {

    content: "";

    position: fixed;

    inset: 0;

    z-index: -1;

    pointer-events: none;

    background:
        linear-gradient(
            rgba(5, 5, 5, 0.82),
            rgba(5, 5, 5, 0.94)
        );
}

body.theme-light::before {

    background:
        linear-gradient(
            rgba(245, 245, 245, 0.86),
            rgba(245, 245, 245, 0.96)
        );
}

/* ================================================= */
/* ОСНОВНИЙ КОНТЕЙНЕР */
/* ================================================= */

.hero {

    position: relative;

    z-index: 2;

    width: min(
        100%,
        1200px
    );

    min-height: calc(100vh - 80px);

    margin: 0 auto;

    padding:
        80px 30px 60px;
}

/* ================================================= */
/* HEADER */
/* ================================================= */

.hero__header {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    margin-bottom: 70px;
}

/* ================================================= */
/* STATUS */
/* ================================================= */

.hero__status {

    margin-bottom: 28px;
}

.hero__status h4 {

    color: var(--text-muted);

    font-size: 10px;

    font-weight: 400;

    letter-spacing: 2px;

    text-transform: uppercase;
}

.status-text {

    position: relative;

    display: inline-block;
}

.status-text::before {

    content: "";

    display: inline-block;

    width: 7px;

    height: 7px;

    margin-right: 9px;

    border: 1px solid var(--text);

    border-radius: 50%;

    vertical-align: middle;

    animation:
        statusPulse 1.8s infinite;
}

@keyframes statusPulse {

    0%,
    100% {

        opacity: 0.35;

        transform: scale(0.8);
    }

    50% {

        opacity: 1;

        transform: scale(1);
    }
}

/* ================================================= */
/* ГОЛОВНИЙ ЗАГОЛОВОК */
/* ================================================= */

.hero__title {

    width: 100%;

    font-family: var(--font-pixel);

    font-size: clamp(
        18px,
        4vw,
        42px
    );

    line-height: 1.5;

    letter-spacing: 1px;

    text-align: center;

    word-break: break-word;
}

/* ================================================= */
/* ГОЛОВНІ БЛОКИ */
/* ================================================= */

.home-links {

    width: 100%;

    border-top: 1px solid var(--border);
}

.home-item {

    margin-bottom: 16px;

    border-top: 1px solid var(--border);
}

.home-item:last-child {

    border-bottom: 1px solid var(--border);
}

/* ================================================= */
/* ГОЛОВНА КНОПКА */
/* ================================================= */

.home-link {

    width: 100%;

    min-height: 150px;

    display: grid;

    grid-template-columns:
        50px
        55px
        1fr
        50px;

    align-items: center;

    gap: 15px;

    padding:
        15px 20px;

    border: 0;

    background: transparent;

    color: var(--text);

    font-family: var(--font-main);

    text-align: left;

    cursor: pointer;

    transition:
        background 0.3s ease,
        color 0.3s ease;
}

.home-link:hover {

    background:
        rgba(116, 13, 13, 0.035);
}

body.theme-light .home-link:hover {

    background:
        rgba(155, 52, 52, 0.035);
}

/* ================================================= */
/* НОМЕР */
/* ================================================= */

.home-link__number {

    color: var(--text-muted);

    font-size: 10px;

    letter-spacing: 1px;
}

/* ================================================= */
/* ІКОНКА */
/* ================================================= */

.home-link__icon {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 35px;

    height: 35px;

    border: 1px solid var(--border);

    color: var(--text);

    font-size: 13px;

    transition:
        border-color 0.3s ease,
        transform 0.3s ease;
}

.home-link:hover .home-link__icon {

    border-color: var(--border-hover);

    transform: translateX(3px);
}

/* ================================================= */
/* КОНТЕНТ КНОПКИ */
/* ================================================= */

.home-link__content {

    min-width: 0;

    display: flex;

    flex-direction: column;

    gap: 8px;
}

/* ================================================= */
/* НАЗВА */
/* ================================================= */

.home-link__title {

    font-family: var(--font-pixel);

    font-size: clamp(
        10px,
        1.5vw,
        13px
    );

    line-height: 1.7;
}

/* ================================================= */
/* ОПИС */
/* ================================================= */

.home-link__description {

    color: var(--text-muted);

    font-size: 21px;

    line-height: 1.6;
}

/* ================================================= */
/* СТРІЛКА */
/* ================================================= */

.home-link__arrow {

    justify-self: end;

    color: var(--text-muted);

    font-size: 20px;

    transition:
        transform 0.3s ease,
        color 0.3s ease;
}

.home-link:hover .home-link__arrow {

    color: var(--text);

    transform: translateX(5px);
}

.home-item.is-open .home-link__arrow {

    transform:
        rotate(90deg);
}

/* ================================================= */
/* ПАНЕЛЬ ГОЛОВНОГО БЛОКУ */
/* ================================================= */

.home-panel {

    display: grid;

    grid-template-rows: 0fr;

    opacity: 0;

    transition:
        grid-template-rows 0.45s ease,
        opacity 0.35s ease;
}

.home-item.is-open .home-panel {

    grid-template-rows: 1fr;

    opacity: 1;
}

.home-panel__inner {

    min-height: 0;

    overflow: hidden;

    padding:
        0 20px;

    transition:
        padding 0.45s ease;
}

.home-item.is-open
.home-panel__inner {

    padding:
        10px 20px 30px;
}

/* ================================================= */
/* LABEL */
/* ================================================= */

.panel-label {

    margin-bottom: 18px;

    color: var(--text-muted);

    font-size: 10px;

    letter-spacing: 2px;
}

/* ================================================= */
/* ЗАГОЛОВКИ ПАНЕЛЕЙ */
/* ================================================= */

.home-panel__inner h3 {

    max-width: 800px;

    margin-bottom: 20px;

    font-family: var(--font-pixel);

    font-size: clamp(
        15px,
        2vw,
        22px
    );

    line-height: 1.8;
}

/* ================================================= */
/* ТЕКСТ ПАНЕЛІ */
/* ================================================= */

.home-panel__inner > p {

    max-width: 700px;

    margin-bottom: 30px;

    color: var(--text-muted);

    font-size: 14px;

    line-height: 1.8;
}

/* ================================================= */
/* СПИСОК ПОСЛУГ */
/* ================================================= */

.service-list {

    display: flex;

    flex-direction: column;

    gap: 8px;

    margin-bottom: 30px;
}

.service-item {

    border: 1px solid var(--border);
}

/* ================================================= */
/* КНОПКА ПОСЛУГИ */
/* ================================================= */

.service-card {

    width: 100%;

    min-height: 75px;

    display: grid;

    grid-template-columns:
        45px
        1fr
        35px;

    align-items: center;

    gap: 15px;

    padding:
        12px 18px;

    border: 0;

    background: transparent;

    color: var(--text);

    font-family: var(--font-main);

    text-align: left;

    cursor: pointer;

    transition:
        background 0.3s ease;
}

.service-card:hover {

    background:
        rgba(255, 255, 255, 0.035);
}

body.theme-light
.service-card:hover {

    background:
        rgba(0, 0, 0, 0.035);
}

.service-card__number {

    color: var(--text-muted);

    font-size: 10px;
}

.service-card__content {

    display: flex;

    flex-direction: column;

    gap: 7px;
}

.service-card__content strong {

    font-size: 12px;

    letter-spacing: 1px;
}

.service-card__content small {

    color: var(--text-muted);

    font-size: 11px;

    line-height: 1.6;
}

.service-card__arrow {

    justify-self: end;

    color: var(--text-muted);

    font-size: 18px;

    transition:
        transform 0.3s ease,
        color 0.3s ease;
}

.service-item.is-open
.service-card__arrow {

    color: var(--text);

    transform:
        rotate(90deg);
}

/* ================================================= */
/* ПАНЕЛЬ ПОСЛУГИ */
/* ================================================= */

.service-panel {

    display: grid;

    grid-template-rows: 0fr;

    opacity: 0;

    transition:
        grid-template-rows 0.4s ease,
        opacity 0.3s ease;
}

.service-item.is-open
.service-panel {

    grid-template-rows: 1fr;

    opacity: 1;
}

.service-panel__inner {

    min-height: 0;

    overflow: hidden;

    padding:
        0 18px;

    transition:
        padding 0.4s ease;
}

.service-item.is-open
.service-panel__inner {

    padding:
        5px 18px 25px;
}

/* ================================================= */
/* ДЕТАЛІ ПОСЛУГИ */
/* ================================================= */

.service-detail {

    padding:
        25px;

    border-top:
        1px solid var(--border);
}

.service-detail__label {

    margin-bottom: 15px;

    color: var(--text-muted);

    font-size: 9px;

    letter-spacing: 2px;
}

/* ================================================= */
/* ЗАГОЛОВОК ДЕТАЛЕЙ */
/* ================================================= */

.service-detail h4 {

    max-width: 700px;

    margin-bottom: 18px;

    font-family: var(--font-pixel);

    font-size: clamp(
        14px,
        1.8vw,
        19px
    );

    line-height: 1.8;
}

/* ================================================= */
/* ОПИС ДЕТАЛЕЙ */
/* ================================================= */

.service-detail > p {

    max-width: 750px;

    margin-bottom: 30px;

    color: var(--text-muted);

    font-size: 14px;

    line-height: 1.9;
}

/* ================================================= */
/* КОЛОНКИ ДЕТАЛЕЙ */
/* ================================================= */

.service-detail__columns {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 30px;

    margin-bottom: 30px;
}

.service-detail__columns > div {

    padding:
        20px;

    border: 1px solid var(--border);
}

.service-detail__columns span {

    display: block;

    margin-bottom: 15px;

    color: var(--text);

    font-size: 10px;

    letter-spacing: 1px;
}

.service-detail__columns ul {

    padding-left: 18px;
}

.service-detail__columns li {

    margin-bottom: 8px;

    color: var(--text-muted);

    font-size: 13px;

    line-height: 1.7;
}

/* ================================================= */
/* DEMO LINK */
/* ================================================= */

.service-demo {

    min-height: 48px;

    display: inline-flex;

    align-items: center;

    gap: 12px;

    padding:
        0 18px;

    border: 1px solid var(--border);

    color: var(--text);

    font-size: 10px;

    letter-spacing: 1px;

    text-decoration: none;

    transition:
        border-color 0.3s ease,
        background 0.3s ease,
        transform 0.3s ease;
}

.service-demo:hover {

    border-color: var(--border-hover);

    background:
        rgba(255, 255, 255, 0.05);

    transform:
        translateX(4px);
}

body.theme-light
.service-demo:hover {

    background:
        rgba(0, 0, 0, 0.05);
}

/* ================================================= */
/* ТЕРМІНАЛ */
/* ================================================= */

.panel-terminal {

    min-height: 55px;

    display: flex;

    align-items: center;

    gap: 10px;

    padding:
        0 20px;

    border-top:
        1px solid var(--border);

    color: var(--text-muted);

    font-size: 9px;

    letter-spacing: 1px;

    overflow-x: auto;

    white-space: nowrap;
}

.panel-terminal .online {

    color: var(--text);
}

/* ================================================= */
/* ЦІНИ */
/* ================================================= */

.price-list {

    display: flex;

    flex-direction: column;

    gap: 8px;

    margin-bottom: 25px;
}

.price-item {

    min-height: 75px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding:
        15px 20px;

    border: 1px solid var(--border);

    transition:
        background 0.3s ease,
        border-color 0.3s ease;
}

.price-item:hover {

    border-color: var(--border-hover);

    background:
        rgba(255, 255, 255, 0.03);
}

body.theme-light
.price-item:hover {

    background:
        rgba(0, 0, 0, 0.03);
}

.price-item > div {

    display: flex;

    flex-direction: column;

    gap: 6px;
}

.price-item strong {

    font-size: 12px;

    letter-spacing: 1px;
}

.price-item small {

    color: var(--text-muted);

    font-size: 11px;
}

.price-item > span {

    flex-shrink: 0;

    font-family: var(--font-pixel);

    font-size: 11px;
}

/* ================================================= */
/* ПРИМІТКА ПРО ЦІНИ */
/* ================================================= */

.panel-note {

    color: var(--text-muted);

    font-size: 11px;

    line-height: 1.7;
}

/* ================================================= */
/* КОНТАКТИ */
/* ================================================= */

.contact-links {

    display: flex;

    flex-direction: column;

    gap: 8px;

    margin-bottom: 30px;
}

.contact-link {

    min-height: 65px;

    display: grid;

    grid-template-columns:
        45px
        1fr
        35px;

    align-items: center;

    gap: 15px;

    padding:
        0 18px;

    border: 1px solid var(--border);

    color: var(--text);

    font-size: 11px;

    text-decoration: none;

    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.contact-link:hover {

    border-color: var(--border-hover);

    background:
        rgba(255, 255, 255, 0.04);

    transform:
        translateX(4px);
}

body.theme-light
.contact-link:hover {

    background:
        rgba(0, 0, 0, 0.04);
}

.contact-link > span:first-child {

    color: var(--text-muted);
}

.contact-link > span:last-child {

    justify-self: end;

    color: var(--text-muted);

    font-size: 17px;
}

/* ================================================= */
/* НОВА СИСТЕМА КОНТАКТІВ */
/* ================================================= */

.contact-system {

    width: 100%;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding:
        10px 0 5px;
}

/* ================================================= */
/* СТАТУС КОНТАКТІВ */
/* ================================================= */

.contact-system__status {

    width: 100%;

    max-width: 650px;

    margin-bottom: 25px;

    border:
        1px solid var(--border);
}

/* ================================================= */
/* РЯДОК СТАТУСУ */
/* ================================================= */

.contact-system__row {

    min-height: 55px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 18px;

    padding:
        12px 20px;

    border-bottom:
        1px solid var(--border);

    font-size: 10px;

    letter-spacing: 1px;
}

.contact-system__row:last-child {

    border-bottom: 0;
}

.contact-system__row span {

    color: var(--text-muted);
}

.contact-system__row strong {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    color: var(--text);

    font-weight: 500;

    letter-spacing: 1px;
}

/* ================================================= */
/* АНІМОВАНИЙ ІНДИКАТОР ONLINE */
/* ================================================= */

.contact-system__row strong::before {

    content: "";

    width: 8px;

    height: 8px;

    flex-shrink: 0;

    border:
        1px solid var(--text);

    border-radius: 50%;

    background: var(--text);

    box-shadow:
        0 0 6px var(--text),
        0 0 14px rgba(255, 255, 255, 0.45);

    animation:
        onlinePulse 1.5s ease-in-out infinite;
}

@keyframes onlinePulse {

    0%,
    100% {

        opacity: 0.45;

        transform:
            scale(0.75);

        box-shadow:
            0 0 3px var(--text);
    }

    50% {

        opacity: 1;

        transform:
            scale(1.25);

        box-shadow:
            0 0 8px var(--text),
            0 0 18px rgba(255, 255, 255, 0.55);
    }
}

/* ================================================= */
/* TELEGRAM КНОПКА */
/* ================================================= */

.contact-telegram {

    width: 100%;

    max-width: 650px;

    min-height: 75px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 15px;

    padding:
        18px 25px;

    border:
        1px solid var(--border);

    background:
        transparent;

    color: var(--text);

    font-family: var(--font-main);

    text-decoration: none;

    text-align: center;

    transition:
        border-color 0.3s ease,
        background 0.3s ease,
        transform 0.3s ease;
}

.contact-telegram:hover {

    border-color:
        var(--border-hover);

    background:
        rgba(255, 255, 255, 0.05);

    transform:
        translateY(-3px);
}

body.theme-light
.contact-telegram:hover {

    background:
        rgba(0, 0, 0, 0.05);
}

/* ================================================= */
/* НОМЕР КНОПКИ */
/* ================================================= */

.contact-telegram__number {

    color: var(--text-muted);

    font-size: 10px;

    letter-spacing: 1px;
}

/* ================================================= */
/* ТЕКСТ TELEGRAM */
/* ================================================= */

.contact-telegram__content {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 6px;
}

.contact-telegram__content strong {

    font-family: var(--font-pixel);

    font-size: 11px;

    line-height: 1.6;
}

.contact-telegram__content small {

    color: var(--text-muted);

    font-size: 10px;

    line-height: 1.5;
}

/* ================================================= */
/* СТРІЛКА TELEGRAM */
/* ================================================= */

.contact-telegram__arrow {

    color: var(--text);

    font-size: 20px;

    transition:
        transform 0.3s ease;
}

.contact-telegram:hover
.contact-telegram__arrow {

    transform:
        translateX(6px);
}

/* ================================================= */
/* ПЕРЕМИКАЧ ТЕМИ */
/* ================================================= */

.theme-switcher {

    position: fixed;

    top: 20px;

    right: 25px;

    z-index: 100;

    display: flex;

    gap: 4px;

    padding: 4px;

    border: 1px solid var(--border);

    background:
        rgba(0, 0, 0, 0.35);

    backdrop-filter: blur(8px);
}

body.theme-light
.theme-switcher {

    background:
        rgba(255, 255, 255, 0.55);
}

.theme-button {

    min-width: 55px;

    min-height: 30px;

    border: 1px solid transparent;

    background: transparent;

    color: var(--text-muted);

    font-family: var(--font-main);

    font-size: 8px;

    cursor: pointer;

    transition:
        color 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease;
}

.theme-button:hover,
.theme-button.active {

    border-color: var(--border);

    color: var(--text);

    background:
        rgba(255, 255, 255, 0.05);
}

/* ================================================= */
/* FOOTER */
/* ================================================= */

.site-footer {

    position: relative;

    z-index: 2;

    width: min(
        100%,
        1200px
    );

    margin:
        0 auto;

    padding:
        25px 30px 35px;

    border-top:
        1px solid var(--border);

    color: var(--text-muted);

    font-size: 9px;

    letter-spacing: 1px;

    text-align: center;
}

.site-footer span {

    color: var(--text);
}

/* ================================================= */
/* ІНТЕРАКТИВНІ ДЕМОНСТРАЦІЇ */
/* ================================================= */

body.demo-is-open {

    overflow: hidden;
}

.demo-overlay {

    position: fixed;

    inset: 0;

    z-index: 1000;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 30px;

    background:
        rgba(0, 0, 0, 0.82);

    backdrop-filter: blur(8px);

    opacity: 0;

    visibility: hidden;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.demo-overlay.is-visible {

    opacity: 1;

    visibility: visible;
}

.demo-window {

    width: 100%;

    max-width: 1200px;

    max-height: 90vh;

    display: flex;

    flex-direction: column;

    overflow: hidden;

    border:
        1px solid var(--border-hover);

    background: var(--bg);

    color: var(--text);

    box-shadow:
        0 0 0 1px var(--border),
        0 25px 80px rgba(0, 0, 0, 0.5);

    transform:
        translateY(20px)
        scale(0.97);

    transition:
        transform 0.35s ease;
}

.demo-overlay.is-visible
.demo-window {

    transform:
        translateY(0)
        scale(1);
}

.demo-topbar {

    min-height: 52px;

    display: grid;

    grid-template-columns:
        150px
        1fr
        50px;

    align-items: center;

    border-bottom:
        1px solid var(--border);

    padding:
        0 15px;
}

.demo-topbar__left {

    display: flex;

    align-items: center;

    gap: 7px;
}

.demo-dot {

    width: 9px;

    height: 9px;

    border:
        1px solid var(--border-hover);

    border-radius: 50%;
}

.demo-address {

    justify-self: center;

    color: var(--text-muted);

    font-size: 10px;

    letter-spacing: 1px;
}

.demo-close {

    width: 35px;

    height: 35px;

    justify-self: end;

    border:
        1px solid var(--border);

    background: transparent;

    color: var(--text);

    font-family: var(--font-main);

    font-size: 20px;

    line-height: 1;

    cursor: pointer;

    transition:
        border-color 0.3s ease,
        background 0.3s ease;
}

.demo-close:hover {

    border-color: var(--border-hover);

    background:
        rgba(255, 255, 255, 0.05);
}

.demo-content {

    overflow-y: auto;

    padding:
        35px;
}

.demo-label {

    margin-bottom: 10px;

    color: var(--text-muted);

    font-size: 10px;

    letter-spacing: 2px;
}

.demo-counter {

    margin-bottom: 25px;

    color: var(--text-muted);

    font-size: 9px;
}

/* ================================================= */
/* LANDING PAGE */
/* ================================================= */

.landing-demo {

    border:
        1px solid var(--border);
}

.landing-nav {

    min-height: 65px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding:
        0 25px;

    border-bottom:
        1px solid var(--border);
}

.landing-nav strong {

    font-family: var(--font-pixel);

    font-size: 11px;
}

.landing-nav span {

    color: var(--text-muted);

    font-size: 10px;
}

.landing-hero {

    min-height: 360px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    padding:
        50px 25px;

    text-align: center;

    border-bottom:
        1px solid var(--border);
}

.landing-hero > span {

    margin-bottom: 20px;

    color: var(--text-muted);

    font-size: 10px;

    letter-spacing: 2px;
}

.landing-hero h2 {

    max-width: 700px;

    margin-bottom: 20px;

    font-family: var(--font-pixel);

    font-size: clamp(
        20px,
        4vw,
        38px
    );

    line-height: 1.6;
}

.landing-hero p {

    max-width: 500px;

    margin-bottom: 30px;

    color: var(--text-muted);

    font-size: 12px;

    line-height: 1.8;
}

.fake-button {

    min-height: 50px;

    padding:
        0 25px;

    border:
        1px solid var(--border-hover);

    background: transparent;

    color: var(--text);

    font-family: var(--font-main);

    font-size: 10px;

    cursor: pointer;

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

.fake-button:hover {

    background:
        rgba(255, 255, 255, 0.08);

    transform:
        translateX(4px);
}

.landing-sections {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);
}

.landing-sections > div {

    min-height: 130px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    padding:
        20px;

    border-right:
        1px solid var(--border);
}

.landing-sections > div:last-child {

    border-right: 0;
}

.landing-sections span {

    color: var(--text-muted);

    font-size: 10px;
}

.landing-sections strong {

    font-size: 11px;
}

.landing-bottom {

    min-height: 50px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding:
        0 20px;

    border-top:
        1px solid var(--border);

    color: var(--text-muted);

    font-size: 8px;

    letter-spacing: 1px;
}

/* ================================================= */
/* BUSINESS */
/* ================================================= */

.business-demo {

    border:
        1px solid var(--border);
}

.business-nav {

    min-height: 65px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding:
        0 20px;

    border-bottom:
        1px solid var(--border);
}

.business-nav strong {

    font-family: var(--font-pixel);

    font-size: 10px;
}

.business-nav > div {

    display: flex;

    gap: 5px;
}

.business-nav-button {

    padding:
        10px;

    border:
        1px solid transparent;

    background: transparent;

    color: var(--text-muted);

    font-family: var(--font-main);

    font-size: 9px;

    cursor: pointer;

    transition:
        color 0.3s ease,
        border-color 0.3s ease;
}

.business-nav-button:hover,
.business-nav-button.active {

    color: var(--text);

    border-color:
        var(--border);
}

.business-page {

    min-height: 420px;

    display: none;

    flex-direction: column;

    justify-content: center;

    padding:
        50px;
}

.business-page.active {

    display: flex;

    animation:
        demoPageIn 0.3s ease;
}

@keyframes demoPageIn {

    from {

        opacity: 0;

        transform:
            translateY(10px);
    }

    to {

        opacity: 1;

        transform:
            translateY(0);
    }
}

.business-page > span {

    margin-bottom: 20px;

    color: var(--text-muted);

    font-size: 10px;

    letter-spacing: 2px;
}

.business-page h2 {

    max-width: 750px;

    margin-bottom: 20px;

    font-family: var(--font-pixel);

    font-size: clamp(
        18px,
        3vw,
        30px
    );

    line-height: 1.7;
}

.business-page p {

    max-width: 650px;

    margin-bottom: 30px;

    color: var(--text-muted);

    font-size: 13px;

    line-height: 1.8;
}

.business-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 10px;

    margin-top: 15px;
}

.business-grid div {

    min-height: 100px;

    display: flex;

    align-items: flex-end;

    padding:
        15px;

    border:
        1px solid var(--border);

    color: var(--text-muted);

    font-size: 10px;
}

.business-info-line {

    display: flex;

    flex-wrap: wrap;

    gap: 10px;
}

.business-info-line span {

    padding:
        15px 20px;

    border:
        1px solid var(--border);

    font-size: 10px;
}

.business-service-list {

    display: flex;

    flex-direction: column;

    gap: 8px;

    max-width: 700px;
}

.business-service-list div {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding:
        18px;

    border:
        1px solid var(--border);

    font-size: 11px;
}

.business-structure {

    min-height: 55px;

    display: flex;

    align-items: center;

    gap: 12px;

    padding:
        0 20px;

    border-top:
        1px solid var(--border);

    color: var(--text-muted);

    font-size: 9px;
}

/* ================================================= */
/* E-COMMERCE */
/* ================================================= */

.commerce-demo {

    border:
        1px solid var(--border);
}

.commerce-nav {

    min-height: 65px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding:
        0 20px;

    border-bottom:
        1px solid var(--border);
}

.commerce-nav strong {

    font-family: var(--font-pixel);

    font-size: 10px;
}

.commerce-nav > div {

    display: flex;

    gap: 5px;
}

.commerce-nav-button {

    padding:
        10px 12px;

    border:
        1px solid transparent;

    background: transparent;

    color: var(--text-muted);

    font-family: var(--font-main);

    font-size: 9px;

    cursor: pointer;
}

.commerce-nav-button:hover,
.commerce-nav-button.active {

    color: var(--text);

    border-color:
        var(--border);
}

.cart-count {

    margin-left: 5px;
}

.commerce-page {

    display: none;

    min-height: 420px;

    padding:
        40px;
}

.commerce-page.active {

    display: block;

    animation:
        demoPageIn 0.3s ease;
}

.commerce-heading {

    margin-bottom: 30px;
}

.commerce-heading span {

    color: var(--text-muted);

    font-size: 10px;

    letter-spacing: 2px;
}

.commerce-heading h2 {

    margin-top: 12px;

    font-family: var(--font-pixel);

    font-size: 24px;
}

.product-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 12px;
}

.product-card {

    display: flex;

    flex-direction: column;

    gap: 12px;

    padding:
        15px;

    border:
        1px solid var(--border);
}

.product-image {

    min-height: 170px;

    display: flex;

    align-items: center;

    justify-content: center;

    border:
        1px solid var(--border);

    color: var(--text-muted);

    font-size: 10px;
}

.product-card strong {

    font-size: 11px;
}

.product-card > span {

    color: var(--text-muted);

    font-size: 12px;
}

.add-product {

    min-height: 40px;

    margin-top: auto;

    border:
        1px solid var(--border);

    background: transparent;

    color: var(--text);

    font-family: var(--font-main);

    font-size: 9px;

    cursor: pointer;

    transition:
        border-color 0.3s ease,
        background 0.3s ease;
}

.add-product:hover {

    border-color:
        var(--border-hover);

    background:
        rgba(255, 255, 255, 0.06);
}

.cart-items {

    display: flex;

    flex-direction: column;

    gap: 8px;

    margin-bottom: 25px;
}

.empty-cart {

    padding:
        40px 20px;

    border:
        1px dashed var(--border);

    color: var(--text-muted);

    text-align: center;

    font-size: 11px;
}

.cart-item {

    min-height: 60px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding:
        0 18px;

    border:
        1px solid var(--border);

    font-size: 11px;
}

.cart-total {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding:
        20px 0;

    border-top:
        1px solid var(--border);

    border-bottom:
        1px solid var(--border);

    margin-bottom: 20px;
}

.cart-total span {

    color: var(--text-muted);

    font-size: 10px;
}

.cart-total strong {

    font-size: 15px;
}

.checkout-button {

    margin-top: 5px;
}

.commerce-flow {

    min-height: 55px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    padding:
        0 15px;

    border-top:
        1px solid var(--border);

    color: var(--text-muted);

    font-size: 9px;

    letter-spacing: 1px;
}

/* ================================================= */
/* CUSTOM */
/* ================================================= */

.custom-demo {

    border:
        1px solid var(--border);
}

.custom-header {

    padding:
        45px;

    border-bottom:
        1px solid var(--border);
}

.custom-header > span {

    color: var(--text-muted);

    font-size: 10px;

    letter-spacing: 2px;
}

.custom-header h2 {

    max-width: 700px;

    margin:
        20px 0;

    font-family: var(--font-pixel);

    font-size: clamp(
        18px,
        3vw,
        30px
    );

    line-height: 1.7;
}

.custom-header p {

    max-width: 600px;

    color: var(--text-muted);

    font-size: 13px;

    line-height: 1.8;
}

.custom-flow {

    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    border-bottom:
        1px solid var(--border);
}

.custom-step {

    min-height: 90px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    padding:
        15px;

    border: 0;

    border-right:
        1px solid var(--border);

    background: transparent;

    color: var(--text-muted);

    font-family: var(--font-main);

    font-size: 10px;

    text-align: left;

    cursor: pointer;

    transition:
        color 0.3s ease,
        background 0.3s ease;
}

.custom-step:last-child {

    border-right: 0;
}

.custom-step:hover,
.custom-step.active {

    background:
        rgba(255, 255, 255, 0.04);

    color: var(--text);
}

.custom-step span {

    font-size: 9px;
}

.custom-preview {

    min-height: 260px;

    position: relative;
}

.custom-preview-item {

    display: none;

    min-height: 260px;

    padding:
        45px;

    flex-direction: column;

    justify-content: center;
}

.custom-preview-item.active {

    display: flex;

    animation:
        demoPageIn 0.3s ease;
}

.custom-preview-item > span {

    margin-bottom: 15px;

    color: var(--text-muted);

    font-size: 10px;

    letter-spacing: 2px;
}

.custom-preview-item h3 {

    margin-bottom: 15px;

    font-family: var(--font-pixel);

    font-size: 17px;

    line-height: 1.7;
}

.custom-preview-item p {

    max-width: 650px;

    color: var(--text-muted);

    font-size: 13px;

    line-height: 1.8;
}

.custom-terminal {

    min-height: 55px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    padding:
        0 15px;

    border-top:
        1px solid var(--border);

    color: var(--text-muted);

    font-size: 9px;

    letter-spacing: 1px;
}

/* ================================================= */
/* АДАПТАЦІЯ ОСНОВНОГО САЙТУ */
/* ================================================= */

@media (max-width: 700px) {

    .hero {

        min-height: calc(100vh - 60px);

        padding:
            70px 15px 40px;
    }

    .hero__header {

        margin-bottom: 45px;
    }

    .hero__status {

        margin-bottom: 20px;
    }

    .hero__status h4 {

        font-size: 8px;
    }

    .hero__title {

        font-size:
            clamp(16px, 7vw, 28px);
    }

    .theme-switcher {

        top: 12px;

        right: 12px;
    }

    .home-link {

        min-height: 80px;

        grid-template-columns:
            30px
            40px
            1fr
            30px;

        gap: 10px;

        padding:
            12px 10px;
    }

    .home-link__icon {

        width: 30px;

        height: 30px;

        font-size: 11px;
    }

    .home-link__title {

        font-size: 11px;

        line-height: 1.6;
    }

    .home-link__description {

        font-size: 10px;

        line-height: 1.6;
    }

    .home-link__number {

        font-size: 9px;
    }

    .home-link__arrow {

        font-size: 16px;
    }

    .home-panel__inner {

        padding-left: 10px;

        padding-right: 10px;
    }

    .home-item.is-open
    .home-panel__inner {

        padding:
            5px 10px 25px;
    }

    .panel-label {

        font-size: 10px;
    }

    .home-panel__inner h3 {

        font-size: 16px;

        line-height: 1.7;
    }

    .home-panel__inner > p {

        font-size: 14px;

        line-height: 1.8;
    }

    .service-card {

        grid-template-columns:
            30px
            1fr
            25px;

        gap: 10px;

        padding:
            12px;
    }

    .service-card__content strong {

        font-size: 10px;
    }

    .service-card__content small {

        font-size: 10px;

        line-height: 1.6;
    }

    .service-detail {

        padding:
            20px 10px;
    }

    .service-detail__label {

        font-size: 9px;
    }

    .service-detail h4 {

        font-size: 14px;

        line-height: 1.7;
    }

    .service-detail > p {

        font-size: 14px;

        line-height: 1.8;
    }

    .service-detail__columns {

        grid-template-columns:
            1fr;

        gap: 10px;
    }

    .service-detail__columns span {

        font-size: 10px;
    }

    .service-detail__columns li {

        font-size: 13px;

        line-height: 1.7;
    }

    .service-demo {

        width: 100%;

        justify-content: space-between;

        font-size: 9px;
    }

    .price-item {

        align-items: flex-start;

        flex-direction: column;

        gap: 12px;

        padding:
            15px;
    }

    .price-item strong {

        font-size: 12px;
    }

    .price-item small {

        font-size: 11px;
    }

    .price-item > span {

        font-size: 11px;
    }

    .panel-note {

        font-size: 11px;
    }

    /* ================================================= */
    /* АДАПТАЦІЯ КОНТАКТІВ */
    /* ================================================= */

    .contact-system {

        padding:
            5px 0;
    }

    .contact-system__status {

        max-width: 100%;

        margin-bottom: 18px;
    }

    .contact-system__row {

        min-height: 50px;

        gap: 12px;

        padding:
            10px 12px;

        font-size: 9px;

        flex-wrap: wrap;
    }

    .contact-system__row strong {

        gap: 7px;
    }

    .contact-system__row strong::before {

        width: 7px;

        height: 7px;
    }

    .contact-telegram {

        max-width: 100%;

        min-height: 70px;

        gap: 10px;

        padding:
            15px;
    }

    .contact-telegram__number {

        font-size: 9px;
    }

    .contact-telegram__content strong {

        font-size: 9px;
    }

    .contact-telegram__content small {

        font-size: 9px;
    }

    .contact-telegram__arrow {

        font-size: 17px;
    }

    .panel-terminal {

        font-size: 9px;
    }

    .site-footer {

        padding:
            20px 15px 30px;

        font-size: 8px;
    }

    /* ================================================= */
    /* АДАПТАЦІЯ ДЕМО */
    /* ================================================= */

    .demo-overlay {

        padding: 10px;
    }

    .demo-window {

        max-height: 95vh;
    }

    .demo-topbar {

        grid-template-columns:
            80px
            1fr
            45px;
    }

    .demo-address {

        font-size: 8px;
    }

    .demo-content {

        padding:
            20px 12px;
    }

    .landing-sections {

        grid-template-columns:
            1fr;
    }

    .landing-sections > div {

        min-height: 80px;

        border-right: 0;

        border-bottom:
            1px solid var(--border);
    }

    .landing-sections > div:last-child {

        border-bottom: 0;
    }

    .landing-bottom {

        flex-direction: column;

        align-items: flex-start;

        justify-content: center;

        gap: 7px;

        padding:
            12px 15px;
    }

    .business-nav {

        align-items: flex-start;

        flex-direction: column;

        padding: 15px;
    }

    .business-nav > div {

        width: 100%;

        overflow-x: auto;
    }

    .business-nav-button {

        white-space: nowrap;
    }

    .business-page {

        min-height: 380px;

        padding:
            30px 20px;
    }

    .business-page p {

        font-size: 13px;
    }

    .business-grid {

        grid-template-columns:
            1fr;
    }

    .business-structure {

        overflow-x: auto;

        white-space: nowrap;

        justify-content: flex-start;
    }

    .commerce-nav {

        align-items: flex-start;

        flex-direction: column;

        gap: 12px;

        padding: 15px;
    }

    .commerce-page {

        padding:
            25px 15px;
    }

    .product-grid {

        grid-template-columns:
            1fr;
    }

    .product-image {

        min-height: 130px;
    }

    .commerce-flow {

        overflow-x: auto;

        justify-content: flex-start;

        white-space: nowrap;
    }

    .custom-header {

        padding:
            30px 20px;
    }

    .custom-header p {

        font-size: 13px;
    }

    .custom-flow {

        grid-template-columns:
            repeat(
                5,
                minmax(100px, 1fr)
            );

        overflow-x: auto;
    }

    .custom-step {

        min-width: 100px;
    }

    .custom-preview-item {

        padding:
            30px 20px;
    }

    .custom-preview-item p {

        font-size: 13px;
    }

    .custom-terminal {

        overflow-x: auto;

        justify-content: flex-start;

        white-space: nowrap;
    }
}

/* ================================================= */
/* ДЛЯ ДУЖЕ МАЛИХ ЕКРАНІВ */
/* ================================================= */

@media (max-width: 450px) {

    .hero {

        padding:
            65px 10px 35px;
    }

    .hero__title {

        font-size: 15px;
    }

    .home-link {

        grid-template-columns:
            25px
            32px
            1fr
            20px;

        gap: 7px;

        padding:
            10px 7px;
    }

    .home-link__icon {

        width: 28px;

        height: 28px;
    }

    .home-link__title {

        font-size: 10px;
    }

    .home-link__description {

        font-size: 9px;
    }

    .home-panel__inner h3 {

        font-size: 14px;
    }

    .home-panel__inner > p {

        font-size: 14px;

        line-height: 1.8;
    }

    .service-card {

        grid-template-columns:
            25px
            1fr
            20px;

        padding:
            10px;
    }

    .service-card__content strong {

        font-size: 9px;
    }

    .service-card__content small {

        font-size: 9px;
    }

    .service-detail {

        padding:
            20px 8px;
    }

    .service-detail h4 {

        font-size: 12px;
    }

    .service-detail > p {

        font-size: 14px;

        line-height: 1.8;
    }

    .service-detail__columns span {

        font-size: 9px;
    }

    .service-detail__columns li {

        font-size: 13px;

        line-height: 1.7;
    }

    .service-demo {

        font-size: 8px;
    }

    .price-item strong {

        font-size: 11px;
    }

    .price-item small {

        font-size: 10px;
    }

    .price-item > span {

        font-size: 10px;
    }

    .panel-note {

        font-size: 10px;
    }

    .contact-link {

        font-size: 10px;
    }

    /* ================================================= */
    /* КОНТАКТИ НА ДУЖЕ МАЛИХ ЕКРАНАХ */
    /* ================================================= */

    .contact-system__row {

        min-height: 48px;

        gap: 8px;

        font-size: 8px;
    }

    .contact-system__row strong {

        gap: 6px;

        font-size: 8px;
    }

    .contact-system__row strong::before {

        width: 6px;

        height: 6px;
    }

    .contact-telegram {

        min-height: 68px;

        gap: 7px;

        padding:
            12px 10px;
    }

    .contact-telegram__number {

        font-size: 8px;
    }

    .contact-telegram__content {

        gap: 4px;
    }

    .contact-telegram__content strong {

        font-size: 8px;
    }

    .contact-telegram__content small {

        font-size: 8px;
    }

    .contact-telegram__arrow {

        font-size: 15px;
    }

    /* ================================================= */
    /* ДЕМО */
    /* ================================================= */

    .demo-topbar {

        grid-template-columns:
            65px
            1fr
            40px;
    }

    .demo-topbar__left {

        gap: 4px;
    }

    .demo-dot {

        width: 7px;

        height: 7px;
    }

    .demo-address {

        font-size: 7px;
    }

    .demo-close {

        width: 30px;

        height: 30px;

        font-size: 17px;
    }

    .landing-hero {

        min-height: 300px;

        padding:
            35px 15px;
    }

    .landing-hero h2 {

        font-size: 18px;
    }

    .landing-hero p {

        font-size: 11px;
    }

    .business-page h2 {

        font-size: 15px;
    }

    .business-page p {

        font-size: 12px;
    }

    .commerce-heading h2 {

        font-size: 18px;
    }

    .product-card strong {

        font-size: 10px;
    }

    .custom-header h2 {

        font-size: 16px;
    }

    .custom-header p {

        font-size: 12px;
    }

    .custom-preview-item h3 {

        font-size: 13px;
    }

    .custom-preview-item p {

        font-size: 12px;
    }
}