/* ==========================================================================
   Nova theme for GemPixel Premium URL Shortener
   Plain CSS, no build step. Loaded after style.css.
   ========================================================================== */

:root {
    --nv-bg: #f6f7fb;
    --nv-surface: #ffffff;
    --nv-surface-2: #f1f4fa;
    --nv-ink: #0c1322;
    --nv-muted: #5d6779;
    --nv-line: rgba(12, 19, 34, .09);
    --nv-line-strong: rgba(12, 19, 34, .14);
    --nv-primary: #1d4ed8;
    --nv-primary-600: #1a42b8;
    --nv-primary-soft: rgba(29, 78, 216, .1);
    --nv-accent: #f97316;
    --nv-teal: #0d9488;
    --nv-violet: #7c3aed;
    --nv-dark: #0b1220;
    --nv-shadow-sm: 0 1px 2px rgba(12, 19, 34, .05);
    --nv-shadow: 0 18px 50px -24px rgba(12, 19, 34, .28);
    --nv-shadow-lg: 0 40px 90px -40px rgba(12, 19, 34, .45);
    --nv-radius: 20px;
    --nv-radius-lg: 28px;
    --nv-max: 1180px;
    --nv-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
        "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", Roboto, Arial, sans-serif;
}

html.dark {
    --nv-bg: #070b14;
    --nv-surface: #101725;
    --nv-surface-2: #0c1320;
    --nv-ink: #eef2fb;
    --nv-muted: #98a3b8;
    --nv-line: rgba(255, 255, 255, .08);
    --nv-line-strong: rgba(255, 255, 255, .14);
    --nv-primary-soft: rgba(59, 130, 246, .16);
    --nv-shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --nv-shadow: 0 20px 60px -28px rgba(0, 0, 0, .8);
    --nv-shadow-lg: 0 50px 100px -50px rgba(0, 0, 0, .9);
}

.hidden { display: none !important; }

.nv-body {
    margin: 0;
    background: var(--nv-bg);
    color: var(--nv-ink);
    font-family: var(--nv-font);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.nv-body img { max-width: 100%; }
.nv-body a:not(.nv-btn) { color: inherit; }
.nv-body :focus-visible { outline: 2px solid var(--nv-primary); outline-offset: 2px; }

.nv-wrap {
    width: 100%;
    max-width: var(--nv-max);
    margin-inline: auto;
    padding-inline: 24px;
}

.nv-impersonate {
    background: var(--nv-teal);
    color: #fff;
    font-size: 13px;
    text-align: center;
    padding: 8px 16px;
}

.nv-impersonate a {
    font-weight: 700;
    text-decoration: underline;
    margin-inline-start: 6px;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.nv-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .82);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid var(--nv-line);
}

html.dark .nv-header { background: rgba(7, 11, 20, .82); }
.nv-header-static { position: static; }

.nv-header-in {
    max-width: var(--nv-max);
    margin-inline: auto;
    padding-inline: 24px;
    height: 70px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.nv-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 19px;
    letter-spacing: -.02em;
    text-decoration: none;
    color: var(--nv-ink);
    flex-shrink: 0;
}

.nv-brand-img { height: 30px; width: auto; display: block; }

.nv-brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, var(--nv-primary), #3b82f6 55%, var(--nv-accent));
    box-shadow: 0 8px 20px -8px rgba(29, 78, 216, .7);
}

.nv-brand-mark svg { width: 19px; height: 19px; }

.nv-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.nv-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--nv-muted);
    text-decoration: none;
    border: 0;
    background: transparent;
    font-family: inherit;
    cursor: pointer;
    transition: background-color .16s ease, color .16s ease;
    white-space: nowrap;
}

.nv-nav-link:hover { background: var(--nv-surface-2); color: var(--nv-ink); }

.nv-chev { width: 15px; height: 15px; transition: transform .18s ease; }
.nv-drop.is-open .nv-chev { transform: rotate(180deg); }

.nv-drop { position: relative; }

.nv-drop-panel {
    position: absolute;
    top: calc(100% + 10px);
    inset-inline-start: -12px;
    width: 340px;
    padding: 10px;
    background: var(--nv-surface);
    border: 1px solid var(--nv-line);
    border-radius: 18px;
    box-shadow: var(--nv-shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .16s ease, transform .16s ease, visibility .16s;
    z-index: 120;
}

.nv-drop.is-open .nv-drop-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nv-drop-link {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 11px 12px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--nv-ink);
    transition: background-color .15s ease;
}

