/* ======================================
   NEXORA LANDING PAGE
====================================== */

.nx-landing {
    --nx-dark: #141b2d;
    --nx-text: #243047;
    --nx-muted: #7d889d;
    --nx-primary: #4f5ee8;
    --nx-blue: #58b8e8;
    --nx-border: #e3e8f1;
    --nx-soft: #f5f7ff;

    width: 100%;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 45% 8%,
            rgba(97, 198, 236, 0.12),
            transparent 27%
        ),
        #ffffff;
    color: var(--nx-text);
}


/* ======================================
   NAVIGATION
====================================== */

.nx-nav {
    position: relative;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
    padding: 0 42px;
    border-bottom: 1px solid rgba(221, 227, 238, 0.8);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    box-sizing: border-box;
}

.nx-nav-logo {
    display: inline-flex;
    align-items: center;
}

.nx-nav-logo img {
    display: block;
    width: auto;
    height: 37px;
}

.nx-nav-right {
    display: flex;
    align-items: center;
    gap: 13px;
}

.nx-nav-languages {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 4px;
    border: 1px solid var(--nx-border);
    border-radius: 9px;
    background: #f8faff;
}

.nx-nav-languages a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 29px;
    height: 28px;
    padding: 0 6px;
    border-radius: 6px;
    color: #6b768a;
    font-size: 9px;
    font-weight: 650;
    line-height: 1;
    text-decoration: none;
    transition: 0.2s ease;
}

.nx-nav-languages a:hover {
    background: #e9edff;
    color: var(--nx-primary);
}

.nx-nav-divider {
    width: 1px;
    height: 23px;
    background: #e1e6ee;
}

.nx-nav-login {
    color: #4c586f;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
}

.nx-nav-login:hover {
    color: var(--nx-primary);
}

.nx-nav-register {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 37px;
    padding: 0 16px;
    border-radius: 9px;
    background: linear-gradient(
        135deg,
        var(--nx-primary),
        var(--nx-blue)
    );
    color: #ffffff;
    font-size: 10px;
    font-weight: 650;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(79, 94, 232, 0.21);
    transition: 0.2s ease;
}

.nx-nav-register:hover {
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 11px 25px rgba(79, 94, 232, 0.27);
}


/* ======================================
   HERO
====================================== */

.nx-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    align-items: center;
    gap: 70px;
    width: min(1180px, calc(100% - 56px));
    min-height: 610px;
    margin: 0 auto;
    padding: 74px 0 66px;
    box-sizing: border-box;
}

.nx-hero-content {
    position: relative;
    z-index: 3;
}

.nx-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 29px;
    padding: 0 11px 0 5px;
    border: 1px solid #dfe4f3;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.84);
    color: #59657b;
    font-size: 9px;
    font-weight: 650;
    box-shadow: 0 6px 18px rgba(23, 32, 51, 0.05);
}

.nx-hero-badge > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    background: #ecefff;
    color: var(--nx-primary);
    font-size: 9px;
}

.nx-hero h1 {
    margin: 20px 0 14px;
    color: var(--nx-dark);
    font-size: clamp(52px, 6vw, 78px);
    font-weight: 800;
    letter-spacing: -0.055em;
    line-height: 0.98;
}

.nx-hero h1 span {
    background: linear-gradient(
        135deg,
        var(--nx-primary),
        var(--nx-blue)
    );
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.nx-hero-description {
    max-width: 540px;
    margin: 0;
    color: var(--nx-muted);
    font-size: 14px;
    line-height: 1.8;
}

.nx-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 27px;
}

.nx-primary-btn,
.nx-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    padding: 0 20px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 650;
    text-decoration: none;
    transition: 0.2s ease;
}

.nx-primary-btn {
    border: 1px solid var(--nx-dark);
    background: var(--nx-dark);
    color: #ffffff;
    box-shadow: 0 10px 26px rgba(20, 27, 45, 0.18);
}

.nx-primary-btn:hover {
    background: #253047;
    color: #ffffff;
    transform: translateY(-2px);
}

.nx-secondary-btn {
    border: 1px solid #dce3ed;
    background: rgba(255, 255, 255, 0.8);
    color: #556178;
}

.nx-secondary-btn:hover {
    border-color: #cbd4e2;
    color: var(--nx-primary);
    transform: translateY(-2px);
}

.nx-hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 17px;
    margin-top: 22px;
}

.nx-hero-trust div {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #7a8599;
    font-size: 9px;
    font-weight: 550;
}

.nx-hero-trust i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #eaf9ef;
    color: #3f9d62;
    font-size: 7px;
}


/* ======================================
   HERO VISUAL
====================================== */

.nx-hero-visual {
    position: relative;
    display: flex;
    min-height: 470px;
    align-items: center;
    justify-content: center;
}

.nx-visual-glow {
    position: absolute;
    width: 430px;
    height: 430px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(92, 111, 232, 0.18),
        rgba(99, 194, 232, 0.08) 48%,
        transparent 70%
    );
    filter: blur(4px);
}

