simoox's picture
Upload 204 files
5e0bd20 verified
Raw
History Blame Contribute Delete
58.1 kB
/* ============================================================================
IntelliScan Dashboard β€” cinematic dark-glass theme
Glassmorphism Β· aurora mesh Β· pointer spotlight Β· scroll reveal Β· film grain
Inspired by Linear / Vercel / Stripe surface design.
========================================================================== */
:root {
/* ── Palette ───────────────────────────────────────────────────────────── */
--bg-0: #04090a;
--bg-1: #071210;
--surface: rgba(255, 255, 255, 0.04);
--surface-2: rgba(255, 255, 255, 0.065);
--surface-3: rgba(255, 255, 255, 0.09);
--stroke: rgba(255, 255, 255, 0.09);
--stroke-strong: rgba(255, 255, 255, 0.17);
--text: #eef1fb;
--text-dim: #a3adc6;
--muted: #69748f;
--accent: #00ff9c;
--accent-2: #3ad6ff;
--accent-3: #b15cff;
--grad-accent: linear-gradient(135deg, #00ff9c 0%, #3ad6ff 100%);
--grad-violet: linear-gradient(135deg, #b15cff 0%, #00ff9c 100%);
--grad-sheen: linear-gradient(120deg, #ffffff 0%, #b9ffe2 55%, #5ee8ad 100%);
--danger: #ff5d6c;
--danger-soft: rgba(255, 93, 108, 0.14);
--warning: #ffb648;
--warning-soft: rgba(255, 182, 72, 0.14);
--success: #2ee6a8;
--success-soft: rgba(46, 230, 168, 0.14);
--radius: 22px;
--radius-sm: 13px;
--radius-xs: 8px;
--shadow-glass: 0 18px 60px rgba(0, 0, 0, 0.5);
--shadow-float: 0 10px 30px rgba(0, 0, 0, 0.35);
--transition: 0.24s cubic-bezier(0.4, 0, 0.2, 1);
--ease-out: cubic-bezier(0.22, 1, 0.36, 1);
--font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
--font-display: 'JetBrains Mono', 'Space Grotesk', ui-monospace, monospace;
--maxw: 1120px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; }
html { scroll-behavior: smooth; }
body {
font-family: var(--font);
/* transparent so the fixed matrix-rain layer (z-index:-1) shows through;
the dark base canvas is painted by html { background } instead */
background: transparent;
color: var(--text);
font-size: 14px;
line-height: 1.6;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
overflow-x: hidden;
}
.mono { font-family: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.hidden { display: none !important; }
::selection { background: rgba(0, 255, 156, 0.35); color: #fff; }
/* Custom scrollbar (cinematic, subtle) */
* { scrollbar-width: thin; scrollbar-color: rgba(0, 255, 156, 0.4) transparent; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-thumb { background: rgba(0, 255, 156, 0.32); border-radius: 999px; border: 2px solid transparent; background-clip: content-box; }
*::-webkit-scrollbar-thumb:hover { background: rgba(0, 255, 156, 0.55); background-clip: content-box; }
/* ── Ambient background: aurora + grid + grain ──────────────────────────── */
.aurora {
position: fixed; inset: 0; z-index: -2; overflow: hidden;
background:
radial-gradient(80% 60% at 50% -10%, rgba(0, 255, 156, 0.18) 0%, transparent 60%),
radial-gradient(120% 120% at 50% 0%, #07241a 0%, var(--bg-0) 58%);
}
.blob { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.24; will-change: transform; }
.blob-1 { width: 560px; height: 560px; top: -180px; left: -120px; background: #0a8f55; animation: drift1 24s ease-in-out infinite; }
.blob-2 { width: 480px; height: 480px; top: -90px; right: -130px; background: #0e7c9a; animation: drift2 28s ease-in-out infinite; }
.blob-3 { width: 440px; height: 440px; bottom: -200px; left: 38%; background: #0b5e3a; animation: drift3 32s ease-in-out infinite; }
.grid-overlay {
position: absolute; inset: 0;
background-image:
linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
background-size: 58px 58px;
mask-image: radial-gradient(130% 80% at 50% 0%, #000 28%, transparent 78%);
-webkit-mask-image: radial-gradient(130% 80% at 50% 0%, #000 28%, transparent 78%);
}
/* Film grain β€” fixed overlay for cinematic texture */
.grain {
position: fixed; inset: -50%; z-index: -1; pointer-events: none; opacity: 0.04;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
animation: grain 6s steps(6) infinite;
}
@keyframes drift1 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(60px, 40px) scale(1.1); } }
@keyframes drift2 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-50px, 60px) scale(1.05); } }
@keyframes drift3 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-40px, -40px) scale(1.12); } }
@keyframes grain {
0%, 100% { transform: translate(0, 0); }
10% { transform: translate(-3%, -2%); }
30% { transform: translate(2%, -4%); }
50% { transform: translate(-2%, 3%); }
70% { transform: translate(3%, 2%); }
90% { transform: translate(-3%, 1%); }
}
/* ── Top bar ────────────────────────────────────────────────────────────── */
.topbar {
position: sticky; top: 0; z-index: 50;
backdrop-filter: blur(14px) saturate(160%);
-webkit-backdrop-filter: blur(14px) saturate(160%);
background: rgba(6, 9, 18, 0.44);
border-bottom: 1px solid var(--stroke);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 13px; }
.logo {
position: relative; width: 44px; height: 44px; border-radius: 14px;
display: grid; place-items: center; color: #03150c;
background: var(--grad-accent);
box-shadow: 0 8px 24px rgba(0, 255, 156, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.logo::after {
content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
background: linear-gradient(135deg, rgba(255, 255, 255, 0.6), transparent 50%);
-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
-webkit-mask-composite: xor; mask-composite: exclude;
}
.logo svg { position: relative; z-index: 1; }
html.js .logo svg path { stroke-dasharray: 64; stroke-dashoffset: 64; animation: drawPath 1.1s var(--ease-out) 0.15s forwards; }
html.js .logo svg path:last-child { animation-delay: 0.7s; }
@keyframes drawPath { to { stroke-dashoffset: 0; } }
.brand h1 { font-family: var(--font-display); font-size: 19px; font-weight: 700; letter-spacing: -0.4px; }
.tagline { font-size: 11px; color: var(--text-dim); }
.topbar-meta { display: flex; align-items: center; gap: 10px; }
.pill {
font-size: 11px; font-weight: 600; padding: 5px 12px; border-radius: 999px;
border: 1px solid var(--stroke); background: var(--surface); color: var(--text-dim);
display: inline-flex; align-items: center; gap: 7px;
}
.pill.version { font-family: var(--font-display); letter-spacing: 0.3px; }
.pill-live .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 0 var(--success); animation: ping 1.8s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(46, 230, 168, 0.5); } 70% { box-shadow: 0 0 0 7px rgba(46, 230, 168, 0); } 100% { box-shadow: 0 0 0 0 rgba(46, 230, 168, 0); } }
/* ── Cards / glass ──────────────────────────────────────────────────────── */
main { padding: 64px 0 96px; display: flex; flex-direction: column; gap: 24px; }
.card { border-radius: var(--radius); padding: 30px; }
.glass {
position: relative;
/* solid dark glass β€” fully occludes the matrix rain so panels read clean over it */
background: rgba(8, 13, 15, 0.92);
border: 1px solid var(--stroke);
backdrop-filter: blur(8px) saturate(150%);
-webkit-backdrop-filter: blur(8px) saturate(150%);
box-shadow: var(--shadow-glass);
isolation: isolate;
}
/* top sheen */
.glass::before {
content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), transparent 42%);
}
/* pointer-follow spotlight (set --mx/--my in JS) */
.glass::after {
content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
opacity: 0; transition: opacity 0.4s ease;
background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 0%), rgba(0, 255, 156, 0.14), transparent 60%);
}
.glass.is-spot::after { opacity: 1; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.card-head h3 { font-family: var(--font-display); font-size: 16px; font-weight: 600; display: flex; align-items: center; gap: 9px; color: var(--text); }
.card-head h3 svg { color: var(--accent-2); }
.scan-target { font-size: 12px; color: var(--text-dim); background: var(--surface-2); padding: 5px 12px; border-radius: 999px; border: 1px solid var(--stroke); }
/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; overflow: hidden; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow {
display: inline-flex; align-items: center; gap: 8px;
font-size: 11px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--accent-2);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: linear-gradient(90deg, var(--accent-2), transparent); }
.hero-title {
font-family: var(--font-display); font-size: clamp(28px, 4vw, 38px); line-height: 1.1; font-weight: 700;
letter-spacing: -0.8px; margin: 14px 0 14px;
background: var(--grad-sheen); background-size: 220% auto;
-webkit-background-clip: text; background-clip: text; color: transparent;
text-shadow: 0 0 40px rgba(0, 255, 156, 0.18);
animation: titleSheen 7s ease-in-out infinite;
}
@keyframes titleSheen { 0%, 100% { background-position: 0% center; } 50% { background-position: 100% center; } }
/* scramble decode chars (ported TextScramble) β€” cybersec green flicker */
.hero-title .dud, .signature-text .dud { color: var(--accent); -webkit-text-fill-color: var(--accent); opacity: 0.85; text-shadow: 0 0 10px color-mix(in srgb, var(--accent) 55%, transparent); }
.hero-sub { color: var(--text-dim); font-size: 14.5px; max-width: 44ch; }
.hero-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.hero-chips li {
display: inline-flex; align-items: center; gap: 7px;
font-size: 11.5px; font-weight: 600; color: var(--text-dim);
padding: 6px 12px; border-radius: 999px; border: 1px solid var(--stroke); background: var(--surface-2);
}
.hero-chips li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--grad-accent); }
/* radar sweep visual behind the hero */
.hero-radar {
position: absolute; top: 50%; right: -40px; transform: translateY(-50%);
width: 360px; height: 360px; z-index: 0; pointer-events: none; opacity: 0.6;
mask-image: radial-gradient(closest-side, #000 60%, transparent 100%);
-webkit-mask-image: radial-gradient(closest-side, #000 60%, transparent 100%);
}
.hero-radar .ring { position: absolute; inset: 0; margin: auto; border-radius: 50%; border: 1px solid rgba(0, 255, 156, 0.18); }
.hero-radar .ring.r2 { inset: 22%; border-color: rgba(58, 214, 255, 0.16); }
.hero-radar .ring.r3 { inset: 42%; border-color: rgba(0, 255, 156, 0.22); }
.hero-radar .sweep {
position: absolute; inset: 0; border-radius: 50%;
background: conic-gradient(from 0deg, transparent 0deg, rgba(58, 214, 255, 0.28) 38deg, transparent 70deg);
animation: sweep 4.4s linear infinite;
}
.hero-radar .core { position: absolute; inset: 0; margin: auto; width: 9px; height: 9px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 16px var(--accent-2); animation: ping 2s infinite; }
@keyframes sweep { to { transform: rotate(360deg); } }
.hero-form { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
label { font-size: 11px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; color: var(--muted); }
.optional { color: var(--muted); font-weight: 500; text-transform: none; letter-spacing: 0; opacity: 0.8; }
.input-wrap { position: relative; display: flex; align-items: center; }
.input-icon { position: absolute; left: 14px; color: var(--muted); pointer-events: none; transition: color var(--transition); }
input[type="url"], input[type="text"] {
width: 100%; padding: 14px 14px 14px 42px;
background: rgba(0, 0, 0, 0.28); color: var(--text);
border: 1px solid var(--stroke); border-radius: var(--radius-sm);
font-size: 14px; font-family: inherit; transition: var(--transition);
}
input::placeholder { color: var(--muted); }
input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(0, 255, 156, 0.2); background: rgba(0, 0, 0, 0.38); }
.input-wrap:focus-within .input-icon { color: var(--accent-2); }
/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: inherit; font-size: 14px; font-weight: 600; border: none; border-radius: var(--radius-sm); padding: 14px 24px; cursor: pointer; transition: var(--transition); text-decoration: none; overflow: hidden; }
/* shine sweep */
.btn::after {
content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
transform: skewX(-20deg); transition: left 0.6s ease;
}
.btn:hover::after { left: 130%; }
.btn-primary { color: #03150c; background: var(--grad-accent); background-size: 160% 160%; box-shadow: 0 10px 28px rgba(0, 255, 156, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.btn-primary:hover { transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 14px 36px rgba(0, 255, 156, 0.55); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-primary:disabled::after { display: none; }
.btn-download { color: #04130f; background: linear-gradient(135deg, #2ee6a8, #3ad6ff); box-shadow: 0 10px 28px rgba(46, 230, 168, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.btn-download:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(46, 230, 168, 0.46); }
.btn-ghost { color: var(--text-dim); background: var(--surface-2); border: 1px solid var(--stroke); }
.btn-ghost:hover { color: var(--text); border-color: var(--stroke-strong); background: var(--surface-3); }
.btn-ghost::after { display: none; }
.link-btn { background: none; border: none; color: var(--accent-2); font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; padding: 4px 8px; border-radius: 6px; transition: var(--transition); }
.link-btn:hover { background: var(--surface-2); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
/* ── Progress ───────────────────────────────────────────────────────────── */
.progress-shell { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.progress-bar { position: relative; flex: 1; height: 9px; background: rgba(255, 255, 255, 0.07); border-radius: 999px; overflow: hidden; }
.progress-fill { position: relative; height: 100%; width: 0; border-radius: 999px; background: var(--grad-accent); background-size: 200% 100%; transition: width 0.5s var(--ease-out); animation: slide 2s linear infinite; box-shadow: 0 0 18px rgba(58, 214, 255, 0.5); }
.progress-fill::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent); animation: shimmer 1.6s linear infinite; }
@keyframes slide { to { background-position: 200% 0; } }
@keyframes shimmer { to { transform: translateX(100%); } }
.progress-pct { font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--text); min-width: 44px; text-align: right; }
.status-text { font-size: 13px; color: var(--text-dim); margin-bottom: 24px; }
.spinner { width: 15px; height: 15px; border: 2.5px solid rgba(255, 255, 255, 0.15); border-top-color: var(--accent-2); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.stepper { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; position: relative; }
.step { display: flex; flex-direction: column; align-items: center; gap: 9px; text-align: center; opacity: 0.45; transition: var(--transition); }
.step-marker { position: relative; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--muted); background: var(--surface-2); border: 1px solid var(--stroke); transition: var(--transition); }
.step-label { font-size: 11px; color: var(--text-dim); font-weight: 500; }
.step.active { opacity: 1; }
.step.active .step-marker { color: #03150c; background: var(--grad-accent); border-color: transparent; box-shadow: 0 0 0 5px rgba(0, 255, 156, 0.18); animation: pulse 1.4s ease infinite; }
.step.done { opacity: 1; }
.step.done .step-marker { color: #04130f; background: linear-gradient(135deg, #2ee6a8, #3ad6ff); border-color: transparent; }
.step.done .step-marker::after { content: "βœ“"; font-size: 14px; }
.step.done .step-marker { font-size: 0; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 5px rgba(0, 255, 156, 0.18); } 50% { box-shadow: 0 0 0 9px rgba(0, 255, 156, 0.05); } }
/* ── Bento metrics ──────────────────────────────────────────────────────── */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 8px; }
.bento-cell { position: relative; background: var(--surface-2); border: 1px solid var(--stroke); border-radius: var(--radius-sm); padding: 17px; transition: var(--transition); overflow: hidden; }
.bento-cell::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(0, 255, 156, 0.5), transparent); opacity: 0; transition: opacity var(--transition); }
.bento-cell:hover { border-color: var(--stroke-strong); transform: translateY(-3px); background: var(--surface-3); }
.bento-cell:hover::before { opacity: 1; }
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat-label { font-size: 10px; font-weight: 600; letter-spacing: 0.6px; text-transform: uppercase; color: var(--muted); }
.stat-value { font-family: var(--font-display); font-size: 27px; font-weight: 700; color: var(--text); line-height: 1; font-variant-numeric: tabular-nums; }
.stat-accent { background: linear-gradient(160deg, rgba(255, 93, 108, 0.16), var(--surface-2)); }
.stat-accent .stat-value { color: #fff; }
.stat-accent.is-clean { background: linear-gradient(160deg, rgba(46, 230, 168, 0.16), var(--surface-2)); }
/* ── Blocks ─────────────────────────────────────────────────────────────── */
.block { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--stroke); }
.block-title { font-family: var(--font-display); font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; margin-bottom: 18px; color: var(--text); }
.block-title svg { color: var(--accent-3); }
/* ── Vulnerability table ────────────────────────────────────────────────── */
.vuln-layout { display: grid; grid-template-columns: 1.25fr 1fr; gap: 30px; align-items: center; }
.vuln-table-wrap { overflow-x: auto; }
.vuln-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.vuln-table th { text-align: left; padding: 10px 12px; font-size: 10px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--muted); font-weight: 700; border-bottom: 1px solid var(--stroke); }
.vuln-table td { padding: 12px; border-bottom: 1px solid var(--stroke); }
.vuln-table tbody tr { transition: var(--transition); }
.vuln-table tbody tr:hover { background: var(--surface-2); }
.total-row td { border-top: 1px solid var(--stroke-strong); border-bottom: none; font-weight: 700; }
.vuln-count { font-weight: 700; color: var(--danger); }
.chart-wrap { display: grid; place-items: center; max-width: 290px; margin: 0 auto; width: 100%; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.2px; }
.vuln-type-badge.sqli { background: rgba(255, 93, 108, 0.16); color: #ff97a1; }
.vuln-type-badge.xss_r { background: rgba(255, 182, 72, 0.16); color: #ffce86; }
.vuln-type-badge.xss_s { background: rgba(255, 140, 69, 0.16); color: #ffb27d; }
.vuln-type-badge.xss { background: rgba(255, 182, 72, 0.16); color: #ffce86; }
.vuln-type-badge.lfi { background: rgba(177, 92, 255, 0.18); color: #d2adff; }
.rate-badge.rate-high { background: var(--danger-soft); color: #ff97a1; }
.rate-badge.rate-med { background: var(--warning-soft); color: #ffce86; }
.rate-badge.rate-low { background: var(--success-soft); color: #74f0c8; }
.severity-badge { text-transform: uppercase; font-size: 10px; }
.severity-badge.severity-high { background: var(--danger-soft); color: #ff97a1; }
.severity-badge.severity-medium { background: var(--warning-soft); color: #ffce86; }
.severity-badge.severity-low { background: var(--success-soft); color: #74f0c8; }
/* ── ML section ─────────────────────────────────────────────────────────── */
.ml-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.ml-stat { background: var(--surface-2); border: 1px solid var(--stroke); border-radius: var(--radius-sm); padding: 15px; display: flex; flex-direction: column; gap: 6px; transition: var(--transition); }
.ml-stat:hover { border-color: var(--stroke-strong); background: var(--surface-3); }
.ml-label { font-size: 10px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; color: var(--muted); }
.ml-value { font-family: var(--font-display); font-size: 19px; font-weight: 700; color: var(--accent-2); font-variant-numeric: tabular-nums; }
.sub-heading { font-size: 11px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; color: var(--muted); margin: 24px 0 14px; }
.feature-bars { display: flex; flex-direction: column; gap: 9px; }
.feature-row { display: grid; grid-template-columns: 180px 1fr 48px; align-items: center; gap: 12px; }
.feature-name { font-size: 12px; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feature-bar-track { height: 8px; background: rgba(255, 255, 255, 0.07); border-radius: 999px; overflow: hidden; }
.feature-bar-fill { height: 100%; border-radius: 999px; background: var(--grad-violet); width: 0; transition: width 0.8s var(--ease-out); box-shadow: 0 0 12px rgba(177, 92, 255, 0.4); }
.feature-pct { font-size: 11px; font-weight: 700; color: var(--text-dim); text-align: right; font-variant-numeric: tabular-nums; }
/* ── History ────────────────────────────────────────────────────────────── */
.history-list { display: flex; flex-direction: column; gap: 10px; }
.empty { color: var(--muted); font-size: 13px; text-align: center; padding: 20px 0; }
.history-item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--stroke); transition: var(--transition); animation: rise 0.45s var(--ease-out) both; }
.history-item:hover { border-color: var(--stroke-strong); transform: translateX(4px); background: var(--surface-3); }
.hi-status { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.hi-status.complete { background: var(--success); box-shadow: 0 0 8px var(--success); }
.hi-status.error { background: var(--danger); box-shadow: 0 0 8px var(--danger); }
.hi-status.running, .hi-status.starting { background: var(--warning); animation: ping 1.6s infinite; }
.hi-main { flex: 1; min-width: 0; }
.hi-target { font-size: 13px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hi-meta { font-size: 11px; color: var(--muted); }
.hi-vulns { font-family: var(--font-display); font-size: 13px; font-weight: 700; padding: 4px 11px; border-radius: 999px; }
.hi-vulns.has-vulns { background: var(--danger-soft); color: #ff97a1; }
.hi-vulns.clean { background: var(--success-soft); color: #74f0c8; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
/* ── Signature credit (decodes in like the hero title) ──────────────────── */
.signature { text-align: center; padding: 6px 0 2px; }
.signature-text {
display: inline-block; min-height: 1.4em;
font-family: var(--font-display); font-size: 14px; font-weight: 500; letter-spacing: 0.4px;
color: var(--text-dim);
}
.signature-text::before { content: ">_ "; color: var(--accent); font-weight: 700; text-shadow: 0 0 10px color-mix(in srgb, var(--accent) 50%, transparent); }
.signature-text::after { content: "β–‹"; margin-left: 2px; color: var(--accent); animation: blink 1s steps(1) infinite; }
/* the name itself β€” holographic gradient sweep + neon glow pulse */
.sig-name {
font-weight: 700; letter-spacing: 0.6px; padding: 0 1px; cursor: default;
background: linear-gradient(110deg, var(--accent) 0%, var(--accent-2) 26%, #ffffff 48%, var(--accent-3) 70%, var(--accent) 100%);
background-size: 220% auto;
-webkit-background-clip: text; background-clip: text;
-webkit-text-fill-color: transparent; color: transparent;
animation: sigShine 4.5s linear infinite, sigGlow 2.8s ease-in-out infinite;
transition: letter-spacing var(--transition);
}
.sig-name:hover { letter-spacing: 1.4px; animation-duration: 1.1s, 2.8s; }
@keyframes sigShine { to { background-position: 220% center; } }
@keyframes sigGlow {
0%, 100% { filter: drop-shadow(0 0 5px color-mix(in srgb, var(--accent-2) 45%, transparent)); }
50% { filter: drop-shadow(0 0 14px color-mix(in srgb, var(--accent) 75%, transparent)); }
}
/* ── Footer ─────────────────────────────────────────────────────────────── */
footer { border-top: none; padding: 24px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.footer-note { color: var(--text-dim); }
.footer-author { color: var(--accent); font-weight: 700; letter-spacing: 0.2px; }
/* ── Toasts ─────────────────────────────────────────────────────────────── */
.toast-stack { position: fixed; bottom: 24px; right: 24px; z-index: 100; display: flex; flex-direction: column; gap: 10px; max-width: 360px; }
.toast { display: flex; align-items: flex-start; gap: 11px; padding: 14px 16px; border-radius: var(--radius-sm); background: rgba(13, 17, 30, 0.94); backdrop-filter: blur(14px); border: 1px solid var(--stroke-strong); box-shadow: var(--shadow-glass); animation: toastIn 0.35s var(--ease-out); }
.toast.toast-error { border-left: 3px solid var(--danger); }
.toast.toast-success { border-left: 3px solid var(--success); }
.toast.toast-info { border-left: 3px solid var(--accent-2); }
.toast-msg { font-size: 13px; color: var(--text); }
.toast.hide { animation: toastOut 0.3s forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateX(40px); } }
/* ── Scroll reveal (JS-gated so no-JS shows everything) ─────────────────── */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
html.js .reveal.is-visible { opacity: 1; transform: none; }
/* ── Staggered children: cascade in once their card is visible ──────────── */
html.js .stagger > * {
opacity: 0; transform: translateY(14px) scale(0.985);
transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
transition-delay: calc(var(--i, 0) * 55ms);
}
html.js .stagger.is-visible > * { opacity: 1; transform: none; }
/* numeric stat values get a soft focus-in as they reveal */
html.js .stagger.is-visible .stat-value,
html.js .stagger.is-visible .ml-value { animation: focusIn 0.7s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 55ms + 80ms); }
@keyframes focusIn { from { filter: blur(6px); opacity: 0; } to { filter: blur(0); opacity: 1; } }
/* JS-built rows cascade in (delay set inline via --i) */
html.js .cascade-item { animation: riseFade 0.5s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes riseFade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
/* ── Scroll progress indicator (top hairline) ──────────────────────────── */
.scroll-progress {
position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60;
transform: scaleX(0); transform-origin: 0 50%; will-change: transform;
background: linear-gradient(90deg, var(--accent), var(--accent-2) 60%, var(--accent-3));
box-shadow: 0 0 12px rgba(0, 255, 156, 0.6);
}
/* ── Topbar entrance ───────────────────────────────────────────────────── */
html.js .topbar { animation: slideDown 0.8s var(--ease-out) both; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-100%); } to { opacity: 1; transform: none; } }
/* ── Magnetic primary button (pointer-driven, set in JS) ───────────────── */
.btn-primary.is-magnetic { transition: transform 0.18s var(--ease-out), box-shadow var(--transition), background-position var(--transition); }
/* step marker pops when it flips to done */
.step.done .step-marker { animation: markerPop 0.4s var(--ease-out); }
@keyframes markerPop { 0% { transform: scale(0.6); } 55% { transform: scale(1.18); } 100% { transform: scale(1); } }
/* chip hover lift (stable β€” no layout shift) */
.hero-chips li { transition: transform var(--transition), border-color var(--transition), background var(--transition); cursor: default; }
.hero-chips li:hover { transform: translateY(-3px); border-color: var(--stroke-strong); background: var(--surface-3); }
/* ── Terminal chrome (shared: boot overlay + live feed) ────────────────── */
.term-bar {
display: flex; align-items: center; gap: 7px; padding: 9px 13px;
background: rgba(255, 255, 255, 0.04);
border-bottom: 1px solid rgba(0, 255, 156, 0.14);
}
.term-dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }
.td-r { background: #ff5f57; }
.td-y { background: #febc2e; }
.td-g { background: #28c840; }
.term-title { margin-left: 8px; font-size: 11px; color: var(--muted); letter-spacing: 0.4px; }
/* ── Boot terminal overlay ──────────────────────────────────────────────── */
.boot-screen {
position: fixed; inset: 0; z-index: 200;
display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
background: #020503;
transition: opacity 0.55s ease, visibility 0.55s;
}
.boot-screen.boot-done { opacity: 0; visibility: hidden; pointer-events: none; }
.boot-terminal {
width: min(740px, calc(100vw - 32px));
border: 1px solid rgba(0, 255, 156, 0.22); border-radius: 10px;
background: #030805; overflow: hidden;
box-shadow: 0 0 70px rgba(0, 255, 156, 0.1), 0 24px 80px rgba(0, 0, 0, 0.65);
}
.boot-output {
padding: 18px 20px 22px; min-height: 320px;
font-size: 12.5px; line-height: 1.65; color: #cfeede;
white-space: pre-wrap; word-break: break-word;
}
.boot-output .ok { color: var(--accent); font-weight: 700; }
.boot-output .dim { color: #5d7a6c; }
.boot-output .cmd { color: #e8fff4; }
.boot-output .granted { color: var(--accent); font-weight: 700; letter-spacing: 1px; text-shadow: 0 0 14px rgba(0, 255, 156, 0.6); }
.boot-cursor { display: inline-block; width: 8px; height: 14px; background: var(--accent); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.boot-skip { font-size: 11px; color: var(--muted); letter-spacing: 1.4px; text-transform: uppercase; animation: blink 1.7s steps(1) infinite; }
@media (max-width: 640px) { .boot-output { font-size: 8.5px; min-height: 240px; } }
/* ── CRT scanlines ──────────────────────────────────────────────────────── */
.scanlines {
position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0.16;
background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.55) 0 1px, transparent 1px 3px);
}
/* ── Live terminal feed (scan progress) ─────────────────────────────────── */
.term-window {
border: 1px solid rgba(0, 255, 156, 0.18); border-radius: var(--radius-xs);
background: #030805; overflow: hidden; margin-bottom: 24px;
}
.term-body {
padding: 13px 16px; height: 180px; overflow-y: auto;
font-size: 12px; line-height: 1.7; color: #cfeede;
white-space: pre-wrap; word-break: break-word;
}
.term-body .t-ok { color: var(--accent); }
.term-body .t-info { color: var(--accent-2); }
.term-body .t-warn { color: var(--warning); }
.term-body .t-err { color: var(--danger); }
.term-body .t-dim { color: #5d7a6c; }
.term-body .term-caret { display: inline-block; width: 7px; height: 12px; background: var(--accent); animation: blink 1s steps(1) infinite; }
/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
.hero { grid-template-columns: 1fr; gap: 26px; }
.hero-radar { display: none; }
.bento { grid-template-columns: repeat(3, 1fr); }
.ml-grid { grid-template-columns: repeat(3, 1fr); }
.vuln-layout { grid-template-columns: 1fr; gap: 24px; }
.chart-wrap { max-width: 250px; }
}
@media (max-width: 640px) {
.card { padding: 22px; }
.bento, .ml-grid { grid-template-columns: repeat(2, 1fr); }
.stepper { grid-template-columns: repeat(3, 1fr); row-gap: 18px; }
.feature-row { grid-template-columns: 110px 1fr 40px; }
.footer-inner { flex-direction: column; gap: 4px; }
}
/* ============================================================================
v2 ENHANCEMENTS β€” risk HUD Β· matrix rain Β· accent themes Β· HUD controls
========================================================================== */
/* ── Accent themes (swappable via [data-accent] on <html>) ──────────────── */
html[data-accent="cyan"] {
--accent: #18e6ff; --accent-2: #4f8bff; --accent-3: #8b7dff;
--grad-accent: linear-gradient(135deg, #18e6ff 0%, #4f8bff 100%);
--grad-sheen: linear-gradient(120deg, #ffffff 0%, #bdf0ff 55%, #5ed6ff 100%);
}
html[data-accent="violet"] {
--accent: #b15cff; --accent-2: #ff5ce0; --accent-3: #00ff9c;
--grad-accent: linear-gradient(135deg, #b15cff 0%, #ff5ce0 100%);
--grad-sheen: linear-gradient(120deg, #ffffff 0%, #e8c8ff 55%, #c08bff 100%);
}
html[data-accent="amber"] {
--accent: #ffb648; --accent-2: #ff7a59; --accent-3: #ff5d6c;
--grad-accent: linear-gradient(135deg, #ffd14d 0%, #ff7a59 100%);
--grad-sheen: linear-gradient(120deg, #ffffff 0%, #ffe6b0 55%, #ffc06b 100%);
}
/* accent recolor cascades to the spotlight + ambient glow */
.glass::after { background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%); }
.aurora { background:
radial-gradient(80% 55% at 50% -12%, color-mix(in srgb, var(--accent) 9%, transparent) 0%, transparent 55%),
radial-gradient(120% 120% at 50% 0%, #050f0c 0%, var(--bg-0) 40%); }
/* ── HUD icon buttons (topbar) ──────────────────────────────────────────── */
.icon-btn {
width: 34px; height: 34px; display: grid; place-items: center; cursor: pointer;
border-radius: 10px; color: var(--text-dim);
background: var(--surface); border: 1px solid var(--stroke);
transition: var(--transition);
}
.icon-btn:hover { color: var(--text); border-color: var(--stroke-strong); background: var(--surface-3); transform: translateY(-1px); }
.icon-btn[aria-pressed="false"] { opacity: 0.5; }
.icon-btn:active { transform: translateY(0) scale(0.94); }
/* ── Glitch brand wordmark (CONTINUOUS β€” always glitching, no hover needed) ─ */
.brand h1.glitch { position: relative; animation: brandGlow 3.2s ease-in-out infinite; }
.glitch::before, .glitch::after {
content: attr(data-text); position: absolute; inset: 0; pointer-events: none; opacity: 0.65;
}
/* two desynced colored copies jitter forever β†’ constant chromatic glitch */
.glitch::before { color: var(--accent-2); animation: glitchA 2.2s infinite linear alternate-reverse; }
.glitch::after { color: var(--accent-3); animation: glitchB 1.7s infinite linear alternate-reverse; }
/* hover just intensifies it */
.brand:hover .glitch::before { opacity: 0.85; animation-duration: 0.6s; }
.brand:hover .glitch::after { opacity: 0.85; animation-duration: 0.45s; }
@keyframes brandGlow {
0%, 100% { text-shadow: 0 0 7px color-mix(in srgb, var(--accent) 28%, transparent); }
50% { text-shadow: 0 0 16px color-mix(in srgb, var(--accent) 55%, transparent); }
}
@keyframes glitchA {
0% { clip-path: inset(0 0 82% 0); transform: translate(-2px, 0); }
15% { clip-path: inset(28% 0 50% 0); transform: translate(2px, 0); }
30% { clip-path: inset(54% 0 30% 0); transform: translate(-1px, 0); }
45% { clip-path: inset(12% 0 70% 0); transform: translate(2px, 0); }
60% { clip-path: inset(66% 0 14% 0); transform: translate(-2px, 0); }
75% { clip-path: inset(38% 0 44% 0); transform: translate(1px, 0); }
90% { clip-path: inset(8% 0 78% 0); transform: translate(-2px, 0); }
100% { clip-path: inset(46% 0 36% 0); transform: translate(2px, 0); }
}
@keyframes glitchB {
0% { clip-path: inset(70% 0 12% 0); transform: translate(2px, 0); }
20% { clip-path: inset(20% 0 62% 0); transform: translate(-2px, 0); }
35% { clip-path: inset(48% 0 34% 0); transform: translate(1px, 0); }
50% { clip-path: inset(6% 0 80% 0); transform: translate(-2px, 0); }
65% { clip-path: inset(58% 0 22% 0); transform: translate(2px, 0); }
80% { clip-path: inset(32% 0 52% 0); transform: translate(-1px, 0); }
100% { clip-path: inset(76% 0 8% 0); transform: translate(2px, 0); }
}
/* ── Keyboard hint row ──────────────────────────────────────────────────── */
.kbd-hint { margin-top: 18px; font-size: 11.5px; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
kbd {
font-family: var(--font-display); font-size: 10.5px; color: var(--text-dim);
background: var(--surface-2); border: 1px solid var(--stroke); border-bottom-width: 2px;
border-radius: 6px; padding: 2px 7px; min-width: 18px; text-align: center; line-height: 1.4;
}
/* ── Card-head meta cluster + copy + elapsed ────────────────────────────── */
.head-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.scan-elapsed { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--accent-2); background: var(--surface-2); padding: 5px 11px; border-radius: 999px; border: 1px solid var(--stroke); font-variant-numeric: tabular-nums; }
.target-chip { display: inline-flex; align-items: center; gap: 4px; background: var(--surface-2); border: 1px solid var(--stroke); border-radius: 999px; padding-right: 4px; }
.target-chip .scan-target { background: none; border: none; padding: 5px 4px 5px 12px; }
.copy-btn {
display: grid; place-items: center; width: 26px; height: 26px; cursor: pointer;
border: none; border-radius: 999px; background: transparent; color: var(--muted); transition: var(--transition);
}
.copy-btn:hover { color: var(--accent); background: var(--surface-3); }
.copy-btn.copied { color: var(--success); }
.copy-btn.copied svg { animation: markerPop 0.4s var(--ease-out); }
/* ── Matrix digital rain (behind aurora) ────────────────────────────────── */
.matrix-rain { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.72; mix-blend-mode: screen; transition: opacity 0.6s ease; }
.matrix-rain.off { opacity: 0 !important; }
/* ── Risk verdict HUD ───────────────────────────────────────────────────── */
.risk-hud {
display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 30px;
padding: 22px 26px; margin-bottom: 22px; border-radius: var(--radius-sm);
background:
radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--risk-color, var(--accent)) 14%, transparent), transparent 60%),
var(--surface-2);
border: 1px solid var(--stroke);
position: relative; overflow: hidden;
}
.risk-hud::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--risk-color, var(--accent)); box-shadow: 0 0 16px var(--risk-color, var(--accent)); }
.gauge-wrap { position: relative; width: 200px; }
.gauge { width: 200px; height: 120px; overflow: visible; }
.gauge-track { fill: none; stroke: rgba(255,255,255,0.08); stroke-width: 12; stroke-linecap: round; }
.gauge-fill { fill: none; stroke: url(#gaugeGrad); stroke-width: 12; stroke-linecap: round; stroke-dasharray: 251.3; stroke-dashoffset: 251.3; transition: stroke-dashoffset 1.1s var(--ease-out); filter: drop-shadow(0 0 6px color-mix(in srgb, var(--risk-color, var(--accent)) 70%, transparent)); }
.gauge-needle { stroke: var(--risk-color, var(--accent)); stroke-width: 2.5; stroke-linecap: round; transform: rotate(-90deg); transform-origin: 100px 110px; transition: transform 1.1s var(--ease-out); filter: drop-shadow(0 0 5px var(--risk-color, var(--accent))); }
.gauge-hub { fill: var(--risk-color, var(--accent)); }
.gauge-readout { position: absolute; left: 0; right: 0; bottom: 7px; display: flex; flex-direction: column; align-items: center; line-height: 1; }
.gauge-score { font-family: var(--font-display); font-size: 29px; font-weight: 700; color: var(--risk-color, var(--text)); line-height: 1; font-variant-numeric: tabular-nums; text-shadow: 0 0 20px color-mix(in srgb, var(--risk-color, var(--accent)) 50%, transparent); }
.gauge-scale { font-family: var(--font-display); font-size: 9.5px; font-weight: 600; letter-spacing: 1.2px; color: var(--muted); margin-top: 3px; }
.risk-verdict { display: flex; flex-direction: column; gap: 4px; }
.verdict-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); }
.verdict-level { font-family: var(--font-display); font-size: clamp(22px, 3vw, 30px); font-weight: 700; letter-spacing: 0.5px; color: var(--risk-color, var(--text)); text-shadow: 0 0 22px color-mix(in srgb, var(--risk-color, var(--accent)) 45%, transparent); }
.verdict-text { font-size: 13px; color: var(--text-dim); max-width: 52ch; }
.risk-legend { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.risk-legend .lg { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--text-dim); font-family: var(--font-display); }
.risk-legend .lg b { color: var(--text); font-weight: 700; }
.risk-legend .lg i { width: 8px; height: 8px; border-radius: 2px; font-style: normal; }
/* risk levels β†’ drive --risk-color */
#risk-hud.level-secure { --risk-color: #2ee6a8; }
#risk-hud.level-low { --risk-color: #3ad6ff; }
#risk-hud.level-elevated { --risk-color: #ffb648; }
#risk-hud.level-high { --risk-color: #ff8c45; }
#risk-hud.level-critical { --risk-color: #ff5d6c; }
#risk-hud.level-critical::before { animation: critPulse 1.3s ease infinite; }
@keyframes critPulse { 0%,100% { box-shadow: 0 0 10px var(--risk-color); } 50% { box-shadow: 0 0 26px var(--risk-color); } }
/* ── ML stat tooltips ───────────────────────────────────────────────────── */
.ml-stat { position: relative; }
.ml-stat[data-tip]::after {
content: attr(data-tip); position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(6px);
width: max-content; max-width: 240px; padding: 9px 12px; z-index: 40;
font-size: 11.5px; line-height: 1.5; font-weight: 500; color: var(--text); text-transform: none; letter-spacing: 0;
background: rgba(8, 11, 22, 0.97); border: 1px solid var(--stroke-strong); border-radius: 10px;
box-shadow: var(--shadow-glass); opacity: 0; pointer-events: none; transition: opacity 0.2s ease, transform 0.2s ease;
}
.ml-stat[data-tip]::before {
content: ""; position: absolute; bottom: calc(100% + 4px); left: 50%; transform: translateX(-50%);
border: 6px solid transparent; border-top-color: var(--stroke-strong); z-index: 41; opacity: 0; transition: opacity 0.2s ease;
}
.ml-stat[data-tip]:hover::after, .ml-stat[data-tip]:focus-visible::after { opacity: 1; transform: translateX(-50%) translateY(0); }
.ml-stat[data-tip]:hover::before, .ml-stat[data-tip]:focus-visible::before { opacity: 1; }
/* ── Global focus-visible (keyboard a11y) ───────────────────────────────── */
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; border-radius: 4px; }
.btn:focus-visible, input:focus-visible, .icon-btn:focus-visible { outline-offset: 3px; }
/* ── Priority remediation card (carousel) ────────────────────────────────── */
.rem-block-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.rem-block-head .block-title { margin-bottom: 0; }
.rem-nav { display: inline-flex; align-items: center; gap: 8px; }
.rem-nav.hidden { display: none; }
.rem-arrow {
width: 30px; height: 30px; display: grid; place-items: center; cursor: pointer;
border-radius: 8px; color: var(--text-dim); background: var(--surface-2); border: 1px solid var(--stroke);
transition: var(--transition);
}
.rem-arrow:hover { color: var(--text); border-color: var(--stroke-strong); background: var(--surface-3); transform: translateY(-1px); }
.rem-arrow:active { transform: translateY(0) scale(0.92); }
.rem-count { font-family: var(--font-display); font-size: 12px; color: var(--muted); min-width: 44px; text-align: center; font-variant-numeric: tabular-nums; }
.remediation.swap { animation: remSwap 0.3s var(--ease-out); }
@keyframes remSwap { from { opacity: 0.25; transform: translateX(var(--swap-x, 16px)); } to { opacity: 1; transform: none; } }
.remediation {
position: relative; overflow: hidden; padding: 20px 22px;
border-radius: var(--radius-sm); border: 1px solid var(--stroke);
background: linear-gradient(160deg, color-mix(in srgb, var(--rem-color, var(--accent)) 11%, transparent), var(--surface-2));
}
.remediation::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--rem-color, var(--accent)); box-shadow: 0 0 14px var(--rem-color, var(--accent)); }
.remediation.sev-high { --rem-color: #ff5d6c; }
.remediation.sev-medium { --rem-color: #ffb648; }
.remediation.sev-low { --rem-color: #2ee6a8; }
.rem-head { display: flex; align-items: center; gap: 14px; margin-bottom: 13px; }
.rem-rank { font-family: var(--font-display); font-size: 21px; font-weight: 700; color: var(--rem-color, var(--accent)); text-shadow: 0 0 16px color-mix(in srgb, var(--rem-color, var(--accent)) 50%, transparent); }
.rem-title-wrap { flex: 1; min-width: 0; }
.rem-title { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--text); }
.rem-meta { font-size: 11.5px; color: var(--muted); }
.rem-impact { font-size: 13px; color: var(--text-dim); line-height: 1.6; margin-bottom: 16px; }
.rem-steps-label { display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; color: var(--muted); margin-bottom: 11px; }
.rem-steps { list-style: none; display: flex; flex-direction: column; gap: 10px; counter-reset: rem; }
.rem-steps li { position: relative; padding-left: 32px; font-size: 13px; color: var(--text); line-height: 1.5; counter-increment: rem; }
.rem-steps li::before {
content: counter(rem); position: absolute; left: 0; top: -1px;
width: 21px; height: 21px; border-radius: 6px; display: grid; place-items: center;
font-family: var(--font-display); font-size: 11px; font-weight: 700; color: #03150c;
background: var(--rem-color, var(--accent));
}
.rem-steps strong { color: var(--text); font-weight: 700; }
.rem-steps code, .rem-impact code {
font-family: var(--font-display); font-size: 0.9em; color: var(--accent-2);
background: rgba(0, 0, 0, 0.35); padding: 1px 6px; border-radius: 5px;
}
.rem-refs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.rem-ref { font-family: var(--font-display); font-size: 10.5px; font-weight: 600; letter-spacing: 0.3px; color: var(--text-dim); padding: 4px 11px; border-radius: 999px; border: 1px solid var(--stroke); background: var(--surface-2); }
/* ============================================================================
v3 ENGAGEMENT β€” mission stats Β· recon console Β· OVERDRIVE
========================================================================== */
/* ── Mission control bar ─────────────────────────────────────────────────── */
.mission { padding: 18px 24px; }
.mission-grid { display: grid; grid-template-columns: repeat(4, 1fr) 1.5fr; gap: 18px; align-items: center; }
.mission-cell { display: flex; flex-direction: column; gap: 5px; position: relative; padding-left: 14px; }
.mission-cell:not(.mission-spark-cell)::before {
content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; width: 2px; border-radius: 2px;
background: var(--grad-accent); opacity: 0.75;
}
.mission-val { font-family: var(--font-display); font-size: 25px; font-weight: 700; color: var(--text); line-height: 1; font-variant-numeric: tabular-nums; }
.mission-lbl { font-size: 10px; font-weight: 600; letter-spacing: 0.6px; text-transform: uppercase; color: var(--muted); }
.mission-spark-cell { padding-left: 0; gap: 6px; }
.mission-spark { width: 100%; height: 38px; display: block; }
#ms-spark-line { stroke: var(--accent); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 0 4px color-mix(in srgb, var(--accent) 60%, transparent)); }
#ms-spark-area { fill: color-mix(in srgb, var(--accent) 13%, transparent); stroke: none; }
@media (max-width: 760px) {
.mission-grid { grid-template-columns: repeat(2, 1fr); }
.mission-spark-cell { grid-column: 1 / -1; }
}
/* ── Recon console (slide-down terminal) ─────────────────────────────────── */
.console {
position: fixed; top: 0; left: 0; right: 0; z-index: 120;
transform: translateY(-105%); transition: transform 0.35s var(--ease-out);
pointer-events: none;
}
.console.open { transform: translateY(0); pointer-events: auto; }
.console-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.console .term-bar { border-radius: 0 0 0 0; border-bottom: 1px solid rgba(0, 255, 156, 0.18); }
.console-out {
height: min(46vh, 360px); overflow-y: auto; padding: 14px 16px;
background: rgba(3, 8, 5, 0.97); backdrop-filter: blur(10px);
border-left: 1px solid rgba(0, 255, 156, 0.18); border-right: 1px solid rgba(0, 255, 156, 0.18);
font-size: 12.5px; line-height: 1.65; color: #cfeede; white-space: pre-wrap; word-break: break-word;
}
.console-out .c-ok { color: var(--accent); }
.console-out .c-info { color: var(--accent-2); }
.console-out .c-err { color: var(--danger); }
.console-out .c-dim { color: #5d7a6c; }
.console-out .c-head { color: #e7fff4; font-weight: 700; }
.console-row {
display: flex; align-items: center; gap: 9px; padding: 11px 16px;
background: rgba(3, 8, 5, 0.97);
border: 1px solid rgba(0, 255, 156, 0.18); border-top: none; border-radius: 0 0 12px 12px;
box-shadow: 0 28px 70px rgba(0, 0, 0, 0.6);
}
.console-prompt { color: var(--accent); font-size: 12.5px; white-space: nowrap; }
.console-input { flex: 1; min-width: 0; background: none; border: none; outline: none; color: var(--text); font-size: 12.5px; caret-color: var(--accent); }
.console-input::placeholder { color: var(--muted); }
.console-close {
margin-left: auto; background: none; border: 1px solid var(--stroke); color: var(--muted);
font-family: var(--font-display); font-size: 10px; padding: 2px 8px; border-radius: 5px; cursor: pointer;
transition: var(--transition); text-transform: uppercase; letter-spacing: 0.5px;
}
.console-close:hover { color: var(--text); border-color: var(--stroke-strong); }
/* ── OVERDRIVE mode (konami: ↑↑↓↓←→←→ B A) ───────────────────────────────── */
body.overdrive .scanlines { opacity: 0.3; animation: odFlicker 0.16s steps(2) infinite; }
body.overdrive .hero-title { text-shadow: 0 0 24px var(--accent), 0 0 46px var(--accent-2); }
body.overdrive .brand h1.glitch { text-shadow: 0 0 18px var(--accent); }
body.overdrive .topbar { border-bottom-color: color-mix(in srgb, var(--accent) 55%, transparent); }
body.overdrive .logo { box-shadow: 0 8px 30px var(--accent), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
@keyframes odFlicker { 0% { opacity: 0.24; } 50% { opacity: 0.34; } 100% { opacity: 0.24; } }
/* ── Reduced motion ─────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
.matrix-rain { display: none !important; }
.console { transition: none !important; }
body.overdrive .scanlines { animation: none !important; }
.gauge-fill, .gauge-needle { transition: none !important; }
#risk-hud.level-critical::before { animation: none !important; }
.glitch::before, .glitch::after { animation: none !important; opacity: 0 !important; }
.brand h1.glitch { animation: none !important; }
*, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
.blob, .grain, .hero-radar .sweep, .progress-fill::after,
.hero-title, html.js .logo svg path, html.js .topbar { animation: none !important; }
html.js .reveal { opacity: 1 !important; transform: none !important; }
html.js .stagger > * { opacity: 1 !important; transform: none !important; }
html.js .logo svg path { stroke-dashoffset: 0 !important; }
.scroll-progress { display: none !important; }
.boot-screen { display: none !important; }
.scanlines { display: none !important; }
}
/* ── v2 responsive overrides (must follow base v2 rules to win cascade) ──── */
@media (max-width: 760px) {
.risk-hud { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 18px; }
.risk-hud .risk-verdict { align-items: center; }
.risk-legend { justify-content: center; }
.verdict-text { max-width: 40ch; }
}
@media (max-width: 640px) {
.ml-stat[data-tip]::after { max-width: 200px; }
.head-meta { width: 100%; justify-content: flex-start; }
}