@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

.np-hub {
    font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
}

.np-hub-grid-bg {
    background-image:
        linear-gradient(rgba(16, 185, 129, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 185, 129, 0.035) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black, transparent);
}

.np-hub-logo {
    background: linear-gradient(135deg, #059669 0%, #10b981 50%, #34d399 100%);
    box-shadow: 0 0 24px rgba(16, 185, 129, 0.35);
}

.np-hub-btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.np-hub-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(52, 211, 153, 0.3);
    color: #fff;
}

.np-hub-stat {
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(145deg, rgba(12, 36, 25, 0.92), rgba(7, 25, 18, 0.96));
    padding: 1.25rem 1.5rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.np-hub-module {
    display: block;
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(160deg, rgba(12, 36, 25, 0.88), rgba(7, 25, 18, 0.96));
    padding: 1.5rem;
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s, box-shadow 0.25s;
}

.np-hub-module:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--module-accent) 40%, transparent);
    box-shadow: 0 16px 40px -12px color-mix(in srgb, var(--module-accent) 25%, transparent);
}

.np-hub-module-icon {
    display: inline-flex;
    height: 2.75rem;
    width: 2.75rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.875rem;
    background: color-mix(in srgb, var(--module-accent) 15%, transparent);
    font-size: 1.25rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.np-hub-panel {
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(12, 36, 25, 0.88);
    backdrop-filter: blur(12px);
}

.np-hub-reveal {
    animation: np-hub-fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.np-hub-reveal-delay-1 { animation-delay: 0.08s; }
.np-hub-reveal-delay-2 { animation-delay: 0.16s; }

@keyframes np-hub-fade-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Launch gateway */
.np-launch {
    font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
}

.np-launch-bg {
    background:
        radial-gradient(55% 45% at 50% 0%, rgba(16, 185, 129, 0.14) 0%, transparent 65%),
        radial-gradient(40% 35% at 85% 80%, rgba(19, 78, 58, 0.12) 0%, transparent 60%),
        radial-gradient(45% 40% at 10% 90%, rgba(52, 211, 153, 0.08) 0%, transparent 60%),
        #071912;
}

.np-launch-watermark {
    font-size: clamp(8rem, 24vw, 14rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    color: rgba(255, 255, 255, 0.02);
    user-select: none;
}

.np-launch-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    border-radius: 9999px;
    background: linear-gradient(90deg, #059669, #10b981, #34d399);
    padding: 0.625rem 0.625rem 0.625rem 2rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: #052e16;
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}

.np-launch-cta:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.5), 0 0 0 1px rgba(218, 41, 28, 0.12);
}

.np-launch-cta-icon {
    display: flex;
    height: 2.25rem;
    width: 2.25rem;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: rgba(0, 0, 0, 0.12);
}

.np-launch-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    padding: 0.375rem 0.875rem;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #6ee7b7;
}

.np-launch-badge::before {
    content: '';
    height: 0.375rem;
    width: 0.375rem;
    border-radius: 9999px;
    background: #da291c;
    box-shadow: 0 0 8px rgba(218, 41, 28, 0.45);
}

.np-launch-gradient-text {
    background: linear-gradient(90deg, #a7f3d0, #34d399, #6ee7b7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Business Assistant chat */
.np-assistant-chat {
    min-height: 24rem;
    max-height: calc(100dvh - 16rem);
}

.np-assistant-bubble {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.np-assistant-bubble-user {
    justify-content: flex-end;
}

.np-assistant-bubble-user .np-assistant-content {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(19, 78, 58, 0.28));
    border: 1px solid rgba(52, 211, 153, 0.25);
    color: #f8fafc;
    border-radius: 1rem 1rem 0.25rem 1rem;
    max-width: 85%;
}

.np-assistant-bubble-bot .np-assistant-content {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    border-radius: 1rem 1rem 1rem 0.25rem;
    max-width: 90%;
}

.np-assistant-content {
    padding: 0.875rem 1rem;
    font-size: 0.875rem;
    line-height: 1.6;
}

.np-assistant-content strong {
    color: #6ee7b7;
    font-weight: 600;
}

.np-assistant-avatar {
    display: flex;
    height: 2rem;
    width: 2rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 0.625rem;
    background: linear-gradient(135deg, #10b981, #059669);
    font-size: 0.625rem;
    font-weight: 800;
    color: #052e16;
}

.np-assistant-input:focus {
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}
