:root {
    --font-heading: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

    /* Цветовой вариант 4: soft deep blue.
       Синий темнее и мягче: меньше яркости, больше enterprise-ощущения. */
    /*--bg: #f4f7fc;*/
    /*--bg-soft: #edf3fb;*/
    /*--card: #ffffff;*/
    /*--text: #0f172a;*/
    /*--muted: #5f6f86;*/
    /*--muted-2: #91a0b5;*/
    /*--line: #dde6f0;*/

    /*--primary: #355c9a;*/
    /*--primary-dark: #27467d;*/
    /*--primary-soft: #e8f0fb;*/

    /*--green: #22c55e;*/
    /*--green-soft: #eaf8ef;*/
    /*--orange: #f59e0b;*/
    /*--orange-soft: #fff4dd;*/
    /*--red: #ef4444;*/
    /*--red-soft: #ffeded;*/
    /*--violet: #5b6fd6;*/
    /*--violet-soft: #edf0ff;*/

    /*--radius-sm: 12px;*/
    /*--radius: 20px;*/
    /*--radius-lg: 28px;*/
    /*--shadow: 0 18px 45px rgba(39, 70, 125, 0.08);*/
    /*--shadow-soft: 0 12px 30px rgba(39, 70, 125, 0.06);*/


    --bg: #f5f7ff;
    --bg-soft: #d2d6dc;
    --card: #ffffff;
    --text: #111827;
    --muted: #64748b;
    --muted-2: #94a3b8;
    --line: #e2e8f0;

    --primary: #5850ec;
    --primary-dark: #4943b5;
    --primary-soft: #eaf2ff;

    --heading: #4f5665;
    --heading-soft: #2F4675;

    --green: #22c55e;
    --green-soft: #e9f9ef;
    --orange: #f59e0b;
    --orange-soft: #fff4dd;
    --red: #ef4444;
    --red-soft: #ffeded;
    --violet: #6366f1;
    --violet-soft: #eef2ff;

    --radius-sm: 12px;
    --radius: 20px;
    --radius-lg: 28px;
    --shadow: 0 18px 45px rgba(30, 64, 175, 0.08);
    --shadow-soft: 0 12px 30px rgba(30, 64, 175, 0.06);

    --container: 1440px;
    --border: #e3e3e3
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.page {
    overflow: hidden;
}

.container {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
}

.nav {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(246, 248, 252, 0.82);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.nav__inner {
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.025em;
}

.brand__logo {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), #6f8fc5);
    display: grid;
    place-items: center;
    color: #fff;
    box-shadow: 0 10px 24px rgba(53, 92, 154, 0.24);
}

.brand__logo svg {
    width: 21px;
    height: 21px;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 24px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
}

.nav__links a:hover {
    color: var(--primary);
}

.nav__actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn {
    border: 0;
    border-radius: 14px;
    height: 46px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    cursor: pointer;
    font-weight: 800;
    font-size: 14px;
    transition: 0.2s ease;
    white-space: nowrap;
    line-height: 0 !important;
}

.btn--primary {
    color: #fff;
    background: var(--primary);
    box-shadow: 0 12px 26px rgba(53, 92, 154, 0.24);
}

.btn--primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn--ghost {
    background: var(--card);
    color: var(--text);
    border: 1px solid var(--line);
}

.btn--ghost:hover {
    border-color: #c9d9ef;
    transform: translateY(-1px);
}

.hero {
    position: relative;
    padding: 74px 0 52px;
}

.first-section{
    min-height: calc(100vh - 75px);
    display: flex;
    margin: 0;
}

.hero::before {
    content: "";
    position: absolute;
    inset: -120px -120px auto auto;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(53, 92, 154, 0.17), transparent 64%);
    pointer-events: none;

}

.hero::after {
    content: "";
    position: absolute;
    left: -160px;
    top: 180px;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(91, 111, 214, 0.11), transparent 65%);
    pointer-events: none;
}

