/* ═══════════════════════════════════════════════════════════════════════
   HOMEPAGE.CSS — v4 — Global particles, autonomous orb, showcase v2
   ═══════════════════════════════════════════════════════════════════════ */

/* ─── Global particles canvas ───────────────────────────────────── */
.nh-global-particles {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ─── Keyframes ─────────────────────────────────────────────────── */
@keyframes nh-fadeUp {
    from { opacity: 0; transform: translateY(50px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes nh-marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes nh-orbSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
@keyframes nh-orbSpinReverse {
    from { transform: rotate(360deg); }
    to   { transform: rotate(0deg); }
}
@keyframes nh-orbBreath {
    0%,100% { transform: scale(1); opacity: 0.12; }
    50%     { transform: scale(1.08); opacity: 0.25; }
}
@keyframes nh-gradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes nh-float {
    0%,100% { transform: translateY(0); }
    50%     { transform: translateY(-14px); }
}
@keyframes nh-dangerPulse {
    0%,100% { opacity: 0.06; }
    50%     { opacity: 0.14; }
}
@keyframes nh-pulseGlow {
    0%,100% { opacity: 0.3; transform: scale(0.95); }
    50%     { opacity: 0.7; transform: scale(1.05); }
}
@keyframes nh-coreGlow {
    0%,100% { box-shadow: 0 0 50px rgba(99,102,241,0.2), 0 0 100px rgba(99,102,241,0.06), inset 0 0 30px rgba(99,102,241,0.04); }
    50%     { box-shadow: 0 0 70px rgba(99,102,241,0.35), 0 0 140px rgba(99,102,241,0.1), inset 0 0 40px rgba(99,102,241,0.08); }
}
@keyframes nh-dotTrail {
    0%   { opacity: 0.9; box-shadow: 0 0 10px currentColor, 0 0 20px currentColor; }
    50%  { opacity: 0.5; box-shadow: 0 0 5px currentColor; }
    100% { opacity: 0.9; box-shadow: 0 0 10px currentColor, 0 0 20px currentColor; }
}
@keyframes nh-cardLine {
    0%   { left: -30%; }
    100% { left: 130%; }
}

/* ─── Reveal system ─────────────────────────────────────────────── */
.anim-reveal {
    opacity: 0;
    transform: translateY(40px);
}
.anim-reveal.revealed {
    animation: nh-fadeUp 0.9s cubic-bezier(0.16,1,0.3,1) forwards;
}
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1),
                transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Shared elements ───────────────────────────────────────────── */
.nh-gradient-text {
    font-style: normal;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 40%, #a78bfa 70%, #6366f1 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: nh-gradientShift 4s ease infinite;
}
.nh-danger-text {
    font-style: normal;
    background: linear-gradient(135deg, #ef4444 0%, #f97316 40%, #ef4444 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: nh-gradientShift 3s ease infinite;
}
.nh-section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1.1rem;
    border-radius: 50px;
    background: rgba(99,102,241,0.08);
    border: 1px solid rgba(99,102,241,0.2);
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}
.nh-tag-danger {
    background: rgba(239,68,68,0.08);
    border-color: rgba(239,68,68,0.25);
    color: #f87171;
}
.nh-tag-danger i { font-size: 0.75rem; }
.nh-section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 1rem;
}
.nh-section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 580px;
    margin: 0 auto 0.5rem;
}

/* ─── Buttons ───────────────────────────────────────────────────── */
.nh-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.95rem 2rem;
    background: var(--gradient-primary);
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 12px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s ease;
    box-shadow: 0 4px 25px rgba(99,102,241,0.3);
}
.nh-btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}
.nh-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(99,102,241,0.45);
}
.nh-btn-primary:hover::before { opacity: 1; }
.nh-btn-primary i { transition: transform 0.3s; }
.nh-btn-primary:hover i { transform: translateX(3px); }

.nh-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.95rem 2rem;
    background: transparent;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
}
.nh-btn-ghost:hover {
    border-color: var(--primary);
    background: rgba(99,102,241,0.06);
    transform: translateY(-2px);
}
.nh-btn-lg { padding: 1.15rem 2.5rem; font-size: 1.05rem; }