.nv-drop-link:hover { background: var(--nv-surface-2); }

.nv-drop-link strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

.nv-drop-link small {
    display: block;
    margin-top: 2px;
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--nv-muted);
}

.nv-drop-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nv-drop-icon svg { width: 18px; height: 18px; }

.nv-icon-blue { background: var(--nv-primary-soft); color: var(--nv-primary); }
.nv-icon-orange { background: rgba(249, 115, 22, .12); color: var(--nv-accent); }
.nv-icon-teal { background: rgba(13, 148, 136, .13); color: var(--nv-teal); }
.nv-icon-violet { background: rgba(124, 58, 237, .12); color: var(--nv-violet); }
html.dark .nv-icon-blue { color: #93b4ff; }
html.dark .nv-icon-orange { color: #fdba74; }
html.dark .nv-icon-teal { color: #5eead4; }
html.dark .nv-icon-violet { color: #c4b5fd; }

.nv-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    margin-inline-start: auto;
}

.nv-account { position: relative; }

.nv-avatar-btn {
    display: flex;
    padding: 2px;
    border: 1px solid var(--nv-line-strong);
    border-radius: 999px;
    background: var(--nv-surface);
    cursor: pointer;
    overflow: hidden;
    transition: box-shadow .16s ease;
}

.nv-avatar-btn:hover { box-shadow: var(--nv-shadow-sm); }
.nv-avatar-btn img { width: 34px; height: 34px; border-radius: 999px; object-fit: cover; display: block; }

.nv-account-panel {
    position: absolute;
    top: calc(100% + 12px);
    inset-inline-end: 0;
    width: 220px;
    padding: 8px;
    background: var(--nv-surface);
    border: 1px solid var(--nv-line);
    border-radius: 16px;
    box-shadow: var(--nv-shadow-lg);
    z-index: 130;
}

.nv-account-panel a {
    display: block;
    padding: 9px 12px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 500;
    color: var(--nv-ink);
    text-decoration: none;
}

.nv-account-panel a:hover { background: var(--nv-surface-2); }
.nv-account-sep { display: block; height: 1px; margin: 6px 8px; background: var(--nv-line); }
.nv-account-danger { color: #dc2626 !important; }

.nv-mobile-btn {
    display: none;
    border: 1px solid var(--nv-line-strong);
    background: var(--nv-surface);
    color: var(--nv-ink);
    width: 40px;
    height: 40px;
    border-radius: 11px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.nv-mobile-btn svg { width: 20px; height: 20px; }

.nv-mobile {
    display: none;
    padding: 10px 20px 20px;
    border-top: 1px solid var(--nv-line);
    background: var(--nv-surface);
}

.nv-mobile a {
    display: block;
    padding: 11px 10px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    color: var(--nv-ink);
}

.nv-mobile a:hover { background: var(--nv-surface-2); }
.nv-mobile-sep { display: block; height: 1px; margin: 8px 10px; background: var(--nv-line); }
.nv-mobile-cta { color: var(--nv-primary) !important; }

/* --------------------------------------------------------------------------
   Buttons & shared bits
   -------------------------------------------------------------------------- */

.nv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-family: inherit;
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: transform .16s ease, background-color .16s ease, box-shadow .16s ease, color .16s ease;
}

.nv-btn:active { transform: translateY(1px); }
.nv-btn-sm { padding: 9px 15px; font-size: 13.5px; border-radius: 10px; }
.nv-btn-lg { padding: 14px 26px; font-size: 15.5px; border-radius: 14px; }
.nv-btn.hidden { display: none !important; }

.nv-btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--nv-primary), #3b82f6);
    box-shadow: 0 12px 26px -14px rgba(29, 78, 216, .9);
}

.nv-btn-primary:hover {
    background: linear-gradient(135deg, var(--nv-primary-600), var(--nv-primary));
    box-shadow: 0 16px 34px -14px rgba(29, 78, 216, .85);
}

.nv-btn-soft {
    background: var(--nv-surface);
    border-color: var(--nv-line-strong);
    color: var(--nv-ink);
}

.nv-btn-soft:hover { background: var(--nv-surface-2); }

.nv-btn-ghost {
    background: transparent;
    border-color: var(--nv-line-strong);
    color: var(--nv-ink);
}

.nv-btn-ghost:hover { background: var(--nv-surface); }

.nv-btn-light {
    background: #fff;
    color: #0c1322;
    box-shadow: 0 16px 40px -22px rgba(0, 0, 0, .8);
}

.nv-btn-light:hover { background: #f1f5ff; }

.nv-btn-outline-light {
    background: transparent;
    border-color: rgba(255, 255, 255, .3);
    color: #fff;
}

.nv-btn-outline-light:hover { background: rgba(255, 255, 255, .1); }

.nv-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--nv-muted);
    cursor: pointer;
    flex-shrink: 0;
}

.nv-icon-btn:hover { background: var(--nv-surface-2); color: var(--nv-ink); }
.nv-icon-btn svg { width: 18px; height: 18px; }
.nv-theme-btn { border-color: var(--nv-line); }

.nv-eyebrow,
.nv-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--nv-primary);
}