.nx-document-preview {
    position: relative;
    z-index: 2;
    width: 350px;
    min-height: 430px;
    padding: 25px;
    border: 1px solid rgba(216, 223, 236, 0.95);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow:
        0 34px 75px rgba(30, 43, 73, 0.15),
        0 5px 16px rgba(30, 43, 73, 0.06);
    box-sizing: border-box;
    transform: rotate(2deg);
}

.nx-preview-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nx-preview-brand {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #314059;
    font-size: 9px;
    font-weight: 750;
    letter-spacing: 0.07em;
}

.nx-preview-brand > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 7px;
    background: linear-gradient(
        135deg,
        var(--nx-primary),
        var(--nx-blue)
    );
    color: #ffffff;
}

.nx-preview-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    background: #eaf9ef;
    color: #398358;
    font-size: 8px;
    font-weight: 650;
}

.nx-preview-title {
    margin-top: 37px;
}

.nx-preview-title > span {
    display: block;
    margin-bottom: 6px;
    color: var(--nx-primary);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.nx-preview-title > strong {
    color: var(--nx-dark);
    font-size: 24px;
    letter-spacing: -0.025em;
}

.nx-preview-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 17px;
    margin-top: 27px;
    padding: 14px 0;
    border-top: 1px solid #edf0f5;
    border-bottom: 1px solid #edf0f5;
}

.nx-preview-meta span {
    display: block;
    margin-bottom: 4px;
    color: #9aa4b5;
    font-size: 7px;
    text-transform: uppercase;
}

.nx-preview-meta strong {
    display: block;
    overflow: hidden;
    color: #49566d;
    font-size: 8px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.nx-preview-lines {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-top: 22px;
}

.nx-preview-lines span {
    width: 100%;
    height: 5px;
    border-radius: 999px;
    background: #eef1f6;
}

.nx-preview-lines span:nth-child(2) {
    width: 86%;
}

.nx-preview-lines span:nth-child(3) {
    width: 63%;
}

.nx-preview-table {
    overflow: hidden;
    margin-top: 22px;
    border: 1px solid #e8ecf3;
    border-radius: 9px;
}

.nx-preview-table > div {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
    min-height: 29px;
    padding: 0 10px;
    border-bottom: 1px solid #edf0f5;
    color: #6c778b;
    font-size: 7px;
}

.nx-preview-table > div:last-child {
    border-bottom: 0;
}

.nx-preview-table-head {
    background: #f6f8fc;
    color: #536078 !important;
    font-weight: 700;
}

.nx-preview-table > div:not(.nx-preview-table-head) span {
    width: 76%;
    height: 4px;
    border-radius: 999px;
    background: #edf0f5;
}

.nx-preview-table strong {
    color: #3e4b62;
    font-size: 7px;
}

.nx-preview-total {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
    margin-top: 18px;
    color: #7c8798;
    font-size: 8px;
}

.nx-preview-total strong {
    color: var(--nx-primary);
    font-size: 15px;
}

.nx-floating-card {
    position: absolute;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 126px;
    padding: 11px 13px;
    border: 1px solid rgba(221, 227, 238, 0.95);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 15px 35px rgba(31, 43, 71, 0.12);
    backdrop-filter: blur(9px);
}

.nx-floating-card > span {
    display: inline-flex;
    flex: 0 0 31px;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
    border-radius: 8px;
    background: #eef0ff;
    color: var(--nx-primary);
    font-size: 12px;
}

.nx-floating-card strong {
    display: block;
    color: var(--nx-dark);
    font-size: 12px;
}

.nx-floating-card small {
    display: block;
    margin-top: 1px;
    color: #8994a7;
    font-size: 7px;
}

.nx-floating-language {
    top: 78px;
    right: 5px;
}

.nx-floating-export {
    bottom: 70px;
    left: 3px;
}


/* ======================================
   STATS
====================================== */

.nx-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: min(1180px, calc(100% - 56px));
    margin: 0 auto;
    border: 1px solid var(--nx-border);
    border-radius: 15px;
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(27, 39, 67, 0.06);
}

.nx-stat {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 13px;
    min-height: 92px;
    padding: 16px 25px;
    border-right: 1px solid #e8ecf3;
    box-sizing: border-box;
}

.nx-stat:last-child {
    border-right: 0;
}

.nx-stat > strong {
    color: var(--nx-dark);
    font-size: 25px;
    line-height: 1;
}

.nx-stat > span {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #778297;
    font-size: 9px;
    line-height: 1.4;
}

.nx-stat i {
    color: var(--nx-primary);
    font-size: 11px;
}


/* ======================================
   SECTION HEADINGS
====================================== */

.nx-section-heading {
    max-width: 590px;
    margin: 0 auto 37px;
    text-align: center;
}

