mirror of
https://github.com/Shik3i/KoalaSync.git
synced 2026-07-26 20:18:14 +00:00
1220 lines
24 KiB
CSS
1220 lines
24 KiB
CSS
/* KoalaSync Design System - Privacy-Focused (No External Assets) */
|
|
|
|
:root {
|
|
--bg: #0f172a;
|
|
--card: #1e293b;
|
|
--accent: #6366f1;
|
|
--accent-glow: rgba(99, 102, 241, 0.3);
|
|
--text: #f8fafc;
|
|
--text-muted: #94a3b8;
|
|
--success: #22c55e;
|
|
--glass: rgba(30, 41, 59, 0.4);
|
|
--glass-border: rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
.invite-banner {
|
|
background: var(--accent);
|
|
color: white;
|
|
padding: 0.75rem 0;
|
|
text-align: center;
|
|
font-weight: 600;
|
|
font-size: 0.9rem;
|
|
position: relative;
|
|
z-index: 2000;
|
|
box-shadow: 0 4px 12px rgba(0,0,0,0.3);
|
|
}
|
|
|
|
.btn-banner {
|
|
background: white;
|
|
color: var(--accent);
|
|
padding: 4px 12px;
|
|
border-radius: 6px;
|
|
text-decoration: none;
|
|
font-size: 0.8rem;
|
|
font-weight: 700;
|
|
margin-left: 12px;
|
|
cursor: pointer;
|
|
border: none;
|
|
transition: transform 0.2s;
|
|
}
|
|
|
|
.btn-banner:hover {
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
|
|
background-color: var(--bg);
|
|
color: var(--text);
|
|
line-height: 1.6;
|
|
overflow-x: hidden;
|
|
position: relative;
|
|
}
|
|
|
|
/* --- Animated Background --- */
|
|
.bg-blobs {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
z-index: -1;
|
|
overflow: hidden;
|
|
background: radial-gradient(circle at 50% 50%, #1e1b4b 0%, #0f172a 100%);
|
|
}
|
|
|
|
.blob {
|
|
position: absolute;
|
|
width: 600px;
|
|
height: 600px;
|
|
background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
|
|
filter: blur(80px);
|
|
border-radius: 50%;
|
|
opacity: 0.5;
|
|
animation: move 25s infinite alternate ease-in-out;
|
|
}
|
|
|
|
.blob-1 { top: -100px; left: -100px; animation-delay: 0s; }
|
|
.blob-2 { bottom: -100px; right: -100px; animation-delay: -5s; background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%); }
|
|
.blob-3 { top: 40%; left: 30%; animation-duration: 35s; animation-delay: -10s; }
|
|
|
|
@keyframes move {
|
|
0% { transform: translate(0, 0) scale(1); }
|
|
33% { transform: translate(100px, 100px) scale(1.2); }
|
|
66% { transform: translate(-50px, 200px) scale(0.8); }
|
|
100% { transform: translate(0, 0) scale(1); }
|
|
}
|
|
|
|
/* --- Layout --- */
|
|
.container {
|
|
max-width: 1100px;
|
|
margin: 0 auto;
|
|
padding: 0 2rem;
|
|
}
|
|
|
|
section {
|
|
padding: 6rem 0;
|
|
}
|
|
|
|
/* --- Navigation --- */
|
|
nav {
|
|
position: fixed;
|
|
top: 0;
|
|
width: 100%;
|
|
z-index: 1000;
|
|
background: var(--glass);
|
|
backdrop-filter: blur(12px);
|
|
border-bottom: 1px solid var(--glass-border);
|
|
padding: 1rem 0;
|
|
}
|
|
|
|
.nav-content {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.logo-area {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
font-weight: 800;
|
|
font-size: 1.5rem;
|
|
letter-spacing: -0.5px;
|
|
}
|
|
|
|
.logo-area img {
|
|
height: 40px;
|
|
width: 40px;
|
|
}
|
|
|
|
.nav-links {
|
|
display: flex;
|
|
gap: 2rem;
|
|
}
|
|
|
|
.nav-links a {
|
|
color: var(--text-muted);
|
|
text-decoration: none;
|
|
font-weight: 500;
|
|
transition: color 0.3s;
|
|
}
|
|
|
|
.nav-links a:hover {
|
|
color: var(--accent);
|
|
}
|
|
|
|
/* --- Hero Section --- */
|
|
.hero {
|
|
min-height: 100vh;
|
|
display: flex;
|
|
align-items: center;
|
|
padding-top: 8rem;
|
|
padding-bottom: 4rem;
|
|
}
|
|
|
|
.hero-grid {
|
|
display: grid;
|
|
grid-template-columns: 1.2fr 1fr;
|
|
align-items: center;
|
|
gap: 4rem;
|
|
text-align: left;
|
|
width: 100%;
|
|
}
|
|
|
|
.hero-text h1 {
|
|
font-size: 4.5rem;
|
|
font-weight: 800;
|
|
line-height: 1.1;
|
|
margin-bottom: 1.5rem;
|
|
background: linear-gradient(to bottom, #fff 40%, #6366f1);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
}
|
|
|
|
.hero-text p, .hero-subtitle {
|
|
font-size: 1.25rem;
|
|
color: var(--text-muted);
|
|
margin-bottom: 2.5rem;
|
|
max-width: 600px;
|
|
font-weight: 400;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.cta-group {
|
|
display: flex;
|
|
gap: 1rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.btn {
|
|
padding: 0.85rem 1.75rem;
|
|
border-radius: 12px;
|
|
font-weight: 600;
|
|
text-decoration: none;
|
|
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: var(--accent);
|
|
color: white;
|
|
box-shadow: 0 10px 15px -3px var(--accent-glow);
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 20px 25px -5px var(--accent-glow);
|
|
}
|
|
|
|
.btn-firefox {
|
|
background: #e66000;
|
|
color: white;
|
|
box-shadow: 0 10px 15px -3px rgba(230, 96, 0, 0.3);
|
|
}
|
|
|
|
.btn-firefox:hover {
|
|
background: #ff7300;
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 20px 25px -5px rgba(230, 96, 0, 0.4);
|
|
}
|
|
|
|
.btn-secondary {
|
|
background: var(--card);
|
|
color: var(--text);
|
|
border: 1px solid var(--glass-border);
|
|
}
|
|
|
|
.btn-secondary:hover {
|
|
background: #2d3748;
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.version-badge {
|
|
display: inline-block;
|
|
background: rgba(99, 102, 241, 0.1);
|
|
color: var(--accent);
|
|
padding: 0.4rem 1rem;
|
|
border-radius: 99px;
|
|
font-size: 0.8rem;
|
|
font-weight: 700;
|
|
margin-bottom: 1.5rem;
|
|
border: 1px solid rgba(99, 102, 241, 0.3);
|
|
letter-spacing: 0.05em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
/* --- Interactive CSS Extension Mockup --- */
|
|
.hero-mockup-wrapper {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
width: 100%;
|
|
}
|
|
|
|
.extension-mockup {
|
|
width: 320px;
|
|
height: 490px;
|
|
background: #0f172a;
|
|
border-radius: 20px;
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(99, 102, 241, 0.15);
|
|
display: flex;
|
|
flex-direction: column;
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
|
overflow: hidden;
|
|
position: relative;
|
|
user-select: none;
|
|
}
|
|
|
|
.mock-header {
|
|
background: #1e293b;
|
|
padding: 0.85rem 1rem;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
.mock-header img {
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|
|
|
|
.mock-header span {
|
|
font-weight: 800;
|
|
font-size: 0.95rem;
|
|
letter-spacing: 0.5px;
|
|
color: var(--text);
|
|
}
|
|
|
|
.mock-tabs {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
background: #1e293b;
|
|
padding: 0.25rem;
|
|
gap: 0.25rem;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
.mock-tab {
|
|
background: none;
|
|
border: none;
|
|
color: var(--text-muted);
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
padding: 0.4rem 0;
|
|
cursor: pointer;
|
|
border-radius: 6px;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.mock-tab:hover {
|
|
color: var(--text);
|
|
}
|
|
|
|
.mock-tab.active {
|
|
background: var(--accent);
|
|
color: white;
|
|
}
|
|
|
|
.mock-body {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
padding: 0.95rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.85rem;
|
|
font-size: 0.8rem;
|
|
scrollbar-width: none; /* Firefox */
|
|
}
|
|
|
|
.mock-body::-webkit-scrollbar {
|
|
display: none; /* Chrome, Safari, Opera */
|
|
}
|
|
|
|
.mock-screen {
|
|
display: none;
|
|
flex-direction: column;
|
|
gap: 0.85rem;
|
|
height: 100%;
|
|
}
|
|
|
|
.mock-screen.active {
|
|
display: flex;
|
|
}
|
|
|
|
/* Common Mockup Components */
|
|
.mock-card {
|
|
background: #1e293b;
|
|
border: 1px solid rgba(255, 255, 255, 0.05);
|
|
border-radius: 10px;
|
|
padding: 0.75rem;
|
|
}
|
|
|
|
.mock-label {
|
|
font-size: 0.65rem;
|
|
font-weight: 700;
|
|
color: var(--text-muted);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
margin-bottom: 0.4rem;
|
|
}
|
|
|
|
.mock-input {
|
|
background: #0f172a;
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 6px;
|
|
color: white;
|
|
padding: 0.45rem;
|
|
font-size: 0.75rem;
|
|
width: 100%;
|
|
outline: none;
|
|
}
|
|
|
|
.mock-btn {
|
|
background: var(--accent);
|
|
color: white;
|
|
border: none;
|
|
border-radius: 6px;
|
|
padding: 0.5rem;
|
|
font-weight: 600;
|
|
font-size: 0.75rem;
|
|
cursor: pointer;
|
|
transition: background 0.2s;
|
|
text-align: center;
|
|
}
|
|
|
|
.mock-btn:hover {
|
|
background: #4f46e5;
|
|
}
|
|
|
|
/* Room Tab Details */
|
|
.mock-joined-room {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
background: rgba(99, 102, 241, 0.1);
|
|
border: 1px solid rgba(99, 102, 241, 0.2);
|
|
border-radius: 8px;
|
|
padding: 0.6rem 0.75rem;
|
|
}
|
|
|
|
.mock-room-name {
|
|
font-weight: 700;
|
|
color: var(--accent);
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.mock-server-badge {
|
|
background: rgba(99, 102, 241, 0.2);
|
|
color: var(--accent);
|
|
font-size: 0.6rem;
|
|
font-weight: 700;
|
|
padding: 2px 6px;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.mock-invite-box {
|
|
display: flex;
|
|
gap: 0.4rem;
|
|
}
|
|
|
|
.mock-invite-box input {
|
|
flex: 1;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.mock-peer-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.mock-peer-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
background: rgba(255, 255, 255, 0.02);
|
|
border: 1px solid rgba(255, 255, 255, 0.03);
|
|
border-radius: 8px;
|
|
padding: 0.5rem 0.6rem;
|
|
}
|
|
|
|
.mock-peer-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 0.25rem;
|
|
}
|
|
|
|
.mock-peer-name {
|
|
font-weight: 700;
|
|
color: var(--text);
|
|
}
|
|
|
|
.mock-peer-meta {
|
|
font-size: 0.65rem;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.mock-peer-tab {
|
|
font-size: 0.7rem;
|
|
color: var(--accent);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.mock-peer-status {
|
|
font-size: 0.65rem;
|
|
color: var(--text-muted);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.25rem;
|
|
}
|
|
|
|
/* Sync Tab Details */
|
|
.mock-target-box {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.4rem;
|
|
background: rgba(234, 179, 8, 0.1);
|
|
border: 1px solid rgba(234, 179, 8, 0.2);
|
|
color: #facc15;
|
|
padding: 0.5rem 0.6rem;
|
|
border-radius: 8px;
|
|
font-weight: 600;
|
|
font-size: 0.7rem;
|
|
}
|
|
|
|
.mock-ctrl-buttons {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.mock-btn-play { background: #22c55e; }
|
|
.mock-btn-play:hover { background: #16a34a; }
|
|
.mock-btn-pause { background: #ef4444; }
|
|
.mock-btn-pause:hover { background: #dc2626; }
|
|
.mock-btn-force { background: var(--accent); grid-column: span 2; }
|
|
|
|
.mock-status-display {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.mock-status-pill {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.3rem;
|
|
background: rgba(34, 197, 94, 0.1);
|
|
border: 1px solid rgba(34, 197, 94, 0.2);
|
|
color: #22c55e;
|
|
padding: 2px 8px;
|
|
border-radius: 99px;
|
|
font-size: 0.65rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.mock-log-item {
|
|
font-size: 0.7rem;
|
|
color: var(--text-muted);
|
|
border-left: 2px solid var(--accent);
|
|
padding-left: 0.4rem;
|
|
margin-top: 0.4rem;
|
|
}
|
|
|
|
/* Settings Tab Details */
|
|
.mock-settings-row {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 0.5rem;
|
|
margin-bottom: 0.6rem;
|
|
}
|
|
|
|
.mock-settings-row input[type="checkbox"] {
|
|
margin-top: 0.2rem;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.mock-settings-row label {
|
|
cursor: pointer;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.mock-settings-row p {
|
|
font-size: 0.65rem;
|
|
color: var(--text-muted);
|
|
margin-top: 0.1rem;
|
|
}
|
|
|
|
/* Dev Tab Details */
|
|
.mock-diagnostic-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 0.4rem;
|
|
}
|
|
|
|
.mock-diag-box {
|
|
background: rgba(255, 255, 255, 0.02);
|
|
border: 1px solid rgba(255, 255, 255, 0.04);
|
|
border-radius: 6px;
|
|
padding: 0.4rem;
|
|
}
|
|
|
|
.mock-diag-box .diag-val {
|
|
font-family: monospace;
|
|
font-weight: 700;
|
|
color: var(--accent);
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
/* --- Features --- */
|
|
.features-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
|
|
gap: 2rem;
|
|
margin-top: 4rem;
|
|
}
|
|
|
|
.feature-card {
|
|
background: var(--card);
|
|
padding: 2.5rem;
|
|
border-radius: 24px;
|
|
border: 1px solid var(--glass-border);
|
|
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
position: relative;
|
|
}
|
|
|
|
.feature-card::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0; left: 0; right: 0; bottom: 0;
|
|
border-radius: 24px;
|
|
padding: 1px;
|
|
background: linear-gradient(to bottom right, rgba(99, 102, 241, 0.25), transparent);
|
|
-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
|
|
-webkit-mask-composite: xor;
|
|
mask-composite: exclude;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.feature-card:hover {
|
|
transform: translateY(-5px);
|
|
box-shadow: 0 15px 30px rgba(99, 102, 241, 0.15);
|
|
border-color: rgba(99, 102, 241, 0.2);
|
|
}
|
|
|
|
.feature-icon {
|
|
width: 48px;
|
|
height: 48px;
|
|
background: rgba(99, 102, 241, 0.1);
|
|
color: var(--accent);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 12px;
|
|
margin-bottom: 1.5rem;
|
|
font-size: 1.5rem;
|
|
border: 1px solid rgba(99, 102, 241, 0.2);
|
|
}
|
|
|
|
.feature-card h3 {
|
|
margin-bottom: 0.75rem;
|
|
font-size: 1.35rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.feature-card p {
|
|
color: var(--text-muted);
|
|
font-size: 0.95rem;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
/* --- How it works --- */
|
|
.steps {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6rem;
|
|
}
|
|
|
|
.step {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1.1fr;
|
|
gap: 6rem;
|
|
align-items: center;
|
|
}
|
|
|
|
.step:nth-child(even) .step-text {
|
|
order: 2;
|
|
}
|
|
|
|
.step-num {
|
|
font-size: 4rem;
|
|
font-weight: 800;
|
|
color: rgba(99, 102, 241, 0.15);
|
|
line-height: 1;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.step-text h3 {
|
|
font-size: 1.85rem;
|
|
margin-bottom: 1rem;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.step-text p {
|
|
color: var(--text-muted);
|
|
font-size: 1.05rem;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
/* Custom CSS Mockups for step illustrations */
|
|
.step-illustration-1, .step-illustration-2, .step-illustration-3 {
|
|
background: #1e293b;
|
|
height: 240px;
|
|
border-radius: 20px;
|
|
border: 1px solid var(--glass-border);
|
|
position: relative;
|
|
overflow: hidden;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
/* Step 1 Illustration: Browser & Extension icon trigger */
|
|
.illus-browser-bar {
|
|
width: 85%;
|
|
background: #0f172a;
|
|
border: 1px solid rgba(255,255,255,0.05);
|
|
border-radius: 10px;
|
|
overflow: hidden;
|
|
box-shadow: 0 10px 20px rgba(0,0,0,0.4);
|
|
}
|
|
|
|
.illus-browser-header {
|
|
background: #1e293b;
|
|
padding: 0.5rem 0.75rem;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
border-bottom: 1px solid rgba(255,255,255,0.05);
|
|
}
|
|
|
|
.illus-dots {
|
|
display: flex;
|
|
gap: 4px;
|
|
}
|
|
|
|
.illus-dot {
|
|
width: 6px;
|
|
height: 6px;
|
|
border-radius: 50%;
|
|
background: rgba(255,255,255,0.2);
|
|
}
|
|
|
|
.illus-address-bar {
|
|
background: #0f172a;
|
|
border: 1px solid rgba(255,255,255,0.05);
|
|
padding: 2px 10px;
|
|
border-radius: 4px;
|
|
width: 60%;
|
|
height: 14px;
|
|
}
|
|
|
|
.illus-extension-icon {
|
|
position: relative;
|
|
width: 20px;
|
|
height: 20px;
|
|
background: rgba(99, 102, 241, 0.2);
|
|
border: 1px solid var(--accent);
|
|
border-radius: 4px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
animation: pulse-border 2s infinite alternate;
|
|
}
|
|
|
|
@keyframes pulse-border {
|
|
0% { box-shadow: 0 0 0 rgba(99, 102, 241, 0); border-color: rgba(99, 102, 241, 0.4); }
|
|
100% { box-shadow: 0 0 8px rgba(99, 102, 241, 0.6); border-color: var(--accent); }
|
|
}
|
|
|
|
.illus-browser-body {
|
|
padding: 1.5rem;
|
|
height: 80px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.illus-line-placeholder {
|
|
height: 8px;
|
|
background: rgba(255,255,255,0.05);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
/* Step 2 Illustration: Typing in Form Fields */
|
|
.illus-form-box {
|
|
width: 70%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.75rem;
|
|
background: rgba(15, 23, 42, 0.6);
|
|
border: 1px solid rgba(255, 255, 255, 0.05);
|
|
border-radius: 12px;
|
|
padding: 1rem;
|
|
backdrop-filter: blur(10px);
|
|
}
|
|
|
|
.illus-form-field {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.35rem;
|
|
}
|
|
|
|
.illus-form-input {
|
|
background: #0f172a;
|
|
border: 1px solid rgba(99, 102, 241, 0.3);
|
|
padding: 0.45rem;
|
|
border-radius: 6px;
|
|
height: 28px;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.illus-typing-text {
|
|
font-family: monospace;
|
|
font-weight: 700;
|
|
color: var(--text);
|
|
font-size: 0.8rem;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.illus-typing-text::after {
|
|
content: '|';
|
|
animation: blink-cursor 0.8s infinite;
|
|
color: var(--accent);
|
|
}
|
|
|
|
@keyframes blink-cursor {
|
|
50% { opacity: 0; }
|
|
}
|
|
|
|
.illus-form-btn {
|
|
background: var(--accent);
|
|
color: white;
|
|
border: none;
|
|
border-radius: 6px;
|
|
padding: 0.45rem;
|
|
font-weight: 700;
|
|
font-size: 0.75rem;
|
|
text-align: center;
|
|
box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
|
|
}
|
|
|
|
/* Step 3 Illustration: Multi-player Sync simulation */
|
|
.illus-players-container {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1.5rem;
|
|
width: 90%;
|
|
}
|
|
|
|
.illus-mini-player {
|
|
flex: 1;
|
|
background: #0f172a;
|
|
border: 1px solid rgba(255,255,255,0.05);
|
|
border-radius: 10px;
|
|
height: 120px;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.illus-video-screen {
|
|
width: 100%;
|
|
height: 100px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: radial-gradient(circle, rgba(99,102,241,0.15) 0%, transparent 80%);
|
|
}
|
|
|
|
.illus-play-icon {
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 50%;
|
|
background: rgba(99, 102, 241, 0.9);
|
|
color: white;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 0.85rem;
|
|
box-shadow: 0 0 12px rgba(99, 102, 241, 0.5);
|
|
position: relative;
|
|
}
|
|
|
|
.illus-player-timeline {
|
|
height: 20px;
|
|
background: #1e293b;
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 0 0.5rem;
|
|
border-top: 1px solid rgba(255,255,255,0.05);
|
|
}
|
|
|
|
.illus-timeline-bar {
|
|
flex: 1;
|
|
height: 3px;
|
|
background: rgba(255,255,255,0.1);
|
|
position: relative;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.illus-timeline-progress {
|
|
position: absolute;
|
|
top: 0; left: 0;
|
|
width: 60%;
|
|
height: 100%;
|
|
background: var(--accent);
|
|
border-radius: 2px;
|
|
animation: timeline-grow 4s infinite linear;
|
|
}
|
|
|
|
@keyframes timeline-grow {
|
|
0% { width: 0%; }
|
|
100% { width: 100%; }
|
|
}
|
|
|
|
.illus-sync-connection {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 0.25rem;
|
|
color: var(--accent);
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
.illus-sync-line {
|
|
width: 40px;
|
|
height: 2px;
|
|
background: linear-gradient(to right, var(--accent), var(--success));
|
|
position: relative;
|
|
}
|
|
|
|
.illus-sync-pulse {
|
|
position: absolute;
|
|
top: -3px;
|
|
left: 0;
|
|
width: 8px;
|
|
height: 8px;
|
|
background: #fff;
|
|
border-radius: 50%;
|
|
box-shadow: 0 0 8px #fff;
|
|
animation: slide-pulse 2s infinite linear;
|
|
}
|
|
|
|
@keyframes slide-pulse {
|
|
0% { left: 0%; }
|
|
100% { left: 100%; }
|
|
}
|
|
|
|
.illus-sync-label {
|
|
font-size: 0.55rem;
|
|
font-weight: 700;
|
|
background: rgba(34, 197, 94, 0.15);
|
|
color: #22c55e;
|
|
padding: 1px 6px;
|
|
border-radius: 4px;
|
|
border: 1px solid rgba(34, 197, 94, 0.25);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* --- Self Hosters Terminal --- */
|
|
.terminal-container {
|
|
max-width: 850px;
|
|
margin: 3rem auto 0 auto;
|
|
background: #0f172a;
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 16px;
|
|
overflow: hidden;
|
|
box-shadow: 0 20px 45px rgba(0,0,0,0.5);
|
|
text-align: left;
|
|
}
|
|
|
|
.terminal-header {
|
|
background: #1e293b;
|
|
padding: 0.85rem 1.25rem;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
border-bottom: 1px solid rgba(255,255,255,0.06);
|
|
}
|
|
|
|
.terminal-dots {
|
|
display: flex;
|
|
gap: 6px;
|
|
}
|
|
|
|
.terminal-dot {
|
|
width: 10px;
|
|
height: 10px;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.terminal-dot.red { background: #ef4444; }
|
|
.terminal-dot.yellow { background: #f59e0b; }
|
|
.terminal-dot.green { background: #10b981; }
|
|
|
|
.terminal-tabs {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.terminal-tab-btn {
|
|
background: none;
|
|
border: none;
|
|
color: var(--text-muted);
|
|
font-weight: 600;
|
|
font-size: 0.8rem;
|
|
padding: 0.35rem 0.75rem;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.terminal-tab-btn:hover {
|
|
color: var(--text);
|
|
background: rgba(255, 255, 255, 0.03);
|
|
}
|
|
|
|
.terminal-tab-btn.active {
|
|
color: var(--accent);
|
|
background: rgba(99, 102, 241, 0.1);
|
|
border: 1px solid rgba(99, 102, 241, 0.2);
|
|
}
|
|
|
|
.terminal-body {
|
|
position: relative;
|
|
padding: 1.5rem;
|
|
}
|
|
|
|
.terminal-pane {
|
|
display: none;
|
|
margin: 0;
|
|
}
|
|
|
|
.terminal-pane.active {
|
|
display: block;
|
|
}
|
|
|
|
.terminal-pane pre {
|
|
margin: 0;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.terminal-pane code {
|
|
font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
|
|
font-size: 0.85rem;
|
|
line-height: 1.6;
|
|
color: #e2e8f0;
|
|
}
|
|
|
|
/* Syntax Highlighting */
|
|
.t-comment { color: #64748b; font-style: italic; }
|
|
.t-key { color: #f472b6; }
|
|
.t-val { color: #38bdf8; }
|
|
.t-str { color: #34d399; }
|
|
.t-num { color: #fbbf24; }
|
|
|
|
.terminal-copy-btn {
|
|
position: absolute;
|
|
top: 1rem;
|
|
right: 1.5rem;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
color: var(--text-muted);
|
|
padding: 0.35rem 0.75rem;
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.3rem;
|
|
}
|
|
|
|
.terminal-copy-btn:hover {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
color: var(--text);
|
|
border-color: rgba(255, 255, 255, 0.15);
|
|
}
|
|
|
|
.terminal-copy-btn:active {
|
|
transform: scale(0.97);
|
|
}
|
|
|
|
/* --- Footer --- */
|
|
footer {
|
|
padding: 4rem 0;
|
|
border-top: 1px solid var(--glass-border);
|
|
text-align: center;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
/* --- Animations --- */
|
|
[data-reveal] {
|
|
opacity: 0;
|
|
transform: translateY(30px);
|
|
transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
|
|
}
|
|
|
|
[data-reveal].revealed {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
|
|
|
|
/* --- Legal Pages --- */
|
|
.legal-content {
|
|
max-width: 800px;
|
|
margin: 8rem auto 4rem auto;
|
|
padding: 0 2rem;
|
|
}
|
|
|
|
.legal-card {
|
|
background: var(--card);
|
|
padding: 3rem;
|
|
border-radius: 24px;
|
|
border: 1px solid var(--glass-border);
|
|
}
|
|
|
|
.legal-card h1 {
|
|
font-size: 2.5rem;
|
|
margin-bottom: 2rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.legal-card h2 {
|
|
font-size: 1.25rem;
|
|
margin-top: 1rem;
|
|
margin-bottom: 0.5rem;
|
|
color: var(--accent);
|
|
}
|
|
|
|
.legal-card p {
|
|
color: var(--text-muted);
|
|
margin-bottom: 0.5rem;
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
/* Reset global section padding for legal sections specifically */
|
|
.legal-card section {
|
|
padding: 0 !important;
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
/* --- Join Page Specifics --- */
|
|
.join-card {
|
|
max-width: 450px;
|
|
margin: 6rem auto;
|
|
text-align: center;
|
|
}
|
|
|
|
.room-badge {
|
|
display: inline-block;
|
|
background: rgba(99, 102, 241, 0.1);
|
|
color: var(--accent);
|
|
padding: 0.5rem 1rem;
|
|
border-radius: 99px;
|
|
font-size: 0.8rem;
|
|
font-weight: 700;
|
|
margin-bottom: 1rem;
|
|
border: 1px solid rgba(99, 102, 241, 0.2);
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.hero-grid, .step {
|
|
grid-template-columns: 1fr;
|
|
text-align: center;
|
|
}
|
|
.hero-text h1 {
|
|
font-size: 2.5rem;
|
|
}
|
|
.cta-group {
|
|
justify-content: center;
|
|
flex-wrap: wrap;
|
|
}
|
|
.nav-links {
|
|
display: none;
|
|
position: absolute;
|
|
top: 100%;
|
|
left: 0;
|
|
right: 0;
|
|
flex-direction: column;
|
|
background: rgba(15, 23, 42, 0.95);
|
|
backdrop-filter: blur(12px);
|
|
padding: 1rem 2rem;
|
|
gap: 1rem;
|
|
border-bottom: 1px solid var(--glass-border);
|
|
}
|
|
.nav-links.open {
|
|
display: flex;
|
|
}
|
|
.hamburger {
|
|
display: flex;
|
|
}
|
|
.legal-card {
|
|
padding: 1.5rem;
|
|
}
|
|
}
|
|
|
|
/* --- Language Toggle --- */
|
|
html.lang-en [lang="de"],
|
|
html.lang-de [lang="en"] {
|
|
display: none !important;
|
|
}
|
|
|
|
.lang-toggle {
|
|
cursor: pointer;
|
|
font-weight: 600;
|
|
user-select: none;
|
|
color: var(--text-muted);
|
|
transition: color 0.3s;
|
|
}
|
|
|
|
.lang-toggle:hover {
|
|
color: var(--accent);
|
|
}
|
|
|
|
/* --- Hamburger Menu --- */
|
|
.hamburger {
|
|
display: none;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: none;
|
|
border: none;
|
|
color: var(--text);
|
|
font-size: 1.5rem;
|
|
cursor: pointer;
|
|
padding: 0.25rem;
|
|
line-height: 1;
|
|
}
|