:root {
    --n1-card-padding-lg: 32px;
    --n1-card-padding-md: 24px;
    --n1-pdf-dark-bg: #0d1430;
    --n1-pdf-light-bg: #ffffff;
    --n1-accent-gold: #f2c94c;
    --n1-accent-lime: #49d17d;
    --n1-accent-cyan: #3dc7ff;
    --n1-accent-coral: #ff7a6b;
    --n1-radius-md: 20px;
    --n1-radius-lg: 24px;
    --n1-surface-bg: rgba(255, 255, 255, 0.03);
    --n1-surface-border: 1px solid var(--color-border);
}

html,
body {
    overflow-x: hidden;
}

.rainbow-header.sticky {
    animation: none;
    transform: translate3d(0, 0, 0);
    z-index: 999;
}

.page-wrapper {
    overflow-x: clip;
}

.n1-brand {
    align-items: center;
    background: linear-gradient(180deg, #ffffff 0%, #dfe4eb 100%);
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 24px;
    box-shadow:
        0 18px 38px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
    color: var(--color-heading);
    display: inline-flex;
    line-height: 0;
    padding: 12px;
}

.n1-brand:hover {
    color: var(--color-primary);
}

.n1-brand img {
    display: block;
    height: 52px;
    object-fit: contain;
    width: 52px;
}

.n1-brand-mark {
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    display: inline-flex;
    font-size: 24px;
    height: 52px;
    justify-content: center;
    width: 52px;
}

.active > a {
    color: var(--color-primary) !important;
}

.n1-hero-text {
    color: var(--color-body);
    font-size: 20px;
    line-height: 1.7;
    margin: 0;
    max-width: 760px;
}

.n1-button-group {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.n1-download-panel {
    align-items: center;
    background:
        linear-gradient(135deg, rgba(242, 201, 76, 0.16), rgba(73, 209, 125, 0.1)),
        rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--n1-radius-md);
    box-shadow: 0 18px 40px rgba(7, 11, 28, 0.22);
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: space-between;
    padding: 18px 20px;
    width: min(100%, 720px);
}

.n1-download-copy {
    flex: 1 1 280px;
}

.n1-download-badge {
    background: rgba(242, 201, 76, 0.18);
    border: 1px solid rgba(242, 201, 76, 0.34);
    border-radius: 999px;
    color: #fff5bf;
    display: inline-flex;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
    padding: 7px 12px;
    text-transform: uppercase;
}

.n1-download-copy p {
    color: var(--color-heading);
}

.n1-download-btn {
    flex: 0 0 auto;
}

.n1-chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.n1-chip {
    background: linear-gradient(135deg, rgba(242, 201, 76, 0.12), rgba(73, 209, 125, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    color: var(--color-heading);
    display: inline-flex;
    font-size: 14px;
    padding: 10px 16px;
}

.n1-marquee-section {
    background: linear-gradient(90deg, rgba(242, 201, 76, 0.14), rgba(13, 20, 48, 0.92), rgba(73, 209, 125, 0.16));
    border-block: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    padding: 18px 0;
    position: relative;
}

.n1-marquee-track {
    align-items: center;
    animation: n1-marquee-scroll 28s linear infinite;
    display: flex;
    gap: 24px;
    width: max-content;
}

.n1-marquee-group {
    display: flex;
    flex: 0 0 auto;
    gap: 24px;
}

.n1-marquee-item {
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    color: var(--color-heading);
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 15px;
    font-weight: 600;
    gap: 12px;
    padding: 12px 18px;
    white-space: nowrap;
}

.n1-marquee-item::before {
    background: linear-gradient(135deg, var(--n1-accent-gold), var(--n1-accent-lime));
    border-radius: 50%;
    content: "";
    display: block;
    flex: 0 0 auto;
    height: 10px;
    width: 10px;
}

.n1-intro-card,
.n1-surface-card,
.n1-stat-card,
.n1-partner-item,
.n1-form-panel,
.n1-info-card,
.n1-timeline-card,
.n1-pdf-card {
    background: var(--n1-surface-bg);
    border: var(--n1-surface-border);
}

.n1-intro-card,
.n1-surface-card {
    border-radius: var(--n1-radius-lg);
    padding: var(--n1-card-padding-lg);
}

.n1-intro-card p:last-child,
.n1-surface-card p:last-child {
    margin-bottom: 0;
}

.n1-stat-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 32px;
}

.n1-stat-card {
    border-radius: var(--n1-radius-md);
    padding: var(--n1-card-padding-md);
}

.n1-stat-card .title {
    font-size: 42px;
    margin-bottom: 8px;
}

.n1-check-list {
    display: grid;
    gap: 16px;
    margin: 0;
    padding: 0;
}

.n1-check-list li {
    align-items: flex-start;
    color: var(--color-body);
    display: flex;
    gap: 12px;
    list-style: none;
}

.n1-check-list li i {
    color: var(--color-primary);
    flex: 0 0 auto;
    margin-top: 4px;
}

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

.n1-partner-item {
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 42%),
        linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(10, 13, 31, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    box-shadow:
        0 24px 50px rgba(5, 8, 26, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
    display: grid;
    gap: 10px;
    min-height: 196px;
    overflow: hidden;
    padding: 26px 24px;
    position: relative;
    text-align: left;
}

.n1-partner-item::before {
    background: linear-gradient(135deg, rgba(242, 201, 76, 0.4), rgba(61, 199, 255, 0.12));
    border-radius: 50%;
    content: "";
    height: 180px;
    opacity: 0.75;
    position: absolute;
    right: -48px;
    top: -72px;
    width: 180px;
}

.n1-partner-item::after {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
    content: "";
    height: 1px;
    left: 24px;
    position: absolute;
    right: 24px;
    top: 74px;
}

.n1-partner-item:nth-child(4n + 2)::before {
    background: linear-gradient(135deg, rgba(73, 209, 125, 0.34), rgba(242, 201, 76, 0.18));
}

.n1-partner-item:nth-child(4n + 3)::before {
    background: linear-gradient(135deg, rgba(61, 199, 255, 0.38), rgba(99, 102, 241, 0.16));
}

.n1-partner-item:nth-child(4n + 4)::before {
    background: linear-gradient(135deg, rgba(255, 122, 107, 0.34), rgba(242, 201, 76, 0.18));
}

.n1-partner-item img {
    max-height: 42px;
    opacity: 0.9;
}

.n1-partner-code,
.n1-partner-region,
.n1-partner-name {
    position: relative;
    z-index: 1;
}

.n1-partner-code {
    align-items: center;
    backdrop-filter: blur(12px);
    background: rgba(9, 13, 34, 0.54);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    color: var(--color-heading);
    display: inline-flex;
    font-size: 12px;
    font-weight: 600;
    height: 38px;
    justify-content: center;
    line-height: 1.5;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    width: 38px;
}

.n1-partner-region {
    color: rgba(255, 255, 255, 0.66);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin-top: 8px;
    text-transform: uppercase;
}

.n1-partner-name {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.08;
    max-width: 220px;
    text-wrap: balance;
}

.n1-partner-meta {
    color: rgba(255, 255, 255, 0.76);
    font-size: 15px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.n1-partner-description {
    margin: 0 auto;
    max-width: 760px;
}

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

.n1-partner-highlight {
    align-items: center;
    backdrop-filter: blur(10px);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
        rgba(8, 12, 28, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    display: flex;
    gap: 14px;
    justify-content: center;
    padding: 18px 20px;
    text-align: center;
}

.n1-partner-highlight strong {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.n1-partner-highlight span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.4;
    max-width: 150px;
}

.n1-partner-illustration {
    background:
        radial-gradient(circle at top left, rgba(242, 201, 76, 0.14), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(7, 10, 25, 0.82));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 18px;
}

.n1-partner-illustration img {
    border-radius: 20px;
}

img[src*="assets/images/n1-pdf/"] {
    display: block;
    height: auto !important;
    max-width: 100%;
    object-fit: contain !important;
    object-position: center;
    width: 100%;
}

.n1-section-image img,
.n1-split-image img,
.n1-inline-illustration img,
.n1-blog-thumb {
    display: block;
    width: 100%;
}

.n1-service-visual {
    margin-bottom: 22px;
}

.service.service__style--1 .icon {
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    color: var(--color-primary);
    display: inline-flex;
    height: 56px;
    justify-content: center;
    margin-bottom: 18px;
    width: 56px;
}

.service.service__style--1 .icon i {
    font-size: 28px;
    stroke-width: 1.5 !important;
}

.service.service__style--1 .icon svg {
    height: 28px;
    width: 28px;
}

.n1-service-visual img {
    aspect-ratio: 16 / 9;
    background: var(--n1-pdf-light-bg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    object-fit: contain;
    padding: 10px;
}

.n1-service-visual--compact {
    margin-bottom: 18px;
}

.n1-service-visual--compact img {
    aspect-ratio: 16 / 8;
}

.n1-section-image img,
.n1-split-image img {
    aspect-ratio: 16 / 9;
    background: var(--n1-pdf-dark-bg);
    border-radius: var(--n1-radius-md);
    object-fit: contain;
}

.n1-inline-illustration img {
    background: var(--n1-pdf-light-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--n1-radius-lg);
}

.n1-blog-thumb {
    aspect-ratio: 16 / 9;
    background: var(--n1-pdf-light-bg);
    object-fit: contain;
}

.n1-article-card .content p {
    margin-bottom: 0;
}

.n1-footer-note {
    color: var(--color-body);
    margin: 16px 0 0;
    max-width: 640px;
}

.n1-form-panel {
    border-radius: var(--n1-radius-lg);
    padding: var(--n1-card-padding-lg);
}

.n1-form-panel .subtitle {
    margin-bottom: 20px;
}

.n1-info-stack {
    display: grid;
    gap: 20px;
}

.n1-info-card {
    border-radius: var(--n1-radius-lg);
    padding: 28px;
}

.n1-info-card p:last-child {
    margin-bottom: 0;
}

.n1-mini-meta {
    color: var(--color-body);
    display: flex;
    flex-wrap: wrap;
    font-size: 14px;
    gap: 10px;
    margin-bottom: 14px;
}

.n1-mini-meta .separator {
    opacity: 0.4;
}

@keyframes n1-marquee-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-50% - 12px));
    }
}

@media (prefers-reduced-motion: reduce) {
    .n1-marquee-track {
        animation: none;
    }
}

.n1-subpage-hero {
    min-height: 620px;
}

.n1-home-hero,
.n1-page-hero {
    height: auto;
    isolation: isolate;
    min-height: min(850px, 100vh);
    overflow: hidden;
    padding: 150px 0 110px;
    position: relative;
}

.n1-home-hero {
    background:
        radial-gradient(circle at 14% 18%, rgba(255, 92, 133, 0.26), transparent 28%),
        radial-gradient(circle at 84% 20%, rgba(70, 113, 255, 0.3), transparent 26%),
        linear-gradient(90deg, rgba(7, 8, 18, 0.02) 0%, rgba(7, 8, 18, 0.02) 48%, rgba(7, 8, 18, 0.54) 64%, rgba(7, 8, 18, 0.78) 100%),
        linear-gradient(115deg, #070812 0%, #090c18 42%, #0c1322 100%);
}

.n1-home-hero .inner {
    max-width: min(760px, 62vw);
}

.n1-page-hero {
    background:
        radial-gradient(circle at 18% 20%, rgba(255, 92, 133, 0.24), transparent 30%),
        radial-gradient(circle at 86% 16%, rgba(74, 120, 255, 0.18), transparent 28%),
        linear-gradient(120deg, #080b15 0%, #0b1120 52%, #10182b 100%);
}

.n1-home-hero::before,
.n1-home-hero::after,
.n1-page-hero::after {
    content: "";
    opacity: 0.14;
    position: absolute;
    pointer-events: none;
}

.n1-home-hero::before {
    background:
        repeating-linear-gradient(12deg, rgba(255, 255, 255, 0.08) 0 2px, transparent 2px 22px),
        repeating-linear-gradient(102deg, rgba(80, 184, 255, 0.08) 0 2px, transparent 2px 24px),
        radial-gradient(circle at 58% 64%, rgba(255, 255, 255, 0.28) 0 0.8%, transparent 1.2%),
        radial-gradient(circle at 42% 56%, rgba(255, 255, 255, 0.22) 0 0.7%, transparent 1.1%),
        radial-gradient(circle at 65% 38%, rgba(255, 255, 255, 0.24) 0 0.8%, transparent 1.2%),
        radial-gradient(circle at 34% 32%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.14) 11%, transparent 20%),
        radial-gradient(circle at 62% 44%, rgba(39, 100, 255, 0.62), transparent 34%),
        radial-gradient(circle at 48% 58%, rgba(18, 209, 255, 0.35), transparent 38%),
        radial-gradient(circle at 50% 50%, #0b1c48 0%, #0f2f7e 45%, #0d61cc 68%, #0a1026 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    box-shadow:
        0 0 0 18px rgba(39, 100, 255, 0.06),
        0 0 100px rgba(19, 106, 255, 0.34),
        inset -42px -22px 70px rgba(2, 9, 22, 0.72),
        inset 20px 18px 50px rgba(255, 255, 255, 0.08);
    height: min(36vw, 500px);
    opacity: 0.96;
    right: 5%;
    top: 14%;
    width: min(36vw, 500px);
    z-index: 0;
}

.n1-home-hero::after {
    background:
        radial-gradient(circle at 50% 50%, rgba(74, 120, 255, 0.18), rgba(74, 120, 255, 0.05) 48%, transparent 70%),
        radial-gradient(circle at 50% 50%, transparent 46%, rgba(255, 255, 255, 0.08) 47%, transparent 49%),
        radial-gradient(circle at 50% 50%, transparent 58%, rgba(255, 255, 255, 0.18) 59%, transparent 61%),
        radial-gradient(circle at 50% 50%, transparent 70%, rgba(80, 184, 255, 0.12) 71%, transparent 73%);
    border-radius: 50%;
    height: min(48vw, 620px);
    opacity: 1;
    right: 0;
    top: 7%;
    width: min(48vw, 620px);
    z-index: 0;
}

.n1-exporter-hero::after {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 32px;
    height: 76%;
    background-image: url(../images/n1-pdf/page-10.webp);
    right: -6%;
    top: 12%;
    transform: rotate(-6deg);
    width: min(42vw, 520px);
}

.n1-importer-hero::after {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 32px;
    height: 76%;
    background-image: url(../images/n1-pdf/page-11.webp);
    right: -6%;
    top: 12%;
    transform: rotate(-6deg);
    width: min(42vw, 520px);
}

.n1-blog-hero::after {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 32px;
    height: 76%;
    background-image: url(../images/n1-pdf/page-7.webp);
    right: -6%;
    top: 12%;
    transform: rotate(-6deg);
    width: min(42vw, 520px);
}

.n1-contact-hero::after {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 32px;
    height: 76%;
    background-image: url(../images/n1-pdf/page-6.webp);
    right: -6%;
    top: 12%;
    transform: rotate(-6deg);
    width: min(42vw, 520px);
}

.n1-home-hero .container,
.n1-page-hero .container {
    position: relative;
    z-index: 1;
}

.n1-section-tight {
    padding-top: 60px;
}

.n1-timeline-card {
    border-radius: var(--n1-radius-lg);
    height: 100%;
    padding: 28px;
}

.n1-timeline-card .step {
    color: var(--color-primary);
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
    text-transform: uppercase;
}

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

.n1-pdf-card {
    border-radius: var(--n1-radius-lg);
    overflow: hidden;
}

.n1-pdf-card img {
    aspect-ratio: 16 / 9;
    background: var(--n1-pdf-light-bg);
    display: block;
    object-fit: contain;
    width: 100%;
}

.n1-pdf-card .content {
    padding: 24px;
}

.n1-inline-note {
    color: var(--color-body);
    font-size: 15px;
    margin-top: 8px;
}

.popup-mobile-menu .inner {
    background:
        linear-gradient(180deg, rgba(242, 201, 76, 0.08), rgba(13, 20, 48, 0.96) 28%, rgba(13, 20, 48, 0.98) 100%);
}

.n1-mobile-menu-actions {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: grid;
    gap: 12px;
    margin-top: auto;
    padding: 20px;
}

.n1-mobile-menu-actions .btn-small {
    justify-content: center;
    width: 100%;
}

@media only screen and (max-width: 1199px) {
    .n1-stat-grid,
    .n1-partner-grid,
    .n1-pdf-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .n1-partner-highlights {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .n1-home-hero,
    .n1-page-hero {
        min-height: auto;
        padding: 140px 0 90px;
    }

    .n1-home-hero::after,
    .n1-page-hero::after {
        opacity: 0.1;
        right: -12%;
        width: min(48vw, 420px);
    }

    .n1-home-hero::before {
        height: min(38vw, 340px);
        right: 3%;
        top: 19%;
        width: min(38vw, 340px);
    }

    .n1-home-hero::after {
        height: min(48vw, 420px);
        right: -5%;
        top: 13%;
        width: min(48vw, 420px);
    }
}

@media only screen and (max-width: 767px) {
    .n1-home-hero::after,
    .n1-page-hero::after {
        display: none;
    }

    .rainbow-header.sticky {
        height: calc(88px + env(safe-area-inset-top, 0px));
        padding-top: max(10px, env(safe-area-inset-top, 0px));
    }

    .n1-home-hero::before {
        display: block;
        height: 220px;
        left: -58px;
        opacity: 0.9;
        right: auto;
        top: 88px;
        width: 220px;
    }

    .n1-subpage-hero {
        min-height: auto;
    }

    .n1-home-hero,
    .n1-page-hero {
        min-height: auto;
        padding: 152px 0 64px;
    }

    .n1-home-hero .inner {
        align-items: flex-start;
        display: flex;
        flex-direction: column;
        gap: 18px;
        max-width: 100%;
    }

    .n1-home-hero .subtitle,
    .n1-home-hero .title,
    .n1-home-hero .n1-hero-text,
    .n1-home-hero .n1-button-group,
    .n1-home-hero .n1-download-panel,
    .n1-home-hero .n1-chip-group {
        margin: 0 !important;
    }

    .n1-home-hero .subtitle {
        font-size: 15px;
        line-height: 1.35;
        max-width: 230px;
    }

    .n1-home-hero .subtitle::after {
        width: 72px;
    }

    .n1-home-hero .title {
        line-height: 1.08;
        max-width: 300px;
    }

    .n1-brand {
        max-width: none;
        border-radius: 20px;
        padding: 10px;
    }

    .n1-brand img {
        height: 42px;
        width: 42px;
    }

    .n1-hero-text {
        font-size: 17px;
    }

    .n1-download-panel {
        padding: 16px;
    }

    .n1-download-btn {
        width: 100%;
    }

    .n1-button-group {
        gap: 12px;
        width: 100%;
    }

    .n1-button-group > a {
        justify-content: center;
        width: 100%;
    }

    .n1-download-panel {
        gap: 14px;
        width: 100%;
    }

    .n1-marquee-section {
        padding: 14px 0;
    }

    .n1-marquee-track,
    .n1-marquee-group {
        gap: 14px;
    }

    .n1-marquee-item {
        font-size: 13px;
        padding: 10px 14px;
    }

    .n1-intro-card,
    .n1-surface-card,
    .n1-form-panel,
    .n1-info-card,
    .n1-timeline-card {
        padding: var(--n1-card-padding-md);
    }

    .n1-stat-grid,
    .n1-partner-grid,
    .n1-pdf-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .n1-partner-highlights {
        grid-template-columns: minmax(0, 1fr);
    }

    .n1-partner-highlight {
        justify-content: flex-start;
        text-align: left;
    }

    .n1-partner-item {
        min-height: 172px;
        padding: 22px 20px;
    }

    .n1-partner-item::after {
        left: 20px;
        right: 20px;
        top: 68px;
    }

    .n1-partner-name {
        font-size: 24px;
        max-width: 100%;
    }

    .n1-partner-meta {
        font-size: 14px;
    }

    .n1-partner-illustration {
        padding: 12px;
    }

    .n1-service-visual {
        margin-bottom: 18px;
    }

    .service.service__style--1 .icon {
        height: 48px;
        width: 48px;
    }

    .service.service__style--1 .icon i {
        font-size: 24px;
    }

    .service.service__style--1 .icon svg {
        height: 24px;
        width: 24px;
    }

    .n1-service-visual img {
        padding: 8px;
    }
}