.aurora {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.aurora span {
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 999px;
    filter: blur(34px);
    opacity: 0.45;
    animation: floatAurora 12s ease-in-out infinite alternate;
}

.aurora span:nth-child(1) {
    right: 12%;
    top: 9%;
    background: rgba(53, 92, 154, 0.28);
}

.aurora span:nth-child(2) {
    left: 9%;
    top: 40%;
    background: rgba(59, 130, 246, 0.23);
    animation-delay: -4s;
}

.aurora span:nth-child(3) {
    right: 34%;
    bottom: -8%;
    background: rgba(111, 143, 197, 0.26);
    animation-delay: -7s;
}

@keyframes floatAurora {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(38px, -28px, 0) scale(1.12); }
}

.hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 0.94fr 1.06fr;
    align-items: center;
    gap: 42px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border: 1px solid #e8f0fb;
    background: rgba(255, 255, 255, 0.78);
    color: var(--primary);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    box-shadow: var(--shadow-soft);
    margin-bottom: 18px;
}

.eyebrow__dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--green);
    box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.13);
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3,
.btn,
.eyebrow,
.section__kicker,
.hero__point strong,
.tab,
.badge {
    font-family: var(--font-heading);
}

h1 {
    font-size: 46px;
    line-height: 1.1;
    letter-spacing: -0.055em;
    margin-bottom: 22px;
    font-weight: 800;
    color:  var(--heading-soft);
    text-align: justify;
    text-indent: 40px;
}
h2{
    color:  var(--heading);
}
.hero__lead {
    font-size: 20px;
    color: var(--muted);
    max-width: 650px;
    margin-bottom: 28px;
    font-weight: 500;
    text-align: justify;
    text-indent: 40px;
}

.hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.hero__points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 680px;

}

.hero__point {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 12px 14px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    text-align: justify;
    position: relative;
}
.hero__point-header{
    display: flex;
    gap: 10px;
    padding-bottom: 10px;
}
.hero__point-header span{
    min-width: 30px;
    min-height: 30px;
    width: 30px;
    height: 30px;
    background: #eaf2ff;
    color: #6a64ee;
    line-height: 0;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: -10px;
    font-size: 18px;
    right: -8px;
    margin: 0 auto;
    border: 1px solid #e0e0e0;
}

.hero__point strong {
    color: var(--text);
    display: block;
    font-size: 16px;
    line-height: 1.2;
    margin-bottom: 2px;
    text-align: left;
}

.screen-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 14px;
    /*transform: rotate(0.5deg);*/
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    will-change: transform;
    box-shadow: 10px 10px 20px #bbb;
    cursor: pointer;
}

.screen-card:hover {
    /*box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);*/
}

.floating-chip {
    position: absolute;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    padding: 10px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.12);
    color: var(--text);
    font-size: 13px;
    font-weight: 900;
    backdrop-filter: blur(12px);
    animation: floatChip 5s ease-in-out infinite;
}

.floating-chip svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

.floating-chip--one {
    left: -22px;
    top: 78px;
}

.floating-chip--two {
    right: -18px;
    top: 100px;
    animation-delay: -1.6s;
}

.floating-chip--three {
    left: 44px;
    bottom: -18px;
    animation-delay: -3.1s;
}

@keyframes floatChip {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.screen-card__before {
    content: "";
    position: absolute;
    inset: 30px -18px -18px 30px;
    border-radius: var(--radius-lg);
    background: rgba(53, 92, 154, 0.08);
    z-index: -1;
}

.browser-bar {
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    padding: 0 10px 12px;
    margin-bottom: 14px;
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #dbe3ef;
}

.browser-url {
    height: 24px;
    width: 44%;
    border-radius: 999px;
    background: var(--bg);
}

 .dashboard-preview {
    position: relative;
    border-radius: 20px;
}

.dashboard-shot {
    position: relative;
    border-radius: 20px;
    border: 1px solid var(--line);
    overflow: hidden;
    background: var(--bg);
    aspect-ratio: 1682 / 1211;
    cursor: zoom-in;
    isolation: isolate;
}

.dashboard-shot::after {
    content: "Нажмите, чтобы открыть";
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 2;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.72);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 800;
    opacity: 0;
    transform: translateY(8px);
    transition: 0.2s ease;
    pointer-events: none;
}

.dashboard-shot:hover::after,
.dashboard-shot:focus-visible::after {
    opacity: 1;
    transform: translateY(0);
}

.dashboard-shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left top;
    transition: transform 0.32s ease, filter 0.32s ease;
}

