Spaces:
Sleeping
Sleeping
| /* ============================================================ | |
| SAFEAISCAN β GLOBAL DESIGN SYSTEM | |
| Font: Syne (display) + DM Sans (body) | |
| Theme: Deep navy / slate with electric indigo accents | |
| ============================================================ */ | |
| @import url('https://fonts.googleapis.com/css2?family=Syne:wght@600;700;800&family=DM+Sans:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&display=swap'); | |
| :root { | |
| --bg-base: #060b14; | |
| --bg-1: #0b1120; | |
| --bg-2: #0f1a2e; | |
| --bg-3: #162038; | |
| --border: rgba(99,130,255,0.12); | |
| --border-bright: rgba(99,130,255,0.28); | |
| --accent: #5b7bfe; | |
| --accent-glow: rgba(91,123,254,0.35); | |
| --accent-2: #38bdf8; | |
| --text-primary: #e8edf8; | |
| --text-muted: #8296b3; | |
| --text-faint: #3f5273; | |
| --danger: #f43f5e; | |
| --warning: #fb923c; | |
| --success: #34d399; | |
| --critical: #c026d3; | |
| --radius-sm: 8px; | |
| --radius-md: 12px; | |
| --radius-lg: 18px; | |
| --shadow-card: 0 4px 24px rgba(0,0,0,0.45); | |
| --shadow-glow: 0 0 32px rgba(91,123,254,0.18); | |
| } | |
| *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } | |
| html { scroll-behavior: smooth; } | |
| body { | |
| background: var(--bg-base); | |
| color: var(--text-primary); | |
| font-family: 'DM Sans', system-ui, sans-serif; | |
| font-size: 14px; | |
| line-height: 1.6; | |
| min-height: 100vh; | |
| } | |
| /* ---- TYPOGRAPHY ---- */ | |
| h1,h2,h3,h4,h5,h6 { font-family: 'Syne', sans-serif; letter-spacing: -0.02em; } | |
| code, pre, .mono { font-family: 'JetBrains Mono', monospace; } | |
| /* ---- SCROLLBAR ---- */ | |
| ::-webkit-scrollbar { width: 5px; height: 5px; } | |
| ::-webkit-scrollbar-track { background: transparent; } | |
| ::-webkit-scrollbar-thumb { background: var(--border-bright); border-radius: 99px; } | |
| /* ============================================================ | |
| LAYOUT PRIMITIVES | |
| ============================================================ */ | |
| .glass { | |
| background: rgba(15, 26, 46, 0.72); | |
| backdrop-filter: blur(16px); | |
| border: 1px solid var(--border); | |
| border-radius: var(--radius-lg); | |
| box-shadow: var(--shadow-card); | |
| transition: border-color 0.2s, box-shadow 0.2s; | |
| } | |
| .glass:hover { border-color: var(--border-bright); } | |
| .panel { | |
| background: var(--bg-2); | |
| border: 1px solid var(--border); | |
| border-radius: var(--radius-md); | |
| padding: 14px; | |
| transition: border-color 0.2s, transform 0.2s; | |
| } | |
| .panel:hover { border-color: var(--border-bright); } | |
| .card { | |
| background: var(--bg-2); | |
| border: 1px solid var(--border); | |
| border-radius: var(--radius-lg); | |
| transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s; | |
| } | |
| .card:hover { | |
| transform: translateY(-4px); | |
| box-shadow: 0 16px 48px rgba(0,0,0,0.55); | |
| border-color: var(--border-bright); | |
| } | |
| /* ============================================================ | |
| BUTTONS | |
| ============================================================ */ | |
| .btn { | |
| font-family: 'DM Sans', sans-serif; | |
| font-weight: 500; | |
| border-radius: var(--radius-sm); | |
| transition: all 0.18s ease; | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .btn:active { transform: scale(0.97); } | |
| .btn-primary { | |
| background: linear-gradient(135deg, #5b7bfe, #4361ee); | |
| border: none; | |
| color: #fff; | |
| box-shadow: 0 4px 16px rgba(91,123,254,0.3); | |
| } | |
| .btn-primary:hover { | |
| background: linear-gradient(135deg, #6d8fff, #5272f4); | |
| box-shadow: 0 4px 24px rgba(91,123,254,0.5); | |
| color: #fff; | |
| } | |
| .btn-warning { | |
| background: linear-gradient(135deg, #fb923c, #ea580c); | |
| border: none; | |
| color: #fff; | |
| } | |
| .btn-warning:hover { background: linear-gradient(135deg, #fdba74, #f97316); color: #fff; } | |
| .btn-danger { | |
| background: linear-gradient(135deg, #f43f5e, #e11d48); | |
| border: none; | |
| color: #fff; | |
| } | |
| .btn-danger:hover { background: linear-gradient(135deg, #fb7185, #f43f5e); color: #fff; } | |
| .btn-success { | |
| background: linear-gradient(135deg, #34d399, #059669); | |
| border: none; | |
| color: #fff; | |
| } | |
| .btn-outline-light { | |
| border: 1px solid var(--border-bright); | |
| color: var(--text-muted); | |
| background: transparent; | |
| } | |
| .btn-outline-light:hover { | |
| background: var(--bg-3); | |
| color: var(--text-primary); | |
| border-color: var(--accent); | |
| } | |
| /* ============================================================ | |
| FORM CONTROLS | |
| ============================================================ */ | |
| .form-control, textarea { | |
| background: var(--bg-1) ; | |
| border: 1px solid var(--border) ; | |
| color: var(--text-primary) ; | |
| border-radius: var(--radius-sm) ; | |
| font-family: 'DM Sans', sans-serif; | |
| transition: border-color 0.2s, box-shadow 0.2s; | |
| } | |
| .form-control:focus, textarea:focus { | |
| border-color: var(--accent) ; | |
| box-shadow: 0 0 0 3px var(--accent-glow) ; | |
| outline: none; | |
| } | |
| .form-control::placeholder, textarea::placeholder { color: var(--text-faint); } | |
| textarea.code-area { | |
| font-family: 'JetBrains Mono', monospace ; | |
| font-size: 12.5px; | |
| line-height: 1.7; | |
| resize: vertical; | |
| min-height: 160px; | |
| background: #040c18 ; | |
| } | |
| .input-group-text { | |
| background: var(--bg-3) ; | |
| border: 1px solid var(--border) ; | |
| color: var(--text-muted) ; | |
| } | |
| /* ============================================================ | |
| NAVBAR | |
| ============================================================ */ | |
| .navbar { | |
| background: rgba(6,11,20,0.9); | |
| backdrop-filter: blur(20px); | |
| border-bottom: 1px solid var(--border); | |
| padding: 14px 28px; | |
| position: sticky; | |
| top: 0; | |
| z-index: 1000; | |
| } | |
| .navbar-brand { | |
| font-family: 'Syne', sans-serif; | |
| font-weight: 800; | |
| font-size: 18px; | |
| color: var(--text-primary) ; | |
| letter-spacing: -0.03em; | |
| } | |
| .brand-dot { color: var(--accent); } | |
| /* ============================================================ | |
| DASHBOARD HEADER | |
| ============================================================ */ | |
| .dash-header { | |
| background: var(--bg-1); | |
| border-bottom: 1px solid var(--border); | |
| padding: 12px 24px; | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| } | |
| .dash-header h5 { | |
| font-family: 'Syne', sans-serif; | |
| font-weight: 700; | |
| font-size: 16px; | |
| } | |
| /* ============================================================ | |
| METRIC CARDS | |
| ============================================================ */ | |
| .metric { | |
| background: var(--bg-1); | |
| border: 1px solid var(--border); | |
| border-radius: var(--radius-md); | |
| padding: 16px; | |
| margin-bottom: 12px; | |
| position: relative; | |
| overflow: hidden; | |
| transition: border-color 0.2s; | |
| } | |
| .metric::before { | |
| content: ''; | |
| position: absolute; | |
| top: 0; left: 0; right: 0; | |
| height: 2px; | |
| background: linear-gradient(90deg, var(--accent), transparent); | |
| opacity: 0.6; | |
| } | |
| .metric:hover { border-color: var(--border-bright); } | |
| .metric h6 { | |
| font-size: 10px; | |
| color: var(--text-muted); | |
| text-transform: uppercase; | |
| letter-spacing: 1px; | |
| margin-bottom: 6px; | |
| font-family: 'DM Sans', sans-serif; | |
| } | |
| .metric h3 { | |
| font-family: 'Syne', sans-serif; | |
| font-size: 22px; | |
| font-weight: 700; | |
| margin: 0; | |
| } | |
| /* ============================================================ | |
| BADGE SYSTEM | |
| ============================================================ */ | |
| .badge-pill { | |
| font-family: 'DM Sans', sans-serif; | |
| font-size: 10px; | |
| font-weight: 600; | |
| padding: 3px 9px; | |
| border-radius: 99px; | |
| letter-spacing: 0.4px; | |
| text-transform: uppercase; | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 4px; | |
| } | |
| .badge-soft { | |
| background: rgba(91,123,254,0.12); | |
| color: #93aaff; | |
| border: 1px solid rgba(91,123,254,0.25); | |
| padding: 4px 10px; | |
| border-radius: 99px; | |
| font-size: 11px; | |
| } | |
| .sev-critical { background: rgba(192,38,211,0.18); color: #e879f9; border: 1px solid rgba(192,38,211,0.3); } | |
| .sev-high { background: rgba(244,63,94,0.15); color: #fb7185; border: 1px solid rgba(244,63,94,0.3); } | |
| .sev-medium { background: rgba(251,146,60,0.15); color: #fdba74; border: 1px solid rgba(251,146,60,0.3); } | |
| .sev-low { background: rgba(52,211,153,0.12); color: #6ee7b7; border: 1px solid rgba(52,211,153,0.25); } | |
| /* ============================================================ | |
| VULNERABILITY CARDS | |
| ============================================================ */ | |
| .vuln-card { | |
| background: var(--bg-2); | |
| border: 1px solid var(--border); | |
| border-radius: var(--radius-md); | |
| padding: 14px; | |
| cursor: pointer; | |
| transition: all 0.2s ease; | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .vuln-card::before { | |
| content: ''; | |
| position: absolute; | |
| left: 0; top: 0; bottom: 0; | |
| width: 3px; | |
| border-radius: 3px 0 0 3px; | |
| } | |
| .vuln-card.sev-high-card::before { background: var(--danger); } | |
| .vuln-card.sev-med-card::before { background: var(--warning); } | |
| .vuln-card.sev-low-card::before { background: var(--success); } | |
| .vuln-card.sev-crit-card::before { background: var(--critical); } | |
| .vuln-card:hover { | |
| border-color: var(--border-bright); | |
| transform: translateX(3px); | |
| box-shadow: var(--shadow-glow); | |
| } | |
| .vuln-title { font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 600; } | |
| .vuln-meta { font-size: 11px; color: var(--text-muted); margin-top: 3px; } | |
| .vuln-details { | |
| display: none; | |
| margin-top: 12px; | |
| padding-top: 12px; | |
| border-top: 1px solid var(--border); | |
| font-size: 12px; | |
| color: var(--text-muted); | |
| animation: slideDown 0.2s ease; | |
| } | |
| .vuln-card.active .vuln-details { display: block; } | |
| @keyframes slideDown { | |
| from { opacity: 0; transform: translateY(-6px); } | |
| to { opacity: 1; transform: translateY(0); } | |
| } | |
| .fix-box { | |
| background: rgba(4,12,24,0.8); | |
| border: 1px solid var(--border); | |
| border-radius: var(--radius-sm); | |
| padding: 10px; | |
| font-family: 'JetBrains Mono', monospace; | |
| font-size: 11px; | |
| margin-top: 8px; | |
| line-height: 1.6; | |
| color: #94a3b8; | |
| } | |
| /* ============================================================ | |
| CODE OUTPUT | |
| ============================================================ */ | |
| pre { | |
| background: #040c18; | |
| padding: 14px; | |
| border-radius: var(--radius-md); | |
| border: 1px solid var(--border); | |
| max-height: 280px; | |
| overflow: auto; | |
| font-family: 'JetBrains Mono', monospace; | |
| font-size: 11.5px; | |
| color: #94a3b8; | |
| line-height: 1.7; | |
| } | |
| /* ============================================================ | |
| PROGRESS BAR | |
| ============================================================ */ | |
| .progress { | |
| background: var(--bg-3); | |
| border-radius: 99px; | |
| height: 5px; | |
| overflow: hidden; | |
| } | |
| .progress-bar { | |
| background: linear-gradient(90deg, var(--accent), var(--accent-2)); | |
| border-radius: 99px; | |
| transition: width 0.35s ease; | |
| box-shadow: 0 0 8px var(--accent-glow); | |
| } | |
| .scan-progress-label { | |
| font-size: 11px; | |
| color: var(--text-muted); | |
| margin-bottom: 5px; | |
| font-family: 'JetBrains Mono', monospace; | |
| } | |
| /* ============================================================ | |
| HISTORY LIST | |
| ============================================================ */ | |
| .history-item { | |
| background: var(--bg-2); | |
| border: 1px solid var(--border); | |
| border-radius: var(--radius-sm); | |
| padding: 10px 12px; | |
| margin-bottom: 7px; | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| font-size: 12px; | |
| transition: border-color 0.2s; | |
| cursor: default; | |
| } | |
| .history-item:hover { border-color: var(--border-bright); } | |
| /* ============================================================ | |
| API KEY BOX | |
| ============================================================ */ | |
| .apikey-box { | |
| background: #040c18; | |
| border: 1px solid var(--border); | |
| border-radius: var(--radius-sm); | |
| padding: 8px 12px; | |
| font-family: 'JetBrains Mono', monospace; | |
| font-size: 12px; | |
| color: var(--accent-2); | |
| word-break: break-all; | |
| letter-spacing: 0.05em; | |
| } | |
| .copy-btn { | |
| cursor: pointer; | |
| color: var(--text-muted); | |
| font-size: 13px; | |
| transition: color 0.15s; | |
| } | |
| .copy-btn:hover { color: var(--accent); } | |
| .copy-confirm { | |
| font-size: 10px; | |
| color: var(--success); | |
| opacity: 0; | |
| transition: opacity 0.3s; | |
| } | |
| .copy-confirm.show { opacity: 1; } | |
| /* ============================================================ | |
| LOADING SKELETON | |
| ============================================================ */ | |
| .skeleton { | |
| background: linear-gradient(90deg, var(--bg-2) 25%, var(--bg-3) 50%, var(--bg-2) 75%); | |
| background-size: 200% 100%; | |
| animation: shimmer 1.4s infinite; | |
| border-radius: var(--radius-sm); | |
| } | |
| @keyframes shimmer { | |
| from { background-position: 200% 0; } | |
| to { background-position: -200% 0; } | |
| } | |
| /* ============================================================ | |
| SCAN LOADER | |
| ============================================================ */ | |
| .scan-loader { | |
| display: none; | |
| flex-direction: column; | |
| align-items: center; | |
| gap: 8px; | |
| padding: 20px; | |
| } | |
| .scan-loader.active { display: flex; } | |
| .pulse-ring { | |
| width: 40px; height: 40px; | |
| border: 2px solid var(--accent); | |
| border-radius: 50%; | |
| animation: pulseRing 1.2s ease-in-out infinite; | |
| position: relative; | |
| } | |
| .pulse-ring::after { | |
| content: ''; | |
| position: absolute; | |
| inset: 4px; | |
| background: var(--accent); | |
| border-radius: 50%; | |
| opacity: 0.5; | |
| animation: pulseCore 1.2s ease-in-out infinite; | |
| } | |
| @keyframes pulseRing { | |
| 0%,100% { transform: scale(1); opacity: 1; } | |
| 50% { transform: scale(1.15); opacity: 0.6; } | |
| } | |
| @keyframes pulseCore { | |
| 0%,100% { opacity: 0.5; } | |
| 50% { opacity: 0.2; } | |
| } | |
| /* ============================================================ | |
| ALERT / NOTIFICATION | |
| ============================================================ */ | |
| .alert { | |
| border-radius: var(--radius-sm); | |
| font-size: 13px; | |
| border: none; | |
| } | |
| .alert-danger { background: rgba(244,63,94,0.12); color: #fb7185; border: 1px solid rgba(244,63,94,0.2); } | |
| .alert-success { background: rgba(52,211,153,0.1); color: #6ee7b7; border: 1px solid rgba(52,211,153,0.2); } | |
| .alert-warning { background: rgba(251,146,60,0.1); color: #fdba74; border: 1px solid rgba(251,146,60,0.2); } | |
| /* ============================================================ | |
| HERO (INDEX PAGE) | |
| ============================================================ */ | |
| .hero { | |
| padding: 110px 20px 80px; | |
| text-align: center; | |
| position: relative; | |
| } | |
| .hero-bg { | |
| position: absolute; | |
| inset: 0; | |
| background: | |
| radial-gradient(ellipse 60% 50% at 50% 0%, rgba(91,123,254,0.15) 0%, transparent 70%), | |
| radial-gradient(ellipse 40% 30% at 80% 20%, rgba(56,189,248,0.08) 0%, transparent 60%); | |
| pointer-events: none; | |
| } | |
| .hero-title { | |
| font-family: 'Syne', sans-serif; | |
| font-weight: 800; | |
| font-size: clamp(36px, 6vw, 72px); | |
| line-height: 1.05; | |
| letter-spacing: -0.04em; | |
| } | |
| .glow { | |
| background: linear-gradient(135deg, #5b7bfe, #38bdf8); | |
| -webkit-background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| background-clip: text; | |
| filter: drop-shadow(0 0 20px rgba(91,123,254,0.4)); | |
| } | |
| .hero-sub { | |
| font-size: 18px; | |
| color: var(--text-muted); | |
| max-width: 540px; | |
| margin: 16px auto 0; | |
| line-height: 1.6; | |
| } | |
| /* ============================================================ | |
| SECTION | |
| ============================================================ */ | |
| .section { padding: 80px 20px; } | |
| .section-title { | |
| font-family: 'Syne', sans-serif; | |
| font-weight: 700; | |
| font-size: 28px; | |
| letter-spacing: -0.03em; | |
| margin-bottom: 6px; | |
| } | |
| .section-sub { | |
| color: var(--text-muted); | |
| font-size: 15px; | |
| margin-bottom: 36px; | |
| } | |
| /* PRICING */ | |
| .pricing-card { | |
| background: var(--bg-2); | |
| border: 1px solid var(--border); | |
| border-radius: var(--radius-lg); | |
| padding: 28px; | |
| transition: all 0.25s; | |
| } | |
| .pricing-card:hover { | |
| border-color: var(--accent); | |
| transform: translateY(-6px); | |
| box-shadow: 0 20px 60px rgba(0,0,0,0.5); | |
| } | |
| .pricing-card.featured { | |
| border-color: var(--accent); | |
| background: linear-gradient(145deg, var(--bg-2), rgba(91,123,254,0.05)); | |
| box-shadow: 0 0 0 1px var(--accent), var(--shadow-glow); | |
| } | |
| .price-amount { | |
| font-family: 'Syne', sans-serif; | |
| font-size: 42px; | |
| font-weight: 800; | |
| letter-spacing: -0.04em; | |
| } | |
| .price-period { font-size: 14px; color: var(--text-muted); } | |
| .price-feature { | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| font-size: 13px; | |
| color: var(--text-muted); | |
| padding: 5px 0; | |
| } | |
| .price-feature i { color: var(--success); font-size: 12px; } | |
| /* ============================================================ | |
| SIDE PANEL DRAWER | |
| ============================================================ */ | |
| .side-drawer { | |
| position: fixed; | |
| right: -460px; | |
| top: 0; | |
| width: 440px; | |
| height: 100%; | |
| background: var(--bg-1); | |
| border-left: 1px solid var(--border); | |
| transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1); | |
| padding: 20px; | |
| z-index: 9999; | |
| overflow-y: auto; | |
| } | |
| .side-drawer.open { right: 0; box-shadow: -20px 0 60px rgba(0,0,0,0.5); } | |
| /* ============================================================ | |
| LOGIN PAGE | |
| ============================================================ */ | |
| .login-wrap { | |
| min-height: 100vh; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| background: | |
| radial-gradient(ellipse 70% 60% at 30% 30%, rgba(91,123,254,0.1) 0%, transparent 65%), | |
| radial-gradient(ellipse 50% 40% at 75% 75%, rgba(56,189,248,0.07) 0%, transparent 55%), | |
| var(--bg-base); | |
| } | |
| .login-card { | |
| width: 100%; | |
| max-width: 420px; | |
| background: rgba(11, 17, 32, 0.85); | |
| backdrop-filter: blur(20px); | |
| border: 1px solid var(--border); | |
| border-radius: 20px; | |
| padding: 36px; | |
| box-shadow: 0 24px 80px rgba(0,0,0,0.6); | |
| } | |
| .login-brand { | |
| font-family: 'Syne', sans-serif; | |
| font-size: 22px; | |
| font-weight: 800; | |
| letter-spacing: -0.03em; | |
| } | |
| .login-tagline { font-size: 13px; color: var(--text-muted); } | |
| /* ============================================================ | |
| CHART CONTAINER | |
| ============================================================ */ | |
| .chart-wrap { | |
| position: relative; | |
| background: rgba(4,12,24,0.6); | |
| border-radius: var(--radius-md); | |
| padding: 16px; | |
| border: 1px solid var(--border); | |
| } | |
| /* ============================================================ | |
| TIMELINE | |
| ============================================================ */ | |
| .timeline { max-height: 340px; overflow-y: auto; } | |
| .timeline-item { | |
| background: rgba(4,12,24,0.7); | |
| border-left: 2px solid var(--accent); | |
| padding: 6px 10px; | |
| margin-bottom: 6px; | |
| border-radius: 0 6px 6px 0; | |
| font-size: 11px; | |
| color: var(--text-muted); | |
| font-family: 'JetBrains Mono', monospace; | |
| animation: slideDown 0.2s ease; | |
| } | |
| /* ============================================================ | |
| STATUS INDICATORS | |
| ============================================================ */ | |
| .status-dot { | |
| display: inline-block; | |
| width: 7px; height: 7px; | |
| border-radius: 50%; | |
| margin-right: 6px; | |
| } | |
| .status-dot.online { background: var(--success); box-shadow: 0 0 6px var(--success); animation: pulse 2s infinite; } | |
| .status-dot.offline { background: var(--danger); } | |
| @keyframes pulse { | |
| 0%,100% { opacity: 1; } | |
| 50% { opacity: 0.4; } | |
| } | |
| .status-safe { color: var(--success); font-family: 'Syne', sans-serif; font-weight: 700; } | |
| .status-risk { color: var(--danger); font-family: 'Syne', sans-serif; font-weight: 700; } | |
| /* ============================================================ | |
| ANIMATIONS | |
| ============================================================ */ | |
| .fade-in { | |
| opacity: 0; | |
| transform: translateY(24px); | |
| transition: opacity 0.6s ease, transform 0.6s ease; | |
| } | |
| .fade-in.show { opacity: 1; transform: translateY(0); } | |
| .pop-in { | |
| animation: popIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) both; | |
| } | |
| @keyframes popIn { | |
| from { opacity: 0; transform: scale(0.92); } | |
| to { opacity: 1; transform: scale(1); } | |
| } | |
| /* ============================================================ | |
| AI INSIGHTS | |
| ============================================================ */ | |
| .ai-box { | |
| background: linear-gradient(135deg, rgba(91,123,254,0.05), rgba(56,189,248,0.05)); | |
| border: 1px solid rgba(91,123,254,0.2); | |
| border-radius: var(--radius-md); | |
| padding: 14px; | |
| margin-top: 12px; | |
| } | |
| .ai-label { | |
| font-size: 10px; | |
| text-transform: uppercase; | |
| letter-spacing: 1px; | |
| color: var(--accent); | |
| font-weight: 600; | |
| margin-bottom: 8px; | |
| } | |
| /* ============================================================ | |
| FOOTER | |
| ============================================================ */ | |
| footer { | |
| border-top: 1px solid var(--border); | |
| color: var(--text-faint); | |
| font-size: 12px; | |
| padding: 20px; | |
| text-align: center; | |
| } | |
| /* ============================================================ | |
| MODAL | |
| ============================================================ */ | |
| .modal-content { | |
| background: var(--bg-1); | |
| border: 1px solid var(--border); | |
| border-radius: 20px; | |
| color: var(--text-primary); | |
| } | |
| .modal-backdrop { backdrop-filter: blur(4px); } | |
| /* ============================================================ | |
| HEATMAP | |
| ============================================================ */ | |
| .heatmap { | |
| display: grid; | |
| grid-template-columns: repeat(8, 1fr); | |
| gap: 5px; | |
| margin-top: 8px; | |
| } | |
| .heat-cell { | |
| height: 14px; | |
| border-radius: 3px; | |
| transition: transform 0.15s; | |
| } | |
| .heat-cell:hover { transform: scale(1.3); } | |
| .heat-cell.critical { background: var(--critical); } | |
| .heat-cell.high { background: var(--danger); } | |
| .heat-cell.medium { background: var(--warning); } | |
| .heat-cell.low { background: var(--success); opacity: 0.7; } | |
| /* ============================================================ | |
| RESPONSIVE | |
| ============================================================ */ | |
| @media (max-width: 768px) { | |
| .side-drawer { width: 100%; right: -100%; } | |
| .hero-title { font-size: 32px; } | |
| } | |
| /* ============================================================ | |
| MOBILE RESPONSIVE ENHANCEMENTS | |
| Breakpoints: 480px (xs) Β· 640px (sm) Β· 768px (md) Β· 900px (lg) | |
| Appended without modifying any existing rules. | |
| ============================================================ */ | |
| /* ββ Touch target minimum 44Γ44px ββ */ | |
| @media (pointer: coarse) { | |
| .btn, button, a.btn, [role="button"] { min-height: 44px; } | |
| .side-nav-item { padding: 12px 10px; } | |
| .heat-cell { height: 20px; } | |
| .copy-btn { padding: 8px 12px; } | |
| .scan-mode-btn { min-height: 44px; } | |
| .method-tab { min-height: 44px; } | |
| } | |
| /* ββ β€768px: tablets and large phones ββ */ | |
| @media (max-width: 768px) { | |
| /* Navbar */ | |
| .navbar { padding: 10px 16px; } | |
| .navbar-brand { font-size: 16px; } | |
| /* Hero */ | |
| .hero { padding: 60px 16px 48px; } | |
| .hero-sub { font-size: 15px; } | |
| /* Sections */ | |
| .section { padding: 48px 16px; } | |
| .section-title { font-size: 22px; } | |
| /* Login card */ | |
| .login-card { | |
| max-width: 100%; | |
| margin: 0 16px; | |
| padding: 24px 20px; | |
| border-radius: 16px; | |
| } | |
| /* Pricing cards */ | |
| .pricing-card { padding: 20px 16px; } | |
| .price-amount { font-size: 34px; } | |
| /* Metric grid: 2 columns */ | |
| .metrics-row { | |
| display: grid ; | |
| grid-template-columns: 1fr 1fr; | |
| gap: 10px; | |
| } | |
| .metric { margin-bottom: 0; } | |
| .metric h3 { font-size: 18px; } | |
| /* Side drawer: full screen */ | |
| .side-drawer { width: 100%; right: -100%; border-radius: 0; } | |
| /* Code/pre */ | |
| pre { max-height: 200px; font-size: 10.5px; } | |
| /* Timeline */ | |
| .timeline { max-height: 240px; } | |
| /* History items */ | |
| .history-item { flex-direction: column; align-items: flex-start; gap: 6px; } | |
| /* API key */ | |
| .apikey-box { font-size: 10px; letter-spacing: 0; } | |
| /* Heatmap */ | |
| .heatmap { grid-template-columns: repeat(6, 1fr); } | |
| /* Chart */ | |
| .chart-wrap { padding: 10px; } | |
| /* Footer */ | |
| footer { font-size: 11px; padding: 16px; } | |
| /* Vuln cards */ | |
| .vuln-card { padding: 12px; } | |
| } | |
| /* ββ β€480px: phones ββ */ | |
| @media (max-width: 480px) { | |
| body { font-size: 13px; } | |
| .hero-title { font-size: 26px ; letter-spacing: -0.03em; } | |
| .hero-sub { font-size: 14px; } | |
| .login-card { padding: 20px 16px; } | |
| .section-title { font-size: 20px; } | |
| .price-amount { font-size: 28px; } | |
| /* Single column metrics on very small screens */ | |
| .metrics-row { grid-template-columns: 1fr ; } | |
| /* Heatmap */ | |
| .heatmap { grid-template-columns: repeat(4, 1fr); } | |
| /* Stack flex rows */ | |
| .d-flex.gap-2, .d-flex.gap-3 { flex-wrap: wrap; } | |
| .scan-progress-label { font-size: 10px; } | |
| .badge-pill { font-size: 9px; } | |
| } | |
| /* ββ β€900px: pro scanner layout ββ */ | |
| @media (max-width: 900px) { | |
| .scanner-area { | |
| display: flex ; | |
| flex-direction: column ; | |
| } | |
| .scanner-right { | |
| max-height: 300px; | |
| border-top: 1px solid var(--border); | |
| } | |
| .detail-drawer { width: 100%; border-radius: 0; } | |
| } | |
| /* ββ Landscape phones ββ */ | |
| @media (max-width: 768px) and (orientation: landscape) { | |
| .hero { padding: 40px 16px 28px; } | |
| .login-wrap { align-items: flex-start; padding-top: 16px; } | |
| .login-card { margin-top: 16px; } | |
| } | |
| /* ββ Checkout page: responsive grid ββ */ | |
| @media (max-width: 768px) { | |
| .co-body { | |
| grid-template-columns: 1fr ; | |
| padding: 16px ; | |
| gap: 16px ; | |
| } | |
| .order-col { position: static ; } | |
| } | |
| /* ββ Enterprise / legal pages ββ */ | |
| @media (max-width: 600px) { | |
| .legal-wrap { padding: 24px 16px 48px; } | |
| .legal-title { font-size: 24px; } | |
| .contact-wrap { grid-template-columns: 1fr ; gap: 24px ; } | |
| .pricing-grid { grid-template-columns: 1fr ; } | |
| .feat-grid { grid-template-columns: 1fr ; } | |
| .proof-strip { gap: 16px; padding: 16px; } | |
| .proof-divider { display: none; } | |
| } | |
| /* ββ Utility: hide on mobile ββ */ | |
| @media (max-width: 480px) { | |
| .hide-xs { display: none ; } | |
| } | |
| @media (max-width: 768px) { | |
| .hide-sm { display: none ; } | |
| } | |