/*
 * nr-theme.css — modern Netrouting.com-matched design layer for AS6206.
 * Dark-gradient heros, infrastructure-aesthetic footer, mono-typed accents.
 * Loaded after main.css / media.css so it overrides the legacy look.
 */

/* ── Header: transparent over hero, dark when sticky ─────────────── */
.nr-header.header__main {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: transparent;
    padding: 22px 0;
    transition: background 0.3s ease, padding 0.3s ease;
}
.nr-header.header__main.sticky-header {
    position: fixed;
    background: #050f1c;
    padding: 12px 0;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 8px 24px rgba(0, 0, 0, 0.4);
}
.nr-header .logo img { height: 46px; width: auto; transition: height 0.3s ease; }
.nr-header.sticky-header .logo img { height: 38px; }
.nr-header .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.18s ease-out;
}
.nr-header .navbar-nav .nav-link:hover,
.nr-header .navbar-nav .nav-link.active {
    color: #14BB60;
}
.nr-header .navbar-toggler {
    background: #14BB60;
    border: none;
    border-radius: 4px;
}
@media (max-width: 1199px) {
    .nr-header .navbar-collapse {
        background: #0a1626;
        margin-top: 14px;
        border-radius: 8px;
        padding: 12px 18px;
        border: 1px solid rgba(255, 255, 255, 0.08);
    }
}

/* ── nr-hero — dark gradient hero ────────────────────────────────── */
.nr-hero {
    --h-ink: #ffffff;
    --h-ink-soft: rgba(255, 255, 255, 0.72);
    --h-line: rgba(255, 255, 255, 0.10);
    position: relative;
    overflow: hidden;
    color: var(--h-ink);
    background:
        radial-gradient(ellipse at 80% 50%, rgba(6, 170, 166, 0.20), transparent 55%),
        radial-gradient(ellipse at 20% 50%, rgba(82, 167, 255, 0.13), transparent 55%),
        linear-gradient(135deg, #051f30 0%, #093345 60%, #0f4757 100%);
    isolation: isolate;
    font-family: var(--masterfont, "sofia-pro", system-ui, sans-serif);
}
.nr-hero__bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.nr-hero__bg-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    -webkit-mask-image: radial-gradient(ellipse at top right, rgba(0, 0, 0, 0.7), transparent 70%);
            mask-image: radial-gradient(ellipse at top right, rgba(0, 0, 0, 0.7), transparent 70%);
}
.nr-hero__bg-orb {
    position: absolute;
    width: 560px; height: 560px;
    border-radius: 50%;
    top: -180px; right: -160px;
    background: radial-gradient(circle at 30% 30%,
        rgba(20, 187, 96, 0.30), rgba(20, 187, 96, 0.06) 50%, transparent 70%);
    filter: blur(8px);
}
.nr-hero__bg-orb--2 {
    top: auto; bottom: -200px; right: auto; left: -120px;
    width: 420px; height: 420px;
    background: radial-gradient(circle at 50% 50%,
        rgba(82, 167, 255, 0.18), rgba(82, 167, 255, 0.04) 50%, transparent 70%);
}
/* Brand mark watermark — large "N", diagonal, blended */
.nr-hero__bg-mark {
    position: absolute;
    top: -8%;
    left: -4%;
    width: clamp(420px, 56vw, 820px);
    height: auto;
    aspect-ratio: 34 / 65;
    opacity: 0.13;
    transform: rotate(-22deg);
    transform-origin: top left;
    mix-blend-mode: screen;
    filter: blur(0.4px);
    pointer-events: none;
    -webkit-mask-image: linear-gradient(135deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0.15) 100%);
            mask-image: linear-gradient(135deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0.15) 100%);
}
@media (max-width: 880px) {
    .nr-hero__bg-mark { opacity: 0.09; width: clamp(320px, 80vw, 560px); top: -6%; left: -10%; }
}
/* Tessellated cube pattern */
.nr-hero__bg-logo-pattern {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    color: rgba(255, 255, 255, 0.14);
    opacity: 0.7;
    mix-blend-mode: screen;
    pointer-events: none;
}
.nr-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 1320px;
    margin: 0 auto;
    padding: clamp(120px, 12vw, 170px) clamp(28px, 5vw, 64px) clamp(48px, 5vw, 80px);
    text-align: center;
}
.nr-hero__content { max-width: 760px; margin: 0 auto; }
.nr-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    padding: 6px 14px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(20, 187, 96, 0.95);
    background: rgba(20, 187, 96, 0.08);
    border: 1px solid rgba(20, 187, 96, 0.22);
    border-radius: 4px;
}
.nr-hero__headline {
    font-size: clamp(36px, 5.5vw, 64px);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.05;
    margin: 0 0 18px;
    color: var(--h-ink);
}
.nr-hero__sub {
    font-size: clamp(15px, 1.4vw, 19px);
    line-height: 1.55;
    color: var(--h-ink-soft);
    margin: 0 auto 28px;
    max-width: 620px;
}
.nr-hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}
.nr-hero .nr-btn--ghost {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
}
.nr-hero .nr-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.30);
    color: #fff;
}