.nx-section-heading > span {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--nx-primary);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.nx-section-heading h2 {
    margin: 0;
    color: var(--nx-dark);
    font-size: 29px;
    font-weight: 750;
    letter-spacing: -0.025em;
    line-height: 1.25;
}

.nx-section-heading p {
    margin: 10px auto 0;
    color: var(--nx-muted);
    font-size: 11px;
    line-height: 1.75;
}


/* ======================================
   FEATURES
====================================== */

.nx-features {
    width: min(1180px, calc(100% - 56px));
    margin: 0 auto;
    padding: 105px 0 72px;
}

.nx-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 17px;
}

.nx-feature-card {
    min-width: 0;
    padding: 23px;
    border: 1px solid var(--nx-border);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 9px 25px rgba(28, 40, 68, 0.045);
    transition: 0.22s ease;
}

.nx-feature-card:hover {
    border-color: #d3d9f3;
    transform: translateY(-4px);
    box-shadow: 0 16px 35px rgba(28, 40, 68, 0.09);
}

.nx-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 39px;
    height: 39px;
    margin-bottom: 17px;
    border-radius: 10px;
    background: linear-gradient(
        135deg,
        #eef0ff,
        #edf9fd
    );
    color: var(--nx-primary);
    font-size: 14px;
}

.nx-feature-card h3 {
    margin: 0;
    color: var(--nx-dark);
    font-size: 13px;
    font-weight: 700;
}

.nx-feature-card p {
    margin: 7px 0 0;
    color: #8791a4;
    font-size: 9px;
    line-height: 1.65;
}


/* ======================================
   DOCUMENT TYPES
====================================== */

.nx-document-types {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: min(1180px, calc(100% - 56px));
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid var(--nx-border);
    border-radius: 14px;
    background:
        linear-gradient(
            135deg,
            rgba(79, 94, 232, 0.045),
            rgba(88, 184, 232, 0.04)
        ),
        #ffffff;
}

.nx-document-type {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 76px;
    padding: 14px 22px;
    border-right: 1px solid #e5eaf2;
    box-sizing: border-box;
}

.nx-document-type:last-child {
    border-right: 0;
}

.nx-document-type > span {
    display: inline-flex;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: #ffffff;
    color: var(--nx-primary);
    font-size: 12px;
    box-shadow: 0 6px 16px rgba(30, 41, 70, 0.07);
}

.nx-document-type strong {
    color: #344057;
    font-size: 11px;
}


/* ======================================
   TEMPLATES
====================================== */

.nx-templates {
    width: min(1180px, calc(100% - 56px));
    margin: 0 auto;
    padding: 105px 0 90px;
}

.nx-template-category {
    margin-bottom: 52px;
}

.nx-template-category:last-child {
    margin-bottom: 0;
}

.nx-template-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.nx-template-category-header > div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nx-template-category-header > div > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
    border-radius: 8px;
    background: #eef0ff;
    color: var(--nx-primary);
    font-size: 11px;
}

.nx-template-category-header h3 {
    margin: 0;
    color: var(--nx-dark);
    font-size: 15px;
}

.nx-template-category-header > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--nx-primary);
    font-size: 9px;
    font-weight: 650;
    text-decoration: none;
}

.nx-template-category-header > a:hover {
    color: #303fc7;
}

.nx-template-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 17px;
}

.nx-template-card {
    overflow: hidden;
    min-width: 0;
    border: 1px solid var(--nx-border);
    border-radius: 13px;
    background: #ffffff;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 8px 23px rgba(27, 39, 67, 0.045);
    transition: 0.22s ease;
}

.nx-template-card:hover {
    border-color: #cfd7ed;
    color: inherit;
    transform: translateY(-4px);
    box-shadow: 0 17px 36px rgba(27, 39, 67, 0.11);
}

.nx-template-image {
    position: relative;
    overflow: hidden;
    height: 280px;
    border-bottom: 1px solid #e8ecf3;
    background: #f1f4f9;
}

.nx-template-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.35s ease;
}

.nx-template-card:hover .nx-template-image img {
    transform: scale(1.025);
}

.nx-template-image > span {
    position: absolute;
    right: 11px;
    bottom: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
    border-radius: 8px;
    background: rgba(20, 27, 45, 0.88);
    color: #ffffff;
    font-size: 10px;
    opacity: 0;
    transform: translateY(5px);
    transition: 0.2s ease;
}

.nx-template-card:hover .nx-template-image > span {
    opacity: 1;
    transform: translateY(0);
}

.nx-template-info {
    padding: 13px 15px;
}

.nx-template-info strong {
    display: block;
    color: #28344a;
    font-size: 11px;
}

.nx-template-info small {
    display: block;
    margin-top: 3px;
    color: #909aac;
    font-size: 8px;
}


/* ======================================
   FINAL CTA
====================================== */

.nx-final-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    width: min(1180px, calc(100% - 56px));
    margin: 0 auto 92px;
    padding: 35px 39px;
    border-radius: 18px;
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(92, 189, 233, 0.28),
            transparent 31%
        ),
        linear-gradient(135deg, #171f33, #242f4c);
    color: #ffffff;
    box-shadow: 0 22px 48px rgba(20, 27, 45, 0.2);
    box-sizing: border-box;
}