.nv-kicker-light { color: #93b4ff; }

.nv-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--nv-accent);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, .16);
}

.nv-h2 {
    margin: 0;
    font-size: clamp(27px, 3.4vw, 40px);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -.035em;
}

.nv-lead {
    margin: 14px auto 0;
    max-width: 640px;
    font-size: 17px;
    line-height: 1.65;
    color: var(--nv-muted);
}

.nv-lead-left { margin-inline: 0; }
.nv-lead-light { color: rgba(255, 255, 255, .68); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.nv-hero {
    position: relative;
    overflow: hidden;
    padding: 76px 0 72px;
    background:
        radial-gradient(900px 480px at 18% -8%, rgba(59, 130, 246, .15), transparent 62%),
        radial-gradient(720px 420px at 88% 4%, rgba(249, 115, 22, .12), transparent 60%),
        var(--nv-bg);
}

.nv-hero-glow {
    position: absolute;
    inset-inline: 0;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--nv-line-strong), transparent);
}

.nv-hero-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.nv-hero-title {
    margin: 0;
    max-width: 900px;
    font-size: clamp(38px, 6.4vw, 68px);
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: -.045em;
}

.nv-hero-line { display: block; }

.nv-hl {
    background: linear-gradient(100deg, var(--nv-primary) 8%, #3b82f6 48%, var(--nv-accent) 96%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nv-hero-sub {
    margin: 20px 0 0;
    max-width: 660px;
    font-size: clamp(16px, 1.7vw, 18.5px);
    line-height: 1.65;
    color: var(--nv-muted);
}

.nv-hero .alert,
.nv-hero [role="alert"] { text-align: start; width: 100%; max-width: 700px; }

.nv-shorten {
    width: 100%;
    max-width: 700px;
    margin-top: 32px;
    text-align: start;
}

.nv-shorten-row {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px;
    background: var(--nv-surface);
    border: 1px solid var(--nv-line-strong);
    border-radius: 18px;
    box-shadow: 0 26px 60px -32px rgba(12, 19, 34, .45), var(--nv-shadow-sm);
    transition: border-color .16s ease, box-shadow .16s ease;
}

.nv-shorten-row:focus-within {
    border-color: rgba(29, 78, 216, .55);
    box-shadow: 0 26px 60px -32px rgba(29, 78, 216, .45), 0 0 0 4px rgba(29, 78, 216, .1);
}

.nv-shorten-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding-inline-start: 6px;
    color: var(--nv-muted);
    flex-shrink: 0;
}

.nv-shorten-icon svg { width: 19px; height: 19px; }

.nv-shorten-row input[type="text"] {
    flex: 1;
    min-width: 0;
    height: 44px;
    padding: 0 4px;
    border: 0;
    background: transparent;
    color: var(--nv-ink);
    font-family: inherit;
    font-size: 15.5px;
    outline: none;
}

.nv-shorten-row input[type="text"]::placeholder { color: var(--nv-muted); opacity: .72; }

.nv-btn-shorten { min-width: 116px; height: 44px; border-radius: 13px; }
.nv-btn.is-btn-loading { opacity: .7; pointer-events: none; }

.nv-copy.is-copied { background: rgba(13, 148, 136, .12); border-color: rgba(13, 148, 136, .3); color: var(--nv-teal); }

.nv-advanced-toggle {
    display: inline-block;
    margin-top: 12px;
    padding: 4px 2px;
    border: 0;
    background: transparent;
    color: var(--nv-muted);
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .02em;
    cursor: pointer;
}

.nv-advanced-toggle:hover { color: var(--nv-ink); }

.nv-advanced {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
    padding: 14px;
    background: var(--nv-surface);
    border: 1px solid var(--nv-line);
    border-radius: 15px;
}

.nv-advanced label {
    display: block;
    margin-bottom: 5px;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--nv-muted);
}

