.kzn-cover {
    position: relative;
    padding: 142px 0 82px;
    overflow: hidden;
}

.kzn-cover::before {
    content: "";
    position: absolute;
    left: -220px;
    top: -180px;
    width: 640px;
    height: 640px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(58, 176, 255, 0.24), transparent 68%);
    filter: blur(42px);
    pointer-events: none;
}

.kzn-cover::after {
    content: "";
    position: absolute;
    right: -260px;
    bottom: -260px;
    width: 720px;
    height: 720px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(78, 110, 242, 0.2), transparent 70%);
    filter: blur(44px);
    pointer-events: none;
}

.kzn-cover__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 56px;
    align-items: center;
}

.kzn-tag,
.kzn-thesis__line span,
.kzn-demand__side span,
.kzn-product__header span,
.kzn-layers__intro span,
.kzn-before__text span,
.kzn-proof__title span,
.kzn-questions__head span,
.kzn-final__box span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 15px;
    margin-bottom: 20px;
    border-radius: 999px;
    background: rgba(58, 176, 255, 0.08);
    border: 1px solid rgba(58, 176, 255, 0.16);
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.kzn-cover h1 {
    margin: 0 0 24px;
    color: #fff;
    font-size: 68px;
    line-height: 0.98;
    font-weight: 800;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

.kzn-cover__main p {
    max-width: 760px;
    margin: 0 0 34px;
    color: var(--muted);
    font-size: 20px;
    line-height: 1.85;
}

.kzn-cover__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.kzn-cover__brief {
    display: flex;
    justify-content: center;
}

.kzn-brief {
    position: relative;
    width: 100%;
    max-width: 560px;
    padding: 26px;
    border-radius: 38px;
    background: linear-gradient(145deg, rgba(18, 20, 35, 0.9), rgba(25, 28, 43, 0.98));
    border: var(--card-border);
    box-shadow:
        0 34px 84px rgba(0, 0, 0, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(18px) saturate(160%);
    overflow: hidden;
}

.kzn-brief::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(58, 176, 255, 0.12), transparent 42%),
        radial-gradient(circle at bottom right, rgba(78, 110, 242, 0.16), transparent 44%);
    pointer-events: none;
}

.kzn-brief__head,
.kzn-brief__body,
.kzn-brief__footer {
    position: relative;
    z-index: 1;
}