.nx-final-cta > div > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-bottom: 13px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.1);
    color: #81d0ee;
    font-size: 12px;
}

.nx-final-cta h2 {
    margin: 0;
    color: #ffffff;
    font-size: 23px;
    font-weight: 700;
}

.nx-final-cta p {
    max-width: 650px;
    margin: 7px 0 0;
    color: #b8c1d1;
    font-size: 10px;
    line-height: 1.7;
}

.nx-final-cta > a {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 19px;
    border-radius: 9px;
    background: #ffffff;
    color: #1b2439;
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 9px 22px rgba(0, 0, 0, 0.15);
    transition: 0.2s ease;
}

.nx-final-cta > a:hover {
    color: var(--nx-primary);
    transform: translateY(-2px);
}


/* ======================================
   FOOTER
====================================== */

.nx-footer {
    padding: 56px 42px 0;
    border-top: 1px solid #e3e8f1;
    background: #f8faff;
}

.nx-footer-main {
    display: grid;
    grid-template-columns: 1.7fr repeat(3, 0.75fr);
    gap: 50px;
    width: min(1180px, 100%);
    margin: 0 auto;
    padding-bottom: 46px;
}

.nx-footer-brand img {
    width: auto;
    height: 37px;
}

.nx-footer-brand p {
    max-width: 330px;
    margin: 15px 0 0;
    color: #7f8a9e;
    font-size: 9px;
    line-height: 1.75;
}

.nx-footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.nx-footer-column h3 {
    margin: 0 0 4px;
    color: #263249;
    font-size: 10px;
    font-weight: 700;
}

.nx-footer-column a {
    color: #7a8598;
    font-size: 9px;
    text-decoration: none;
}

.nx-footer-column a:hover {
    color: var(--nx-primary);
}

.nx-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1180px, 100%);
    min-height: 58px;
    margin: 0 auto;
    border-top: 1px solid #e0e6ef;
    color: #919bad;
    font-size: 8px;
}


/* ======================================
   TABLET
====================================== */

@media (max-width: 1000px) {
    .nx-hero {
        grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
        gap: 35px;
    }

    .nx-document-preview {
        width: 320px;
    }

    .nx-feature-grid,
    .nx-template-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nx-template-image {
        height: 350px;
    }
}

@media (max-width: 820px) {
    .nx-nav {
        padding: 0 21px;
    }

    .nx-nav-languages,
    .nx-nav-divider {
        display: none;
    }

    .nx-hero {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-top: 60px;
        text-align: center;
    }

    .nx-hero-description {
        margin-right: auto;
        margin-left: auto;
    }

    .nx-hero-actions,
    .nx-hero-trust {
        justify-content: center;
    }

    .nx-hero-visual {
        min-height: 450px;
    }

    .nx-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .nx-stat:nth-child(2) {
        border-right: 0;
    }

    .nx-stat:nth-child(-n + 2) {
        border-bottom: 1px solid #e8ecf3;
    }

    .nx-document-types {
        grid-template-columns: repeat(2, 1fr);
    }

    .nx-document-type:nth-child(2) {
        border-right: 0;
    }

    .nx-document-type:nth-child(-n + 2) {
        border-bottom: 1px solid #e5eaf2;
    }

    .nx-footer-main {
        grid-template-columns: 1.4fr repeat(3, 1fr);
        gap: 28px;
    }
}


/* ======================================
   MOBILE
====================================== */