.nv-advanced input {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--nv-line-strong);
    border-radius: 10px;
    background: var(--nv-surface-2);
    color: var(--nv-ink);
    font-family: inherit;
    font-size: 14px;
    outline: none;
}

.nv-advanced input:focus { border-color: var(--nv-primary); }

.nv-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.nv-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 13px;
    border: 1px solid var(--nv-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, .6);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--nv-muted);
}

html.dark .nv-chip { background: rgba(255, 255, 255, .04); }
.nv-chip svg { width: 14px; height: 14px; }

.nv-output {
    display: flex;
    align-items: center;
    gap: 18px;
    width: 100%;
    max-width: 700px;
    margin-top: 18px;
    padding: 18px;
    text-align: start;
    background: var(--nv-surface);
    border: 1px solid var(--nv-line);
    border-radius: 18px;
    box-shadow: var(--nv-shadow);
}

.nv-output.hidden { display: none !important; }
.nv-output-qr { flex-shrink: 0; line-height: 0; }
.nv-output-qr img { border-radius: 12px; background: #fff; }
.nv-output-text { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; min-width: 0; }

.nv-output-kicker {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--nv-muted);
}

.nv-short-url {
    display: block;
    max-width: 100%;
    overflow-wrap: anywhere;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -.01em;
    color: var(--nv-primary);
}

html.dark .nv-short-url { color: #93b4ff; }

.nv-output-text p {
    margin: 2px 0 8px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--nv-muted);
}

.nv-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.nv-hero-actions-center { margin-top: 26px; }

.nv-trust {
    margin: 18px 0 0;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--nv-muted);
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.nv-section { padding: 84px 0; }
.nv-section-tight { padding-top: 64px; }
.nv-section-last { padding-bottom: 96px; }

.nv-section-soft {
    background: var(--nv-surface-2);
    border-block: 1px solid var(--nv-line);
}

.nv-section-head {
    max-width: 680px;
    margin: 0 auto 44px;
    text-align: center;
}

.nv-section-head .nv-lead { margin-top: 12px; }

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

.nv-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 26px 24px;
    background: var(--nv-surface);
    border: 1px solid var(--nv-line);
    border-radius: var(--nv-radius);
    box-shadow: var(--nv-shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.nv-card:hover {
    transform: translateY(-4px);
    border-color: var(--nv-line-strong);
    box-shadow: var(--nv-shadow);
}

.nv-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
    border-radius: 13px;
}

.nv-icon svg { width: 22px; height: 22px; }

.nv-card h3,
.nv-step h3 {
    margin: 0 0 8px;
    font-size: 17.5px;
    font-weight: 800;
    letter-spacing: -.02em;
}

.nv-card p,
.nv-step p {
    margin: 0;
    font-size: 14px;
    line-height: 1.62;
    color: var(--nv-muted);
}

.nv-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 18px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--nv-primary);
    text-decoration: none;
}

html.dark .nv-link { color: #93b4ff; }
.nv-link span { transition: transform .16s ease; }
.nv-link:hover span { transform: translateX(3px); }

.nv-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    counter-reset: step;
}

.nv-step {
    position: relative;
    padding: 26px 26px 28px;
    background: var(--nv-surface);
    border: 1px solid var(--nv-line);
    border-radius: var(--nv-radius);
}

.nv-step::after {
    content: "";
    position: absolute;
    top: 50%;
    inset-inline-end: -22px;
    width: 16px;
    height: 2px;
    background: var(--nv-line-strong);
}

.nv-step:nth-child(3)::after { display: none; }

.nv-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--nv-primary), #3b82f6);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
}

/* --------------------------------------------------------------------------
   Security split
   -------------------------------------------------------------------------- */

.nv-split {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 60px;
    align-items: center;
}

.nv-checks {
    display: grid;
    gap: 16px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.nv-checks li { display: flex; align-items: flex-start; gap: 12px; }

.nv-check-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    margin-top: 2px;
    border-radius: 999px;
    background: rgba(13, 148, 136, .12);
    color: var(--nv-teal);
    flex-shrink: 0;
}

html.dark .nv-check-ico { color: #5eead4; background: rgba(13, 148, 136, .22); }
.nv-check-ico svg { width: 14px; height: 14px; }

.nv-checks strong { display: block; font-size: 15px; font-weight: 700; }
.nv-checks small { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.55; color: var(--nv-muted); }

.nv-shield {
    position: relative;
    display: grid;
    gap: 12px;
    padding: 24px;
    border-radius: var(--nv-radius-lg);
    background:
        radial-gradient(420px 240px at 80% 0%, rgba(59, 130, 246, .35), transparent 65%),
        linear-gradient(155deg, #0d1730, #0b1220 60%);
    color: #fff;
    box-shadow: var(--nv-shadow-lg);
    overflow: hidden;
}

.nv-shield::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, .1);
    pointer-events: none;
}