.dashboard-shot:hover img {
    transform: scale(1.012);
    filter: saturate(1.03) contrast(1.015);
}

.hotspot {
    position: absolute;
    z-index: 3;
    border: 2px solid rgb(53 92 154 / 33%);
    background: rgba(53, 92, 154, 0.06);
    border-radius: 16px;
    cursor: pointer;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.38), 0 8px 26px rgba(53, 92, 154, 0.08);
    transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.hotspot:hover,
.hotspot:focus-visible {
    background: rgba(53, 92, 154, 0.12);
    border-color: var(--primary);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.48), 0 14px 34px rgba(53, 92, 154, 0.18);
    transform: translateY(-1px);
    outline: none;
}

.hotspot::after {
    content: attr(data-label);
    position: absolute;
    left: 12px;
    top: -39px;
    background: var(--text);
    color: #fff;
    border-radius: 999px;
    padding: 8px 11px;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
    transition: 0.18s ease;
}

.hotspot:hover::after,
.hotspot:focus-visible::after {
    opacity: 1;
    transform: translateY(0);
}

.hotspot--sidebar {
    left: 0.2%;
    top: 0.9%;
    width: 12.2%;
    height: 98.8%;
}

.hotspot--kpi {
    left: 13.6%;
    top: 17.4%;
    width: 85.1%;
    height: 11.3%;
}

.hotspot--meetings {
    left: 13.7%;
    top: 30%;
    width: 58.1%;
    height: 36.2%;
}

.hotspot--today {
    left: 73%;
    top: 30%;
    width: 26%;
    height: 36.2%;
}

.hotspot--overdue {
    left: 13.7%;
    top: 67.8%;
    width: 30%;
    height: 31.8%;
}

.hotspot--processing {
    left: 44.3%;
    top: 67.8%;
    width: 23.9%;
    height: 31.8%;
}

.hotspot--activity {
    left: 68.8%;
    top: 67.8%;
    width: 30.4%;
    height: 31.8%;
}

.dashboard-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.24s ease, visibility 0.24s ease;
}

.dashboard-lightbox.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.dashboard-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(14px);
}

.dashboard-lightbox__panel {
    position: relative;
    z-index: 1;
    width: min(96vw, 1540px);
    max-height: 94vh;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.52);
    box-shadow: 0 35px 90px rgba(2, 6, 23, 0.36);
    padding: 14px;
    transform: translateY(18px) scale(0.96);
    transition: transform 0.28s cubic-bezier(.2,.8,.2,1);
}

.dashboard-lightbox.is-open .dashboard-lightbox__panel {
    transform: translateY(0) scale(1);
}

.dashboard-lightbox__top {
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 4px 12px 10px;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--text);
}

.dashboard-lightbox__close {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 12px;
    background: var(--primary-soft);
    color: var(--primary-dark);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    transition: 0.18s ease;
}

.dashboard-lightbox__close:hover {
    background: var(--primary);
    color: #fff;
}

.dashboard-lightbox__body .dashboard-preview {
    width: min(100%, calc((94vh - 82px) * 1.388));
    margin: 0 auto;
}

.dashboard-lightbox__body .dashboard-shot {
    border-radius: 18px;
    cursor: default;
}

.dashboard-lightbox__body .dashboard-shot::after {
    display: none;
}

.dashboard-lightbox__body .dashboard-shot:hover img {
    transform: none;
    filter: none;
}

body.is-lightbox-open {
    overflow: hidden;
}

.section {
    padding: 72px 0;
}

.section--white {
    background: #fff;
}

.section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 30px;
}

.section__kicker {
    color: var(--primary);
    font-weight: 900;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

h2 {
    font-size: clamp(32px, 3.6vw, 48px);
    line-height: 1.08;
    letter-spacing: -0.045em;
    margin-bottom: 12px;
    font-weight: 800;
}

.section__lead {
    color: var(--muted);
    font-size: 18px;
    max-width: 760px;
    margin-bottom: 0;
}

.cards-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow-soft);
}

.card__icon {
    width: 46px;
    height: 46px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    font-weight: 900;
    color: var(--primary);
    background: var(--primary-soft);
    transition: transform 0.2s ease, background 0.2s ease;
    float: left;
    margin-right: 20px;
}