@media (max-width: 600px) {
    .nx-nav {
        min-height: 61px;
        padding: 0 15px;
    }

    .nx-nav-logo img {
        height: 31px;
    }

    .nx-nav-login {
        display: none;
    }

    .nx-nav-register {
        min-height: 34px;
        padding: 0 13px;
        font-size: 9px;
    }

    .nx-hero {
        width: calc(100% - 30px);
        min-height: auto;
        padding: 45px 0 42px;
    }

    .nx-hero h1 {
        margin-top: 17px;
        font-size: 48px;
    }

    .nx-hero-description {
        font-size: 12px;
        line-height: 1.7;
    }

    .nx-hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .nx-primary-btn,
    .nx-secondary-btn {
        width: 100%;
        box-sizing: border-box;
    }

    .nx-hero-trust {
        gap: 10px 14px;
    }

    .nx-hero-visual {
        min-height: 390px;
    }

    .nx-visual-glow {
        width: 310px;
        height: 310px;
    }

    .nx-document-preview {
        width: min(290px, calc(100vw - 58px));
        min-height: 370px;
        padding: 20px;
    }

    .nx-preview-title {
        margin-top: 29px;
    }

    .nx-preview-title > strong {
        font-size: 20px;
    }

    .nx-floating-card {
        min-width: 105px;
        padding: 9px;
    }

    .nx-floating-language {
        top: 40px;
        right: -2px;
    }

    .nx-floating-export {
        bottom: 35px;
        left: -2px;
    }

    .nx-stats,
    .nx-features,
    .nx-document-types,
    .nx-templates,
    .nx-final-cta {
        width: calc(100% - 30px);
    }

    .nx-stats {
        grid-template-columns: 1fr 1fr;
    }

    .nx-stat {
        min-height: 82px;
        padding: 14px;
    }

    .nx-stat > strong {
        font-size: 21px;
    }

    .nx-features {
        padding: 75px 0 55px;
    }

    .nx-section-heading {
        margin-bottom: 29px;
    }

    .nx-section-heading h2 {
        font-size: 23px;
    }

    .nx-feature-grid {
        grid-template-columns: 1fr;
    }

    .nx-document-types {
        grid-template-columns: 1fr;
    }

    .nx-document-type,
    .nx-document-type:nth-child(2) {
        min-height: 65px;
        border-right: 0;
        border-bottom: 1px solid #e5eaf2;
    }

    .nx-document-type:last-child {
        border-bottom: 0;
    }

    .nx-templates {
        padding: 75px 0 65px;
    }

    .nx-template-category {
        margin-bottom: 43px;
    }

    .nx-template-grid {
        grid-template-columns: 1fr 1fr;
        gap: 11px;
    }

    .nx-template-image {
        height: 230px;
    }

    .nx-template-info {
        padding: 11px;
    }

    .nx-final-cta {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 65px;
        padding: 27px 23px;
    }

    .nx-final-cta h2 {
        font-size: 20px;
    }

    .nx-final-cta > a {
        width: 100%;
        box-sizing: border-box;
    }

    .nx-footer {
        padding: 43px 20px 0;
    }

    .nx-footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 34px 25px;
    }

    .nx-footer-brand {
        grid-column: 1 / -1;
    }

    .nx-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        min-height: 68px;
    }
}

@media (max-width: 390px) {
    .nx-template-grid {
        grid-template-columns: 1fr;
    }

    .nx-template-image {
        height: 340px;
    }

    .nx-footer-main {
        grid-template-columns: 1fr;
    }

    .nx-footer-brand {
        grid-column: auto;
    }
}
/* ======================================
   COMPACT LANDING SECTION SPACING
====================================== */

.nx-hero {
    min-height: auto;
    padding-top: 52px;
    padding-bottom: 45px;
}

.nx-features {
    padding-top: 68px;
    padding-bottom: 48px;
}

.nx-section-heading {
    margin-bottom: 27px;
}

.nx-feature-grid {
    margin-bottom: 0;
}

.nx-document-types {
    margin-top: 0;
}

.nx-templates {
    padding-top: 68px;
    padding-bottom: 58px;
}

.nx-template-category {
    margin-bottom: 36px;
}

.nx-template-category:last-child {
    margin-bottom: 0;
}

.nx-final-cta {
    margin-bottom: 60px;
}

.nx-footer {
    padding-top: 43px;
}


/* TABLET */

@media (max-width: 820px) {
    .nx-hero {
        padding-top: 45px;
        padding-bottom: 38px;
    }

    .nx-features {
        padding-top: 55px;
        padding-bottom: 40px;
    }

    .nx-templates {
        padding-top: 55px;
        padding-bottom: 48px;
    }
}


/* MOBILE */

@media (max-width: 600px) {
    .nx-hero {
        padding-top: 36px;
        padding-bottom: 30px;
    }

    .nx-hero-visual {
        min-height: 365px;
    }

    .nx-features {
        padding-top: 45px;
        padding-bottom: 34px;
    }

    .nx-section-heading {
        margin-bottom: 23px;
    }

    .nx-templates {
        padding-top: 45px;
        padding-bottom: 42px;
    }

    .nx-template-category {
        margin-bottom: 31px;
    }

    .nx-final-cta {
        margin-bottom: 45px;
    }

    .nx-footer {
        padding-top: 36px;
    }
}

@media (max-width: 820px) {
    .nx-nav {
        position: relative;
        min-height: 100px;
        align-items: flex-start;
        padding: 14px 16px 47px;
    }

    .nx-nav-right {
        align-items: center;
    }

    .nx-nav-languages {
        position: absolute;
        right: 16px;
        bottom: 9px;
        left: 16px;
        display: flex;
        justify-content: center;
        overflow-x: auto;
        gap: 4px;
        padding: 4px;
        scrollbar-width: none;
    }

    .nx-nav-languages::-webkit-scrollbar {
        display: none;
    }

    .nx-nav-languages a {
        flex: 1 0 auto;
        min-width: 38px;
    }

    .nx-nav-divider {
        display: none;
    }
}

/* ======================================
   ABOUT PAGE
====================================== */

.nx-about-page {
    min-height: 100vh;
}

.nx-about-hero {
    width: min(850px, calc(100% - 56px));
    margin: 0 auto;
    padding: 78px 0 54px;
    text-align: center;
    box-sizing: border-box;
}