.kzn-brief__head {
    display: grid;
    gap: 12px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.kzn-brief__head span {
    color: var(--accent);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.kzn-brief__head b {
    color: #fff;
    font-size: 28px;
    line-height: 1.15;
}

.kzn-brief__body {
    display: grid;
    gap: 14px;
    padding: 24px 0;
}

.kzn-brief__row {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.kzn-brief__row span {
    display: flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(58, 176, 255, 0.1);
    border: 1px solid rgba(58, 176, 255, 0.16);
    color: var(--accent);
    font-size: 14px;
    font-weight: 900;
}

.kzn-brief__row p {
    margin: 0;
    color: #dce3f1;
    font-size: 15px;
    line-height: 1.55;
}

.kzn-brief__footer {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.kzn-brief__footer strong {
    color: #fff;
    font-size: 18px;
}

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

.kzn-thesis,
.kzn-matrix,
.kzn-demand,
.kzn-product,
.kzn-layers,
.kzn-before,
.kzn-proof,
.kzn-questions,
.kzn-final {
    position: relative;
    padding: 86px 0;
}

.kzn-thesis__line {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 40px;
    align-items: start;
    padding: 40px;
    border-radius: 34px;
    background: linear-gradient(145deg, rgba(18, 20, 35, 0.76), rgba(25, 28, 43, 0.9));
    border: var(--card-border);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(14px);
}

.kzn-thesis__line p {
    margin: 0;
    color: #dce3f1;
    font-size: 26px;
    line-height: 1.5;
    letter-spacing: -0.02em;
}

.kzn-matrix__top {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    gap: 42px;
    align-items: end;
    margin-bottom: 42px;
}

.kzn-matrix__top h2,
.kzn-demand__side h2,
.kzn-product__header h2,
.kzn-layers__intro h2,
.kzn-before__text h2,
.kzn-proof__title h2,
.kzn-questions__head h2,
.kzn-final__box h2 {
    margin: 0;
    color: #fff;
    font-size: 52px;
    line-height: 1.06;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.kzn-matrix__top p {
    margin: 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.85;
}

.kzn-matrix__table {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr 1fr;
    border-radius: 34px;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(18, 20, 35, 0.82), rgba(25, 28, 43, 0.94));
    border: var(--card-border);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.36);
}

.kzn-matrix__cell {
    min-height: 86px;
    padding: 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--muted);
    font-size: 16px;
    line-height: 1.6;
}

.kzn-matrix__cell:nth-child(3n) {
    border-right: 0;
}

.kzn-matrix__cell:nth-last-child(-n+3) {
    border-bottom: 0;
}

.kzn-matrix__cell--head {
    color: #fff;
    font-weight: 900;
    background: rgba(58, 176, 255, 0.08);
}

.kzn-demand__layout {
    display: grid;
    grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
    gap: 44px;
    align-items: start;
}

.kzn-demand__side {
    position: sticky;
    top: 130px;
}

.kzn-demand__content {
    display: grid;
    gap: 18px;
}

.kzn-demand__item {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    padding: 26px 28px;
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(18, 20, 35, 0.72), rgba(25, 28, 43, 0.86));
    border: var(--card-border);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(14px);
}

.kzn-demand__item b {
    color: #fff;
    font-size: 22px;
    line-height: 1.25;
}

.kzn-demand__item p {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
}

.kzn-product__header {
    max-width: 800px;
    margin-bottom: 42px;
}

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

.kzn-product-card {
    position: relative;
    min-height: 290px;
    padding: 28px 24px;
    border-radius: 30px;
    background: linear-gradient(145deg, rgba(18, 20, 35, 0.76), rgba(25, 28, 43, 0.88));
    border: var(--card-border);
    box-shadow:
        0 18px 42px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(14px) saturate(160%);
    overflow: hidden;
}

.kzn-product-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(58, 176, 255, 0.09), transparent 38%);
    pointer-events: none;
}

.kzn-product-card div {
    position: relative;
    z-index: 1;
    color: var(--accent);
    font-size: 34px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 28px;
}

.kzn-product-card h3 {
    position: relative;
    z-index: 1;
    margin: 0 0 14px;
    color: #fff;
    font-size: 24px;
    line-height: 1.18;
}

.kzn-product-card p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
}

.kzn-layers__wrap {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 44px;
    align-items: start;
}

.kzn-layers__stack {
    display: grid;
    gap: 14px;
}

.kzn-layer {
    display: grid;
    grid-template-columns: 70px 160px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
    padding: 22px 24px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.kzn-layer span {
    color: var(--accent);
    font-size: 22px;
    font-weight: 900;
}

.kzn-layer strong {
    color: #fff;
    font-size: 20px;
}

.kzn-layer p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.65;
}

.kzn-before__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: 42px;
    align-items: center;
    padding: 42px;
    border-radius: 40px;
    background: linear-gradient(145deg, rgba(18, 20, 35, 0.82), rgba(25, 28, 43, 0.94));
    border: var(--card-border);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.36);
    backdrop-filter: blur(18px);
}

.kzn-before__text p,
.kzn-final__box p {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.85;
}

.kzn-before__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.kzn-before__list div {
    position: relative;
    padding: 20px 18px 20px 48px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: #dce3f1;
    font-size: 15px;
    line-height: 1.55;
    font-weight: 700;
}

.kzn-before__list div::before {
    content: "";
    position: absolute;
    left: 22px;
    top: 27px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 16px rgba(58, 176, 255, 0.45);
}

