/* ==========================================================================
   Neocore brand layer — header, footer and landing page
   Black base with the logo colours (mint wordmark, aqua "O") used as neon
   ========================================================================== */

:root {
    --nc-mint: #00de95;
    --nc-mint-600: #00b97c;
    --nc-aqua: #2ed3c6;
    --nc-teal: #176a74;
    --nc-black: #030605;
    --nc-bg: #060a09;
    --nc-bg-2: #0a100f;
    --nc-surface: #0e1615;
    --nc-surface-2: #142120;
    --nc-white: #ffffff;
    --nc-text: #b4c4c1;
    --nc-muted: #7a8d8a;
    --nc-line: rgba(255, 255, 255, .08);
    --nc-line-strong: rgba(255, 255, 255, .14);
    --nc-grad: linear-gradient(120deg, var(--nc-mint) 0%, var(--nc-aqua) 100%);
    --nc-glow: 0 0 24px rgba(0, 222, 149, .45), 0 0 64px rgba(0, 222, 149, .18);
    --nc-glow-soft: 0 0 0 1px rgba(0, 222, 149, .35), 0 0 32px rgba(0, 222, 149, .15);
    --nc-radius: 18px;
    --nc-shadow: 0 30px 60px -25px rgba(0, 0, 0, .9);
    --nc-font: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

.nc, .nc-header, .nc-footer {
    font-family: var(--nc-font);
    color: var(--nc-text);
    color-scheme: dark;
}

.nc { background: var(--nc-bg); }

.nc h1, .nc h2, .nc h3, .nc h4,
.nc-footer h4 {
    font-family: var(--nc-font);
    color: var(--nc-white);
    letter-spacing: -0.02em;
    text-transform: none;
}

.nc ::selection { background: var(--nc-mint); color: var(--nc-black); }

.nc-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- Buttons ---------- */
.nc-btn {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .85rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: .95rem;
    line-height: 1;
    text-decoration: none !important;
    border: 2px solid transparent;
    transition: transform .2s ease, box-shadow .25s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
    white-space: nowrap;
}

.nc-btn:hover { transform: translateY(-2px); }

.nc-btn-primary {
    background: var(--nc-mint);
    color: var(--nc-black) !important;
    box-shadow: 0 0 18px rgba(0, 222, 149, .45);
}

.nc-btn-primary:hover {
    background: var(--nc-aqua);
    box-shadow: 0 0 28px rgba(46, 211, 198, .7), 0 0 70px rgba(46, 211, 198, .25);
}

.nc-btn-ghost {
    border-color: var(--nc-line-strong);
    color: var(--nc-white) !important;
}

.nc-btn-ghost:hover {
    border-color: var(--nc-mint);
    color: var(--nc-mint) !important;
    box-shadow: var(--nc-glow-soft);
}

.nc-btn-dark {
    background: var(--nc-black);
    color: var(--nc-white) !important;
}

.nc-btn-dark:hover { background: #000; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .8); }

/* ---------- Header / menu ---------- */
.nc-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(3, 6, 5, .78);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.nc-header::after {
    /* neon hairline that lights up once you scroll */
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--nc-mint), var(--nc-aqua), transparent);
    opacity: 0;
    transition: opacity .3s ease;
}

.nc-header.is-scrolled::after { opacity: .7; }

.nc-header .nc-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.nc-logo img,
.nc-footer-brand img {
    height: 46px;
    width: auto;
    display: block;
    filter: drop-shadow(0 0 6px rgba(0, 222, 149, .45)) drop-shadow(0 0 18px rgba(46, 211, 198, .25));
    transition: filter .3s ease;
}

.nc-logo:hover img {
    filter: drop-shadow(0 0 8px rgba(0, 222, 149, .7)) drop-shadow(0 0 26px rgba(46, 211, 198, .4));
}

.nc-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nc-menu ul {
    display: flex;
    gap: .25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nc-menu ul a {
    position: relative;
    display: block;
    padding: .5rem .85rem;
    color: #d6e2e0;
    font-weight: 500;
    font-size: .95rem;
    text-decoration: none;
    border-radius: 999px;
    transition: color .2s ease, background-color .2s ease, text-shadow .2s ease;
}

.nc-menu ul a:hover {
    color: var(--nc-mint);
    background: rgba(0, 222, 149, .06);
    text-shadow: 0 0 12px rgba(0, 222, 149, .6);
}

.nc-menu ul a.is-active {
    color: var(--nc-mint);
    text-shadow: 0 0 12px rgba(0, 222, 149, .55);
}

.nc-menu ul a.is-active::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 2px;
    width: 6px;
    height: 6px;
    margin-left: -3px;
    border-radius: 50%;
    background: var(--nc-mint);
    box-shadow: 0 0 10px var(--nc-mint);
}

.nc-menu-cta {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.nc-menu-cta .nc-link-wa {
    color: #d6e2e0;
    font-weight: 600;
    font-size: .9rem;
    text-decoration: none;
}

.nc-menu-cta .nc-link-wa:hover { color: var(--nc-mint); }
.nc-menu-cta .nc-link-wa i { color: var(--nc-mint); margin-right: .3rem; }

.nc-burger {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--nc-line-strong);
    border-radius: 12px;
    background: var(--nc-surface);
    color: var(--nc-mint);
    font-size: 1.1rem;
}

@media (max-width: 991px) {
    .nc-burger { display: inline-flex; align-items: center; justify-content: center; }

    .nc-menu {
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 1rem 20px 1.5rem;
        background: var(--nc-black);
        border-bottom: 1px solid rgba(0, 222, 149, .25);
        box-shadow: 0 30px 40px -20px rgba(0, 0, 0, .9);
        display: none;
    }

    .nc-header.is-open .nc-menu { display: flex; }

    .nc-menu ul { flex-direction: column; }
    .nc-menu ul a { padding: .8rem 1rem; border-radius: 12px; }
    .nc-menu ul a.is-active { background: rgba(0, 222, 149, .08); }
    .nc-menu ul a.is-active::after { display: none; }
    .nc-menu-cta { flex-direction: column; align-items: stretch; }
    .nc-menu-cta .nc-btn { justify-content: center; }
    .nc-menu-cta .nc-link-wa { text-align: center; padding: .5rem; }
}

/* ---------- Section basics ---------- */
.nc-section { padding: 96px 0; position: relative; }