.nx-about-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 29px;
    padding: 0 12px 0 5px;
    border: 1px solid #dfe4f3;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    color: #59657b;
    font-size: 9px;
    font-weight: 650;
    box-shadow: 0 6px 18px rgba(23, 32, 51, 0.05);
}

.nx-about-badge span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    background: #ecefff;
    color: var(--nx-primary);
    font-size: 9px;
}

.nx-about-hero h1 {
    margin: 20px 0 13px;
    color: var(--nx-dark);
    font-size: clamp(38px, 5vw, 58px);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.05;
}

.nx-about-hero p {
    max-width: 650px;
    margin: 0 auto;
    color: var(--nx-muted);
    font-size: 13px;
    line-height: 1.8;
}

.nx-about-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    width: min(1180px, calc(100% - 56px));
    margin: 0 auto;
    padding-bottom: 72px;
}

.nx-about-card {
    min-width: 0;
    padding: 29px;
    border: 1px solid var(--nx-border);
    border-radius: 15px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(28, 40, 68, 0.055);
    transition: 0.22s ease;
}

.nx-about-card:hover {
    border-color: #d3d9f3;
    transform: translateY(-4px);
    box-shadow: 0 17px 38px rgba(28, 40, 68, 0.1);
}

.nx-about-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 20px;
    border-radius: 11px;
    background: linear-gradient(
        135deg,
        #eef0ff,
        #edf9fd
    );
    color: var(--nx-primary);
    font-size: 15px;
}

.nx-about-card h2 {
    margin: 0;
    color: var(--nx-dark);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.015em;
}

.nx-about-card p {
    margin: 10px 0 0;
    color: #7f8a9e;
    font-size: 10px;
    line-height: 1.8;
}

.nx-about-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    width: min(1180px, calc(100% - 56px));
    margin: 0 auto 60px;
    padding: 35px 39px;
    border-radius: 18px;
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(92, 189, 233, 0.28),
            transparent 31%
        ),
        linear-gradient(135deg, #171f33, #242f4c);
    color: #ffffff;
    box-shadow: 0 22px 48px rgba(20, 27, 45, 0.2);
    box-sizing: border-box;
}

.nx-about-cta > div > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-bottom: 13px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.1);
    color: #81d0ee;
    font-size: 12px;
}

.nx-about-cta h2 {
    margin: 0;
    color: #ffffff;
    font-size: 23px;
    font-weight: 700;
}

.nx-about-cta p {
    max-width: 650px;
    margin: 7px 0 0;
    color: #b8c1d1;
    font-size: 10px;
    line-height: 1.7;
}

.nx-about-cta > a {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 19px;
    border-radius: 9px;
    background: #ffffff;
    color: #1b2439;
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 9px 22px rgba(0, 0, 0, 0.15);
    transition: 0.2s ease;
}

.nx-about-cta > a:hover {
    color: var(--nx-primary);
    transform: translateY(-2px);
}


/* TABLET */

@media (max-width: 820px) {
    .nx-about-hero {
        padding-top: 60px;
    }

    .nx-about-content {
        grid-template-columns: 1fr;
    }
}


/* MOBILE */

@media (max-width: 600px) {
    .nx-about-hero,
    .nx-about-content,
    .nx-about-cta {
        width: calc(100% - 30px);
    }

    .nx-about-hero {
        padding: 48px 0 38px;
    }

    .nx-about-hero h1 {
        margin-top: 17px;
        font-size: 36px;
    }

    .nx-about-hero p {
        font-size: 11px;
        line-height: 1.7;
    }

    .nx-about-content {
        gap: 13px;
        padding-bottom: 48px;
    }

    .nx-about-card {
        padding: 23px;
    }

    .nx-about-card p {
        font-size: 10px;
    }

    .nx-about-cta {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 45px;
        padding: 27px 23px;
    }

    .nx-about-cta h2 {
        font-size: 20px;
    }

    .nx-about-cta > a {
        width: 100%;
        box-sizing: border-box;
    }
}

/* ======================================
   PRICING PAGE
====================================== */

.nx-pricing-page {
    min-height: 100vh;
    padding-bottom: 75px;
}

.nx-pricing-hero {
    width: min(850px, calc(100% - 56px));
    margin: 0 auto;
    padding: 72px 0 50px;
    text-align: center;
    box-sizing: border-box;
}

.nx-pricing-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 29px;
    padding: 0 12px 0 5px;
    border: 1px solid #dfe4f3;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    color: #59657b;
    font-size: 9px;
    font-weight: 650;
    box-shadow: 0 6px 18px rgba(23, 32, 51, 0.05);
}

.nx-pricing-badge span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    background: #ecefff;
    color: var(--nx-primary);
    font-size: 9px;
}

.nx-pricing-hero h1 {
    margin: 20px 0 13px;
    color: var(--nx-dark);
    font-size: clamp(38px, 5vw, 58px);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.05;
}

