Files
veritas-suite/crates/veritas-server/static/styles.css
T

599 lines
13 KiB
CSS

/* ==========================================================================
VERITAS SUITE v1.0 - PREMIUM DESIGN SYSTEM (Obsidian & Cyber Glass)
========================================================================== */
:root {
--bg-main: #030712;
--bg-surface: rgba(15, 23, 42, 0.75);
--bg-panel: rgba(30, 41, 59, 0.55);
--border-glass: rgba(255, 255, 255, 0.12);
--border-light: rgba(255, 255, 255, 0.22);
--indigo: #6366f1;
--indigo-glow: rgba(99, 102, 241, 0.45);
--cyan: #38bdf8;
--cyan-glow: rgba(56, 189, 248, 0.45);
--emerald: #10b981;
--emerald-glow: rgba(16, 185, 129, 0.45);
--amber: #f59e0b;
--amber-glow: rgba(245, 158, 11, 0.45);
--rose: #f43f5e;
--text-heading: #ffffff;
--text-body: #cbd5e1;
--text-muted: #94a3b8;
--text-dim: #64748b;
--font-heading: 'Outfit', sans-serif;
--font-body: 'Inter', sans-serif;
--radius-sm: 8px;
--radius-md: 16px;
--radius-lg: 24px;
--transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-color: var(--bg-main);
color: var(--text-body);
font-family: var(--font-body);
line-height: 1.6;
overflow-x: hidden;
min-height: 100vh;
}
h1, h2, h3, h4, h5 {
font-family: var(--font-heading);
color: var(--text-heading);
}
/* Background Glow Orbs */
.glow-orb {
position: fixed;
border-radius: 50%;
filter: blur(150px);
z-index: -1;
pointer-events: none;
opacity: 0.6;
}
.orb-purple {
width: 600px;
height: 600px;
background: radial-gradient(circle, var(--indigo) 0%, transparent 70%);
top: -200px;
left: -150px;
}
.orb-cyan {
width: 500px;
height: 500px;
background: radial-gradient(circle, var(--cyan) 0%, transparent 70%);
top: 30%;
right: -200px;
}
.orb-emerald {
width: 550px;
height: 550px;
background: radial-gradient(circle, var(--emerald) 0%, transparent 70%);
bottom: -200px;
left: 20%;
}
/* Glass Panel Component */
.glass-panel {
background: var(--bg-surface);
backdrop-filter: blur(24px);
-webkit-backdrop-filter: blur(24px);
border: 1px solid var(--border-glass);
border-radius: var(--radius-md);
box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
transition: var(--transition);
}
.glass-panel:hover {
border-color: rgba(255, 255, 255, 0.2);
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 20px rgba(99, 102, 241, 0.15);
}
/* Container */
.container {
max-width: 1240px;
margin: 0 auto;
padding: 0 1.5rem;
}
/* Navbar */
.navbar {
position: sticky;
top: 0;
z-index: 100;
background: rgba(3, 7, 18, 0.88);
backdrop-filter: blur(20px);
border-bottom: 1px solid var(--border-glass);
}
.nav-container {
max-width: 1240px;
margin: 0 auto;
padding: 1rem 1.5rem;
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
display: flex;
align-items: center;
gap: 0.75rem;
text-decoration: none;
}
.logo-shield {
width: 42px;
height: 42px;
background: linear-gradient(135deg, var(--indigo) 0%, #38bdf8 100%);
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
color: white;
box-shadow: 0 0 25px var(--indigo-glow);
}
.logo-brand {
display: flex;
flex-direction: column;
}
.brand-name {
font-family: var(--font-heading);
font-size: 1.3rem;
font-weight: 800;
letter-spacing: 0.05em;
color: white;
}
.brand-tag {
font-size: 0.7rem;
color: var(--cyan);
font-weight: 700;
letter-spacing: 0.1em;
}
.nav-links {
display: flex;
gap: 1.5rem;
align-items: center;
}
.nav-item {
color: var(--text-muted);
text-decoration: none;
font-weight: 500;
font-size: 0.95rem;
transition: var(--transition);
}
.nav-item:hover, .nav-item.active {
color: white;
}
.portal-link {
display: flex;
align-items: center;
gap: 0.4rem;
padding: 0.55rem 1.2rem;
background: rgba(99, 102, 241, 0.18);
border: 1px solid rgba(99, 102, 241, 0.4);
border-radius: var(--radius-sm);
color: #a5b4fc;
}
.portal-link:hover {
background: var(--indigo);
color: white;
box-shadow: 0 0 25px var(--indigo-glow);
}
.server-status-pill {
display: flex;
align-items: center;
gap: 0.6rem;
padding: 0.4rem 0.9rem;
background: rgba(255, 255, 255, 0.04);
border: 1px solid var(--border-glass);
border-radius: 50px;
font-size: 0.8rem;
color: var(--text-muted);
}
.status-indicator {
width: 8px;
height: 8px;
border-radius: 50%;
background: var(--amber);
box-shadow: 0 0 10px var(--amber-glow);
}
.status-indicator.online {
background: var(--emerald);
box-shadow: 0 0 14px var(--emerald-glow);
}
/* Hero Section */
.hero {
padding: 6rem 1.5rem 4rem 1.5rem;
text-align: center;
}
.hero-container {
max-width: 900px;
margin: 0 auto;
display: flex;
flex-direction: column;
align-items: center;
}
.hero-badge {
display: inline-flex;
align-items: center;
gap: 0.5rem;
padding: 0.45rem 1.3rem;
background: rgba(56, 189, 248, 0.12);
border: 1px solid rgba(56, 189, 248, 0.35);
border-radius: 50px;
color: #38bdf8;
font-size: 0.85rem;
font-weight: 600;
margin-bottom: 1.5rem;
}
.hero-heading {
font-size: 3.6rem;
font-weight: 800;
line-height: 1.15;
margin-bottom: 1.5rem;
}
.gradient-text {
background: linear-gradient(135deg, #a5b4fc 0%, #38bdf8 50%, #34d399 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.hero-description {
font-size: 1.2rem;
color: var(--text-muted);
max-width: 720px;
margin-bottom: 2.5rem;
}
.hero-buttons {
display: flex;
gap: 1.2rem;
margin-bottom: 3.5rem;
}
/* Buttons */
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.6rem;
padding: 0.85rem 1.8rem;
border-radius: var(--radius-sm);
font-weight: 600;
font-size: 1rem;
text-decoration: none;
cursor: pointer;
border: none;
transition: var(--transition);
}
.btn-glow {
background: linear-gradient(135deg, var(--indigo) 0%, #4f46e5 100%);
color: white;
box-shadow: 0 0 25px var(--indigo-glow);
}
.btn-glow:hover {
transform: translateY(-2px);
box-shadow: 0 0 35px var(--indigo-glow);
}
.btn-glass {
background: rgba(255, 255, 255, 0.05);
border: 1px solid var(--border-glass);
color: var(--text-heading);
}
.btn-glass:hover {
background: rgba(255, 255, 255, 0.12);
}
.btn-emerald {
background: linear-gradient(135deg, var(--emerald) 0%, #059669 100%);
color: white;
box-shadow: 0 0 25px var(--emerald-glow);
}
.btn-emerald:hover {
transform: translateY(-2px);
box-shadow: 0 0 35px var(--emerald-glow);
}
.btn-block {
width: 100%;
}
.btn-outline-danger {
background: rgba(244, 63, 94, 0.12);
border: 1px solid rgba(244, 63, 94, 0.4);
color: #fda4af;
padding: 0.45rem 1.1rem;
font-size: 0.85rem;
border-radius: var(--radius-sm);
cursor: pointer;
}
.btn-outline-danger:hover {
background: var(--rose);
color: white;
}
.btn-small {
padding: 0.4rem 0.9rem;
font-size: 0.85rem;
}
/* Hero Stats Bar */
.hero-stats {
width: 100%;
padding: 1.8rem 2.5rem;
display: flex;
justify-content: space-around;
align-items: center;
}
.stat-box {
display: flex;
flex-direction: column;
align-items: center;
}
.stat-val {
font-family: var(--font-heading);
font-size: 2.2rem;
font-weight: 800;
color: white;
}
.gradient-cyan {
background: linear-gradient(135deg, var(--cyan), #38bdf8);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.gradient-emerald {
background: linear-gradient(135deg, var(--emerald), #34d399);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.stat-desc {
font-size: 0.85rem;
color: var(--text-muted);
text-transform: uppercase;
letter-spacing: 0.05em;
}
.stat-sep {
width: 1px;
height: 40px;
background: var(--border-glass);
}
/* Section Title Box */
.section {
padding: 5rem 0;
}
.section-title-box {
text-align: center;
margin-bottom: 3rem;
}
.sub-title {
font-size: 0.8rem;
font-weight: 700;
letter-spacing: 0.15em;
color: var(--cyan);
margin-bottom: 0.5rem;
display: block;
}
.section-title-box h2 {
font-size: 2.5rem;
font-weight: 800;
margin-bottom: 0.75rem;
}
.section-title-box p {
color: var(--text-muted);
font-size: 1.1rem;
}
/* Sparten Filter Bar */
.filter-bar {
display: flex;
justify-content: center;
gap: 0.8rem;
margin-bottom: 3rem;
flex-wrap: wrap;
}
.filter-btn {
padding: 0.65rem 1.5rem;
background: rgba(255, 255, 255, 0.04);
border: 1px solid var(--border-glass);
border-radius: 50px;
color: var(--text-muted);
font-weight: 600;
font-size: 0.9rem;
cursor: pointer;
transition: var(--transition);
}
.filter-btn:hover {
color: white;
background: rgba(255, 255, 255, 0.08);
}
.filter-btn.active {
background: var(--indigo);
color: white;
border-color: var(--indigo);
box-shadow: 0 0 25px var(--indigo-glow);
}
/* Tools Grid */
.tools-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
gap: 1.8rem;
}
.tool-card {
padding: 1.8rem;
display: flex;
flex-direction: column;
justify-content: space-between;
transition: var(--transition);
position: relative;
overflow: hidden;
}
.tool-card:hover {
transform: translateY(-6px);
border-color: var(--border-light);
box-shadow: 0 20px 40px -10px rgba(99, 102, 241, 0.25);
}
.card-top {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1rem;
}
.sparte-tag {
font-size: 0.7rem;
font-weight: 800;
letter-spacing: 0.08em;
padding: 0.25rem 0.6rem;
border-radius: 4px;
}
.tag-veritas {
background: rgba(99, 102, 241, 0.18);
color: #a5b4fc;
border: 1px solid rgba(99, 102, 241, 0.4);
}
.tag-aegis {
background: rgba(244, 63, 94, 0.18);
color: #fda4af;
border: 1px solid rgba(244, 63, 94, 0.4);
}
.tag-cura {
background: rgba(16, 185, 129, 0.18);
color: #6ee7b7;
border: 1px solid rgba(16, 185, 129, 0.4);
}
/* Status Badges */
.status-badge {
font-size: 0.75rem;
font-weight: 700;
padding: 0.3rem 0.75rem;
border-radius: 50px;
}
.badge-active {
background: rgba(16, 185, 129, 0.2);
color: #34d399;
border: 1px solid rgba(16, 185, 129, 0.4);
}
.badge-dev {
background: rgba(56, 189, 248, 0.2);
color: #38bdf8;
border: 1px solid rgba(56, 189, 248, 0.4);
}
.badge-planned {
background: rgba(245, 158, 11, 0.2);
color: #fde047;
border: 1px solid rgba(245, 158, 11, 0.4);
}
.tool-card h3 {
font-size: 1.35rem;
margin-bottom: 0.6rem;
}
.tool-desc {
color: var(--text-muted);
font-size: 0.92rem;
margin-bottom: 1.5rem;
line-height: 1.5;
}
.card-footer {
display: flex;
gap: 0.5rem;
margin-top: auto;
}
.tech-tag {
font-size: 0.75rem;
background: rgba(255, 255, 255, 0.05);
border: 1px solid var(--border-glass);
padding: 0.25rem 0.7rem;
border-radius: 4px;
color: var(--text-dim);
}
/* Form Controls */
.form-group {
display: flex;
flex-direction: column;
gap: 0.4rem;
margin-bottom: 1.2rem;
}
.form-group label {
font-size: 0.85rem;
font-weight: 600;
color: var(--text-muted);
}
.form-group input, .form-group select {
padding: 0.8rem 1rem;
background: #090d16;
border: 1px solid var(--border-glass);
border-radius: var(--radius-sm);
color: white;
font-family: inherit;
font-size: 0.95rem;
outline: none;
transition: var(--transition);
}
.form-group input:focus, .form-group select:focus {
border-color: var(--indigo);
box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.3);
}
.alert-box {
margin-top: 1.5rem;
padding: 1rem 1.2rem;
border-radius: var(--radius-sm);
display: none;
font-weight: 600;
}
.alert-box.success {
display: block;
background: rgba(16, 185, 129, 0.18);
border: 1px solid rgba(16, 185, 129, 0.5);
color: #6ee7b7;
}
.alert-box.error {
display: block;
background: rgba(244, 63, 94, 0.18);
border: 1px solid rgba(244, 63, 94, 0.5);
color: #fda4af;
}
/* Footer */
.footer {
border-top: 1px solid var(--border-glass);
padding: 2.5rem 0;
color: var(--text-dim);
font-size: 0.9rem;
}
.footer-content {
display: flex;
justify-content: space-between;
align-items: center;
}
.footer-brand {
display: flex;
align-items: center;
gap: 0.5rem;
font-weight: 700;
color: var(--text-muted);
}
.footer-links {
display: flex;
gap: 1.5rem;
}
.footer-links a {
color: var(--text-muted);
text-decoration: none;
transition: var(--transition);
}
.footer-links a:hover {
color: white;
}