.nc-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--nc-mint);
    margin-bottom: .9rem;
}

.nc-eyebrow::before {
    content: '';
    width: 22px;
    height: 3px;
    border-radius: 3px;
    background: var(--nc-grad);
    box-shadow: 0 0 10px var(--nc-mint);
}

.nc-title {
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 1rem;
}

.nc-lead {
    font-size: 1.08rem;
    line-height: 1.75;
    color: var(--nc-muted);
    max-width: 640px;
}

.nc-center { text-align: center; }
.nc-center .nc-lead { margin-left: auto; margin-right: auto; }
.nc-center .nc-eyebrow { justify-content: center; }

.nc-hl {
    background: var(--nc-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 14px rgba(0, 222, 149, .45));
}

/* glowing divider between sections */
.nc-section + .nc-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: min(720px, 80%);
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(0, 222, 149, .5), transparent);
}

/* ---------- Hero ---------- */
.nc-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(700px 420px at 82% 18%, rgba(46, 211, 198, .16), transparent 65%),
        radial-gradient(600px 420px at 8% 95%, rgba(0, 222, 149, .12), transparent 65%),
        var(--nc-black);
    color: var(--nc-text);
    padding: 96px 0 120px;
}

.nc-hero::before {
    /* maze-like grid nodding to the cube in the logo */
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 222, 149, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 222, 149, .06) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 0%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 0%, transparent 80%);
    pointer-events: none;
}

.nc-hero::after {
    /* horizon glow under the hero */
    content: '';
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--nc-mint), var(--nc-aqua), transparent);
    box-shadow: 0 0 30px 6px rgba(0, 222, 149, .25);
}

.nc-hero .nc-container {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 56px;
    align-items: center;
}

.nc-pill {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem .9rem .4rem .45rem;
    border-radius: 999px;
    background: rgba(0, 222, 149, .06);
    border: 1px solid rgba(0, 222, 149, .25);
    color: #dff7ef;
    font-size: .85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.nc-pill b {
    background: var(--nc-mint);
    color: var(--nc-black);
    border-radius: 999px;
    padding: .15rem .6rem;
    font-size: .72rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    box-shadow: 0 0 12px rgba(0, 222, 149, .6);
}

.nc .nc-hero h1 {
    color: var(--nc-white);
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.08;
    margin: 0 0 1.25rem;
}

.nc-hero p.nc-lead { color: #93a6a3; font-size: 1.12rem; }

.nc-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .9rem;
    margin: 2rem 0 2.25rem;
}

.nc-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: .92rem;
    color: #cbd8d6;
}

.nc-hero-points i { color: var(--nc-mint); margin-right: .4rem; filter: drop-shadow(0 0 6px rgba(0, 222, 149, .7)); }

/* Hero product mock-up */
.nc-mock {
    position: relative;
    background: linear-gradient(180deg, var(--nc-surface-2), var(--nc-surface));
    border: 1px solid rgba(0, 222, 149, .25);
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .5), 0 0 60px rgba(0, 222, 149, .14), var(--nc-shadow);
    color: var(--nc-text);
}

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

.nc-mock-top small {
    display: block;
    font-size: .72rem;
    color: var(--nc-muted);
    text-transform: uppercase;
    letter-spacing: .08em;
}

.nc-mock-top strong { color: var(--nc-white); font-size: 1.02rem; }

.nc-live {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .75rem;
    font-weight: 600;
    color: var(--nc-mint);
    background: rgba(0, 222, 149, .1);
    padding: .3rem .65rem;
    border-radius: 999px;
}

.nc-live::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--nc-mint);
    animation: nc-pulse 1.6s infinite;
}

@keyframes nc-pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 222, 149, .7); }
    70% { box-shadow: 0 0 0 8px rgba(0, 222, 149, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 222, 149, 0); }
}

.nc-mock-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.nc-mock-stat {
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--nc-line);
    border-radius: 12px;
    padding: 12px;
}

.nc-mock-stat span { display: block; font-size: .72rem; color: var(--nc-muted); }
.nc-mock-stat strong { font-size: 1.25rem; color: var(--nc-white); }
.nc-mock-stat:nth-child(2) strong { color: var(--nc-mint); text-shadow: 0 0 14px rgba(0, 222, 149, .6); }

.nc-progress {
    height: 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .06);
    overflow: hidden;
    margin-bottom: 18px;
}

.nc-progress span {
    display: block;
    height: 100%;
    width: 70%;
    background: var(--nc-grad);
    border-radius: 8px;
    box-shadow: 0 0 14px rgba(0, 222, 149, .8);
}

.nc-mock-list { list-style: none; margin: 0 0 40px; padding: 0; }

.nc-mock-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid var(--nc-line);
    font-size: .88rem;
}

.nc-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    font-weight: 700;
    color: var(--nc-aqua);
    background: rgba(46, 211, 198, .12);
    border: 1px solid rgba(46, 211, 198, .3);
    flex-shrink: 0;
}

.nc-mock-list .nc-who { flex: 1; min-width: 0; }
.nc-mock-list .nc-who strong { display: block; color: var(--nc-white); font-weight: 600; }
.nc-mock-list .nc-who span { font-size: .75rem; color: var(--nc-muted); }

.nc-tag {
    font-size: .7rem;
    font-weight: 600;
    padding: .25rem .6rem;
    border-radius: 999px;
    background: rgba(0, 222, 149, .12);
    color: var(--nc-mint);
}

.nc-tag.is-walkin { background: rgba(46, 211, 198, .12); color: var(--nc-aqua); }

.nc-scan {
    position: absolute;
    left: -38px;
    bottom: -34px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--nc-black);
    border: 1px solid rgba(0, 222, 149, .4);
    border-radius: 16px;
    box-shadow: 0 0 30px rgba(0, 222, 149, .25), var(--nc-shadow);
    animation: nc-float 5s ease-in-out infinite;
}

.nc-scan i {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--nc-grad);
    color: var(--nc-black);
    font-size: 1.1rem;
    box-shadow: 0 0 16px rgba(0, 222, 149, .6);
}

.nc-scan strong { display: block; color: var(--nc-white); font-size: .9rem; }
.nc-scan span { font-size: .75rem; color: var(--nc-muted); }