.kzn-proof__panel {
    padding: 44px;
    border-radius: 42px;
    background:
        linear-gradient(145deg, rgba(16, 34, 42, 0.88), rgba(20, 28, 43, 0.96));
    border: 1px solid rgba(58, 176, 255, 0.16);
    box-shadow: 0 30px 74px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(18px);
}

.kzn-proof__title {
    max-width: 900px;
    margin-bottom: 36px;
}

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

.kzn-proof__items div {
    padding: 22px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.kzn-proof__items b {
    display: block;
    margin-bottom: 14px;
    color: var(--accent);
    font-size: 24px;
    font-weight: 900;
}

.kzn-proof__items p {
    margin: 0;
    color: #dce3f1;
    font-size: 15px;
    line-height: 1.65;
}

.kzn-questions__head {
    max-width: 780px;
    margin-bottom: 40px;
}

.kzn-questions__list {
    display: grid;
    gap: 14px;
}

.kzn-question {
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(18, 20, 35, 0.76), rgba(25, 28, 43, 0.88));
    border: var(--card-border);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
    overflow: hidden;
}

.kzn-question summary {
    cursor: pointer;
    padding: 24px 26px;
    color: #fff;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 800;
}

.kzn-question p {
    margin: 0;
    padding: 0 26px 24px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
}

.kzn-final__box {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 32px;
    align-items: center;
    padding: 42px;
    border-radius: 40px;
    background: linear-gradient(145deg, rgba(18, 20, 35, 0.9), rgba(25, 28, 43, 0.98));
    border: var(--card-border);
    box-shadow:
        0 32px 78px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(18px) saturate(160%);
    overflow: hidden;
}

.kzn-final__box::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at left center, rgba(58, 176, 255, 0.13), transparent 34%),
        radial-gradient(circle at right center, rgba(78, 110, 242, 0.1), transparent 34%);
    pointer-events: none;
}

.kzn-final__box > div {
    position: relative;
    z-index: 1;
}

.kzn-final__actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 240px;
}

.kzn-final__actions .btn {
    width: 100%;
    text-align: center;
}

@media (max-width: 1200px) {
    .kzn-cover__grid,
    .kzn-thesis__line,
    .kzn-matrix__top,
    .kzn-demand__layout,
    .kzn-layers__wrap,
    .kzn-before__grid,
    .kzn-final__box {
        grid-template-columns: 1fr;
    }

    .kzn-demand__side {
        position: static;
    }

    .kzn-cover h1 {
        font-size: 56px;
    }

    .kzn-product__cards,
    .kzn-proof__items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .kzn-final__actions {
        flex-direction: row;
        min-width: 0;
    }
}