/* ── Pre-footer CTA ──────────────────────────────────────────────── */
.nr-footer__cta {
    background:
        radial-gradient(ellipse at 12% 25%, rgba(20, 187, 96, 0.18), transparent 55%),
        radial-gradient(ellipse at 88% 30%, rgba(82, 167, 255, 0.08), transparent 60%),
        linear-gradient(180deg, #0a1626 0%, #061826 65%, #050f1c 100%);
    padding: clamp(48px, 6vw, 96px) 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.nr-footer__cta::after {
    content: "";
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 32px 32px;
    -webkit-mask-image: radial-gradient(ellipse at 70% 50%, rgba(0, 0, 0, 0.5), transparent 70%);
            mask-image: radial-gradient(ellipse at 70% 50%, rgba(0, 0, 0, 0.5), transparent 70%);
    pointer-events: none;
}
.nr-footer__cta .container { position: relative; z-index: 1; }
.nr-footer__cta-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}
@media (max-width: 991px) {
    .nr-footer__cta-grid { grid-template-columns: 1fr; }
}
.nr-footer__cta-eyebrow {
    display: inline-block;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 13px;
    font-weight: 600;
    color: rgba(20, 187, 96, 0.95);
    margin: 0 0 16px;
    padding: 4px 10px;
    background: rgba(20, 187, 96, 0.08);
    border: 1px solid rgba(20, 187, 96, 0.20);
    border-radius: 4px;
}
.nr-footer__cta-headline {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    line-height: 1.05;
    color: #ffffff;
    margin: 0 0 14px;
    font-weight: 700;
    letter-spacing: -0.025em;
}
.nr-footer__cta-sub {
    font-size: 16px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.72);
    margin: 0 0 28px;
    max-width: 560px;
}
.nr-footer__cta-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.nr-footer__cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    font-family: var(--masterfont, "sofia-pro", system-ui, sans-serif);
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    border-radius: 6px;
    text-decoration: none;
    transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 200ms ease-out, background 200ms ease-out;
}
.nr-footer__cta-btn--primary {
    background: linear-gradient(135deg, #14bb60 0%, #10a153 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 14px rgba(20, 187, 96, 0.30);
}
.nr-footer__cta-btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(20, 187, 96, 0.45);
    color: #fff;
}
.nr-footer__cta-btn--ghost {
    background: transparent;
    color: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.18);
}
.nr-footer__cta-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.40);
    transform: translateY(-1px);
    color: #fff;
}