.card__icon svg,
.step__icon svg,
.check svg {
    width: 22px;
    height: 22px;
}

.card:hover .card__icon,
.matrix-card:hover .card__icon {
    transform: translateY(-3px) rotate(-4deg);
    background: #e8f0fb;
}
.capability-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.card h3 {
    margin-bottom: 8px;
    font-size: 18px;
    letter-spacing: -0.025em;
    font-weight: 800;
    float: unset;
    line-height: 1.25;
}
.capability-grid  h3{
    padding-top: 11px;
}
.card p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    clear: both;
}

.workflow {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    counter-reset: step;
}

.step {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    min-height: 190px;
}

.step::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    right: 18px;
    top: 18px;
    width: 30px;
    height: 30px;
    border-radius: 11px;
    background: var(--primary);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 13px;
}

.step__icon {
    width: 46px;
    height: 46px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    margin-bottom: 24px;
    color: var(--primary);
    background: var(--primary-soft);
    animation: pulseIcon 2.6s ease-in-out infinite;
    float: left;
    margin-right: 20px;
}

.step:nth-child(2) .step__icon { animation-delay: -0.4s; }
.step:nth-child(3) .step__icon { animation-delay: -0.8s; }
.step:nth-child(4) .step__icon { animation-delay: -1.2s; }
.step:nth-child(5) .step__icon { animation-delay: -1.6s; }

@keyframes pulseIcon {
    0%, 100% { box-shadow: 0 0 0 0 rgba(53, 92, 154, 0.13); }
    50% { box-shadow: 0 0 0 10px rgba(37, 99, 235, 0); }
}

.step:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -12px;
    top: 38px;
    width: 24px;
    height: 2px;
    background: #c5d2ea;
    z-index: 1;
}

.step h3 {
    font-size: 16px;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
    font-weight: 800;
}

.step p {
    color: var(--muted);
    font-size: 14px;
    margin: 0;
}

.split {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 30px;
    align-items: center;
}
.baseline{
    align-items: baseline;
}
.split.baseline>div{
    height: 100%;
}

.feature-list {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.feature-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px;
}

.check {
    width: 25px;
    height: 25px;
    border-radius: 9px;
    background: var(--green-soft);
    color: var(--green);
    display: grid;
    place-items: center;
    font-weight: 900;
    flex: 0 0 auto;
}

.feature-row strong {
    display: block;
    margin-bottom: 2px;
}

.feature-row span {
    color: var(--muted);
    font-size: 14px;
}

.video-box {
    background: #08111f;
    color: #fff;
    border-radius: var(--radius-lg);
    min-height: 430px;
    padding: 28px;
    display: grid;
    align-content: space-between;
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
    padding-top: 20px;
    margin-top: 25px;
}

.video-box::before {
    content: "";
    position: absolute;
    inset: -40% -20% auto auto;
    width: 430px;
    height: 430px;
    background: radial-gradient(circle, rgba(53, 92, 154, 0.44), transparent 65%);
}

.video-box__top,
.video-box__bottom {
    position: relative;
    z-index: 1;
}

.video-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #c9d9ef;
    font-weight: 800;
    font-size: 14px;
    margin-bottom: 20px;
}

.play {
    position: relative;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: #fff;
    color: var(--primary);
    display: grid;
    place-items: center;
    font-size: 34px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: 0.2s ease;
}

.play::before,
.play::after {
    content: "";
    position: absolute;
    inset: -10px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: inherit;
    animation: playPulse 2.2s ease-out infinite;
}

.play::after {
    animation-delay: 1.1s;
}

@keyframes playPulse {
    from { transform: scale(0.92); opacity: 0.7; }
    to { transform: scale(1.35); opacity: 0; }
}

.play svg {
    width: 32px;
    height: 32px;
    margin-left: 4px;
}

.play:hover {
    transform: scale(1.04);
}

.video-timeline {
    height: 8px;
    background: rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    overflow: hidden;
    margin-top: 24px;
}

.video-timeline span {
    display: block;
    width: 44%;
    height: 100%;
    background: #fff;
    border-radius: inherit;
}

.tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.tab {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--muted);
    border-radius: 999px;
    padding: 10px 14px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.18s ease;
}

