:root {
    --novyx-guide-surface: rgba(17, 28, 51, 0.74);
    --novyx-guide-surface-soft: rgba(255, 255, 255, 0.045);
    --novyx-guide-blue: #67c8f2;
    --novyx-guide-violet: #c28bea;
    --novyx-guide-green: #7fe0b1;
}

.novyx-analytics-preview {
    position: relative;
    margin: 0;
    padding: 0.7rem;
    overflow: hidden;
    border: 1px solid rgba(134, 193, 228, 0.28);
    background: linear-gradient(145deg, rgba(19, 34, 61, 0.96), rgba(11, 22, 42, 0.96));
    border-radius: 1.4rem;
    box-shadow: 0 2rem 7rem rgba(0, 0, 0, 0.34), 0 0 4rem rgba(62, 173, 222, 0.1);
}

.novyx-analytics-preview::before {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(103, 200, 242, 0.08), transparent 45%, rgba(194, 139, 234, 0.08));
    content: "";
    pointer-events: none;
}

.novyx-analytics-preview img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.95rem;
}

.novyx-analytics-preview figcaption {
    padding: 0.75rem 0.35rem 0.2rem;
    color: var(--novyx-muted);
    font-size: 0.82rem;
}

.novyx-analytics-page .novyx-capability-grid article > span {
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 1rem;
    place-items: center;
    color: #07101f;
    background: linear-gradient(135deg, var(--novyx-guide-blue), #b8e9fb);
    border-radius: 0.75rem;
    font-size: 1.05rem;
    font-weight: 900;
}

.novyx-guide-back {
    display: inline-block;
    margin-top: 0.85rem;
    color: var(--novyx-primary);
    font-size: 0.85rem;
    font-weight: 750;
    text-decoration: none;
}

.novyx-guide-main {
    padding-block: clamp(2.4rem, 6vw, 5rem);
}

.novyx-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
    margin: 0 0 1.35rem;
    padding: 0;
    color: var(--novyx-muted);
    font-size: 0.9rem;
    list-style: none;
}

.novyx-breadcrumbs li + li::before {
    margin-right: 0.45rem;
    color: rgba(184, 194, 217, 0.55);
    content: "/";
}

.novyx-breadcrumbs a {
    color: var(--novyx-muted);
}

.novyx-guide-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.44fr);
    gap: clamp(1.5rem, 5vw, 4rem);
    align-items: center;
    padding: clamp(1.4rem, 4vw, 2.5rem);
    border: 1px solid var(--novyx-border);
    background:
        linear-gradient(135deg, rgba(27, 95, 137, 0.22), rgba(102, 51, 127, 0.18)),
        var(--novyx-guide-surface);
    border-radius: 1.4rem;
    box-shadow: 0 1.6rem 4rem rgba(0, 0, 0, 0.18);
}

.novyx-guide-hero h1 {
    max-width: 15ch;
    margin-bottom: 1rem;
    font-size: clamp(2.25rem, 6vw, 4.6rem);
}

.novyx-guide-hero .novyx-lead {
    margin-bottom: 1.5rem;
}

.novyx-guide-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.novyx-guide-summary li {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    padding: 0.85rem;
    border: 1px solid var(--novyx-border);
    background: rgba(7, 16, 31, 0.5);
    border-radius: 0.8rem;
}

.novyx-guide-summary strong {
    display: block;
    color: var(--novyx-text);
}

.novyx-guide-summary span {
    display: block;
    margin-top: 0.1rem;
    color: var(--novyx-muted);
    font-size: 0.85rem;
}

.novyx-guide-check {
    display: inline-grid;
    width: 1.45rem;
    height: 1.45rem;
    flex: 0 0 auto;
    place-items: center;
    color: #07101f;
    background: var(--novyx-guide-green);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 900;
}

.novyx-module-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.novyx-module-card {
    display: flex;
    min-height: 18rem;
    flex-direction: column;
    padding: 1.4rem;
    color: inherit;
    border: 1px solid var(--novyx-border);
    background: var(--novyx-guide-surface);
    border-radius: 1rem;
    box-shadow: 0 1.25rem 3rem rgba(0, 0, 0, 0.14);
    text-decoration: none;
}

.novyx-module-card:hover {
    color: inherit;
    border-color: rgba(112, 201, 239, 0.5);
    background: rgba(25, 40, 70, 0.9);
    transform: translateY(-2px);
}

.novyx-module-icon {
    display: grid;
    width: 3.1rem;
    height: 3.1rem;
    margin-bottom: 1.1rem;
    place-items: center;
    color: var(--novyx-guide-blue);
    background: rgba(112, 201, 239, 0.12);
    border-radius: 0.85rem;
    font-size: 1.45rem;
}

.novyx-module-card h2 {
    margin: 0 0 0.55rem;
    font-size: 1.35rem;
}

.novyx-module-card p {
    margin: 0;
}

.novyx-module-card-footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    margin-top: auto;
    padding-top: 1.25rem;
    color: var(--novyx-primary);
    font-weight: 750;
}

.novyx-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.novyx-tags li {
    padding: 0.25rem 0.55rem;
    color: #d8e6f8;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 999px;
    font-size: 0.76rem;
    line-height: 1.3;
}

.novyx-guide-layout {
    display: grid;
    grid-template-columns: minmax(14rem, 0.28fr) minmax(0, 1fr);
    gap: clamp(1.4rem, 4vw, 3rem);
    align-items: start;
    margin-top: clamp(2.5rem, 6vw, 5rem);
}