.nv-shield-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, .8);
}

.nv-shield-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .08);
    color: #6ee7b7;
}

.nv-shield-badge svg { width: 18px; height: 18px; }

.nv-shield-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2px 12px;
    align-items: center;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 14px;
    background: rgba(255, 255, 255, .05);
}

.nv-shield-label {
    grid-column: 1;
    margin: 0;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .5);
}

.nv-shield-value {
    grid-column: 1;
    margin: 0;
    font-size: 13.5px;
    font-weight: 600;
    overflow-wrap: anywhere;
    color: rgba(255, 255, 255, .92);
}

.nv-shield-muted { opacity: .72; }

.nv-pill {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.nv-pill-ok { background: rgba(16, 185, 129, .16); color: #6ee7b7; }
.nv-pill-bad { background: rgba(239, 68, 68, .16); color: #fca5a5; }

/* --------------------------------------------------------------------------
   Analytics panel
   -------------------------------------------------------------------------- */

.nv-analytics {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 56px;
    align-items: center;
    padding: 48px;
    border-radius: var(--nv-radius-lg);
    background:
        radial-gradient(560px 320px at 90% 0%, rgba(124, 58, 237, .28), transparent 62%),
        radial-gradient(460px 300px at 6% 100%, rgba(29, 78, 216, .35), transparent 62%),
        #0b1220;
    color: #fff;
    box-shadow: var(--nv-shadow-lg);
    overflow: hidden;
}

.nv-analytics-copy .nv-h2 { color: #fff; }

.nv-analytics-list {
    display: grid;
    gap: 10px;
    margin: 22px 0 26px;
    padding: 0;
    list-style: none;
}

.nv-analytics-list li {
    position: relative;
    padding-inline-start: 24px;
    font-size: 14.5px;
    color: rgba(255, 255, 255, .78);
}

.nv-analytics-list li::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #60a5fa;
    box-shadow: 0 0 0 4px rgba(96, 165, 250, .16);
}

.nv-analytics-panel {
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 18px;
    background: rgba(255, 255, 255, .045);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.nv-analytics-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.nv-analytics-top > div {
    padding: 14px 16px;
    border-radius: 13px;
    background: rgba(255, 255, 255, .05);
}

.nv-analytics-top p {
    margin: 0 0 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .52);
}

.nv-analytics-top strong {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -.03em;
    font-variant-numeric: tabular-nums;
}

.nv-trend {
    display: inline-block;
    margin-inline-start: 8px;
    font-size: 11.5px;
    font-weight: 700;
    color: #6ee7b7;
}

.nv-chart {
    display: flex;
    align-items: flex-end;
    gap: 7px;
    height: 150px;
    margin: 20px 0 16px;
}

.nv-chart span {
    flex: 1;
    border-radius: 5px 5px 3px 3px;
    background: rgba(255, 255, 255, .16);
    min-height: 8px;
}

.nv-chart span.is-peak { background: linear-gradient(180deg, #60a5fa, var(--nv-primary)); }

.nv-analytics-foot {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, .55);
}

.nv-analytics-foot strong { color: #fff; margin-inline-end: 4px; }

.nv-analytics-caption {
    margin: 16px 0 0;
    font-size: 10.5px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .35);
}

/* --------------------------------------------------------------------------
   CTA
   -------------------------------------------------------------------------- */

.nv-cta {
    position: relative;
    overflow: hidden;
    padding: 64px 32px;
    border-radius: var(--nv-radius-lg);
    text-align: center;
    color: #fff;
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 46%, #7c3aed 100%);
    box-shadow: var(--nv-shadow-lg);
}

.nv-cta-glow {
    position: absolute;
    inset: -20% -10% auto;
    height: 260px;
    background: radial-gradient(closest-side, rgba(255, 255, 255, .35), transparent);
    pointer-events: none;
}

.nv-cta h2 {
    position: relative;
    margin: 0;
    font-size: clamp(28px, 3.6vw, 42px);
    font-weight: 800;
    letter-spacing: -.04em;
}

.nv-cta p {
    position: relative;
    margin: 12px auto 0;
    max-width: 520px;
    font-size: 16px;
    color: rgba(255, 255, 255, .78);
}

.nv-cta .nv-hero-actions { position: relative; }

/* --------------------------------------------------------------------------
   Modal / history
   -------------------------------------------------------------------------- */

.nv-modal {
    position: fixed;
    inset: 0;
    z-index: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.nv-modal.hidden { display: none !important; }

.nv-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 11, 20, .58);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}

.nv-modal-panel {
    position: relative;
    width: 100%;
    max-width: 540px;
    max-height: 86vh;
    display: flex;
    flex-direction: column;
    background: var(--nv-surface);
    border: 1px solid var(--nv-line);
    border-radius: 20px;
    box-shadow: var(--nv-shadow-lg);
    overflow: hidden;
}

.nv-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--nv-line);
}

.nv-modal-head h2 { margin: 0; font-size: 16.5px; font-weight: 800; letter-spacing: -.02em; }
.nv-modal-body { padding: 10px 20px; overflow-y: auto; }
.nv-modal-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 20px;
    border-top: 1px solid var(--nv-line);
    background: var(--nv-surface-2);
}