.tab.is-active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.result-panel {
    display: none;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-soft);
    min-height: 280px;
}

.result-panel.is-active {
    display: block;
}

.result-panel h3 {
    font-size: 24px;
    letter-spacing: -0.03em;
    margin-bottom: 14px;
    font-weight: 800;
}

.result-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.note {
    background: var(--bg);
    border-radius: 18px;
    padding: 18px;
    border: 1px solid var(--line);
}

.note strong {
    display: block;
    margin-bottom: 8px;
}

.note ul {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
}

.note li + li {
    margin-top: 6px;
}

.slider {
    position: relative;
}

.slider__viewport {
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.slider__track {
    display: flex;
    transition: transform 0.35s ease;
}

.slide {
    min-width: 100%;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 18px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 20px;
    align-items: center;
    box-shadow: var(--shadow-soft);
}

.slide__mock {
    min-height: 330px;
    background: linear-gradient(180deg, #f7faff, #edf3fb);
    border: 1px solid #d8e3ef;
    border-radius: 22px;
    padding: 18px;
}

.mock-header {
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.mock-title {
    width: 38%;
    height: 16px;
    background: #c5d2ea;
    border-radius: 999px;
}

.mock-pill {
    width: 94px;
    height: 30px;
    border-radius: 999px;
    background: #e8f0fb;
}

.mock-lines {
    display: grid;
    gap: 10px;
}

.mock-line {
    height: 14px;
    border-radius: 999px;
    background: #d5e0ee;
}

.mock-line:nth-child(2n) {
    width: 76%;
}

.mock-line:nth-child(3n) {
    width: 88%;
}

.mock-table {
    display: grid;
    gap: 9px;
    margin-top: 22px;
}

.mock-row {
    height: 44px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #d8e3ef;
    position: relative;
    overflow: hidden;
}

.mock-row::after,
.mock-line::after,
.mock-title::after,
.mock-pill::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.62), transparent);
    animation: shimmer 2.4s infinite;
}

.mock-line,
.mock-title,
.mock-pill {
    position: relative;
    overflow: hidden;
}

@keyframes shimmer {
    100% { transform: translateX(100%); }
}

.slide h3 {
    font-size: 28px;
    letter-spacing: -0.035em;
    margin-bottom: 10px;
    font-weight: 800;
}

.slide p {
    color: var(--muted);
    margin-bottom: 18px;
}

.tag-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    font-weight: 800;
    font-size: 12px;
    padding: 7px 10px;
}

.slider__controls {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
}

.dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    border: 0;
    background: #cbd5e1;
    cursor: pointer;
    transition: 0.18s ease;
}

.dot.is-active {
    width: 28px;
    background: var(--primary);
}

.matrix {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.matrix-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    min-height: 210px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card,
.step,
.matrix-card,
.feature-row {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover,
.step:hover,
.matrix-card:hover,
.feature-row:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.09);
    border-color: #c5d2ea;
}

.badge-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.badge {
    border-radius: 999px;
    padding: 6px 9px;
    font-size: 12px;
    font-weight: 900;
}

.badge--ready {
    color: #15803d;
    background: var(--green-soft);
}

.badge--custom {
    color: #7c3aed;
    background: var(--violet-soft);
}

.matrix-card h3 {
    font-size: 19px;
    margin-bottom: 8px;
    letter-spacing: -0.025em;
    font-weight: 800;
}

.matrix-card p {
    color: var(--muted);
    margin: 0;
    font-size: 15px;
}

.cta {
    padding: 82px 0;
}

.cta__box {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a, #27467d 52%, #5f7fb3);
    color: #fff;
    border-radius: 36px;
    padding: 54px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: center;
    box-shadow: var(--shadow);
}

.cta__box::after {
    content: "";
    position: absolute;
    right: -150px;
    top: -160px;
    width: 440px;
    height: 440px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent 64%);
}

.cta__box .btn--primary {
    border: 1px solid #ffffff50;
}
.cta__box h2 {
    max-width: 780px;
    margin-bottom: 12px;
    color: #fff;
}

.cta__box p {
    margin: 0;
    color: #cbd5e1;
    font-size: 18px;
    max-width: 760px;
}