.novyx-guide-toc {
    position: sticky;
    top: 6.2rem;
    padding: 1rem;
    border: 1px solid var(--novyx-border);
    background: rgba(7, 16, 31, 0.78);
    border-radius: 0.9rem;
}

.novyx-guide-toc strong {
    display: block;
    margin-bottom: 0.55rem;
}

.novyx-guide-toc ol {
    display: grid;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.novyx-guide-toc a {
    display: block;
    padding: 0.42rem 0.5rem;
    color: var(--novyx-muted);
    border-radius: 0.5rem;
    font-size: 0.88rem;
    text-decoration: none;
}

.novyx-guide-toc a:hover {
    color: var(--novyx-text);
    background: rgba(112, 201, 239, 0.09);
}

.novyx-guide-content {
    min-width: 0;
}

.novyx-guide-section {
    scroll-margin-top: 6.5rem;
    padding-bottom: 2.75rem;
}

.novyx-guide-section + .novyx-guide-section {
    padding-top: 0.3rem;
    border-top: 1px solid var(--novyx-border);
}

.novyx-guide-section > h2 {
    margin-top: 2.4rem;
}

.novyx-step-list {
    display: grid;
    gap: 0.9rem;
    margin: 1.25rem 0;
    padding: 0;
    list-style: none;
    counter-reset: novyx-step;
}

.novyx-step-list > li {
    position: relative;
    min-height: 3rem;
    padding: 0.8rem 0.9rem 0.8rem 3.7rem;
    border: 1px solid var(--novyx-border);
    background: var(--novyx-guide-surface-soft);
    border-radius: 0.8rem;
    counter-increment: novyx-step;
}

.novyx-step-list > li::before {
    position: absolute;
    top: 0.78rem;
    left: 0.85rem;
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    color: #07101f;
    background: linear-gradient(135deg, var(--novyx-primary), #b8e9fb);
    border-radius: 999px;
    content: counter(novyx-step);
    font-weight: 850;
}

.novyx-step-list strong {
    color: var(--novyx-text);
}

.novyx-figure {
    margin: 1.45rem 0;
}

.novyx-figure.is-control {
    max-width: 28rem;
    margin-inline: auto;
}

.novyx-figure a {
    display: block;
    overflow: hidden;
    border: 1px solid var(--novyx-border);
    background: #f5f7fa;
    border-radius: 0.95rem;
    box-shadow: 0 1.3rem 3rem rgba(0, 0, 0, 0.18);
}

.novyx-figure a:focus-visible {
    border-radius: 0.95rem;
}

.novyx-figure img {
    display: block;
    width: 100%;
    height: auto;
}

.novyx-figure figcaption {
    margin-top: 0.65rem;
    color: var(--novyx-muted);
    font-size: 0.86rem;
}

.novyx-control-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
    margin: 1rem 0;
}

.novyx-control-list > div {
    padding: 0.9rem;
    border: 1px solid var(--novyx-border);
    background: var(--novyx-guide-surface-soft);
    border-radius: 0.75rem;
}

.novyx-control-list dt {
    display: flex;
    gap: 0.45rem;
    align-items: center;
    color: var(--novyx-text);
    font-weight: 760;
}

.novyx-control-list dd {
    margin: 0.35rem 0 0;
    color: var(--novyx-muted);
    font-size: 0.91rem;
}

.novyx-ui-chip {
    display: inline-flex;
    min-height: 1.8rem;
    align-items: center;
    padding: 0.2rem 0.55rem;
    color: #eaf5ff;
    border: 1px solid rgba(112, 201, 239, 0.35);
    background: rgba(112, 201, 239, 0.1);
    border-radius: 0.45rem;
    font-size: 0.78rem;
    line-height: 1.2;
    white-space: nowrap;
}

.novyx-note {
    margin: 1.25rem 0;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(112, 201, 239, 0.24);
    border-left: 4px solid var(--novyx-primary);
    background: rgba(112, 201, 239, 0.065);
    border-radius: 0.75rem;
}

.novyx-note.is-warning {
    border-color: rgba(255, 224, 130, 0.24);
    border-left-color: var(--novyx-focus);
    background: rgba(255, 224, 130, 0.06);
}

.novyx-note p {
    margin: 0;
}

.novyx-note strong {
    color: var(--novyx-text);
}

.novyx-faq {
    border-top: 1px solid var(--novyx-border);
}

.novyx-faq details {
    border-bottom: 1px solid var(--novyx-border);
}

.novyx-faq summary {
    padding: 1rem 2rem 1rem 0;
    color: var(--novyx-text);
    cursor: pointer;
    font-weight: 720;
}

.novyx-faq details > div {
    padding: 0 0 1rem;
}

.novyx-faq p {
    margin: 0;
}

.novyx-guide-updated {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    margin-top: 1rem;
    color: var(--novyx-muted);
    font-size: 0.85rem;
}

@media (max-width: 900px) {
    .novyx-guide-hero,
    .novyx-guide-layout {
        grid-template-columns: 1fr;
    }

    .novyx-guide-toc {
        position: static;
    }

    .novyx-module-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .novyx-module-grid,
    .novyx-control-list {
        grid-template-columns: 1fr;
    }

    .novyx-guide-hero {
        padding: 1.15rem;
    }

    .novyx-guide-hero h1 {
        font-size: 2.25rem;
    }

    .novyx-button {
        width: 100%;
    }
}