.nc-badge-float {
    position: absolute;
    right: -24px;
    top: -26px;
    padding: 10px 14px;
    background: var(--nc-mint);
    color: var(--nc-black);
    border-radius: 14px;
    font-weight: 700;
    font-size: .85rem;
    box-shadow: var(--nc-glow);
    animation: nc-float 6s ease-in-out infinite reverse;
}

@keyframes nc-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ---------- Problem / solution ---------- */
.nc-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 48px;
}

.nc-compare-card {
    border-radius: var(--nc-radius);
    padding: 32px;
    border: 1px solid var(--nc-line);
    background: var(--nc-bg-2);
    position: relative;
    overflow: hidden;
}

.nc-compare-card.is-new {
    border-color: rgba(0, 222, 149, .4);
    background: linear-gradient(160deg, rgba(0, 222, 149, .08), rgba(46, 211, 198, .02) 60%), var(--nc-surface);
    box-shadow: 0 0 50px rgba(0, 222, 149, .12);
}

.nc-compare-card.is-new::after {
    content: '';
    position: absolute;
    right: -80px;
    top: -80px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 222, 149, .3), transparent 70%);
}

.nc-compare-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 1.25rem;
    display: flex;
    align-items: center;
    gap: .6rem;
}

.nc-compare-card:not(.is-new) h3 { color: #8e9c9a; }

.nc-compare-card ul { list-style: none; margin: 0; padding: 0; position: relative; z-index: 1; }

.nc-compare-card li {
    display: flex;
    gap: .75rem;
    padding: .55rem 0;
    line-height: 1.55;
}

.nc-compare-card:not(.is-new) li { color: var(--nc-muted); }
.nc-compare-card.is-new li { color: #d6e2e0; }
.nc-compare-card li i { margin-top: .3rem; flex-shrink: 0; }
.nc-compare-card:not(.is-new) li i { color: #e0676f; }
.nc-compare-card.is-new li i { color: var(--nc-mint); filter: drop-shadow(0 0 6px rgba(0, 222, 149, .7)); }

/* ---------- Features ---------- */
.nc-features { background: var(--nc-bg-2); }

.nc-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
}

.nc-feature {
    background: var(--nc-surface);
    border-radius: var(--nc-radius);
    padding: 32px 28px;
    border: 1px solid var(--nc-line);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.nc-feature:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 222, 149, .45);
    box-shadow: 0 0 40px rgba(0, 222, 149, .14), var(--nc-shadow);
}

.nc-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--nc-mint);
    background: rgba(0, 222, 149, .08);
    border: 1px solid rgba(0, 222, 149, .25);
    margin-bottom: 1.25rem;
    transition: box-shadow .25s ease, color .25s ease, background-color .25s ease;
}

.nc-icon i { filter: drop-shadow(0 0 8px rgba(0, 222, 149, .7)); }

.nc-feature:hover .nc-icon {
    background: var(--nc-mint);
    color: var(--nc-black);
    box-shadow: var(--nc-glow);
}

.nc-feature:hover .nc-icon i { filter: none; }

.nc-feature h3 { font-size: 1.15rem; font-weight: 700; margin: 0 0 .6rem; }
.nc-feature p { margin: 0; line-height: 1.7; color: var(--nc-muted); font-size: .95rem; }

/* ---------- How it works ---------- */
.nc-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 56px;
    position: relative;
}

.nc-steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 16%;
    right: 16%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--nc-aqua) 0 8px, transparent 8px 16px);
    opacity: .5;
    filter: drop-shadow(0 0 4px var(--nc-aqua));
}

.nc-step { text-align: center; position: relative; }

.nc-step-num {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--nc-black);
    background: var(--nc-grad);
    box-shadow: 0 0 0 8px var(--nc-bg), 0 0 0 9px rgba(0, 222, 149, .35), 0 0 40px rgba(0, 222, 149, .5);
    position: relative;
}

.nc-step h3 { font-size: 1.15rem; font-weight: 700; margin: 0 0 .6rem; }
.nc-step p { color: var(--nc-muted); line-height: 1.7; margin: 0 auto; max-width: 300px; }

/* ---------- Use cases ---------- */
.nc-usecases {
    background:
        radial-gradient(800px 360px at 50% 0%, rgba(46, 211, 198, .1), transparent 70%),
        var(--nc-black);
}

.nc-usecase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.nc-usecase {
    border-radius: var(--nc-radius);
    padding: 28px 24px;
    background: rgba(255, 255, 255, .025);
    border: 1px solid var(--nc-line);
    transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.nc-usecase:hover {
    background: rgba(0, 222, 149, .06);
    border-color: rgba(0, 222, 149, .45);
    box-shadow: 0 0 36px rgba(0, 222, 149, .12);
}

.nc-usecase i {
    font-size: 1.5rem;
    color: var(--nc-mint);
    margin-bottom: 1rem;
    display: block;
    filter: drop-shadow(0 0 10px rgba(0, 222, 149, .7));
}

.nc .nc-usecase h3 { font-size: 1.05rem; font-weight: 600; margin: 0 0 .4rem; }
.nc-usecase p { margin: 0; font-size: .9rem; line-height: 1.6; color: var(--nc-muted); }

/* ---------- CTA ---------- */
.nc-cta {
    border-radius: 28px;
    padding: 64px 56px;
    background: var(--nc-grad);
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 32px;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 80px rgba(0, 222, 149, .35), 0 0 160px rgba(46, 211, 198, .15);
}

.nc-cta::after {
    content: '';
    position: absolute;
    right: -60px;
    bottom: -120px;
    width: 320px;
    height: 320px;
    border-radius: 40px;
    border: 28px solid rgba(255, 255, 255, .18);
    transform: rotate(18deg);
}

.nc .nc-cta h2 {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--nc-black);
    margin: 0 0 .75rem;
}

.nc-cta p { color: #04211a; font-size: 1.05rem; margin: 0; opacity: .85; }

.nc-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: flex-end;
    position: relative;
    z-index: 1;
}

.nc-cta .nc-btn-outline {
    border-color: var(--nc-black);
    color: var(--nc-black) !important;
}

.nc-cta .nc-btn-outline:hover { background: var(--nc-black); color: var(--nc-white) !important; }

/* ---------- Footer ---------- */
.nc-footer {
    position: relative;
    background: #000;
    color: var(--nc-muted);
    padding: 72px 0 28px;
    font-size: .95rem;
}