.cta__actions {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.cta .btn--ghost {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

.footer {
    border-top: 1px solid var(--line);
    padding: 26px 0;
    color: var(--muted);
    font-size: 14px;
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: 0.6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.counter {
    display: inline-block;
    min-width: 1ch;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }
}

@media (max-width: 1100px) {
    .hero__grid,
    .split,
    .slide,
    .cta__box {
        grid-template-columns: 1fr;
    }

    .cards-4,
    .workflow,
    .matrix {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .step:not(:last-child)::after {
        display: none;
    }

    .nav__links {
        display: none;
    }
    .hero__lead{
        max-width: 100%;
    }
    .hero__points{
        margin: 0 auto;
    }
    h1{
        font-size: 2.5rem;
        text-align: center;
    }
    .hero__actions{
        justify-content: center;
        padding: 10px 20px 20px 20px;
    }
}

@media (max-width: 720px) {
    .container {
        width: min(100% - 24px, var(--container));
    }

    .nav__inner {
        height: 66px;
    }

    .nav__actions .btn--ghost {
        display: none;
    }

    .hero {
        padding-top: 44px;
    }

    .hero__points,
    .cards-4,
    .workflow,
    .matrix,
    .result-grid {
        grid-template-columns: 1fr;
    }

    .screen-card {
        padding: 9px;
        border-radius: 22px;
    }

    .dashboard-shot {
        min-height: unset;
    }

    .dashboard-lightbox {
        padding: 10px;
    }

    .dashboard-lightbox__panel {
        border-radius: 20px;
        padding: 10px;
    }

    .dashboard-lightbox__top {
        height: 40px;
        padding-bottom: 8px;
    }

    .hotspot::after {
        top: -34px;
        font-size: 11px;
        padding: 7px 9px;
    }

    .section {
        padding: 52px 0;
    }

    .section__head {
        display: block;
    }

    .video-box {
        min-height: 340px;
    }

    .cta__box {
        padding: 30px;
        border-radius: 26px;
    }

    .cta__actions {
        justify-content: flex-start;
    }

    .hero__point-header span{
        right: 0;
        top: 0;
        border-radius: 0 8px 0 8px;
    }
    .capability-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    h2{
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .nav__actions .cf-open-button, #contact .cf-open-button {
        font-size: 0.8rem !important;
        text-transform: uppercase;
    }
}
@media (max-width: 540px) {
    .capability-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

.note-beige{
    background: #f9f9ef;
}
.note-azure{
    background: azure;
}
/* --- Gallery fullscreen preview --- */
.slide__mock {
    position: relative;
    overflow: hidden;
}

.slide__mock img {
    width: 100%;
    height: 100%;
    max-height: 410px;
    object-fit: contain;
    border-radius: 16px;
    cursor: zoom-in;
    transition: transform 0.28s ease, filter 0.28s ease;
}

.slide__mock::after {
    content: "Открыть экран";
    position: absolute;
    right: 30px;
    bottom: 30px;
    z-index: 2;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.72);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 800;
    opacity: 0;
    transform: translateY(8px);
    transition: 0.2s ease;
    pointer-events: none;
}

.slide__mock:hover img {
    transform: scale(1.018);
    filter: saturate(1.04) contrast(1.02);
}

.slide__mock:hover::after {
    opacity: 1;
    transform: translateY(0);
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 110;
    display: grid;
    place-items: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.26s ease, visibility 0.26s ease;
}

.gallery-lightbox.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.gallery-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 18%, rgba(88, 80, 236, 0.28), transparent 42%),
        rgba(15, 23, 42, 0.76);
    backdrop-filter: blur(16px);
}

.gallery-lightbox__panel {
    position: relative;
    z-index: 1;
    width: min(96vw, 1480px);
    max-height: 94vh;
    display: grid;
    gap: 12px;
    padding: 14px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.52);
    box-shadow: 0 40px 100px rgba(2, 6, 23, 0.42);
    transform: translateY(18px) scale(0.94);
    filter: blur(8px);
    transition: transform 0.32s cubic-bezier(.2,.8,.2,1), filter 0.32s ease;
}

.gallery-lightbox.is-open .gallery-lightbox__panel {
    transform: translateY(0) scale(1);
    filter: blur(0);
}