.nx-pricing-hero p {
    max-width: 650px;
    margin: 0 auto;
    color: var(--nx-muted);
    font-size: 13px;
    line-height: 1.8;
}

.nx-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
    gap: 19px;
    width: min(1080px, calc(100% - 56px));
    margin: 0 auto 30px;
}

.nx-price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 31px;
    border: 1px solid var(--nx-border);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(28, 40, 68, 0.06);
    transition: 0.22s ease;
}

.nx-price-card:hover {
    border-color: #d3d9f3;
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(28, 40, 68, 0.11);
}

.nx-price-popular {
    border-color: rgba(79, 94, 232, 0.42);
    box-shadow: 0 18px 45px rgba(79, 94, 232, 0.13);
}

.nx-popular-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 25px;
    padding: 0 9px;
    border-radius: 999px;
    background: #eef0ff;
    color: var(--nx-primary);
    font-size: 8px;
    font-weight: 700;
}

.nx-price-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 19px;
    border-radius: 11px;
    background: linear-gradient(135deg, #eef0ff, #edf9fd);
    color: var(--nx-primary);
    font-size: 15px;
}

.nx-price-card h2 {
    margin: 0;
    color: var(--nx-dark);
    font-size: 16px;
    font-weight: 700;
}

.nx-price {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin-top: 18px;
    color: var(--nx-dark);
}

.nx-price span {
    padding-top: 7px;
    color: #778297;
    font-size: 10px;
    font-weight: 700;
}

.nx-price strong {
    font-size: 35px;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
}

.nx-price-card ul {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 12px;
    margin: 26px 0 29px;
    padding: 21px 0 0;
    border-top: 1px solid #e8ecf3;
    list-style: none;
}

.nx-price-card li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: #6f7a8f;
    font-size: 10px;
    line-height: 1.55;
}

.nx-price-card li i {
    display: inline-flex;
    flex: 0 0 17px;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: #eaf9ef;
    color: #3f9d62;
    font-size: 7px;
}

.nx-price-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 43px;
    padding: 0 18px;
    border: 1px solid var(--nx-dark);
    border-radius: 10px;
    background: var(--nx-dark);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
    box-sizing: border-box;
    transition: 0.2s ease;
}

.nx-price-button:hover {
    background: #253047;
    color: #ffffff;
    transform: translateY(-2px);
}

.nx-price-popular .nx-price-button {
    border-color: transparent;
    background: linear-gradient(
        135deg,
        var(--nx-primary),
        var(--nx-blue)
    );
    box-shadow: 0 10px 24px rgba(79, 94, 232, 0.22);
}


/* TABLET */

@media (max-width: 820px) {
    .nx-pricing-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
    }
}


/* MOBILE */

@media (max-width: 600px) {
    .nx-pricing-page {
        padding-bottom: 50px;
    }

    .nx-pricing-hero,
    .nx-pricing-grid {
        width: calc(100% - 30px);
        margin-bottom: 50px;
    }

    .nx-pricing-hero {
        padding: 48px 0 38px;
    }

    .nx-pricing-hero h1 {
        margin-top: 17px;
        font-size: 36px;
    }

    .nx-pricing-hero p {
        font-size: 11px;
        line-height: 1.7;
    }

    .nx-price-card {
        padding: 25px;
    }

    .nx-price strong {
        font-size: 31px;
    }
}

/* ======================================
   LEGAL PAGES
====================================== */

.nx-legal-page {
    min-height: 100vh;
}

.nx-legal-hero {
    width: min(850px, calc(100% - 56px));
    margin: 0 auto;
    padding: 72px 0 48px;
    text-align: center;
    box-sizing: border-box;
}

.nx-legal-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 29px;
    padding: 0 12px 0 5px;
    border: 1px solid #dfe4f3;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    color: #59657b;
    font-size: 9px;
    font-weight: 650;
    box-shadow: 0 6px 18px rgba(23, 32, 51, 0.05);
}

.nx-legal-badge span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    background: #ecefff;
    color: var(--nx-primary);
    font-size: 9px;
}

.nx-legal-hero h1 {
    margin: 20px 0 13px;
    color: var(--nx-dark);
    font-size: clamp(38px, 5vw, 58px);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.05;
}

.nx-legal-hero p {
    max-width: 650px;
    margin: 0 auto;
    color: var(--nx-muted);
    font-size: 13px;
    line-height: 1.8;
}

.nx-legal-content {
    width: min(900px, calc(100% - 56px));
    margin: 0 auto;
    padding: 0 0 75px;
}

.nx-legal-section {
    display: grid;
    grid-template-columns: 43px minmax(0, 1fr);
    gap: 20px;
    padding: 26px 0;
    border-bottom: 1px solid #e5eaf2;
}

.nx-legal-section:first-child {
    border-top: 1px solid #e5eaf2;
}

.nx-legal-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #eef0ff, #edf9fd);
    color: var(--nx-primary);
    font-size: 9px;
    font-weight: 750;
}