/* Contact card */
.nr-footer__contact {
    background: rgba(10, 22, 38, 0.62);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 18px 20px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.30);
}
.nr-footer__contact-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 12px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nr-footer__contact-bar strong {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    color: rgba(255, 255, 255, 0.70);
}
.nr-footer__contact-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #14bb60;
    box-shadow: 0 0 0 4px rgba(20, 187, 96, 0.20);
    animation: nr-footer-pulse 2.4s ease-in-out infinite;
}
.nr-footer__contact-tag {
    margin-left: auto;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
    font-weight: 600;
    color: #14bb60;
}
.nr-footer__contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.nr-footer__contact-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.nr-footer__contact-label {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    flex-shrink: 0;
}
.nr-footer__contact-value {
    color: #ffffff;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
    text-align: right;
    transition: color 140ms ease-out;
}
.nr-footer__contact-value:hover { color: #14bb60; }

/* ── Site footer — dark navy ─────────────────────────────────────── */
footer.nr-site-footer {
    background: linear-gradient(90deg, #050f1c 0%, #061826 100%);
    padding: 4.5rem 0 1.5rem;
    position: relative;
    overflow: hidden;
}
footer.nr-site-footer::after {
    content: "";
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%,
        rgba(20, 187, 96, 0.10), rgba(20, 187, 96, 0.02) 50%, transparent 70%);
    filter: blur(20px);
    pointer-events: none;
    z-index: 0;
}
footer.nr-site-footer > * { position: relative; z-index: 1; }
.nr-site-footer .footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
}
.nr-site-footer .footer-logo img { width: 170px; height: auto; }
.nr-site-footer .copyright-text {
    margin-top: 18px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.40);
}
.nr-site-footer .copyright-text a { color: rgba(255, 255, 255, 0.55); }
.nr-site-footer .copyright-text a:hover { color: #14bb60; }
.nr-site-footer .footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
}
.nr-site-footer .footer-links a {
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    transition: color 140ms ease-out;
}
.nr-site-footer .footer-links a:hover { color: #14bb60; }
.nr-site-footer .social-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 10px;
}
.nr-site-footer .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.65);
    transition: border-color 180ms ease-out, color 180ms ease-out, background 180ms ease-out;
}
.nr-site-footer .social-links a:hover {
    color: #14bb60;
    border-color: rgba(20, 187, 96, 0.40);
    background: rgba(20, 187, 96, 0.08);
}

/* Infra status line */
.nr-footer-infra-line {
    margin: 2.5rem auto 0;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.02);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 16px;
    max-width: min(900px, 100%);
}
.nr-footer-infra-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #14bb60;
    box-shadow: 0 0 0 4px rgba(20, 187, 96, 0.18);
    animation: nr-footer-pulse 2.4s ease-in-out infinite;
    display: inline-block;
}
.nr-footer-infra-sep { color: rgba(255, 255, 255, 0.20); }
.nr-footer-infra-line a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.20);
    transition: color 140ms ease-out, border-color 140ms ease-out;
}
.nr-footer-infra-line a:hover {
    color: #14bb60;
    border-bottom-color: rgba(20, 187, 96, 0.55);
}
@keyframes nr-footer-pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(20, 187, 96, 0.18); }
    50%      { box-shadow: 0 0 0 8px rgba(20, 187, 96, 0.04); }
}
@media (prefers-reduced-motion: reduce) {
    .nr-footer-infra-dot, .nr-footer__contact-dot { animation: none; }
}