.nc-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 222, 149, .6), rgba(46, 211, 198, .6), transparent);
}

.nc-footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--nc-line);
}

.nc-footer-brand img { height: 52px; margin-bottom: 1.25rem; }

.nc-footer-brand p { line-height: 1.7; max-width: 340px; margin: 0; }

.nc-footer h4 {
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin: 0 0 1.1rem;
}

.nc-footer ul { list-style: none; margin: 0; padding: 0; }
.nc-footer li { margin-bottom: .6rem; }

.nc-footer a {
    color: #c3d0ce;
    text-decoration: none;
    transition: color .2s ease, text-shadow .2s ease;
}

.nc-footer a:hover { color: var(--nc-mint); text-shadow: 0 0 10px rgba(0, 222, 149, .6); }

.nc-social { display: flex; gap: .6rem; }

.nc-social a {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--nc-surface);
    border: 1px solid var(--nc-line);
}

.nc-social a:hover {
    background: var(--nc-mint);
    color: var(--nc-black);
    border-color: var(--nc-mint);
    box-shadow: var(--nc-glow);
    text-shadow: none;
}

.nc-footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 24px;
    font-size: .85rem;
}

/* ---------- Reveal on scroll ---------- */
.nc-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
}

.nc-reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    .nc-reveal { opacity: 1; transform: none; transition: none; }
    .nc-scan, .nc-badge-float, .nc-live::before { animation: none; }
    .nc-btn:hover, .nc-feature:hover { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
    .nc-usecase-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991px) {
    .nc-section { padding: 72px 0; }
    .nc-hero { padding: 64px 0 96px; }
    .nc-hero .nc-container { grid-template-columns: 1fr; gap: 64px; }
    .nc-mock { max-width: 520px; margin: 0 auto; width: 100%; }
    .nc-scan { left: -12px; }
    .nc-badge-float { right: -8px; }
    .nc-feature-grid { grid-template-columns: repeat(2, 1fr); }
    .nc-steps { grid-template-columns: 1fr; gap: 40px; }
    .nc-steps::before { display: none; }
    .nc-cta { grid-template-columns: 1fr; padding: 48px 32px; }
    .nc-cta-actions { justify-content: flex-start; }
    .nc-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .nc-compare { grid-template-columns: 1fr; }
    .nc-feature-grid { grid-template-columns: 1fr; }
    .nc-usecase-grid { grid-template-columns: 1fr; }
    .nc-mock-stats { grid-template-columns: repeat(3, 1fr); gap: 6px; }
    .nc-mock-stat strong { font-size: 1.05rem; }
    .nc-scan { position: relative; left: 0; bottom: 0; margin-top: 16px; animation: none; }
    .nc-mock-list { margin-bottom: 0; }
    .nc-badge-float { right: 8px; top: -18px; }
    .nc-footer-grid { grid-template-columns: 1fr; }
    .nc-logo img { height: 38px; }
}

html { scroll-padding-top: 90px; }

/* Template demo CSS boxes the page at >=1440px; keep it full-bleed.
   overflow-x: clip (not hidden) so the sticky header keeps working in Safari. */
.body,
html.safari:not(.no-safari-overflow-x-fix) .body {
    margin: 0 !important;
    overflow-x: clip;
}

/* black overscroll/edges on the landing page only */
html:has(.nc), body:has(.nc), .body:has(.nc) { background: var(--nc-black); }

/* ---------- Inner pages (About) ---------- */
.nc-page-hero { padding: 104px 0 96px; }
.nc-page-hero .nc-container { grid-template-columns: minmax(0, 820px); }
.nc .nc-page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); }

.nc-stats-wrap { position: relative; z-index: 2; margin-top: -48px; }

.nc-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: var(--nc-surface);
    border: 1px solid rgba(0, 222, 149, .3);
    border-radius: 22px;
    box-shadow: 0 0 50px rgba(0, 222, 149, .12), var(--nc-shadow);
}

.nc-stat { padding: 32px 28px; text-align: center; }
.nc-stat + .nc-stat { border-left: 1px solid var(--nc-line); }

.nc-stat strong {
    display: block;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.1;
    background: var(--nc-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 14px rgba(0, 222, 149, .45));
    margin-bottom: .35rem;
}

.nc-stat span { font-size: .92rem; color: var(--nc-muted); }

.nc-split {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 56px;
    align-items: start;
}

.nc-prose p { font-size: 1.05rem; line-height: 1.8; color: var(--nc-text); margin: 0 0 1.1rem; }
.nc-prose p:last-child { margin-bottom: 0; }

.nc-journey {
    list-style: none;
    margin: 56px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    position: relative;
}

.nc-journey::before {
    content: '';
    position: absolute;
    top: 27px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--nc-mint), var(--nc-aqua));
    box-shadow: 0 0 12px rgba(0, 222, 149, .6);
    opacity: .55;
}

.nc-journey li { text-align: center; position: relative; }

.nc-journey .nc-icon {
    position: relative;
    background: var(--nc-bg-2);
    box-shadow: 0 0 0 6px var(--nc-bg-2), 0 0 24px rgba(0, 222, 149, .25);
}

.nc-journey h3 { font-size: 1.05rem; font-weight: 700; margin: 0 0 .45rem; }
.nc-journey p { margin: 0 auto; max-width: 210px; font-size: .9rem; line-height: 1.6; color: var(--nc-muted); }

.nc-grid-4 { grid-template-columns: repeat(4, 1fr); }

