/* Neurova Digital — Coming Soon showcase + Tools hub (2026-11-24).
   Uses the storefront theme variables: blue primary, 12px cards. */
.nv-labs { padding: 3.5rem 0 4rem; }
.nv-labs__inner { max-width: 1120px; margin: 0 auto; padding: 0 1.25rem; }
.nv-labs__eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--color-primary, #2563eb); margin: 0 0 .4rem; }
.nv-labs__title { margin-bottom: .5rem; }
.nv-labs__lead { color: var(--color-muted, #64748b); max-width: 44rem; margin-bottom: 2rem; line-height: 1.6; }
.nv-labs__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.nv-labs-card { display: flex; flex-direction: column; background: var(--color-surface, #fff); border: 1px solid var(--color-border, #e2e8f0); border-radius: var(--radius-card, 12px); box-shadow: var(--shadow-card, 0 1px 3px rgba(15,23,42,.08), 0 8px 24px rgba(15,23,42,.06)); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .2s ease; }
.nv-labs-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--color-primary, #2563eb) 30%, #e2e8f0); box-shadow: 0 18px 40px rgba(15, 23, 42, .12); }
.nv-labs-card__media { position: relative; aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%); color: #fff; overflow: hidden; }
.nv-labs-card__media img { display: block; }
.nv-labs-card__media--cover img { width: 100%; height: 100%; object-fit: cover; }
.nv-labs-card__media--icon img { width: 34%; height: auto; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.nv-labs-card__media--studio-suite { background: radial-gradient(circle at 30% 20%, #1e293b 0%, #0b0f19 70%); }
.nv-labs-card__media--inkless { background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%); color: var(--color-primary, #2563eb); }
.nv-labs-card__media--ecosystems-controller { background: linear-gradient(135deg, #0c4a6e 0%, #0e7490 55%, #14b8a6 100%); }
.nv-labs-card__icon { display: inline-flex; width: 72px; height: 72px; align-items: center; justify-content: center; border-radius: 18px; background: rgba(255,255,255,.14); backdrop-filter: blur(4px); }
.nv-labs-card__media--inkless .nv-labs-card__icon { background: #fff; box-shadow: 0 8px 24px rgba(37,99,235,.18); }
.nv-labs-card__icon svg { width: 36px; height: 36px; }
.nv-labs-badge { position: absolute; top: .75rem; left: .75rem; display: inline-block; padding: .25rem .6rem; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .02em; background: #fef3c7; color: #92400e; }
.nv-labs-badge--beta { background: #dbeafe; color: #1d4ed8; }
.nv-labs-badge--free { background: #dcfce7; color: #166534; }
.nv-labs-badge--inline { position: static; margin-left: .35rem; vertical-align: middle; }
.nv-labs-card__body { padding: 1.1rem 1.15rem 1.25rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.nv-labs-card__name { font-size: 1.1rem; font-weight: 700; margin: 0; }
.nv-labs-card__tagline { font-weight: 600; color: var(--color-primary, #2563eb); margin: 0; font-size: .93rem; }
.nv-labs-card__summary { color: var(--color-muted, #64748b); font-size: .88rem; line-height: 1.55; margin: 0; }
.nv-labs-card__meta { margin: auto 0 0; padding-top: .6rem; font-size: .78rem; font-weight: 600; color: var(--color-text, #0f172a); opacity: .75; }
.nv-labs-rnd { margin-top: 1.5rem; padding: 1.25rem; border: 1px dashed var(--color-border, #cbd5e1); border-radius: var(--radius-card, 12px); background: var(--color-surface, #fff); }
.nv-labs-rnd__label { font-weight: 700; margin: 0 0 .85rem; font-size: .95rem; }
.nv-labs-rnd__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin-bottom: .85rem; }
.nv-labs-rnd__item { display: flex; gap: .75rem; align-items: flex-start; }
.nv-labs-rnd__icon { flex: 0 0 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: var(--color-secondary, #eff6ff); color: var(--color-primary, #2563eb); }
.nv-labs-rnd__icon svg { width: 22px; height: 22px; }
.nv-labs-rnd__name { font-weight: 600; margin: 0 0 .15rem; font-size: .92rem; }
.nv-labs-rnd__summary { margin: 0; color: var(--color-muted, #64748b); font-size: .84rem; line-height: 1.5; }
.nv-labs-rnd__cta { color: var(--color-muted, #64748b); }

/* Tools hub + tool pages */
.nv-tools { padding: clamp(2rem, 5vw, 3.5rem) 0 4rem; }
.nv-tools__inner { max-width: 1120px; margin: 0 auto; padding: 0 1.25rem; }
.nv-tools__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.25rem; }
.nv-tool-card { position: relative; display: flex; flex-direction: column; gap: .5rem; padding: 1.35rem; background: var(--color-surface, #fff); border: 1px solid var(--color-border, #e2e8f0); border-radius: var(--radius-card, 12px); box-shadow: var(--shadow-card, 0 1px 3px rgba(15,23,42,.08)); color: var(--color-text, #0f172a); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.nv-tool-card:hover, .nv-tool-card:focus-visible { transform: translateY(-3px); border-color: color-mix(in srgb, var(--color-primary, #2563eb) 35%, #e2e8f0); box-shadow: 0 16px 36px rgba(15, 23, 42, .1); color: var(--color-text, #0f172a); }
.nv-tool-card__icon { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--color-secondary, #eff6ff); color: var(--color-primary, #2563eb); }
.nv-tool-card .nv-labs-badge { top: 1.1rem; left: auto; right: 1.1rem; }
.nv-tool-card__name { font-size: 1.08rem; font-weight: 700; margin: .35rem 0 0; }
.nv-tool-card__summary { font-size: .88rem; color: var(--color-muted, #64748b); line-height: 1.55; margin: 0; }
.nv-tool-card__open { margin-top: auto; padding-top: .5rem; font-weight: 600; font-size: .9rem; color: var(--color-primary, #2563eb); }
.nv-tool-panel { background: var(--color-surface, #fff); border: 1px solid var(--color-border, #e2e8f0); border-radius: var(--radius-card, 12px); box-shadow: var(--shadow-card, 0 1px 3px rgba(15,23,42,.08)); padding: 1.35rem; }
.nv-tool-panel + .nv-tool-panel { margin-top: 1.25rem; }
.nv-tool-panel h2 { font-size: 1.1rem; font-weight: 700; margin: 0 0 .75rem; }
.nv-tool-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.nv-tool-tabs button { border: 1px solid var(--color-border, #e2e8f0); background: var(--color-surface, #fff); color: var(--color-text, #0f172a); border-radius: 999px; padding: .4rem .95rem; font-weight: 600; font-size: .88rem; cursor: pointer; }
.nv-tool-tabs button.is-active { background: var(--color-primary, #2563eb); border-color: var(--color-primary, #2563eb); color: #fff; }
.nv-drop { border: 2px dashed var(--color-border, #cbd5e1); border-radius: 12px; padding: 2rem 1rem; text-align: center; background: var(--color-bg, #f8fafc); cursor: pointer; transition: border-color .2s, background .2s; }
.nv-drop.is-over { border-color: var(--color-primary, #2563eb); background: var(--color-secondary, #eff6ff); }
.nv-drop strong { color: var(--color-primary, #2563eb); }
.nv-file-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .5rem; }
.nv-file-list li { display: flex; align-items: center; gap: .75rem; padding: .55rem .75rem; border: 1px solid var(--color-border, #e2e8f0); border-radius: 10px; font-size: .88rem; background: #fff; }
.nv-file-list img { width: 40px; height: 40px; object-fit: cover; border-radius: 6px; background: #f1f5f9; }
.nv-file-list .nv-file-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nv-file-list .nv-file-meta { color: var(--color-muted, #64748b); white-space: nowrap; }
.nv-tool-grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.nv-tool-output { min-height: 160px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .82rem; }
.nv-qr-preview { display: flex; align-items: center; justify-content: center; min-height: 280px; background: var(--color-bg, #f8fafc); border-radius: 12px; padding: 1rem; }
.nv-qr-preview svg, .nv-qr-preview canvas, .nv-qr-preview img { max-width: 100%; height: auto; }
.nv-result-row { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid var(--color-border, #e2e8f0); font-size: .93rem; }
.nv-result-row:last-child { border-bottom: 0; }
.nv-result-row strong { font-variant-numeric: tabular-nums; }
.nv-result-row--total { font-size: 1.05rem; }
.nv-note { font-size: .8rem; color: var(--color-muted, #64748b); }
.nv-msg { font-size: .85rem; margin-top: .5rem; min-height: 1.2em; }
.nv-msg.is-error { color: #dc2626; }
.nv-msg.is-ok { color: #16a34a; }
@media (max-width: 575px) { .nv-labs { padding: 2.5rem 0 3rem; } .nv-tool-panel { padding: 1rem; } }