/* ── NR icon font ────────────────────────────────────────────────── */
@font-face {
    font-family: 'nr-icomoon';
    src: url('../fonts/nr-icons/icomoon.woff') format('woff'),
         url('../fonts/nr-icons/icomoon.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}
[class^="nr-ico-"], [class*=" nr-ico-"] {
    font-family: 'nr-icomoon' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.nr-ico-analytics::before    { content: "\e90d"; }
.nr-ico-answers::before      { content: "\e90e"; }
.nr-ico-applications::before { content: "\e90f"; }
.nr-ico-backups::before      { content: "\e910"; }
.nr-ico-databases::before    { content: "\e911"; }
.nr-ico-development::before  { content: "\e912"; }
.nr-ico-domains::before      { content: "\e913"; }
.nr-ico-email::before        { content: "\e914"; }
.nr-ico-game::before         { content: "\e915"; }
.nr-ico-networking::before   { content: "\e916"; }
.nr-ico-platform::before     { content: "\e917"; }
.nr-ico-security::before     { content: "\e918"; }
.nr-ico-server::before       { content: "\e919"; }
.nr-ico-tools::before        { content: "\e91a"; }
.nr-ico-website::before      { content: "\e91b"; }

/* ── Sections — alternating dark / light ─────────────────────────── */
.nr-section {
    padding: clamp(56px, 7vw, 96px) 0;
    position: relative;
    overflow: hidden;
    font-family: var(--masterfont, "sofia-pro", system-ui, sans-serif);
}
.nr-section--dark {
    background:
        radial-gradient(ellipse at 20% 0%, rgba(20, 187, 96, 0.10), transparent 55%),
        linear-gradient(180deg, #0a1626 0%, #050f1c 100%);
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nr-section--light {
    background:
        radial-gradient(ellipse at 80% 0%, rgba(82, 167, 255, 0.08), transparent 55%),
        linear-gradient(180deg, #f5f8fc 0%, #e9eff7 100%);
    color: #1a2331;
}
.nr-section .container { position: relative; z-index: 1; }

/* Section lede (eyebrow + headline + sub) */
.nr-lede {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 44px;
}
.nr-lede__eyebrow {
    display: inline-block;
    margin: 0 0 14px;
    padding: 5px 12px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    border-radius: 4px;
}
.nr-section--dark .nr-lede__eyebrow {
    color: rgba(255, 255, 255, 0.78);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.10);
}
.nr-section--light .nr-lede__eyebrow {
    color: #14BB60;
    background: rgba(20, 187, 96, 0.10);
    border: 1px solid rgba(20, 187, 96, 0.28);
}
.nr-lede__headline {
    font-size: clamp(28px, 3.6vw, 44px);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.08;
    margin: 0 0 14px;
}
.nr-section--dark .nr-lede__headline { color: #ffffff; }
.nr-section--light .nr-lede__headline { color: #0a1626; }
.nr-lede__sub {
    font-size: clamp(15px, 1.3vw, 17px);
    line-height: 1.55;
    margin: 0 auto;
    max-width: 640px;
}
.nr-section--dark .nr-lede__sub { color: rgba(255, 255, 255, 0.65); }
.nr-section--light .nr-lede__sub { color: #2a3a52; }

/* ── Product / feature card grid ─────────────────────────────────── */
.nr-card-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}
.nr-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 28px 26px;
    border-radius: 12px;
    text-decoration: none;
    height: 100%;
    transition: background 200ms ease-out, border-color 200ms ease-out, transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
}
.nr-section--dark .nr-card {
    background: rgba(10, 22, 38, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.nr-section--dark .nr-card:hover {
    background: rgba(15, 32, 54, 0.95);
    border-color: rgba(20, 187, 96, 0.30);
    transform: translateY(-2px);
}
.nr-section--light .nr-card {
    background: #ffffff;
    border: 1px solid rgba(15, 32, 54, 0.08);
    box-shadow: 0 4px 16px rgba(15, 32, 54, 0.05);
}
.nr-section--light .nr-card:hover {
    border-color: rgba(20, 187, 96, 0.30);
    transform: translateY(-2px);
}
.nr-card__media {
    width: 56px; height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(20, 187, 96, 0.06);
    border: 1px solid rgba(20, 187, 96, 0.18);
    border-radius: 12px;
    font-size: 28px;
    color: #14BB60;
}
.nr-card__name {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.nr-section--dark .nr-card__name { color: #ffffff; }
.nr-section--light .nr-card__name { color: #0a1626; }
.nr-card__desc {
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
    flex: 1;
}
.nr-section--dark .nr-card__desc { color: rgba(255, 255, 255, 0.65); }
.nr-section--light .nr-card__desc { color: #4a5a70; }
.nr-card__foot {
    padding-top: 14px;
    border-top: 1px dashed rgba(255, 255, 255, 0.10);
}
.nr-section--light .nr-card__foot { border-top-color: rgba(15, 32, 54, 0.12); }
.nr-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #14BB60;
    transition: gap 180ms cubic-bezier(0.16, 1, 0.3, 1);
}
.nr-card:hover .nr-card__cta { gap: 11px; }

/* ── Stat strip ──────────────────────────────────────────────────── */
.nr-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin-top: 8px;
}
.nr-stat {
    padding: 24px 22px;
    border-radius: 12px;
    text-align: center;
}
.nr-section--dark .nr-stat {
    background: rgba(10, 22, 38, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.nr-section--light .nr-stat {
    background: #ffffff;
    border: 1px solid rgba(15, 32, 54, 0.08);
}
.nr-stat__num {
    font-size: 38px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
    background: linear-gradient(135deg, #14BB60, #52A7FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.nr-stat__label {
    display: block;
    margin-top: 8px;
    font-size: 13px;
}
.nr-section--dark .nr-stat__label { color: rgba(255, 255, 255, 0.60); }
.nr-section--light .nr-stat__label { color: #5a6b80; }

/* ── Prose blocks inside sections ────────────────────────────────── */
.nr-prose h2, .nr-prose h3, .nr-prose h4 {
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}
.nr-prose h4 { margin-top: 28px; }
.nr-prose p { margin-bottom: 14px; line-height: 1.6; }
.nr-section--dark .nr-prose h2,
.nr-section--dark .nr-prose h3,
.nr-section--dark .nr-prose h4 { color: #ffffff; }
.nr-section--dark .nr-prose p { color: rgba(255, 255, 255, 0.70); }
.nr-section--dark .nr-prose a { color: #14BB60; }
.nr-section--light .nr-prose h2,
.nr-section--light .nr-prose h3,
.nr-section--light .nr-prose h4 { color: #0a1626; }
.nr-section--light .nr-prose p { color: #3a4a60; }

/* Feature list with checkmark dot */
.nr-feature-list { list-style: none; margin: 0; padding: 0; }
.nr-feature-list li {
    position: relative;
    padding: 16px 0 16px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nr-section--light .nr-feature-list li { border-bottom-color: rgba(15, 32, 54, 0.08); }
.nr-feature-list li::before {
    content: "";
    position: absolute;
    left: 0; top: 22px;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: #14BB60;
    box-shadow: 0 0 0 4px rgba(20, 187, 96, 0.15);
}
.nr-feature-list h6 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 6px;
}
.nr-section--dark .nr-feature-list h6 { color: #fff; }
.nr-feature-list p { margin: 0; font-size: 14px; }

/* ── Nav layout: centered links + right-side action buttons ──────── */
@media (min-width: 1200px) {
    .nr-header .navbar-collapse {
        display: flex;
        flex: 1;
        align-items: center;
    }
    .nr-header .nr-nav-center {
        margin: 0 auto;
    }
    .nr-header .nr-nav-actions {
        margin-left: auto;
    }
}
.nr-nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.nr-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 180ms ease-out, border-color 180ms ease-out, transform 180ms ease-out;
}
.nr-nav-btn--ghost {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.92);
}
.nr-nav-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.32);
    color: #fff;
}
.nr-nav-btn--primary {
    background: #14BB60;
    border: 1px solid #14BB60;
    color: #fff;
    box-shadow: 0 4px 12px rgba(20, 187, 96, 0.28);
}
.nr-nav-btn--primary:hover {
    background: #10a153;
    border-color: #10a153;
    color: #fff;
    transform: translateY(-1px);
}
/* Mobile: actions stack below the links inside the collapsed menu */
@media (max-width: 1199px) {
    .nr-nav-actions {
        margin-top: 14px;
        padding-top: 14px;
        border-top: 1px solid rgba(255, 255, 255, 0.10);
    }
    .nr-nav-btn { flex: 1; justify-content: center; }
}

/* ── Looking Glass output terminal ───────────────────────────────── */
.lg-terminal {
    margin-top: 28px;
    background: #0b1220;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}
.lg-terminal__bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.lg-terminal__dot {
    width: 11px; height: 11px;
    border-radius: 50%;
    flex-shrink: 0;
}
.lg-terminal__dot--r { background: #ff5f57; }
.lg-terminal__dot--y { background: #febc2e; }
.lg-terminal__dot--g { background: #28c840; }
.lg-terminal__title {
    margin-left: 8px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.lg-terminal__cmd {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 13px;
    color: #14BB60;
    padding: 14px 20px 4px;
}
.lg-terminal__cmd::before { content: "$ "; color: rgba(255, 255, 255, 0.35); }
.lg-terminal__body {
    margin: 0;
    padding: 8px 20px 20px;
    color: #d6deeb;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 13px;
    line-height: 1.55;
    white-space: pre-wrap;
    word-break: break-word;
    overflow-x: auto;
    max-height: 540px;
}

/* ── Looking Glass form card (dark card on dark section) ─────────── */
.lg-form-card {
    background: rgba(10, 22, 38, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 36px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.30);
}
.lg-form-card .form-label {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 700;
    margin-bottom: 8px;
}
.lg-form-card .form-control,
.lg-form-card .form-select {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 6px;
    color: #ffffff;
}
.lg-form-card .form-control::placeholder { color: rgba(255, 255, 255, 0.35); }
.lg-form-card .form-select option { background: #0a1626; color: #fff; }
.lg-form-card .form-control:focus,
.lg-form-card .form-select:focus {
    background: rgba(255, 255, 255, 0.06);
    border-color: #14BB60;
    box-shadow: 0 0 0 3px rgba(20, 187, 96, 0.15);
    color: #fff;
}
/* Command toggle buttons inside the dark card */
.lg-form-card .btn-outline-primary {
    color: rgba(255, 255, 255, 0.80);
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.03);
}
.lg-form-card .btn-check:checked + .btn-outline-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* ── Tables inside sections ──────────────────────────────────────── */
.nr-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.nr-table th, .nr-table td {
    text-align: left;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nr-section--light .nr-table th,
.nr-section--light .nr-table td { border-bottom-color: rgba(15, 32, 54, 0.10); }
.nr-table th {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #14BB60;
}
.nr-section--dark .nr-table td { color: rgba(255, 255, 255, 0.78); }
.nr-section--light .nr-table td { color: #3a4a60; }
.nr-table code, .nr-prose code, .nr-card code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.92em;
    padding: 2px 7px;
    border-radius: 4px;
    background: rgba(20, 187, 96, 0.10);
    border: 1px solid rgba(20, 187, 96, 0.22);
    color: #14BB60;
}
/* City-code grid — chip + name pairs */
.nr-citygrid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 10px 18px;
}
.nr-citygrid li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    white-space: nowrap;
}
.nr-section--dark .nr-citygrid li { color: rgba(255, 255, 255, 0.78); }
.nr-section--light .nr-citygrid li { color: #3a4a60; }
.nr-citygrid code {
    flex-shrink: 0;
    min-width: 30px;
    text-align: center;
}

/* Community code chips */
.nr-comm {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nr-comm li {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 13.5px;
    width: 100%;
}
.nr-section--dark .nr-comm li { color: rgba(255, 255, 255, 0.72); }
.nr-section--light .nr-comm li { color: #3a4a60; }
.nr-comm code { flex-shrink: 0; }

/* ── Section eyebrow (legacy inline use) ─────────────────────────── */
.nr-eyebrow {
    display: inline-block;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #14BB60;
    margin-bottom: 12px;
}