.nc-mv {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.nc-mv-card {
    padding: 32px 28px;
    border-radius: var(--nc-radius);
    background: rgba(255, 255, 255, .025);
    border: 1px solid var(--nc-line);
}

.nc-mv-card.is-privacy { border-color: rgba(0, 222, 149, .35); box-shadow: 0 0 40px rgba(0, 222, 149, .08); }
.nc-mv-card .nc-eyebrow i { font-size: .75rem; }
.nc .nc-mv-card h3 { font-size: 1.2rem; font-weight: 700; line-height: 1.4; margin: 0 0 .75rem; }
.nc-mv-card p { margin: 0; line-height: 1.7; color: var(--nc-muted); }

/* Landing proof strip */
.nc-proof {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 40px;
    padding: 28px 0;
    border-bottom: 1px solid var(--nc-line);
    background: var(--nc-black);
    font-size: .95rem;
    color: var(--nc-muted);
}

.nc-proof b {
    color: var(--nc-mint);
    font-weight: 700;
    text-shadow: 0 0 12px rgba(0, 222, 149, .5);
    margin-right: .35rem;
}

@media (max-width: 1199px) {
    .nc-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991px) {
    .nc-split { grid-template-columns: 1fr; gap: 24px; }
    .nc-journey { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
    .nc-journey::before { display: none; }
    .nc-mv { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .nc-stats { grid-template-columns: 1fr; }
    .nc-stat + .nc-stat { border-left: 0; border-top: 1px solid var(--nc-line); }
    .nc-stat { padding: 22px; }
    .nc-journey { grid-template-columns: 1fr; }
    .nc-grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Event website section ---------- */
.nc-site {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.nc-checklist { list-style: none; margin: 1.75rem 0; padding: 0; }

.nc-checklist li {
    display: flex;
    gap: .75rem;
    padding: .45rem 0;
    color: #d6e2e0;
    line-height: 1.55;
}

.nc-checklist i { color: var(--nc-mint); margin-top: .3rem; filter: drop-shadow(0 0 6px rgba(0, 222, 149, .7)); }

.nc-site-note {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    margin: 0;
    padding: .75rem 1rem;
    border-radius: 12px;
    background: rgba(0, 222, 149, .06);
    border: 1px solid rgba(0, 222, 149, .25);
    color: #dff7ef;
    font-size: .92rem;
}

.nc-site-note i { color: var(--nc-mint); }

.nc-browser {
    border-radius: 18px;
    overflow: hidden;
    background: var(--nc-surface);
    border: 1px solid rgba(46, 211, 198, .3);
    box-shadow: 0 0 60px rgba(46, 211, 198, .14), var(--nc-shadow);
}

.nc-browser-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    background: var(--nc-black);
    border-bottom: 1px solid var(--nc-line);
}

.nc-dots { display: inline-flex; gap: 6px; }
.nc-dots i { width: 10px; height: 10px; border-radius: 50%; background: #2a3735; }

.nc-url {
    flex: 1;
    padding: .35rem .8rem;
    border-radius: 8px;
    background: var(--nc-surface);
    color: var(--nc-muted);
    font-size: .78rem;
}

.nc-url i { color: var(--nc-mint); font-size: .7rem; margin-right: .3rem; }

.nc-site-hero {
    padding: 22px 24px 30px;
    background:
        radial-gradient(400px 200px at 90% 0%, rgba(0, 222, 149, .25), transparent 70%),
        linear-gradient(160deg, #0d2a26, #071513);
}

.nc-site-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 16px;
    margin-bottom: 30px;
    font-size: .72rem;
    color: #9fb3b0;
}

.nc-site-nav b { margin-right: auto; color: #fff; letter-spacing: .08em; font-size: .85rem; }
.nc-site-nav b span { color: var(--nc-mint); }

.nc-site-hero small {
    display: block;
    font-size: .7rem;
    letter-spacing: .12em;
    color: var(--nc-mint);
    margin-bottom: .4rem;
}

.nc-site-hero strong {
    display: block;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.nc-site-btn {
    display: inline-block;
    padding: .5rem 1rem;
    border-radius: 999px;
    background: var(--nc-mint);
    color: var(--nc-black);
    font-size: .78rem;
    font-weight: 700;
    box-shadow: 0 0 16px rgba(0, 222, 149, .55);
}

.nc-site-body { padding: 8px 24px 18px; }

.nc-site-row {
    display: flex;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--nc-line);
    font-size: .85rem;
}

.nc-site-row:last-child { border-bottom: 0; }
.nc-site-row > span { color: var(--nc-mint); font-weight: 600; min-width: 44px; }
.nc-site-row b { display: block; color: #fff; font-weight: 600; }
.nc-site-row i { font-style: normal; font-size: .75rem; color: var(--nc-muted); }

.nc-journey { grid-template-columns: repeat(6, 1fr); }

@media (max-width: 1199px) {
    .nc-menu { gap: 1rem; }
    .nc-menu ul a { padding: .5rem .6rem; font-size: .9rem; }
    .nc-menu-cta .nc-link-wa { display: none; }
}

@media (max-width: 991px) {
    .nc-site { grid-template-columns: 1fr; gap: 40px; }
    .nc-journey { grid-template-columns: repeat(2, 1fr); }
    .nc-menu-cta .nc-link-wa { display: block; }
}

@media (max-width: 640px) {
    .nc-journey { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .nc-site-nav span:nth-of-type(n+3) { display: none; }
}

/* Template's back-to-top button, in brand colours */
html .scroll-to-top {
    background: var(--nc-mint) !important;
    color: var(--nc-black) !important;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 0 18px rgba(0, 222, 149, .5);
}

html .scroll-to-top:hover { background: var(--nc-aqua) !important; }

/* ==========================================================================
   Motion
   ========================================================================== */

/* Logo breathes softly, like a neon sign */
.nc-logo img { animation: nc-breathe 4s ease-in-out infinite; }

@keyframes nc-breathe {
    0%, 100% { filter: drop-shadow(0 0 5px rgba(0, 222, 149, .35)) drop-shadow(0 0 14px rgba(46, 211, 198, .18)); }
    50% { filter: drop-shadow(0 0 9px rgba(0, 222, 149, .6)) drop-shadow(0 0 26px rgba(46, 211, 198, .35)); }
}

/* Gradient headline text shimmers */
.nc-hl {
    background-size: 200% auto;
    background-image: linear-gradient(110deg, var(--nc-mint) 0%, var(--nc-aqua) 40%, #b9fff0 50%, var(--nc-aqua) 60%, var(--nc-mint) 100%);
    animation: nc-shimmer 6s linear infinite;
}

@keyframes nc-shimmer {
    from { background-position: 200% center; }
    to { background-position: -200% center; }
}

/* Hero grid slowly drifts */
.nc-hero::before { animation: nc-grid-drift 12s linear infinite; }

@keyframes nc-grid-drift {
    from { background-position: 0 0, 0 0; }
    to { background-position: 0 48px, 48px 0; }
}

/* Primary buttons: light sweep on hover */
.nc-btn-primary { position: relative; overflow: hidden; }

.nc-btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -60%;
    width: 40%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
    transform: skewX(-20deg);
    transition: left .6s ease;
}

.nc-btn-primary:hover::after { left: 130%; }

/* Live dashboard */
.nc-progress span { transition: width .8s cubic-bezier(.2, .8, .2, 1); }

.nc-mock-stat strong.is-bump { animation: nc-bump .5s ease; display: inline-block; }

@keyframes nc-bump {
    0% { transform: scale(1); }
    40% { transform: scale(1.18); text-shadow: 0 0 22px rgba(0, 222, 149, .9); }
    100% { transform: scale(1); }
}

.nc-mock-list li.is-new { animation: nc-row-in .55s cubic-bezier(.2, .8, .2, 1); }

@keyframes nc-row-in {
    from { opacity: 0; transform: translateY(-14px); background: rgba(0, 222, 149, .14); }
    60% { background: rgba(0, 222, 149, .08); }
    to { opacity: 1; transform: none; background: transparent; }
}

/* QR icon: scanning line + pop on each check-in */
.nc-scan i { position: relative; overflow: hidden; }

.nc-scan i::after {
    content: '';
    position: absolute;
    left: 4px;
    right: 4px;
    height: 2px;
    top: 4px;
    background: #fff;
    box-shadow: 0 0 8px #fff;
    border-radius: 2px;
    opacity: .85;
    animation: nc-scanline 1.8s ease-in-out infinite;
}

@keyframes nc-scanline {
    0%, 100% { top: 6px; }
    50% { top: calc(100% - 8px); }
}

.nc-scan i.is-pop { animation: nc-pop .6s ease; }

@keyframes nc-pop {
    0% { transform: scale(1); }
    35% { transform: scale(1.2); box-shadow: 0 0 30px rgba(0, 222, 149, 1); }
    100% { transform: scale(1); }
}

.nc-scan span { display: inline-block; min-width: 140px; }

/* Cursor-following glow on cards */
.nc-feature, .nc-usecase, .nc-mv-card { position: relative; overflow: hidden; }

.nc-feature::before, .nc-usecase::before, .nc-mv-card::before, .nc-compare-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 222, 149, .14), transparent 70%);
    opacity: 0;
    transition: opacity .3s ease;
    pointer-events: none;
}

.nc-feature:hover::before, .nc-usecase:hover::before, .nc-mv-card:hover::before, .nc-compare-card:hover::before { opacity: 1; }
.nc-feature > *, .nc-usecase > *, .nc-mv-card > * { position: relative; }

/* Light pulse travelling along step connectors */
.nc-steps::after, .nc-journey::after {
    content: '';
    position: absolute;
    top: 25px;
    width: 70px;
    height: 6px;
    border-radius: 6px;
    background: radial-gradient(closest-side, #fff, var(--nc-mint) 45%, transparent);
    filter: blur(.5px);
    animation: nc-travel 4.5s ease-in-out infinite;
    pointer-events: none;
}

.nc-steps::after { --from: 16%; --to: calc(84% - 70px); }
.nc-journey::after { --from: 10%; --to: calc(90% - 70px); top: 24px; animation-duration: 6s; }

@keyframes nc-travel {
    0% { left: var(--from); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: var(--to); opacity: 0; }
}

/* Step numbers and journey icons light up in sequence */
.nc-step-num { animation: nc-ring 4.5s ease-in-out infinite; }
.nc-step:nth-child(2) .nc-step-num { animation-delay: 1.5s; }
.nc-step:nth-child(3) .nc-step-num { animation-delay: 3s; }

@keyframes nc-ring {
    0%, 70%, 100% { box-shadow: 0 0 0 8px var(--nc-bg), 0 0 0 9px rgba(0, 222, 149, .35), 0 0 30px rgba(0, 222, 149, .4); }
    20% { box-shadow: 0 0 0 8px var(--nc-bg), 0 0 0 10px rgba(0, 222, 149, .9), 0 0 60px rgba(0, 222, 149, .8); }
}

/* Event site mock: Register button pulses */
.nc-site-btn { position: relative; }

.nc-site-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: 0 0 0 0 rgba(0, 222, 149, .6);
    animation: nc-ripple 2.2s ease-out infinite;
}

@keyframes nc-ripple {
    to { box-shadow: 0 0 0 14px rgba(0, 222, 149, 0); }
}

/* Icons float up on card hover */
.nc-feature:hover .nc-icon, .nc-usecase:hover i { transform: translateY(-3px); }
.nc-icon, .nc-usecase i { transition: transform .3s ease, box-shadow .25s ease, color .25s ease, background-color .25s ease; }

@media (max-width: 991px) {
    .nc-steps::after, .nc-journey::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .nc-logo img, .nc-hl, .nc-hero::before, .nc-step-num,
    .nc-scan i::after, .nc-site-btn::after,
    .nc-steps::after, .nc-journey::after { animation: none !important; }
    .nc-steps::after, .nc-journey::after, .nc-scan i::after { display: none; }
    .nc-btn-primary::after { display: none; }
}

/* ==========================================================================
   Flare
   ========================================================================== */
@property --nc-angle {
    syntax: '<angle>';
    inherits: false;
    initial-value: 0deg;
}

/* Scroll progress bar */
.nc-scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    z-index: 1100;
    transform-origin: 0 50%;
    transform: scaleX(0);
    background: var(--nc-grad);
    box-shadow: 0 0 10px var(--nc-mint), 0 0 20px rgba(0, 222, 149, .5);
    pointer-events: none;
}

/* Soft light that follows the cursor */
.nc-cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 222, 149, .09), rgba(46, 211, 198, .04) 35%, transparent 65%);
    pointer-events: none;
    z-index: 999;
    opacity: 0;
    transition: opacity .4s ease;
    mix-blend-mode: screen;
}

.nc-cursor-glow.is-on { opacity: 1; }

/* Hero layers: aurora blobs + particle canvas behind content */
.nc-hero .nc-container { z-index: 2; }

.nc-particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

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

.nc-aurora i {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .5;
    mix-blend-mode: screen;
}

.nc-aurora i:nth-child(1) {
    width: 520px; height: 520px;
    background: rgba(0, 222, 149, .45);
    top: -180px; left: 45%;
    animation: nc-aurora-1 18s ease-in-out infinite alternate;
}

.nc-aurora i:nth-child(2) {
    width: 420px; height: 420px;
    background: rgba(46, 211, 198, .4);
    bottom: -160px; left: -80px;
    animation: nc-aurora-2 22s ease-in-out infinite alternate;
}

.nc-aurora i:nth-child(3) {
    width: 360px; height: 360px;
    background: rgba(23, 106, 116, .7);
    top: 30%; right: -120px;
    animation: nc-aurora-3 16s ease-in-out infinite alternate;
}

@keyframes nc-aurora-1 { to { transform: translate(-240px, 120px) scale(1.25); } }
@keyframes nc-aurora-2 { to { transform: translate(320px, -140px) scale(.85); } }
@keyframes nc-aurora-3 { to { transform: translate(-200px, -120px) scale(1.3); } }

/* Headline words blur in */
.nc-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(.45em);
    filter: blur(10px);
    animation: nc-word-in .9s cubic-bezier(.2, .8, .2, 1) forwards;
}