@media (max-width: 992px) {
    .kzn-cover {
        padding: 96px 0 56px;
    }

    .kzn-thesis,
    .kzn-matrix,
    .kzn-demand,
    .kzn-product,
    .kzn-layers,
    .kzn-before,
    .kzn-proof,
    .kzn-questions,
    .kzn-final {
        padding: 60px 0;
    }

    .kzn-cover h1 {
        font-size: 44px;
        line-height: 1.04;
    }

    .kzn-matrix__top h2,
    .kzn-demand__side h2,
    .kzn-product__header h2,
    .kzn-layers__intro h2,
    .kzn-before__text h2,
    .kzn-proof__title h2,
    .kzn-questions__head h2,
    .kzn-final__box h2 {
        font-size: 36px;
        line-height: 1.1;
    }

    .kzn-cover__main p,
    .kzn-matrix__top p,
    .kzn-before__text p,
    .kzn-final__box p {
        font-size: 17px;
        line-height: 1.75;
    }

    .kzn-matrix__table {
        grid-template-columns: 1fr;
    }

    .kzn-matrix__cell {
        border-right: 0;
    }

    .kzn-matrix__cell:nth-last-child(-n+3) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .kzn-matrix__cell:last-child {
        border-bottom: 0;
    }

    .kzn-demand__item,
    .kzn-layer {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .kzn-cover {
        padding: 78px 0 42px;
    }

    .kzn-cover__grid {
        gap: 28px;
    }

    .kzn-tag,
    .kzn-thesis__line span,
    .kzn-demand__side span,
    .kzn-product__header span,
    .kzn-layers__intro span,
    .kzn-before__text span,
    .kzn-proof__title span,
    .kzn-questions__head span,
    .kzn-final__box span {
        display: flex;
        width: fit-content;
        min-height: 32px;
        padding: 0 12px;
        margin: 0 auto 16px;
        font-size: 11px;
        text-align: center;
    }

    .kzn-cover h1 {
        margin-bottom: 18px;
        font-size: 34px;
        line-height: 1.08;
        text-align: center;
    }

    .kzn-cover__main p {
        margin-bottom: 24px;
        font-size: 15px;
        line-height: 1.72;
        text-align: center;
    }

    .kzn-cover__actions {
        gap: 12px;
    }

    .kzn-cover__actions .btn {
        width: 100%;
        text-align: center;
    }

    .kzn-cover__brief {
        display: none;
    }

    .kzn-thesis,
    .kzn-matrix,
    .kzn-demand,
    .kzn-product,
    .kzn-layers,
    .kzn-before,
    .kzn-proof,
    .kzn-questions,
    .kzn-final {
        padding: 48px 0;
    }

    .kzn-thesis__line,
    .kzn-before__grid,
    .kzn-proof__panel,
    .kzn-final__box {
        padding: 24px 18px;
        border-radius: 24px;
    }

    .kzn-thesis__line p {
        font-size: 20px;
        line-height: 1.55;
        text-align: center;
    }

    .kzn-matrix__top h2,
    .kzn-demand__side h2,
    .kzn-product__header h2,
    .kzn-layers__intro h2,
    .kzn-before__text h2,
    .kzn-proof__title h2,
    .kzn-questions__head h2,
    .kzn-final__box h2 {
        margin-bottom: 14px;
        font-size: 28px;
        line-height: 1.14;
        text-align: center;
    }

    .kzn-matrix__top p,
    .kzn-before__text p,
    .kzn-final__box p {
        font-size: 15px;
        line-height: 1.72;
        text-align: center;
    }

    .kzn-matrix__cell {
        min-height: auto;
        padding: 18px;
        font-size: 15px;
        text-align: center;
    }

    .kzn-demand__item,
    .kzn-product-card,
    .kzn-layer,
    .kzn-question {
        border-radius: 22px;
    }

    .kzn-demand__item,
    .kzn-product-card,
    .kzn-layer {
        padding: 22px 18px;
        gap: 12px;
        text-align: center;
    }

    .kzn-demand__item b,
    .kzn-product-card h3,
    .kzn-layer strong {
        font-size: 20px;
        text-align: center;
    }

    .kzn-demand__item p,
    .kzn-product-card p,
    .kzn-layer p {
        font-size: 15px;
        line-height: 1.7;
        text-align: center;
    }

    .kzn-product__cards,
    .kzn-proof__items,
    .kzn-before__list {
        grid-template-columns: 1fr;
    }

    .kzn-product-card {
        min-height: auto;
    }

    .kzn-product-card div,
    .kzn-layer span {
        text-align: center;
    }

    .kzn-before__list div {
        padding: 18px;
        text-align: center;
    }

    .kzn-before__list div::before {
        display: none;
    }

    .kzn-question summary {
        padding: 20px 18px;
        font-size: 18px;
        text-align: center;
    }

    .kzn-question p {
        padding: 0 18px 20px;
        font-size: 15px;
        line-height: 1.7;
        text-align: center;
    }

    .kzn-final__actions {
        flex-direction: column;
        gap: 12px;
    }
}