.nv-modal-foot p { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--nv-muted); }

.nv-history-item { padding: 12px 0; border-bottom: 1px solid var(--nv-line); }
.nv-history-item:last-child { border-bottom: 0; }

.nv-history-title {
    display: block;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nv-history-link {
    display: block;
    margin-top: 2px;
    font-size: 12.5px;
    color: var(--nv-primary);
    text-decoration: none;
    overflow-wrap: anywhere;
}

html.dark .nv-history-link { color: #93b4ff; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.nv-footer {
    background: #0a1120;
    color: rgba(255, 255, 255, .62);
    padding: 64px 0 28px;
}

html.dark .nv-footer { background: #05080f; border-top: 1px solid var(--nv-line); }

.nv-footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, .7fr));
    gap: 40px;
}

.nv-footer .nv-brand { color: #fff; }

.nv-footer-desc {
    margin: 16px 0 18px;
    max-width: 320px;
    font-size: 13.5px;
    line-height: 1.65;
    color: rgba(255, 255, 255, .55);
}

.nv-socials { display: flex; align-items: center; gap: 8px; }

.nv-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 10px;
    color: rgba(255, 255, 255, .7);
    transition: background-color .16s ease, color .16s ease;
}

.nv-socials a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.nv-socials svg { width: 16px; height: 16px; }

.nv-footer-col h4 {
    margin: 4px 0 14px;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .45);
}

.nv-footer-col ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }

.nv-footer-col a {
    font-size: 13.5px;
    color: rgba(255, 255, 255, .68);
    text-decoration: none;
    transition: color .15s ease;
}

.nv-footer-col a:hover { color: #fff; }

.nv-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 48px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .09);
    font-size: 12.5px;
    color: rgba(255, 255, 255, .45);
}

.nv-footer-bottom p { margin: 0; }
.nv-footer-bottom a { color: inherit; }

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */

.nv-pricing-hero {
    padding: 64px 0 40px;
    background:
        radial-gradient(820px 420px at 20% -10%, rgba(59, 130, 246, .14), transparent 62%),
        radial-gradient(620px 360px at 86% 0%, rgba(249, 115, 22, .1), transparent 60%),
        var(--nv-bg);
}

.nv-pricing-hero-in { display: flex; flex-direction: column; align-items: center; text-align: center; }
.nv-pricing-title { font-size: clamp(34px, 4.6vw, 54px); }

.nv-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 28px;
    padding: 5px;
    border: 1px solid var(--nv-line-strong);
    border-radius: 14px;
    background: var(--nv-surface);
}

.nv-tab {
    padding: 9px 20px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    color: var(--nv-muted);
    cursor: pointer;
    transition: background-color .16s ease, color .16s ease;
}

.nv-tab:hover { background: var(--nv-surface-2); color: var(--nv-ink); }