@keyframes nc-word-in {
    to { opacity: 1; transform: none; filter: blur(0); }
}

/* Rest of the hero intro fades up after the headline */
.nc-hero-intro > :not(h1) {
    opacity: 0;
    animation: nc-fade-up .8s cubic-bezier(.2, .8, .2, 1) forwards;
}

.nc-hero-intro > :nth-child(1) { animation-delay: .1s; }
.nc-hero-intro > :nth-child(3) { animation-delay: .7s; }
.nc-hero-intro > :nth-child(4) { animation-delay: .85s; }
.nc-hero-intro > :nth-child(5) { animation-delay: 1s; }

@keyframes nc-fade-up {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
}

/* Rotating neon border on showcase cards */
.nc-mock, .nc-browser, .nc-lucky {
    transition: transform .25s ease-out;
    transform-style: preserve-3d;
    will-change: transform;
}

.nc-mock::before, .nc-browser::after, .nc-lucky::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.5px;
    background: conic-gradient(from var(--nc-angle), transparent 0deg, var(--nc-mint) 60deg, var(--nc-aqua) 110deg, transparent 170deg, transparent 360deg);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    animation: nc-spin 5s linear infinite;
    pointer-events: none;
    z-index: 3;
}

.nc-browser { position: relative; }
.nc-browser::after { animation-duration: 7s; }