.nx-legal-section h2 {
    margin: 1px 0 8px;
    color: var(--nx-dark);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.015em;
}

.nx-legal-section p {
    margin: 0;
    color: #7f8a9e;
    font-size: 10px;
    line-height: 1.85;
}


/* MOBILE */

@media (max-width: 600px) {
    .nx-legal-hero,
    .nx-legal-content {
        width: calc(100% - 30px);
    }

    .nx-legal-hero {
        padding: 48px 0 38px;
    }

    .nx-legal-hero h1 {
        margin-top: 17px;
        font-size: 34px;
    }

    .nx-legal-hero p {
        font-size: 11px;
        line-height: 1.7;
    }

    .nx-legal-content {
        padding-bottom: 50px;
    }

    .nx-legal-section {
        grid-template-columns: 34px minmax(0, 1fr);
        gap: 13px;
        padding: 22px 0;
    }

    .nx-legal-number {
        width: 32px;
        height: 32px;
        border-radius: 8px;
        font-size: 8px;
    }

    .nx-legal-section h2 {
        font-size: 13px;
    }

    .nx-legal-section p {
        font-size: 10px;
        line-height: 1.75;
    }
}

/* RAPATKAN STATS DENGAN FEATURES */

.nx-features {
    padding-top: 15px !important;
}

.nx-section-heading {
    margin-bottom: 18px;
}

/* RAPATKAN DOCUMENT TYPES DENGAN TEMPLATES */

.nx-templates {
    padding-top: 15px !important;
}

/* ======================================
   FAQ PAGE
====================================== */

.nx-faq-page {
    min-height: 100vh;
}

.nx-faq-hero {
    width: min(850px, calc(100% - 56px));
    margin: 0 auto;
    padding: 72px 0 48px;
    text-align: center;
    box-sizing: border-box;
}

.nx-faq-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 29px;
    padding: 0 12px 0 5px;
    border: 1px solid #dfe4f3;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    color: #59657b;
    font-size: 9px;
    font-weight: 650;
    box-shadow: 0 6px 18px rgba(23, 32, 51, 0.05);
}

.nx-faq-badge span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    background: #ecefff;
    color: var(--nx-primary);
    font-size: 9px;
}

.nx-faq-hero h1 {
    margin: 20px 0 13px;
    color: var(--nx-dark);
    font-size: clamp(38px, 5vw, 58px);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.05;
}

.nx-faq-hero p {
    max-width: 650px;
    margin: 0 auto;
    color: var(--nx-muted);
    font-size: 13px;
    line-height: 1.8;
}

.nx-faq-list {
    display: flex;
    flex-direction: column;
    gap: 11px;
    width: min(850px, calc(100% - 56px));
    margin: 0 auto;
    padding-bottom: 75px;
}

.nx-faq-item {
    overflow: hidden;
    border: 1px solid var(--nx-border);
    border-radius: 13px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(28, 40, 68, 0.045);
    transition: 0.2s ease;
}

.nx-faq-item[open] {
    border-color: #d3d9f3;
    box-shadow: 0 13px 30px rgba(28, 40, 68, 0.075);
}

.nx-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 64px;
    padding: 0 21px;
    color: var(--nx-dark);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    box-sizing: border-box;
}

.nx-faq-item summary::-webkit-details-marker {
    display: none;
}

.nx-faq-item summary i {
    display: inline-flex;
    flex: 0 0 29px;
    align-items: center;
    justify-content: center;
    width: 29px;
    height: 29px;
    border-radius: 8px;
    background: #eef0ff;
    color: var(--nx-primary);
    font-size: 9px;
    transition: 0.2s ease;
}

.nx-faq-item[open] summary i {
    transform: rotate(45deg);
}

.nx-faq-answer {
    padding: 0 66px 19px 21px;
}

.nx-faq-answer p {
    margin: 0;
    color: #7f8a9e;
    font-size: 10px;
    line-height: 1.8;
}


/* MOBILE */

@media (max-width: 600px) {
    .nx-faq-hero,
    .nx-faq-list {
        width: calc(100% - 30px);
    }

    .nx-faq-hero {
        padding: 48px 0 38px;
    }

    .nx-faq-hero h1 {
        margin-top: 17px;
        font-size: 36px;
    }

    .nx-faq-hero p {
        font-size: 11px;
        line-height: 1.7;
    }

    .nx-faq-list {
        padding-bottom: 50px;
    }

    .nx-faq-item summary {
        min-height: 60px;
        padding: 0 16px;
        font-size: 10px;
    }

    .nx-faq-answer {
        padding: 0 54px 17px 16px;
    }

    .nx-faq-answer p {
        font-size: 10px;
        line-height: 1.7;
    }
}

/* Buang ikon mata password automatik Microsoft Edge */
.login-password-wrapper input::-ms-reveal,
.login-password-wrapper input::-ms-clear {
    display: none;
    width: 0;
    height: 0;
}