.nv-tab.bg-white {
    background: linear-gradient(135deg, var(--nv-primary), #3b82f6) !important;
    color: #fff !important;
    box-shadow: 0 10px 22px -12px rgba(29, 78, 216, .9);
}

.nv-tabs-note {
    margin: 14px 0 0;
    font-size: 13.5px;
    font-weight: 700;
    background: linear-gradient(90deg, var(--nv-accent), #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nv-pricing-body { padding: 8px 0 72px; }
.nv-pricing-container { margin-top: 8px; }

.nv-plans { display: grid; gap: 18px; align-items: stretch; }
.nv-plans-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nv-plans-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nv-plans-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.nv-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 30px 26px;
    background: var(--nv-surface);
    border: 1px solid var(--nv-line);
    border-radius: 22px;
    box-shadow: var(--nv-shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease;
}

.nv-plan:hover { transform: translateY(-3px); box-shadow: var(--nv-shadow); }

.nv-plan-popular {
    border-color: transparent;
    background:
        radial-gradient(420px 240px at 100% 0%, rgba(59, 130, 246, .3), transparent 70%),
        linear-gradient(160deg, #0d1730, #0b1220 65%);
    color: #fff;
    box-shadow: var(--nv-shadow-lg);
}

.nv-plan-badge {
    position: absolute;
    top: 18px;
    inset-inline-end: 18px;
    padding: 4px 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--nv-accent), #ec4899);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.nv-plan-save {
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(16, 185, 129, .14);
    color: #059669;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.nv-plan-popular .nv-plan-save { color: #6ee7b7; }
.nv-plan-icon { display: block; margin-bottom: 10px; font-size: 22px; color: var(--nv-primary); }
.nv-plan-popular .nv-plan-icon { color: #93b4ff; }

.nv-plan-name {
    margin: 0;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--nv-muted);
}

.nv-plan-popular .nv-plan-name { color: rgba(255, 255, 255, .5); }

.nv-plan-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px;
    margin: 12px 0 0;
}

.nv-plan-amount {
    font-size: clamp(30px, 3.4vw, 42px);
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1.05;
}

.nv-plan-term { font-size: 13px; font-weight: 600; color: var(--nv-muted); }
.nv-plan-popular .nv-plan-term { color: rgba(255, 255, 255, .5); }
.nv-plan-desc { margin: 10px 0 0; font-size: 13.5px; line-height: 1.6; color: var(--nv-muted); }
.nv-plan-popular .nv-plan-desc { color: rgba(255, 255, 255, .62); }

.nv-plan-features {
    display: grid;
    gap: 11px;
    margin: 22px 0 26px;
    padding: 20px 0 0;
    border-top: 1px solid var(--nv-line);
    list-style: none;
    flex: 1;
}

.nv-plan-popular .nv-plan-features { border-top-color: rgba(255, 255, 255, .12); }

.nv-plan-features li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 13.5px;
}

.nv-plan-features li > span:first-child { color: var(--nv-muted); }
.nv-plan-popular .nv-plan-features li > span:first-child { color: rgba(255, 255, 255, .62); }

.nv-plan-value { font-weight: 700; text-align: end; flex-shrink: 0; }
.nv-plan-inf {
    font-weight: 800;
    background: linear-gradient(90deg, var(--nv-accent), #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nv-plan-check { width: 16px; height: 16px; flex-shrink: 0; color: var(--nv-teal); }
.nv-plan-off { opacity: .45; }
.nv-plan-off-ico { opacity: .5; }
.nv-plan-popular .nv-plan-check { color: #6ee7b7; }

.nv-plan-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 18px;
    border: 1px solid var(--nv-line-strong);
    border-radius: 12px;
    background: var(--nv-surface);
    color: var(--nv-ink);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .16s ease, transform .16s ease;
}

.nv-plan-btn:hover { background: var(--nv-surface-2); }
.nv-plan-popular .nv-plan-btn {
    border-color: transparent;
    background: linear-gradient(135deg, var(--nv-primary), #3b82f6);
    color: #fff;
    box-shadow: 0 14px 30px -16px rgba(59, 130, 246, .9);
}

.nv-plan-popular .nv-plan-btn:hover { filter: brightness(1.06); }

.nv-split-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    padding: 36px;
    background: var(--nv-surface);
    border: 1px solid var(--nv-line);
    border-radius: var(--nv-radius-lg);
    box-shadow: var(--nv-shadow-sm);
}

.nv-faq {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 54px;
    align-items: start;
}

.nv-faq-copy .nv-btn { margin-top: 22px; }
.nv-faq-list { border-top: 1px solid var(--nv-line); }

.nv-faq-item { border-bottom: 1px solid var(--nv-line); }

.nv-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 2px;
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.nv-faq-item summary::-webkit-details-marker { display: none; }
.nv-faq-item summary svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--nv-muted); transition: transform .18s ease; }
.nv-faq-item[open] summary svg { transform: rotate(180deg); }

.nv-faq-answer {
    padding: 0 2px 18px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--nv-muted);
}

/* --------------------------------------------------------------------------
   Auth pages
   -------------------------------------------------------------------------- */

.nv-auth-body {
    min-height: 100vh;
    background:
        radial-gradient(820px 460px at 12% -10%, rgba(59, 130, 246, .16), transparent 62%),
        radial-gradient(680px 420px at 92% 8%, rgba(249, 115, 22, .12), transparent 60%),
        var(--nv-bg);
}

.nv-auth-body section .max-w-md {
    padding: 34px;
    background: var(--nv-surface);
    border: 1px solid var(--nv-line);
    border-radius: 24px;
    box-shadow: var(--nv-shadow);
}

.nv-auth-body form input[type="text"],
.nv-auth-body form input[type="email"],
.nv-auth-body form input[type="password"] {
    border-color: var(--nv-line-strong);
    border-radius: 12px;
    background: var(--nv-surface-2);
}

.nv-auth-body form input:focus { border-color: var(--nv-primary) !important; }

.nv-auth-body form button[type="submit"] {
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--nv-primary), #3b82f6);
    color: #fff;
    box-shadow: 0 14px 30px -18px rgba(29, 78, 216, .9);
}