@keyframes nc-spin { to { --nc-angle: 360deg; } }

/* Lucky draw demo */
.nc-lucky {
    position: relative;
    padding: 30px;
    border-radius: 22px;
    text-align: center;
    background:
        radial-gradient(420px 220px at 50% 0%, rgba(0, 222, 149, .18), transparent 70%),
        linear-gradient(180deg, var(--nc-surface-2), var(--nc-black));
    border: 1px solid rgba(0, 222, 149, .2);
    box-shadow: 0 0 60px rgba(0, 222, 149, .12), var(--nc-shadow);
    overflow: hidden;
}

.nc-confetti {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 4;
}

.nc-lucky-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .14em;
    color: var(--nc-muted);
    margin-bottom: 22px;
}

.nc-lucky-prize {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .35rem .9rem;
    border-radius: 999px;
    background: rgba(255, 209, 102, .1);
    border: 1px solid rgba(255, 209, 102, .35);
    color: #ffd166;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.nc-lucky-window {
    margin: 22px 0 26px;
    padding: 30px 16px;
    border-radius: 16px;
    background: rgba(0, 0, 0, .55);
    border: 1px solid var(--nc-line-strong);
    box-shadow: inset 0 0 40px rgba(0, 0, 0, .8);
    position: relative;
    overflow: hidden;
}

.nc-lucky-window::before, .nc-lucky-window::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 30%;
    pointer-events: none;
}