/* CTA Orange button */
.nh-btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.95rem 2rem;
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 50%, #ef4444 100%);
    background-size: 200% auto;
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 12px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s ease, background-position 0.6s ease;
    box-shadow: 0 4px 25px rgba(249,115,22,0.35);
}
.nh-btn-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.25), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}
.nh-btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 45px rgba(249,115,22,0.5);
    background-position: 100% 50%;
}
.nh-btn-cta:hover::before { opacity: 1; }
.nh-btn-cta i { transition: transform 0.3s; }
.nh-btn-cta:hover i { transform: translateX(3px); }

/* ═══════════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════════ */
.nh-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 8rem 2rem 4rem;
    z-index: 1;
}
.nh-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.nh-hero-bg::before {
    content: '';
    position: absolute; inset: 0; z-index: 2;
    background: radial-gradient(ellipse 75% 70% at 50% 45%, transparent 25%, var(--bg-primary) 75%);
    pointer-events: none;
}
.nh-hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 60% at 30% 50%, rgba(99,102,241,0.08) 0%, transparent 60%),
                radial-gradient(ellipse 50% 40% at 75% 30%, rgba(139,92,246,0.06) 0%, transparent 50%),
                linear-gradient(180deg, transparent 0%, var(--bg-primary) 100%);
    pointer-events: none;
}