.nv-auth-body form button[type="submit"]:hover { filter: brightness(1.06); }

@media (max-width: 600px) {
    .nv-auth-body section .max-w-md {
        padding: 24px 20px;
        border-radius: 20px;
    }
}

/* --------------------------------------------------------------------------
   Light adjustments for pages rendered from the default theme
   -------------------------------------------------------------------------- */

.nv-body main > section:first-child { border-top: 0; }

.nv-body input[type="text"],
.nv-body input[type="email"],
.nv-body input[type="password"] { font-family: inherit; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
    .nv-nav { display: none; }
    .nv-mobile-btn { display: inline-flex; }
    .nv-mobile:not(.hidden) { display: block; }
    .nv-header-in { gap: 14px; }
    .nv-account-panel { inset-inline-end: 0; }
    .nv-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nv-plans-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nv-faq { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .nv-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nv-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
    .nv-hero { padding: 56px 0 56px; }
    .nv-section { padding: 64px 0; }
    .nv-split { grid-template-columns: minmax(0, 1fr); gap: 34px; }
    .nv-analytics { grid-template-columns: minmax(0, 1fr); gap: 34px; padding: 32px; }
    .nv-steps { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .nv-step::after { display: none; }
    .nv-analytics-list { margin-bottom: 22px; }
}

@media (max-width: 720px) {
    .nv-wrap { padding-inline: 18px; }
    .nv-header-in { padding-inline: 18px; height: 64px; }
    .nv-hide-sm { display: none !important; }
    .nv-hero { padding: 44px 0 48px; }
    .nv-hero-sub { font-size: 16px; }
    .nv-shorten { margin-top: 26px; }
    .nv-shorten-row { flex-wrap: wrap; padding: 10px; gap: 8px; }
    .nv-shorten-icon { display: none; }
    .nv-shorten-row input[type="text"] { flex: 1 1 100%; padding: 0 8px; }
    .nv-shorten-row .nv-icon-btn { order: 2; }
    .nv-btn-shorten { flex: 1; order: 3; }
    .nv-btn.nv-copy { order: 2; }
    .nv-chips { display: none; }
    .nv-output { flex-direction: column; align-items: flex-start; }
    .nv-grid-4 { grid-template-columns: minmax(0, 1fr); }
    .nv-plans-2,
    .nv-plans-3,
    .nv-plans-4 { grid-template-columns: minmax(0, 1fr); }
    .nv-split-card { grid-template-columns: minmax(0, 1fr); padding: 26px; }
    .nv-card { padding: 22px; }
    .nv-analytics { padding: 24px; border-radius: 22px; }
    .nv-analytics-top { grid-template-columns: minmax(0, 1fr); }
    .nv-chart { height: 120px; gap: 5px; }
    .nv-cta { padding: 48px 20px; border-radius: 22px; }
    .nv-footer { padding-top: 48px; }
    .nv-footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .nv-footer-bottom { margin-top: 34px; }
    .nv-modal-foot { flex-direction: column; align-items: flex-start; }
    .nv-advanced { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
    .nv-card,
    .nv-btn,
    .nv-link span,
    .nv-chev,
    .nv-drop-panel { transition: none !important; }
}

/* RTL */
.rtl .nv-drop-panel { inset-inline-start: auto; inset-inline-end: -12px; }
.rtl .nv-link:hover span { transform: translateX(-3px); }