.nc-lucky-window::before { top: 0; background: linear-gradient(#000, transparent); }
.nc-lucky-window::after { bottom: 0; background: linear-gradient(transparent, #000); }

.nc-lucky-name {
    font-size: clamp(1.7rem, 3.4vw, 2.4rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    min-height: 1.2em;
    position: relative;
    z-index: 1;
}

.nc-lucky-ticket {
    margin-top: .4rem;
    font-size: .85rem;
    color: var(--nc-muted);
    position: relative;
    z-index: 1;
}

.nc-lucky.is-rolling .nc-lucky-name {
    filter: blur(1.5px);
    animation: nc-roll .08s linear infinite;
}

@keyframes nc-roll {
    0% { transform: translateY(-6px); }
    100% { transform: translateY(6px); }
}

.nc-lucky.is-winner .nc-lucky-name {
    background: var(--nc-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 18px rgba(0, 222, 149, .8));
    animation: nc-winner .7s cubic-bezier(.2, 1.6, .4, 1);
}

.nc-lucky.is-winner .nc-lucky-ticket { color: #ffd166; font-weight: 600; }
.nc-lucky.is-winner .nc-lucky-window { border-color: rgba(0, 222, 149, .6); box-shadow: inset 0 0 40px rgba(0, 0, 0, .8), 0 0 40px rgba(0, 222, 149, .35); }

@keyframes nc-winner {
    0% { transform: scale(.6); }
    100% { transform: scale(1); }
}

.nc-lucky-btn { border: 0; cursor: pointer; font-family: inherit; }
.nc-lucky-btn:disabled { opacity: .6; cursor: wait; }
.nc-lucky-hint { margin: 14px 0 0; font-size: .8rem; color: var(--nc-muted); }

/* Typing caret in the browser mock */
.nc-typing::after {
    content: '';
    display: inline-block;
    width: 1px;
    height: 1em;
    margin-left: 2px;
    vertical-align: -2px;
    background: var(--nc-mint);
    animation: nc-caret 1s steps(1) infinite;
}

@keyframes nc-caret { 50% { opacity: 0; } }

/* Magnetic buttons ease back */
.nc-btn { transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s ease, background-color .2s ease, color .2s ease, border-color .2s ease; }

@media (max-width: 991px) {
    .nc-aurora i { filter: blur(60px); opacity: .4; }
}

@media (prefers-reduced-motion: reduce) {
    .nc-word, .nc-hero-intro > :not(h1) { opacity: 1; transform: none; filter: none; animation: none; }
    .nc-aurora i, .nc-typing::after,
    .nc-mock::before, .nc-browser::after, .nc-lucky::before { animation: none !important; }
    .nc-cursor-glow, .nc-particles { display: none; }
}

/* Keep streaks faint behind the hero copy, bright as they rush into the dashboard */
.nc-particles {
    -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, .18) 0%, rgba(0, 0, 0, .18) 46%, #000 58%);
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, .18) 0%, rgba(0, 0, 0, .18) 46%, #000 58%);
}

.nc-page-hero .nc-particles {
    -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, .18) 0%, rgba(0, 0, 0, .18) 55%, #000 75%);
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, .18) 0%, rgba(0, 0, 0, .18) 55%, #000 75%);
}

@media (max-width: 991px) {
    .nc-particles,
    .nc-page-hero .nc-particles {
        -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .2) 0%, rgba(0, 0, 0, .2) 45%, #000 60%);
        mask-image: linear-gradient(180deg, rgba(0, 0, 0, .2) 0%, rgba(0, 0, 0, .2) 45%, #000 60%);
    }
}

/* ==========================================================================
   How it works: scroll-driven energy beam
   ========================================================================== */
.nc-flow {
    --fill: 0;
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 64px;
}

.nc-flow-track {
    position: absolute;
    top: 31px;
    left: calc(100% / 6);
    right: calc(100% / 6);
    height: 3px;
    border-radius: 3px;
    background: rgba(255, 255, 255, .07);
}

.nc-flow-fill {
    position: absolute;
    inset: 0 auto 0 0;
    width: calc(var(--fill) * 100%);
    border-radius: inherit;
    background: linear-gradient(90deg, var(--nc-aqua), var(--nc-mint), #b9fff0, var(--nc-mint));
    background-size: 200% 100%;
    box-shadow: 0 0 12px var(--nc-mint), 0 0 30px rgba(0, 222, 149, .5);
    animation: nc-beam 1.6s linear infinite;
}

/* bright spark at the head of the beam */
.nc-flow-fill::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    border-radius: 50%;
    background: radial-gradient(circle, #fff 0%, var(--nc-mint) 40%, transparent 70%);
    box-shadow: 0 0 20px 6px rgba(0, 222, 149, .6);
    opacity: calc(var(--fill) * 10);
}

@keyframes nc-beam {
    to { background-position: -200% 0; }
}

.nc-flow-step { position: relative; display: flex; flex-direction: column; align-items: center; }

.nc-flow-node {
    position: relative;
    z-index: 1;
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--nc-muted);
    background: var(--nc-surface);
    border: 1px solid var(--nc-line-strong);
    transform: rotate(45deg);
    transition: background .4s ease, color .4s ease, box-shadow .4s ease, border-color .4s ease, transform .5s cubic-bezier(.2, 1.4, .4, 1);
}

.nc-flow-node i { transform: rotate(-45deg); }

.nc-flow-step.is-lit .nc-flow-node {
    color: var(--nc-black);
    background: var(--nc-grad);
    border-color: transparent;
    box-shadow: 0 0 0 6px var(--nc-bg), 0 0 0 7px rgba(0, 222, 149, .5), 0 0 40px rgba(0, 222, 149, .7);
    transform: rotate(45deg) scale(1.08);
}

.nc-flow-card {
    position: relative;
    width: 100%;
    margin-top: 32px;
    padding: 30px 26px 26px;
    border-radius: var(--nc-radius);
    background: var(--nc-surface);
    border: 1px solid var(--nc-line);
    overflow: hidden;
    transition: border-color .4s ease, box-shadow .4s ease, transform .4s ease;
}

.nc-flow-step.is-lit .nc-flow-card {
    border-color: rgba(0, 222, 149, .4);
    box-shadow: 0 0 40px rgba(0, 222, 149, .12), var(--nc-shadow);
}

/* small notch connecting the card to its node */
.nc-flow-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 60px;
    height: 2px;
    margin-left: -30px;
    background: var(--nc-grad);
    opacity: 0;
    box-shadow: 0 0 12px var(--nc-mint);
    transition: opacity .4s ease;
}

.nc-flow-step.is-lit .nc-flow-card::before { opacity: 1; }

.nc-flow-num {
    position: absolute;
    top: -14px;
    right: 10px;
    font-size: 6.5rem;
    font-weight: 800;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, .08);
    transition: -webkit-text-stroke-color .4s ease, text-shadow .4s ease;
    pointer-events: none;
}

.nc-flow-step.is-lit .nc-flow-num {
    -webkit-text-stroke-color: rgba(0, 222, 149, .35);
    text-shadow: 0 0 30px rgba(0, 222, 149, .15);
}

.nc-flow-chip {
    display: inline-block;
    padding: .3rem .75rem;
    border-radius: 999px;
    background: rgba(0, 222, 149, .08);
    border: 1px solid rgba(0, 222, 149, .25);
    color: var(--nc-mint);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    position: relative;
}

.nc .nc-flow-card h3 { font-size: 1.2rem; font-weight: 700; margin: 0 0 .6rem; position: relative; }
.nc-flow-card p { margin: 0 0 1.1rem; color: var(--nc-muted); line-height: 1.7; font-size: .95rem; position: relative; }

.nc-flow-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.nc-flow-tags li {
    padding: .3rem .65rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--nc-line);
    color: #c3d0ce;
    font-size: .78rem;
}

@media (max-width: 991px) {
    .nc-flow { grid-template-columns: 1fr; gap: 28px; margin-top: 48px; }

    .nc-flow-track {
        top: 32px;
        bottom: 32px;
        left: 31px;
        right: auto;
        width: 3px;
        height: auto;
    }

    .nc-flow-fill {
        inset: 0 0 auto 0;
        width: 100%;
        height: calc(var(--fill) * 100%);
        background: linear-gradient(180deg, var(--nc-aqua), var(--nc-mint));
        animation: none;
    }

    .nc-flow-fill::after { right: auto; left: 50%; top: auto; bottom: -8px; margin: 0 0 0 -8px; }

    .nc-flow-step { flex-direction: row; align-items: flex-start; gap: 22px; }
    .nc-flow-node { flex-shrink: 0; }
    .nc-flow-card { margin-top: 0; }
    .nc-flow-num { font-size: 4.5rem; }
}

@media (prefers-reduced-motion: reduce) {
    .nc-flow-fill { animation: none; }
}