.gallery-lightbox__image {
    width: 100%;
    max-height: calc(94vh - 92px);
    object-fit: contain;
    border-radius: 20px;
    background: #f7faff;
}

.gallery-lightbox__caption {
    padding: 0 8px 4px;
    color: var(--muted);
    font-size: 14px;
}

.gallery-lightbox__caption strong {
    display: block;
    color: var(--text);
    font-family: var(--font-heading);
    font-size: 16px;
    margin-bottom: 2px;
}

.gallery-lightbox__close {
    position: absolute;
    right: 22px;
    top: 22px;
    z-index: 3;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.76);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: 0.18s ease;
}

.gallery-lightbox__close:hover {
    transform: scale(1.04);
    background: var(--primary);
}

/* --- Security cards icons --- */
.matrix-card__title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.matrix-card__title h3 {
    margin: 0;
}

.matrix-card__icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    color: var(--primary);
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.86), transparent 38%),
        var(--primary-soft);
    box-shadow: inset 0 0 0 1px rgba(88, 80, 236, 0.1), 0 10px 24px rgba(53, 92, 154, 0.08);
    transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.matrix-card__icon svg {
    width: 22px;
    height: 22px;
}

.matrix-card:hover .matrix-card__icon {
    transform: translateY(-3px) rotate(-4deg);
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

/* --- Lazy video player --- */
.video-box {
    min-height: 430px;
    padding: 0;
    display: block;
    isolation: isolate;
    cursor: default;
}

.video-player {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    background: #08111f;
    opacity: 0;
    transition: opacity 0.28s ease;
}

.video-box.is-loaded .video-player,
.video-box.is-playing .video-player {
    opacity: 1;
}

.video-poster {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    align-content: space-between;
    padding: 28px;
    cursor: pointer;
    background:
        linear-gradient(180deg, rgba(8, 17, 31, 0.24), rgba(8, 17, 31, 0.88)),
        radial-gradient(circle at 82% 0%, rgba(88, 80, 236, 0.45), transparent 46%),
        url('../images/dashboard-1.jpg') center / cover no-repeat;
    transition: opacity 0.28s ease, visibility 0.28s ease, transform 0.28s ease;
}

.video-poster::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.16), transparent 36%, rgba(255,255,255,0.08));
    pointer-events: none;
}

.video-poster__content,
.video-poster .video-box__bottom {
    position: relative;
    z-index: 1;
}

.video-box.is-playing .video-poster {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.02);
    pointer-events: none;
}

.video-fullscreen {
    position: absolute;
    right: 18px;
    top: 18px;
    z-index: 4;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(15, 23, 42, 0.64);
    backdrop-filter: blur(8px);
    cursor: pointer;
    opacity: 0;
    transform: translateY(-6px);
    transition: 0.2s ease;
}

.video-fullscreen svg {
    width: 20px;
    height: 20px;
}

.video-box:hover .video-fullscreen,
.video-box.is-playing .video-fullscreen,
.video-fullscreen:focus-visible {
    opacity: 1;
    transform: translateY(0);
}

.video-fullscreen:hover {
    background: var(--primary);
}

.video-box.is-loading .play::after {
    animation-duration: 0.9s;
}

/* --- Back to top button --- */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 60;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--primary);
    box-shadow: 0 16px 36px rgba(53, 92, 154, 0.28);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px) scale(0.94);
    transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease, background 0.18s ease;
}

.back-to-top svg {
    width: 22px;
    height: 22px;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-2px) scale(1.02);
}

@media (max-width: 720px) {
    .gallery-lightbox,
    .dashboard-lightbox {
        padding: 12px;
    }

    .gallery-lightbox__panel {
        border-radius: 22px;
        padding: 10px;
    }

    .gallery-lightbox__image {
        border-radius: 15px;
        max-height: calc(94vh - 86px);
    }

    .video-box {
        min-height: 340px;
    }

    .video-poster {
        padding: 22px;
    }

    .back-to-top {
        right: 16px;
        bottom: 16px;
        width: 44px;
        height: 44px;
        border-radius: 15px;
    }

    .matrix-card__title {
        align-items: flex-start;
    }
}

.nav__actions .cf-open-button,
#contact .cf-open-button{
    background: transparent !important;
}