/* Split layout */
.nh-hero-split {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
    max-width: 1320px;
    margin: 0 auto;
    padding-left: 1.5rem;
}
.nh-hero-content {
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.nh-hero-title {
    display: flex;
    flex-direction: column;
    gap: 0.05em;
    margin-bottom: 1.75rem;
}
.nh-title-line {
    display: block;
    font-size: clamp(2.2rem, 5.2vw, 4rem);
    font-weight: 800;
    line-height: 1.12;
    color: var(--text-primary);
    letter-spacing: -0.025em;
}
.nh-hero-desc {
    font-size: 1.08rem;
    color: var(--text-secondary);
    line-height: 1.75;
    max-width: 520px;
    margin-bottom: 2.25rem;
}
.nh-hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ─── Dashboard mockup ──────────────────────────────────── */
.nh-hero-visual {
    display: flex;
    justify-content: flex-end;
}
.nh-dashboard {
    width: 100%;
    max-width: 540px;
    background: var(--bg-card);
    border: 1px solid rgba(99,102,241,0.15);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.3), 0 0 60px rgba(99,102,241,0.05);
    transform: perspective(800px) rotateY(-2deg) rotateX(1deg);
    transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
    animation: nhDashFloat 5s ease-in-out infinite;
}
.nh-dashboard:hover {
    transform: perspective(800px) rotateY(0deg) rotateX(0deg);
    animation-play-state: paused;
}
@keyframes nhDashFloat {
    0%, 100% { transform: perspective(800px) rotateY(-2deg) rotateX(1deg) translateY(0); }
    50%      { transform: perspective(800px) rotateY(-2deg) rotateX(1deg) translateY(-12px); }
}
.nh-dash-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
    background: rgba(0,0,0,0.15);
}
.nh-dash-dots {
    display: flex; gap: 5px;
}
.nh-dash-dots span {
    width: 10px; height: 10px;
    border-radius: 50%;
}
.nh-dash-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}
.nh-dash-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.nh-dash-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}
.nh-dash-card {
    padding: 1rem 0.75rem;
    background: rgba(99,102,241,0.05);
    border: 1px solid rgba(99,102,241,0.1);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    text-align: center;
}
.nh-dc-icon {
    width: 42px; height: 42px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
}
.nh-dc-val {
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-primary);
}
.nh-dc-label {
    display: block;
    font-size: 0.72rem;
    color: var(--text-muted);
}
.nh-dash-chart {
    display: flex;
    align-items: flex-end;
    gap: 0.6rem;
    height: 140px;
    padding: 1rem 0.5rem 0;
}
.nh-dash-chart-bar {
    flex: 1;
    border-radius: 6px 6px 0 0;
    background: linear-gradient(180deg, var(--primary) 0%, rgba(99,102,241,0.25) 100%);
    opacity: 0;
    animation: nh-dashBarGrow 1s cubic-bezier(0.16,1,0.3,1) forwards;
}
.nh-dash-chart-bar:nth-child(1) { animation-delay: 1.2s; }
.nh-dash-chart-bar:nth-child(2) { animation-delay: 1.35s; }
.nh-dash-chart-bar:nth-child(3) { animation-delay: 1.5s; }
.nh-dash-chart-bar:nth-child(4) { animation-delay: 1.65s; }
.nh-dash-chart-bar:nth-child(5) { animation-delay: 1.8s; }
.nh-dcb-accent {
    background: linear-gradient(180deg, #a78bfa 0%, rgba(139,92,246,0.3) 100%) !important;
}
@keyframes nh-dashBarGrow {
    from { opacity: 0; transform: scaleY(0.3); }
    to   { opacity: 1; transform: scaleY(1); }
}

/* ═══════════════════════════════════════════════════════════════════
   MARQUEE
   ═══════════════════════════════════════════════════════════════════ */
.nh-marquee {
    padding: 1.1rem 0;
    background: rgba(99,102,241,0.03);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
    z-index: 1;
}
.nh-marquee::before,
.nh-marquee::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}
.nh-marquee::before { left: 0; background: linear-gradient(90deg, var(--bg-primary), transparent); }
.nh-marquee::after  { right: 0; background: linear-gradient(-90deg, var(--bg-primary), transparent); }
.nh-marquee-track {
    display: flex;
    align-items: center;
    gap: 2rem;
    width: max-content;
    animation: nh-marquee 28s linear infinite;
    white-space: nowrap;
}
.nh-mq-item {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}
.nh-mq-item i { color: var(--primary); font-size: 0.8rem; }
.nh-mq-sep { color: var(--primary); opacity: 0.35; font-size: 0.65rem; flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════════════════
   STATS — Danger design
   ═══════════════════════════════════════════════════════════════════ */
.nh-stats {
    padding: 6rem 0;
    position: relative;
    z-index: 1;
}
.nh-stats::before {
    content: '';
    position: absolute;
    top: 0; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(239,68,68,0.3), transparent);
}
.nh-stats-header { text-align: center; margin-bottom: 3.5rem; }
.nh-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.nh-stat-card {
    text-align: center;
    padding: 2.25rem 1.5rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all 0.5s cubic-bezier(0.16,1,0.3,1);
    position: relative;
    overflow: hidden;
}
.nh-stat-danger {
    border-color: rgba(239,68,68,0.12);
    background: linear-gradient(180deg, rgba(239,68,68,0.03) 0%, var(--bg-card) 40%);
}
.nh-stat-danger::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ef4444, #f97316);
    transform: scaleX(0);
    transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.nh-stat-danger::after {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(239,68,68,0.06) 0%, transparent 70%);
    animation: nh-dangerPulse 3s ease-in-out infinite;
    pointer-events: none;
}
.nh-stat-card:hover { transform: translateY(-8px); box-shadow: 0 25px 60px rgba(0,0,0,0.2); }
.nh-stat-danger:hover { border-color: rgba(239,68,68,0.35); box-shadow: 0 25px 60px rgba(239,68,68,0.1), 0 0 40px rgba(239,68,68,0.05); }
.nh-stat-danger:hover::before { transform: scaleX(1); }
.nh-stat-icon-bg {
    position: absolute;
    top: 1rem; right: 1rem;
    font-size: 1.8rem;
    color: rgba(239,68,68,0.07);
    transition: all 0.5s;
}
.nh-stat-danger:hover .nh-stat-icon-bg { color: rgba(239,68,68,0.15); }
.nh-icon-positive { color: rgba(16,185,129,0.07) !important; }
.nh-stat-positive:hover .nh-icon-positive { color: rgba(16,185,129,0.15) !important; }
.nh-stat-value { display: flex; align-items: baseline; justify-content: center; gap: 0.1em; margin-bottom: 0.75rem; position: relative; z-index: 1; }
.nh-stat-danger .nh-stat-value .stat-number { font-size: 3.5rem; font-weight: 800; background: linear-gradient(135deg, #ef4444, #f97316); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; }
.nh-stat-danger .nh-stat-unit { font-size: 1.6rem; font-weight: 700; color: #ef4444; }
.nh-stat-prefix { font-size: 2.2rem; font-weight: 800; color: #ef4444; }
.nh-stat-positive { border-color: rgba(16,185,129,0.15); background: linear-gradient(180deg, rgba(16,185,129,0.03) 0%, var(--bg-card) 40%); }
.nh-stat-positive::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #10b981, #34d399); transform: scaleX(0); transition: transform 0.5s cubic-bezier(0.16,1,0.3,1); }
.nh-stat-positive:hover { border-color: rgba(16,185,129,0.35); box-shadow: 0 25px 60px rgba(16,185,129,0.1), 0 0 40px rgba(16,185,129,0.05); }
.nh-stat-positive:hover::before { transform: scaleX(1); }
.nh-val-positive .stat-number { font-size: 3.5rem !important; font-weight: 800; background: linear-gradient(135deg, #10b981, #34d399) !important; -webkit-background-clip: text !important; -webkit-text-fill-color: transparent; background-clip: text !important; line-height: 1; }
.nh-val-positive .nh-stat-unit { color: #10b981 !important; }
.nh-val-positive .nh-stat-prefix { color: #10b981; }
.nh-stat-bar { width: 100%; height: 4px; background: rgba(239,68,68,0.08); border-radius: 2px; margin-bottom: 1rem; overflow: hidden; position: relative; z-index: 1; }
.nh-stat-danger .nh-stat-bar-fill { height: 100%; width: 0; background: linear-gradient(90deg, #ef4444, #f97316); border-radius: 2px; transition: width 1.5s cubic-bezier(0.16,1,0.3,1) 0.3s; }
.nh-bar-positive { background: rgba(16,185,129,0.08); }
.nh-bar-positive .nh-stat-bar-fill { height: 100%; width: 0; background: linear-gradient(90deg, #10b981, #34d399); border-radius: 2px; transition: width 1.5s cubic-bezier(0.16,1,0.3,1) 0.3s; }
.nh-stat-card.visible .nh-stat-bar-fill { width: var(--fill); }
.nh-stat-label { font-size: 0.88rem; color: var(--text-muted); line-height: 1.55; position: relative; z-index: 1; }
.nh-stat-label strong { color: var(--text-secondary); }

/* Warning stats (yellow-orange) */
.nh-icon-warning { color: rgba(245,158,11,0.07) !important; }
.nh-stat-warning:hover .nh-icon-warning { color: rgba(245,158,11,0.15) !important; }
.nh-stat-warning { border-color: rgba(245,158,11,0.15); background: linear-gradient(180deg, rgba(245,158,11,0.03) 0%, var(--bg-card) 40%); }
.nh-stat-warning::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #f59e0b, #fbbf24); transform: scaleX(0); transition: transform 0.5s cubic-bezier(0.16,1,0.3,1); }
.nh-stat-warning:hover { border-color: rgba(245,158,11,0.35); box-shadow: 0 25px 60px rgba(245,158,11,0.1), 0 0 40px rgba(245,158,11,0.05); }
.nh-stat-warning:hover::before { transform: scaleX(1); }
.nh-val-warning .stat-number { font-size: 3.5rem !important; font-weight: 800; background: linear-gradient(135deg, #f59e0b, #fbbf24) !important; -webkit-background-clip: text !important; -webkit-text-fill-color: transparent; background-clip: text !important; line-height: 1; }
.nh-val-warning .nh-stat-unit { color: #f59e0b !important; }
.nh-val-warning .nh-stat-prefix { color: #f59e0b; }
.nh-bar-warning { background: rgba(245,158,11,0.08); }
.nh-bar-warning .nh-stat-bar-fill { height: 100%; width: 0; background: linear-gradient(90deg, #f59e0b, #fbbf24); border-radius: 2px; transition: width 1.5s cubic-bezier(0.16,1,0.3,1) 0.3s; }

/* ═══════════════════════════════════════════════════════════════════
   SHOWCASE — Redesigned v2
   ═══════════════════════════════════════════════════════════════════ */
.nh-showcase {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.nh-showcase-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}
.nh-showcase-subtitle {
    font-size: 1.08rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}
.nh-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3.5rem;
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}
.nh-showcase-card {
    position: relative;
    padding: 2.5rem 1.75rem 2rem;
    background: linear-gradient(180deg, rgba(99,102,241,0.04) 0%, var(--bg-card) 30%);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.55s cubic-bezier(0.16,1,0.3,1);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
/* Top shimmer line */
.nh-showcase-card::before {
    content: '';
    position: absolute;
    top: 0; left: -30%;
    width: 60%;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, rgba(99,102,241,0.5), rgba(139,92,246,0.5), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}
/* Bottom gradient bar */
.nh-showcase-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.nh-showcase-card:hover {
    border-color: rgba(99,102,241,0.35);
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0,0,0,0.18), 0 0 50px rgba(99,102,241,0.06);
    background: linear-gradient(180deg, rgba(99,102,241,0.08) 0%, var(--bg-card) 40%);
}
.nh-showcase-card:hover::before {
    opacity: 1;
    animation: nh-cardLine 2s ease-in-out infinite;
}
.nh-showcase-card:hover::after { transform: scaleX(1); }

/* Glow */
.nh-showcase-card .nh-sc-glow {
    position: absolute;
    top: -60%; left: -30%;
    width: 160%; height: 160%;
    background: radial-gradient(circle at 50% 30%, rgba(99,102,241,0.07) 0%, transparent 55%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}
.nh-showcase-card:hover .nh-sc-glow { opacity: 1; }

.nh-sc-icon {
    width: 64px; height: 64px;
    border-radius: 18px;
    background: rgba(99,102,241,0.06);
    border: 1px solid rgba(99,102,241,0.1);
    display: flex; align-items: center; justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1.75rem;
    transition: all 0.55s cubic-bezier(0.16,1,0.3,1);
    position: relative;
}
.nh-showcase-card:hover .nh-sc-icon {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
    transform: scale(1.12) rotate(-5deg);
    box-shadow: 0 12px 35px rgba(99,102,241,0.35);
}
.nh-showcase-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    transition: color 0.3s;
}
.nh-showcase-card:hover h3 { color: #a5b4fc; }
.nh-showcase-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    flex: 1;
}
.nh-sc-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(99,102,241,0.06);
}
.nh-sc-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary);
    opacity: 0;
    transform: translateY(5px);
    transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.nh-sc-link i { font-size: 0.7rem; transition: transform 0.3s; }
.nh-showcase-card:hover .nh-sc-link { opacity: 1; transform: translateY(0); }
.nh-showcase-card:hover .nh-sc-link i { transform: translateX(3px); }
.nh-showcase-cta { text-align: center; position: relative; z-index: 1; }

/* ═══════════════════════════════════════════════════════════════════
   VISION — Autonomous orb
   ═══════════════════════════════════════════════════════════════════ */
.nh-vision {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.nh-vision::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 20% 50%, rgba(99,102,241,0.04) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 80% 30%, rgba(139,92,246,0.03) 0%, transparent 60%);
    pointer-events: none;
}
.nh-vision::after {
    content: '';
    position: absolute;
    top: 0; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}
.nh-vision-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}
.nh-vision-intro { font-size: 1.08rem; color: var(--text-secondary); line-height: 1.85; margin-bottom: 2.5rem; }
.nh-vision-intro strong { color: var(--text-primary); }
.nh-vision-values { display: flex; flex-direction: column; gap: 0.75rem; }
.nh-vv-item {
    display: flex;
    gap: 1.15rem;
    padding: 1.35rem 1.25rem;
    border-radius: 16px;
    border: 1px solid transparent;
    transition: all 0.45s cubic-bezier(0.16,1,0.3,1);
    position: relative;
}
.nh-vv-item::before {
    content: '';
    position: absolute;
    left: 0; top: 20%; bottom: 20%;
    width: 3px; border-radius: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s, top 0.4s, bottom 0.4s;
}
.nh-vv-item:hover {
    background: var(--bg-card);
    border-color: var(--border-color);
    transform: translateX(10px);
    box-shadow: 0 10px 35px rgba(0,0,0,0.1);
}
.nh-vv-item:hover::before { opacity: 1; top: 15%; bottom: 15%; }
.nh-vv-icon {
    width: 48px; height: 48px;
    flex-shrink: 0;
    border-radius: 14px;
    background: rgba(99,102,241,0.08);
    display: flex; align-items: center; justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    transition: all 0.45s cubic-bezier(0.16,1,0.3,1);
}
.nh-vv-item:hover .nh-vv-icon {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(99,102,241,0.3);
}
.nh-vv-item h4 { font-size: 1.02rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.3rem; }
.nh-vv-item p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

/* ─── Orb — autonomous beautiful animation ───────────────────── */
.nh-vision-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}
.nh-vision-orb {
    position: relative;
    width: 340px; height: 340px;
}
.nh-vorb-ring {
    position: absolute;
    border-radius: 50%;
}
.nh-vorb-ring-1 {
    inset: 0;
    border: 1.5px dashed rgba(99,102,241,0.2);
    animation: nh-orbSpin 22s linear infinite;
}
.nh-vorb-ring-2 {
    inset: 40px;
    border: 1px solid rgba(139,92,246,0.15);
    animation: nh-orbSpinReverse 35s linear infinite;
    background: radial-gradient(circle, rgba(99,102,241,0.03) 0%, transparent 70%);
}
.nh-vorb-ring-3 {
    inset: 80px;
    border: 1.5px dotted rgba(167,139,250,0.12);
    animation: nh-orbSpin 18s linear infinite;
}

/* Orbit paths — pure CSS rotating dots */
.nh-vorb-orbit {
    position: absolute;
    border-radius: 50%;
}
.nh-vorb-orbit-1 {
    inset: -5px;
    animation: nh-orbSpin 12s linear infinite;
}
.nh-vorb-orbit-2 {
    inset: 35px;
    animation: nh-orbSpinReverse 16s linear infinite;
}
.nh-vorb-orbit-3 {
    inset: 75px;
    animation: nh-orbSpin 10s linear infinite;
}
.nh-orbit-dot {
    position: absolute;
    top: 50%;
    left: -4px;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #6366f1;
    color: #6366f1;
    box-shadow: 0 0 12px rgba(99,102,241,0.6), 0 0 24px rgba(99,102,241,0.3);
    animation: nh-dotTrail 3s ease-in-out infinite;
}
.nh-orbit-dot-sm {
    width: 5px; height: 5px;
    left: -2.5px;
    background: #8b5cf6;
    color: #8b5cf6;
    animation-duration: 4s;
}
.nh-orbit-dot-accent {
    width: 6px; height: 6px;
    left: -3px;
    background: #a78bfa;
    color: #a78bfa;
    animation-duration: 2.5s;
}

/* Glow behind core */
.nh-vorb-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 180px; height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99,102,241,0.15) 0%, rgba(139,92,246,0.06) 40%, transparent 70%);
    animation: nh-orbBreath 4s ease-in-out infinite;
    pointer-events: none;
}

/* Core */
.nh-vorb-core {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 110px; height: 110px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid rgba(99,102,241,0.3);
    display: flex; align-items: center; justify-content: center;
    animation: nh-coreGlow 4s ease-in-out infinite;
    z-index: 2;
}
.nh-vorb-logo { width: 58px; height: 58px; object-fit: contain; }

.nh-vision-quote { text-align: center; max-width: 320px; }
.nh-vision-quote blockquote {
    font-size: 1.08rem;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 0.5rem;
    position: relative;
    padding: 0 1rem;
}
.nh-vision-quote blockquote::before {
    content: '\201C';
    position: absolute;
    top: -0.3em; left: -0.5rem;
    font-size: 3rem;
    color: rgba(99,102,241,0.2);
    font-family: Georgia, serif;
    line-height: 1;
}
.nh-vision-quote cite { font-size: 0.82rem; color: var(--text-muted); }

/* ═══════════════════════════════════════════════════════════════════
   WHY
   ═══════════════════════════════════════════════════════════════════ */
.nh-why {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.nh-why::before {
    content: '';
    position: absolute;
    top: 0; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}
.nh-why-header { text-align: center; margin-bottom: 4rem; }
.nh-why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.nh-why-card {
    position: relative;
    padding: 2.75rem 2rem 2.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16,1,0.3,1);
}
.nh-why-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.nh-why-card::after {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(99,102,241,0.07) 0%, transparent 55%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}
.nh-why-card:hover { border-color: rgba(99,102,241,0.3); transform: translateY(-10px); box-shadow: 0 30px 70px rgba(0,0,0,0.14), 0 0 40px rgba(99,102,241,0.05); }
.nh-why-card:hover::before { transform: scaleX(1); }
.nh-why-card:hover::after { opacity: 1; }
.nh-why-num {
    position: absolute;
    top: 1.5rem; right: 1.5rem;
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, rgba(99,102,241,0.06), rgba(139,92,246,0.03));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    line-height: 1;
    transition: all 0.5s;
    z-index: 1;
}
.nh-why-card:hover .nh-why-num { background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(139,92,246,0.08)); -webkit-background-clip: text; background-clip: text; }
.nh-why-icon {
    width: 56px; height: 56px;
    border-radius: 16px;
    background: rgba(99,102,241,0.08);
    display: flex; align-items: center; justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 1.75rem;
    transition: all 0.5s cubic-bezier(0.16,1,0.3,1);
    position: relative; z-index: 1;
}
.nh-why-card:hover .nh-why-icon { background: var(--gradient-primary); color: white; transform: scale(1.1); box-shadow: 0 10px 30px rgba(99,102,241,0.35); }
.nh-why-card h3 { font-size: 1.25rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.8rem; position: relative; z-index: 1; }
.nh-why-card p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.7; position: relative; z-index: 1; }

/* ═══════════════════════════════════════════════════════════════════
   CTA
   ═══════════════════════════════════════════════════════════════════ */
.nh-cta {
    padding: 8rem 0 0;
    position: relative;
    overflow: visible;
    text-align: center;
    z-index: 1;
}
.nh-cta-bg {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 80% 50% at 50% 40%, rgba(99,102,241,0.1) 0%, transparent 70%);
    pointer-events: none;
}
.nh-cta-content { position: relative; z-index: 2; max-width: 650px; margin: 0 auto; padding-bottom: 3rem; }
.nh-cta-logo { width: 65px; height: 65px; margin-bottom: 1.75rem; animation: nh-float 4s ease-in-out infinite; filter: drop-shadow(0 0 20px rgba(99,102,241,0.3)); }
.nh-cta h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800; color: var(--text-primary); margin-bottom: 1.25rem; }
.nh-cta p { font-size: 1.05rem; color: var(--text-secondary); line-height: 1.75; margin-bottom: 2.5rem; }
.nh-cta-note { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.25rem; font-size: 0.85rem; color: var(--text-muted); }
.nh-cta-note i { color: var(--primary); }

/* Particle cutoff — solid bg that masks the fixed canvas */
.nh-particle-cutoff {
    position: relative;
    z-index: 2;
    height: 5rem;
    background: var(--bg-primary);
}
.nh-particle-cutoff::before {
    content: '';
    position: absolute;
    top: -70px; left: 0; right: 0;
    height: 70px;
    background: linear-gradient(to bottom, transparent, var(--bg-primary));
    pointer-events: none;
}

/* Solid bg for footer — blocks particles underneath */
.nh-solid-bg {
    position: relative;
    z-index: 2;
    background: var(--bg-primary) !important;
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .nh-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .nh-showcase-grid { grid-template-columns: repeat(2, 1fr); max-width: none; }
    .nh-vision-grid { grid-template-columns: 1fr; gap: 3rem; }
    .nh-vision-visual { order: -1; }
    .nh-vision-orb { width: 280px; height: 280px; }
    .nh-vorb-ring-2 { inset: 30px; }
    .nh-vorb-ring-3 { inset: 60px; }
    .nh-vorb-orbit-2 { inset: 25px; }
    .nh-vorb-orbit-3 { inset: 55px; }
    .nh-vorb-core { width: 90px; height: 90px; }
    .nh-vorb-logo { width: 48px; height: 48px; }
}
@media (max-width: 768px) {
    .nh-hero { padding: 7rem 1.25rem 3rem; min-height: auto; }
    .nh-hero-split { grid-template-columns: 1fr; gap: 2.5rem; padding-left: 0; }
    .nh-hero-content { text-align: center; align-items: center; }
    .nh-hero-actions { justify-content: center; }
    .nh-hero-visual { justify-content: center; }
    .nh-dashboard { transform: none; max-width: 400px; animation: none; }
    .nh-title-line { font-size: clamp(1.7rem, 7vw, 2.4rem); }
    .nh-hero-desc { font-size: 1rem; margin: 0 auto 2rem; }
    .nh-hero-actions { flex-direction: column; align-items: center; }
    .nh-stats { padding: 4rem 0; }
    .nh-stats-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .nh-stat-danger .nh-stat-value .stat-number,
    .nh-val-positive .stat-number { font-size: 2.6rem !important; }
    .nh-showcase { padding: 5rem 0; }
    .nh-showcase-grid { grid-template-columns: 1fr; }
    .nh-vision { padding: 5rem 0; }
    .nh-why { padding: 5rem 0; }
    .nh-why-grid { grid-template-columns: 1fr; }
    .nh-section-title { font-size: clamp(1.6rem, 5vw, 2.2rem); }
    .nh-cta { padding: 5rem 0 0; }
}
@media (max-width: 480px) {
    .nh-stats-grid { grid-template-columns: 1fr; }
}
