Files
KoalaSync/website/style.css
T

3769 lines
83 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/* KoalaSync Design System - Privacy-Focused (No External Assets) */
@font-face {
font-family: 'Twemoji Country Flags';
unicode-range: U+1F1E6-1F1FF, U+1F3F4, U+E0062-E0063, U+E0065, U+E0067, U+E006C, U+E006E, U+E0073-E0074, U+E0077, U+E007F;
src: url('assets/TwemojiCountryFlags.woff2') format('woff2');
font-display: swap;
}
:root {
--bg: #0f172a;
--card: #1e293b;
--accent: #6366f1;
--accent-glow: rgba(99, 102, 241, 0.3);
--text: #f8fafc;
--text-muted: #cbd5e1; /* Increased contrast for WCAG AA (6.28:1 contrast ratio) */
--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;
}
:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 2px;
border-radius: 6px;
}
html {
scroll-behavior: smooth;
}
body {
font-family: 'Twemoji Country Flags', -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;
}
/* Content-visibility for offscreen sections to improve INP */
.use-cases-section,
#features,
#self-hosting,
.comparison-section {
content-visibility: auto;
contain-intrinsic-size: auto 1400px;
}
/* --- 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;
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 picture {
display: contents;
}
.logo-area img {
height: 64px;
width: 64px;
object-fit: contain;
border-radius: 8px;
margin: -4px 0;
}
.nav-ext-status {
display: inline-flex;
align-items: center;
gap: 4px;
padding: 3px 8px;
background: rgba(16, 185, 129, 0.15);
border: 1px solid rgba(16, 185, 129, 0.3);
color: #10b981;
border-radius: 12px;
font-size: 0.55rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.05em;
box-shadow: 0 0 10px rgba(16, 185, 129, 0.1);
animation: fade-in 0.4s ease-out;
margin-left: 0.2rem;
}
@keyframes fade-in {
from { opacity: 0; transform: translateY(-5px); }
to { opacity: 1; transform: translateY(0); }
}
.nav-links {
display: flex;
gap: 2rem;
margin-left: auto;
}
.nav-links a {
color: var(--text-muted);
text-decoration: none;
font-weight: 500;
transition: color 0.3s;
}
.nav-links a:hover {
color: var(--accent);
}
.nav-right {
display: flex;
align-items: center;
gap: 0.5rem;
margin-left: 2rem;
flex-shrink: 0;
}
/* --- Hero Section --- */
.hero {
min-height: 100vh;
display: flex;
align-items: flex-start;
padding-top: 7.5rem;
padding-bottom: 3rem;
}
.hero-grid {
display: grid;
grid-template-columns: 1.2fr 1fr;
align-items: start;
gap: 3rem;
text-align: left;
width: 100%;
}
@media (min-width: 1024px) {
.container {
max-width: 1200px;
}
.hero-grid {
grid-template-columns: 1.35fr 1fr;
gap: 3.5rem;
}
.cta-group {
gap: 0.75rem;
}
.cta-group .btn {
padding: 0.8rem 1.35rem;
}
}
.hero-text h1 {
font-size: 4.5rem;
font-weight: 800;
line-height: 1.1;
margin-bottom: 1.4rem;
padding-bottom: 0.1em;
background: linear-gradient(to bottom, #fff 40%, #6366f1);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.hero-text h1 .hero-line2 {
display: block;
margin-top: 0.2em;
}
.hero-text p, .hero-subtitle {
font-size: 1.25rem;
color: var(--text-muted);
margin-bottom: 1.9rem;
max-width: 600px;
font-weight: 400;
line-height: 1.6;
}
.hero-mascot-container {
display: block;
margin-bottom: -0.5rem;
margin-left: 2.2rem;
}
.hero-lookdown-mascot {
display: block;
width: 90px;
height: auto;
}
@media (max-width: 768px) {
.hero-mascot-container {
margin-left: 0;
display: flex;
justify-content: center;
}
}
.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: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 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: #5b5de8;
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;
cursor: pointer;
transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.version-badge-below {
margin-bottom: 0;
margin-top: 1.5rem;
}
.version-badge:hover {
background: rgba(99, 102, 241, 0.2);
box-shadow: 0 0 16px rgba(99, 102, 241, 0.3);
transform: translateY(-1px);
}
/* --- Interactive CSS Extension Mockup --- */
.hero-mockup-wrapper {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
}
.extension-mockup {
width: 100%;
max-width: 320px;
height: 520px;
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;
padding: 16px;
padding-bottom: 0;
box-sizing: border-box;
}
.mock-header-row {
display: flex;
align-items: center;
margin-bottom: 16px;
flex-shrink: 0;
}
.mock-header-title {
font-size: 18px;
margin: 0;
color: var(--accent);
letter-spacing: 1px;
text-transform: uppercase;
display: inline-flex;
align-items: center;
gap: 8px;
font-weight: 800;
}
.mock-header-title picture {
display: contents;
}
.mock-header-title img {
width: 28px;
height: 28px;
object-fit: contain;
border-radius: 6px;
}
.mock-version-link {
margin-left: auto;
display: flex;
align-items: center;
gap: 4px;
font-size: 10px;
color: var(--text-muted);
text-decoration: none;
opacity: 0.5;
transition: opacity 0.2s, color 0.2s;
cursor: pointer;
}
.mock-version-link:hover {
opacity: 1;
color: var(--accent);
}
.mock-tabs {
display: flex;
gap: 4px;
background: #1e293b;
padding: 4px;
border-radius: 12px;
margin-bottom: 20px;
flex-shrink: 0;
}
.mock-tab {
flex: 1;
background: none;
border: none;
color: var(--text-muted);
font-size: 0.75rem;
font-weight: 600;
padding: 8px 4px;
cursor: pointer;
border-radius: 8px;
transition: color 0.2s, background-color 0.2s;
text-align: center;
}
.mock-tab:hover {
color: var(--text);
}
.mock-tab.active {
background: var(--accent);
color: white;
}
.mock-body {
flex: 1;
overflow-y: auto;
padding: 0;
padding-bottom: 16px;
display: flex;
flex-direction: column;
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: 12px;
}
.mock-screen.active {
display: flex;
}
/* Common Mockup Components */
.mock-card {
background: #1e293b;
border: 1px solid #334155;
border-radius: 8px;
padding: 12px;
}
.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-section-label {
display: block;
font-size: 11px;
text-transform: uppercase;
color: var(--text-muted);
margin-bottom: 4px;
font-weight: 700;
}
.mock-input {
background: #1e293b;
border: 1px solid #334155;
border-radius: 8px;
color: white;
padding: 8px 10px;
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;
}
.demo-room-empty {
display: none;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 12px;
padding: 34px 10px;
text-align: center;
}
.demo-room-empty img {
border-radius: 10px;
opacity: 0.85;
box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}
.demo-room-empty-text {
font-size: 0.8rem;
color: var(--text-muted);
font-weight: 600;
}
.demo-create-room-btn {
background: var(--accent);
border: none;
color: white;
font-weight: 700;
padding: 10px 18px;
border-radius: 10px;
cursor: pointer;
transition: transform 0.2s, box-shadow 0.2s;
}
.demo-create-room-btn:hover {
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}
.demo-create-room-btn:active {
transform: scale(0.96);
}
.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;
}
/* Mock Toggle Switch Details */
.mock-toggle-switch {
position: relative;
display: inline-block;
width: 36px;
height: 20px;
flex-shrink: 0;
}
.mock-toggle-switch input {
opacity: 0;
width: 0;
height: 0;
}
.mock-slider {
position: absolute;
cursor: default;
top: 0; left: 0; right: 0; bottom: 0;
background-color: #334155;
transition: .3s;
border-radius: 20px;
}
.mock-slider:before {
position: absolute;
content: "";
height: 14px;
width: 14px;
left: 3px;
bottom: 3px;
background-color: #94a3b8;
transition: .3s;
border-radius: 50%;
}
input:checked + .mock-slider {
background-color: var(--accent);
}
input:checked + .mock-slider:before {
transform: translateX(16px);
background-color: white;
}
/* 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 --- */
/* Bento Grid Layout Configuration */
.features-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1.5rem;
margin-top: 4rem;
}
.feature-card {
background: rgba(30, 41, 59, 0.45);
backdrop-filter: blur(16px) saturate(120%);
-webkit-backdrop-filter: blur(16px) saturate(120%);
padding: 2.5rem;
border-radius: 24px;
border: 1px solid rgba(255, 255, 255, 0.08);
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
overflow: hidden;
}
.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(255, 255, 255, 0.12), 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.2);
border-color: rgba(99, 102, 241, 0.3);
}
.feature-card:hover::before {
background: linear-gradient(to bottom right, rgba(99, 102, 241, 0.3), transparent);
}
/* Feature Icon with Inline SVG Wrapper */
.feature-icon-svg {
display: flex;
flex-shrink: 0;
align-items: center;
justify-content: center;
width: 44px;
height: 44px;
background: rgba(99, 102, 241, 0.12);
color: var(--accent);
border-radius: 12px;
margin-right: 14px;
transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.feature-card:hover .feature-icon-svg {
background: var(--accent);
color: white;
box-shadow: 0 0 15px var(--accent-glow);
transform: scale(1.05);
}
.bento-icon {
width: 22px;
height: 22px;
display: block;
flex-shrink: 0;
}
.feature-card h3 {
margin-bottom: 1rem;
font-size: 1.25rem;
font-weight: 700;
display: flex;
align-items: center;
}
.feature-card p {
color: var(--text-muted);
font-size: 0.95rem;
line-height: 1.6;
}
/* Bento Asymmetric Spanning */
.feature-card.bento-large {
grid-column: span 2;
background: linear-gradient(135deg, rgba(30, 41, 59, 0.45) 0%, rgba(99, 102, 241, 0.08) 100%);
padding: 3rem 3.5rem;
display: grid;
grid-template-columns: 1fr 2fr;
gap: 3rem;
align-items: center;
}
.feature-card.bento-large h3 {
flex-direction: column;
align-items: center;
text-align: center;
gap: 1rem;
margin-bottom: 0;
font-size: 1.25rem;
}
.feature-card.bento-large .feature-icon,
.feature-card.bento-large .feature-icon-svg {
width: 52px;
height: 52px;
border-radius: 14px;
margin-right: 0;
flex-shrink: 0;
}
.feature-card.bento-large .bento-icon {
width: 24px;
height: 24px;
}
.feature-card.bento-large p {
font-size: 1rem;
line-height: 1.7;
margin: 0;
}
.feature-card.bento-large::after {
content: '';
position: absolute;
top: 0;
left: 2.5rem;
right: 2.5rem;
height: 2px;
background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.4), transparent);
opacity: 0;
transition: opacity 0.3s ease;
}
.feature-card.bento-large:hover::after {
opacity: 1;
}
@media (max-width: 900px) {
.features-grid {
grid-template-columns: repeat(2, 1fr);
gap: 1.25rem;
}
.feature-card.bento-large {
grid-column: span 2;
padding: 2.5rem;
gap: 2rem;
}
.feature-card.bento-large h3 {
font-size: 1.15rem;
}
}
@media (max-width: 600px) {
.features-grid {
grid-template-columns: 1fr;
gap: 1rem;
}
.feature-card.bento-large {
grid-column: span 1;
display: flex;
flex-direction: column;
padding: 1.75rem;
gap: 1rem;
}
.feature-card.bento-large h3 {
flex-direction: row;
align-items: center;
text-align: left;
gap: 0.75rem;
margin-bottom: 0;
font-size: 1.15rem;
}
.feature-card.bento-large .feature-icon,
.feature-card.bento-large .feature-icon-svg {
width: 40px;
height: 40px;
border-radius: 10px;
margin-right: 0;
}
.feature-card.bento-large .bento-icon {
width: 18px;
height: 18px;
}
.feature-card.bento-large p {
font-size: 0.9rem;
line-height: 1.6;
}
.feature-card.bento-large::after {
display: none;
}
.feature-card {
padding: 1.75rem;
}
.feature-card h3 {
font-size: 1.1rem;
}
.feature-icon-svg {
width: 40px;
height: 40px;
border-radius: 10px;
margin-right: 12px;
}
.bento-icon {
width: 18px;
height: 18px;
}
}
/* --- 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: radial-gradient(circle at top left, #1e293b, #0f172a);
height: 280px; /* Slightly taller for more detail and breathing room */
border-radius: 24px;
border: 1px solid var(--glass-border);
position: relative;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.step-illustration-1:hover, .step-illustration-2:hover, .step-illustration-3:hover {
transform: translateY(-6px) scale(1.02);
border-color: rgba(99, 102, 241, 0.25);
box-shadow: 0 25px 50px rgba(99, 102, 241, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
/* ==========================================================================
Step 1 Illustration: Browser & Installed Success Popup
========================================================================== */
.illus-browser-container {
width: 90%;
height: 80%;
background: #090d16;
border: 1px solid rgba(255, 255, 255, 0.05);
border-radius: 12px;
overflow: hidden;
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
display: flex;
flex-direction: column;
}
.illus-browser-header {
background: #131924;
padding: 0.6rem 0.8rem;
display: flex;
align-items: center;
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.illus-browser-dots {
display: flex;
gap: 6px;
margin-right: 1.5rem;
}
.illus-browser-dot {
width: 8px;
height: 8px;
border-radius: 50%;
opacity: 0.6;
}
.illus-browser-dot:nth-child(1) { background: #ef4444; }
.illus-browser-dot:nth-child(2) { background: #fbbf24; }
.illus-browser-dot:nth-child(3) { background: #22c55e; }
.illus-browser-address-bar {
background: #090d16;
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 6px;
color: var(--text-muted);
font-size: 0.68rem;
padding: 3px 12px;
flex-grow: 1;
max-width: 60%;
text-align: center;
font-family: monospace;
letter-spacing: 0.2px;
}
.illus-browser-address-bar .url-protocol {
color: #22c55e;
font-weight: 600;
}
.illus-browser-toolbar {
display: flex;
margin-left: auto;
}
.illus-extension-btn {
width: 22px;
height: 22px;
border-radius: 6px;
display: flex;
align-items: center;
justify-content: center;
transition: opacity 0.3s, box-shadow 0.3s;
}
.illus-extension-btn.active {
background: rgba(99, 102, 241, 0.2);
border: 1px solid var(--accent);
box-shadow: 0 0 10px rgba(99, 102, 241, 0.4);
animation: active-pulse 2s infinite alternate;
}
@keyframes active-pulse {
0% { transform: scale(1); box-shadow: 0 0 5px rgba(99, 102, 241, 0.4); }
100% { transform: scale(1.08); box-shadow: 0 0 12px rgba(99, 102, 241, 0.7); }
}
.illus-browser-content {
flex-grow: 1;
padding: 1rem;
position: relative;
display: flex;
align-items: flex-start;
}
.illus-store-card {
background: rgba(255, 255, 255, 0.02);
border: 1px solid rgba(255, 255, 255, 0.04);
border-radius: 12px;
padding: 0.8rem;
width: 65%;
display: flex;
flex-direction: column;
gap: 10px;
}
.illus-store-card-header {
display: flex;
align-items: center;
gap: 8px;
}
.illus-large-logo {
width: 30px;
height: 30px;
object-fit: contain;
border-radius: 6px;
box-shadow: 0 0 10px rgba(99, 102, 241, 0.2);
}
.illus-store-info {
display: flex;
flex-direction: column;
}
.illus-store-title {
font-size: 0.88rem;
font-weight: 800;
color: var(--text);
line-height: 1.1;
}
.illus-store-desc {
font-size: 0.58rem;
color: var(--text-muted);
line-height: 1.2;
margin-top: 2px;
}
.illus-store-buttons {
display: flex;
flex-direction: column;
gap: 6px;
}
.illus-store-btn {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 5px 8px;
border-radius: 8px;
font-size: 0.58rem;
font-weight: 700;
color: white;
border: 1px solid rgba(255, 255, 255, 0.05);
background: rgba(255, 255, 255, 0.03);
box-shadow: 0 2px 5px rgba(0,0,0,0.2);
cursor: default;
transition: opacity 0.2s, transform 0.2s;
}
.illus-store-btn img {
width: 11px;
height: 11px;
display: block;
}
.illus-store-btn.chrome {
border-color: rgba(99, 102, 241, 0.25);
background: rgba(99, 102, 241, 0.08);
box-shadow: 0 0 10px rgba(99, 102, 241, 0.05);
}
.illus-store-btn.firefox {
border-color: rgba(249, 115, 22, 0.25);
background: rgba(249, 115, 22, 0.08);
box-shadow: 0 0 10px rgba(249, 115, 22, 0.05);
}
.install-breathe {
animation: install-breathe 2.5s ease-in-out infinite;
z-index: 2;
position: relative;
}
@keyframes install-breathe {
0%, 100% {
transform: scale(1);
box-shadow: 0 0 15px rgba(99, 102, 241, 0.2);
}
50% {
transform: scale(1.05);
box-shadow: 0 0 25px rgba(99, 102, 241, 0.5);
}
}
.install-breathe.firefox,
.btn-firefox.install-breathe {
animation-name: install-breathe-ff;
}
@keyframes install-breathe-ff {
0%, 100% {
transform: scale(1);
box-shadow: 0 0 15px rgba(249, 115, 22, 0.2);
}
50% {
transform: scale(1.05);
box-shadow: 0 0 25px rgba(249, 115, 22, 0.5);
}
}
/* Glassmorphic Dropping Success Card */
.illus-extension-popup {
position: absolute;
top: 0.6rem;
right: 0.6rem;
width: 145px;
background: rgba(30, 41, 59, 0.75);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 12px;
padding: 0.6rem 0.8rem;
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
animation: popup-float 4s ease-in-out infinite;
z-index: 5;
}
@keyframes popup-float {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-4px); }
}
.illus-extension-popup .popup-title {
display: flex;
align-items: center;
gap: 5px;
font-size: 0.72rem;
font-weight: 700;
color: var(--text);
margin-bottom: 6px;
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
padding-bottom: 4px;
}
.illus-extension-popup .popup-title img {
width: 12px;
height: 12px;
}
.illus-extension-popup .popup-status {
margin-bottom: 4px;
}
.status-badge-success {
background: rgba(34, 197, 94, 0.12);
color: #22c55e;
font-size: 0.6rem;
font-weight: 700;
padding: 2px 6px;
border-radius: 4px;
border: 1px solid rgba(34, 197, 94, 0.2);
display: inline-flex;
align-items: center;
gap: 3px;
animation: status-glow 2s infinite alternate;
}
@keyframes status-glow {
0% { box-shadow: 0 0 0 rgba(34, 197, 94, 0); }
100% { box-shadow: 0 0 6px rgba(34, 197, 94, 0.3); }
}
.illus-extension-popup .popup-quick-start {
font-size: 0.55rem;
color: var(--text-muted);
font-weight: 500;
line-height: 1.2;
}
/* ==========================================================================
Step 2 Illustration: Highly Realistic Extension Popup (Create Room View)
========================================================================== */
.illus-popup-card {
width: 220px; /* Scaled up 16% for a bigger, much more detailed view */
background: rgba(30, 41, 59, 0.75);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 16px;
padding: 0.95rem; /* Slightly larger padding */
box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
display: flex;
flex-direction: column;
gap: 0.75rem; /* Tighter vertical layout rhythm */
animation: popup-float 4s ease-in-out infinite;
animation-delay: -1s;
}
.illus-popup-header {
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
padding-bottom: 8px;
}
.illus-popup-brand {
display: flex;
align-items: center;
gap: 6px;
font-size: 0.82rem; /* Scaled up font */
font-weight: 800;
letter-spacing: -0.2px;
}
.illus-popup-version {
font-size: 0.58rem;
color: var(--text-muted);
}
.illus-popup-tabs {
display: flex;
gap: 4px;
background: rgba(9, 13, 22, 0.4);
padding: 3px;
border-radius: 8px;
border: 1px solid rgba(255, 255, 255, 0.03);
}
.illus-popup-tab {
flex: 1;
text-align: center;
font-size: 0.62rem; /* Scaled up font */
padding: 4px 0;
border-radius: 6px;
color: var(--text-muted);
font-weight: 600;
}
.illus-popup-tab.active {
background: var(--card);
color: var(--accent);
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.illus-popup-body {
display: flex;
flex-direction: column;
gap: 0.75rem;
position: relative;
}
.illus-popup-btn {
background: linear-gradient(135deg, var(--accent), #8b5cf6);
border-radius: 8px;
padding: 9px; /* Scaled up padding */
color: white;
font-weight: 700;
font-size: 0.7rem; /* Scaled up font */
text-align: center;
box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
position: relative;
overflow: hidden;
cursor: default;
animation: create-btn-pulse 2s infinite alternate;
}
@keyframes create-btn-pulse {
0% { transform: scale(1); box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3); }
100% { transform: scale(1.03); box-shadow: 0 6px 16px rgba(99, 102, 241, 0.5); }
}
.illus-btn-shine {
position: absolute;
top: 0;
left: -100%;
width: 50%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
transform: skewX(-20deg);
animation: shimmer-sweep 3s infinite ease-in-out;
}
@keyframes shimmer-sweep {
0% { left: -100%; }
50%, 100% { left: 150%; }
}
.illus-collapsed-details {
background: rgba(9, 13, 22, 0.4);
border: 1px solid rgba(255, 255, 255, 0.05);
border-radius: 8px;
padding: 7px 12px; /* Scaled up padding */
font-size: 0.56rem; /* Scaled up font */
color: var(--text-muted);
font-weight: 700;
text-transform: uppercase;
display: flex;
align-items: center;
gap: 6px;
letter-spacing: 0.2px;
}
.details-arrow {
font-size: 0.48rem;
color: var(--text-muted);
opacity: 0.7;
}
/* Floating Success Badge */
.illus-floating-success {
position: absolute;
bottom: -1.2rem;
left: 50%;
transform: translateX(-50%);
background: rgba(9, 13, 22, 0.9);
border: 1px solid rgba(34, 197, 94, 0.3);
border-radius: 20px;
padding: 3px 10px;
display: flex;
align-items: center;
gap: 4px;
box-shadow: 0 4px 10px rgba(0,0,0,0.4);
animation: floating-success-fade 5s infinite;
white-space: nowrap;
z-index: 10;
}
@keyframes floating-success-fade {
0%, 100%, 75% { opacity: 0; transform: translate(-50%, 5px) scale(0.9); }
15%, 60% { opacity: 1; transform: translate(-50%, 0) scale(1); }
}
.illus-floating-success .success-icon {
font-size: 0.65rem;
}
.illus-floating-success span[lang] {
font-size: 0.58rem;
color: #22c55e;
font-weight: 700;
}
/* ==========================================================================
Step 3 Illustration: Dual Screen Theater Sync Setup
========================================================================= */
.illus-sync-theater {
width: 95%;
display: flex;
align-items: center;
justify-content: center;
position: relative;
gap: 0.6rem;
}
.illus-player-card {
width: 145px;
background: rgba(15, 23, 42, 0.7);
border: 1px solid rgba(255, 255, 255, 0.05);
border-radius: 12px;
padding: 6px;
box-shadow: 0 10px 25px rgba(0,0,0,0.4);
display: flex;
flex-direction: column;
gap: 4px;
position: relative;
z-index: 2;
}
.illus-player-card.player-a {
animation: popup-float 4s ease-in-out infinite;
animation-delay: -2s;
}
.illus-player-card.player-b {
animation: popup-float 4s ease-in-out infinite;
animation-delay: -3s;
}
.player-header {
display: flex;
justify-content: space-between;
align-items: center;
font-size: 0.55rem;
}
.player-user {
font-weight: 700;
color: var(--text);
}
.player-badge {
font-size: 0.42rem;
font-weight: 800;
padding: 1px 3px;
border-radius: 3px;
}
.player-badge.active {
background: rgba(34, 197, 94, 0.15);
color: #22c55e;
border: 1px solid rgba(34, 197, 94, 0.25);
}
.player-video-canvas {
height: 70px;
border-radius: 8px;
background: linear-gradient(135deg, #1e1b4b, #311042);
position: relative;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
border: 1px solid rgba(255, 255, 255, 0.02);
}
.player-video-overlay {
position: absolute;
top: 0; left: 0; width: 100%; height: 100%;
background: radial-gradient(circle at center, rgba(139, 92, 246, 0.1) 0%, transparent 80%);
}
.player-play-pulse {
width: 24px;
height: 24px;
border-radius: 50%;
background: rgba(99, 102, 241, 0.85);
color: white;
font-size: 0.65rem;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
z-index: 3;
animation: play-pulse 2s infinite alternate;
}
@keyframes play-pulse {
0% { transform: scale(1); box-shadow: 0 0 6px rgba(99, 102, 241, 0.4); }
100% { transform: scale(1.15); box-shadow: 0 0 15px rgba(99, 102, 241, 0.8); }
}
.player-controls {
display: flex;
align-items: center;
gap: 4px;
padding: 2px 2px 0 2px;
}
.control-btn {
font-size: 0.58rem;
color: var(--accent);
}
.player-timeline {
flex-grow: 1;
height: 3px;
background: rgba(255, 255, 255, 0.1);
border-radius: 2px;
position: relative;
}
.timeline-fill {
position: absolute;
top: 0; left: 0;
height: 100%;
background: var(--accent);
border-radius: 2px;
width: 60%;
animation: theater-grow 6s infinite linear;
}
.timeline-knob {
position: absolute;
top: -2px;
left: 60%;
width: 7px;
height: 7px;
border-radius: 50%;
background: white;
box-shadow: 0 0 4px rgba(0,0,0,0.5);
transform: translateX(-50%);
animation: theater-knob-grow 6s infinite linear;
}
@keyframes theater-grow {
0% { width: 0%; }
100% { width: 100%; }
}
@keyframes theater-knob-grow {
0% { left: 0%; }
100% { left: 100%; }
}
.control-time {
font-size: 0.5rem;
color: var(--text-muted);
font-family: monospace;
}
/* Glowing Connection Sync Bridge */
.illus-sync-bridge {
flex-grow: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 6px;
position: relative;
z-index: 1;
}
.illus-sync-bridge .sync-line {
width: 100%;
height: 2px;
background: rgba(255,255,255,0.06);
position: relative;
overflow: hidden;
}
.illus-sync-bridge .sync-beam {
position: absolute;
top: 0;
left: -100%;
width: 50px;
height: 100%;
background: linear-gradient(90deg, transparent, var(--accent), var(--success), transparent);
animation: sync-flow 2.5s infinite linear;
}
@keyframes sync-flow {
0% { left: -100%; }
100% { left: 100%; }
}
.sync-status-badge {
background: rgba(34, 197, 94, 0.12);
border: 1px solid rgba(34, 197, 94, 0.25);
color: #22c55e;
font-size: 0.5rem;
font-weight: 800;
letter-spacing: 0.5px;
padding: 2px 6px;
border-radius: 6px;
white-space: nowrap;
animation: active-pulse-green 2s infinite alternate;
}
@keyframes active-pulse-green {
0% { box-shadow: 0 0 3px rgba(34, 197, 94, 0.1); }
100% { box-shadow: 0 0 8px rgba(34, 197, 94, 0.4); }
}
/* --- 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: color 0.2s, background-color 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: background-color 0.2s, color 0.2s, opacity 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);
}
footer a {
color: var(--text-muted);
text-decoration: none;
transition: color 0.2s ease;
}
footer a:hover {
color: var(--text);
}
/* --- Animations --- */
[data-reveal] {
opacity: 0;
transform: translateY(30px);
transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 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: minmax(0, 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);
margin-left: 0;
}
.nav-links.open {
display: flex;
}
.nav-right {
margin-left: auto;
}
.hamburger {
display: inline-flex !important;
}
nav .container {
padding: 0 0.5rem;
}
.logo-area {
gap: 0.25rem;
font-size: 1.1rem;
}
.logo-area img {
height: 40px;
width: 40px;
margin: 0;
}
.lang-select-container {
padding: 4px 10px;
gap: 4px;
}
.lang-select-container .globe-icon {
width: 14px;
height: 14px;
}
.lang-dropdown {
font-size: 0.7rem;
padding: 0 6px 0 0;
}
.lang-select-container .chevron-icon {
width: 10px;
height: 10px;
}
.legal-card {
padding: 1.5rem;
}
}
/* Extra-narrow phones: make sure logo, language picker and the menu button
never crowd each other in the header (kept comfortable down to ~320px). */
@media (max-width: 380px) {
nav .container {
padding: 0 0.4rem;
}
.nav-right {
gap: 0.35rem;
}
.logo-area {
font-size: 1rem;
gap: 0.4rem;
}
}
/* --- Language Toggle --- */
html.lang-de [lang="en"] {
display: none !important;
}
html:not(.lang-de) [lang="de"] {
display: none !important;
}
/* --- Modern Glassmorphic Language Selector --- */
.lang-select-container {
position: relative;
display: inline-flex;
align-items: center;
gap: 8px;
background: rgba(30, 41, 59, 0.4);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 9999px;
padding: 6px 14px;
transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
color: var(--text-muted);
}
.lang-select-container:hover {
background: rgba(30, 41, 59, 0.6);
border-color: rgba(99, 102, 241, 0.3);
color: var(--text);
box-shadow: 0 0 15px rgba(99, 102, 241, 0.1);
}
.lang-select-container .globe-icon {
width: 16px;
height: 16px;
flex-shrink: 0;
opacity: 0.8;
transition: transform 0.5s ease;
}
.lang-select-container:hover .globe-icon {
transform: rotate(15deg);
opacity: 1;
}
.lang-select-container .chevron-icon {
position: absolute;
right: 14px;
top: 50%;
transform: translateY(-50%);
width: 12px;
height: 12px;
pointer-events: none;
opacity: 0.6;
}
.lang-select-container:hover .chevron-icon {
opacity: 1;
}
.lang-dropdown {
appearance: none;
-webkit-appearance: none;
-moz-appearance: none;
background: transparent;
border: none;
outline: none;
font-family: inherit;
font-size: 0.8rem;
font-weight: 600;
color: currentColor;
cursor: pointer;
padding: 0 28px 0 0;
margin: 0;
width: auto;
min-width: 110px;
overflow: hidden;
}
@supports (appearance: base-select) {
.lang-dropdown::picker(select) {
appearance: base-select;
background-color: #0f172a;
border: 1px solid #334155;
border-radius: 8px;
padding: 4px;
font-family: 'Twemoji Country Flags', inherit;
}
}
.lang-dropdown option {
background: #0f172a;
color: white;
font-family: inherit;
font-size: 0.9rem;
}
/* --- 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;
}
/* --- Feature Cards: subtle differentiation --- */
.feature-card:nth-child(1) { --card-accent: rgba(99, 102, 241, 0.06); }
.feature-card:nth-child(2) { --card-accent: rgba(139, 92, 246, 0.06); }
.feature-card:nth-child(3) { --card-accent: rgba(34, 197, 94, 0.06); }
.feature-card:nth-child(4) { --card-accent: rgba(56, 189, 248, 0.06); }
.feature-card:nth-child(5) { --card-accent: rgba(245, 158, 11, 0.06); }
.feature-card:nth-child(6) { --card-accent: rgba(236, 72, 153, 0.06); }
.feature-card:nth-child(7) { --card-accent: rgba(249, 115, 22, 0.06); }
.feature-card:nth-child(8) { --card-accent: rgba(16, 185, 129, 0.06); }
.feature-card {
background: linear-gradient(135deg, var(--card-accent, transparent), var(--card));
}
/* --- Compatibility Section --- */
.compat-section {
padding: 1rem 0 3.5rem 0;
text-align: center;
background: rgba(255,255,255,0.01);
border-bottom: 1px solid var(--glass-border);
}
.compat-mascot {
display: block;
margin: 0 auto 0.5rem auto;
max-width: 368px;
width: 100%;
height: auto;
transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.compat-mascot:hover {
transform: scale(1.05) translateY(-5px) rotate(1deg);
}
.compat-heading {
font-size: 1rem;
font-weight: 600;
color: var(--text-muted);
letter-spacing: 0.08em;
text-transform: uppercase;
margin-bottom: 2rem;
}
.compat-row {
display: flex;
justify-content: center;
align-items: center;
gap: 3rem;
flex-wrap: wrap;
}
.compat-logo {
display: flex;
flex-direction: column;
align-items: center;
gap: 0.5rem;
font-size: 0.75rem;
font-weight: 700;
color: var(--text-muted);
transition: opacity 0.3s;
opacity: 0.55;
}
.compat-logo:hover {
opacity: 0.85;
}
.compat-logo img {
width: 28px;
height: 28px;
display: block;
}
.compat-more {
opacity: 0.4;
cursor: help;
flex-direction: row;
gap: 0.35rem;
position: relative;
}
.compat-more:hover {
opacity: 0.6;
}
.compat-more-icon {
font-size: 1.1rem;
font-weight: 700;
color: var(--accent);
line-height: 1;
}
.compat-tooltip {
display: none;
position: absolute;
bottom: calc(100% + 10px);
left: 50%;
transform: translateX(-50%);
background: var(--card);
color: var(--text-muted);
padding: 0.6rem 0.9rem;
border-radius: 8px;
font-size: 0.72rem;
font-weight: 500;
white-space: nowrap;
border: 1px solid var(--glass-border);
box-shadow: 0 8px 20px rgba(0,0,0,0.4);
z-index: 10;
line-height: 1.4;
}
.compat-tooltip::after {
content: '';
position: absolute;
top: 100%;
left: 50%;
transform: translateX(-50%);
border: 6px solid transparent;
border-top-color: var(--glass-border);
}
.compat-more:hover .compat-tooltip {
display: block;
}
/* --- Join Page Loading Spinner --- */
.join-spinner {
width: 36px;
height: 36px;
border: 3px solid rgba(99, 102, 241, 0.2);
border-top-color: var(--accent);
border-radius: 50%;
animation: spin 0.8s linear infinite;
margin: 0 auto 0.75rem;
}
@keyframes spin {
to { transform: rotate(360deg); }
}
/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
}
[data-reveal] {
opacity: 1;
transform: none;
}
.blob {
animation: none;
}
.illus-typing-text::after {
animation: none;
}
.illus-timeline-progress {
animation: none;
width: 60%;
}
.illus-sync-pulse {
animation: none;
}
.illus-extension-icon {
animation: none;
}
}
/* --- Use Cases / Anwendungsszenarien Section --- */
.use-cases-section {
padding: 6rem 0;
position: relative;
border-bottom: 1px solid var(--glass-border);
}
.use-cases-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: 2rem;
margin-top: 1rem;
}
.use-case-card {
background: rgba(30, 41, 59, 0.4);
border: 1px solid var(--glass-border);
border-radius: 16px;
padding: 1.2rem 1.6rem 1.7rem 1.6rem;
text-align: left;
transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
display: flex;
flex-direction: column;
gap: 0.8rem;
position: relative;
overflow: hidden;
}
.use-case-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 3px;
background: linear-gradient(90deg, transparent, var(--card-accent-border, var(--accent)), transparent);
opacity: 0;
transition: opacity 0.3s ease;
}
.use-case-card:nth-child(1) { --card-accent-border: #f59e0b; }
.use-case-card:nth-child(2) { --card-accent-border: #38bdf8; }
.use-case-card:nth-child(3) { --card-accent-border: #ec4899; }
.use-case-card:hover {
transform: translateY(-5px);
box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
border-color: rgba(255, 255, 255, 0.15);
}
.use-case-card:hover::before {
opacity: 1;
}
.use-case-image {
display: block;
width: 100%;
max-width: 272px;
height: 150px;
object-fit: contain;
border-radius: 8px;
margin: 0 auto 0 auto;
}
.cta-github-mascot {
display: block;
width: 100%;
max-width: 250px;
height: auto;
margin: 1.5rem auto;
}
.features-questions-mascot {
display: block;
width: 100%;
max-width: 250px;
height: auto;
margin: -1.5rem auto 0.2rem auto;
transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.features-questions-mascot:hover {
transform: scale(1.05) translateY(-4px) rotate(-1.5deg);
}
.comparison-mascot {
display: block;
width: 100%;
max-width: 260px;
height: auto;
margin: -2.2rem auto 0.2rem auto;
transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.comparison-mascot:hover {
transform: scale(1.05) translateY(-4px) rotate(1deg);
}
.use-case-icon {
font-size: 1.6rem;
margin-right: 0.6rem;
display: inline-block;
vertical-align: middle;
filter: drop-shadow(0 2px 8px rgba(0,0,0,0.2));
}
.use-case-card h3 {
font-size: 1.25rem;
font-weight: 700;
margin: 0;
color: white;
}
.use-case-card p {
font-size: 0.9rem;
line-height: 1.6;
color: var(--text-muted);
margin: 0;
}
/* --- Comparison Section --- */
.comparison-section {
padding: 6rem 0;
background: rgba(255, 255, 255, 0.01);
border-bottom: 1px solid var(--glass-border);
}
.comparison-table-wrapper {
overflow-x: auto;
background: rgba(30, 41, 59, 0.35);
border: 1px solid var(--glass-border);
border-radius: 16px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
margin-top: 1rem;
}
.comparison-table {
width: 100%;
border-collapse: collapse;
text-align: left;
font-size: 0.95rem;
}
.comparison-table th,
.comparison-table td {
padding: 1.25rem 1.5rem;
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.comparison-table th {
background: rgba(15, 23, 42, 0.6);
font-weight: 700;
color: white;
text-transform: uppercase;
font-size: 0.8rem;
letter-spacing: 0.08em;
}
.comparison-table th.highlight,
.comparison-table td.highlight {
background: rgba(99, 102, 241, 0.08);
}
.comparison-table tbody tr:hover {
background: rgba(255, 255, 255, 0.02);
}
.comparison-table tbody tr:last-child td {
border-bottom: none;
}
.feat-name {
display: flex;
flex-direction: column;
gap: 0.25rem;
}
.feat-name strong {
color: white;
font-weight: 600;
}
.feat-desc {
font-size: 0.8rem;
color: var(--text-muted);
}
.check {
color: #22c55e;
font-weight: 700;
}
.cross {
color: #ef4444;
font-weight: 500;
opacity: 0.8;
}
@media (max-width: 768px) {
.comparison-table th,
.comparison-table td {
padding: 1rem;
font-size: 0.85rem;
}
}
/* On phones the 3-column table is turned into stacked cards so there is
no horizontal scrolling — one card per feature, KoalaSync above Teleparty. */
@media (max-width: 600px) {
.comparison-table-wrapper {
overflow-x: visible;
background: transparent;
border: none;
box-shadow: none;
backdrop-filter: none;
-webkit-backdrop-filter: none;
margin-top: 0;
}
.comparison-table {
display: block;
font-size: 0.95rem;
}
/* Visually hide the header row but keep it for screen readers. */
.comparison-table thead {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}
.comparison-table tbody,
.comparison-table tr,
.comparison-table td {
display: block;
width: 100%;
}
.comparison-table tbody tr {
background: rgba(30, 41, 59, 0.35);
border: 1px solid var(--glass-border);
border-radius: 14px;
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
margin-bottom: 1rem;
overflow: hidden;
}
.comparison-table tbody tr:last-child {
margin-bottom: 0;
}
.comparison-table td {
padding: 0.85rem 1.1rem;
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.comparison-table tbody tr td:last-child {
border-bottom: none;
}
/* Feature name acts as the card header. */
.comparison-table td.feat-name {
background: rgba(15, 23, 42, 0.55);
padding: 0.9rem 1.1rem;
}
/* Room is back on the card, so show the description again. */
.feat-desc {
display: block;
margin-top: 0.15rem;
}
/* Label each value cell with the product it belongs to. */
.comparison-table td.check,
.comparison-table td.cross {
display: flex;
align-items: baseline;
gap: 0.4rem;
}
.comparison-table td.check::before,
.comparison-table td.cross::before {
flex: 0 0 5.5rem;
font-size: 0.7rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.06em;
color: var(--text-muted);
opacity: 0.85;
}
.comparison-table td.check::before,
.comparison-table td.cross::before {
content: attr(data-label);
}
/* Keep the KoalaSync row subtly highlighted, like on desktop. */
.comparison-table td.check.highlight {
background: rgba(99, 102, 241, 0.08);
}
}
/* --- Footnotes & Source Links --- */
.source-link {
color: var(--accent);
text-decoration: none;
font-size: 0.72rem;
font-weight: 700;
margin-left: 0.25rem;
display: inline-flex;
align-items: center;
vertical-align: super;
opacity: 0.6;
transition: opacity 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.source-link:hover {
opacity: 1;
color: #38bdf8;
transform: translateY(-1px);
}
.table-footnotes {
padding: 0.8rem 1.25rem;
background: rgba(15, 23, 42, 0.45);
border-top: 1px solid rgba(255, 255, 255, 0.05);
font-size: 0.72rem;
color: var(--text-muted);
line-height: 1.5;
opacity: 0.65;
transition: opacity 0.2s ease;
}
.table-footnotes:hover {
opacity: 0.95;
}
.table-footnotes p {
margin: 0;
display: flex;
align-items: baseline;
gap: 0.4rem;
}
.table-footnotes p:not(:last-child) {
margin-bottom: 0.4rem;
}
.table-footnotes a {
color: var(--accent);
text-decoration: none;
font-weight: 500;
transition: color 0.2s ease, text-decoration 0.2s ease;
}
.table-footnotes a:hover {
color: #38bdf8;
text-decoration: underline;
}
.table-footnotes sup {
font-weight: 700;
color: var(--accent);
}
@media (max-width: 768px) {
.table-footnotes {
padding: 0.75rem 1rem;
font-size: 0.68rem;
}
}
/* --- Join & Invitation Page Visuals --- */
.join-status-visual {
margin-bottom: 2rem;
position: relative;
height: 200px;
display: flex;
align-items: center;
justify-content: center;
}
.join-status-mascot {
display: block;
width: 140px;
height: auto;
z-index: 2;
filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15));
}
.join-status-mascot.searching-mascot {
width: 175px; /* Slightly wider due to antenna to keep main body scale identical */
}
.join-status-pulse {
animation: mascot-gentle-pulse 2s ease-in-out infinite;
}
@keyframes mascot-gentle-pulse {
0% {
transform: scale(0.96);
filter: drop-shadow(0 4px 10px rgba(99, 102, 241, 0.15));
}
50% {
transform: scale(1.04);
filter: drop-shadow(0 8px 20px rgba(99, 102, 241, 0.35));
}
100% {
transform: scale(0.96);
filter: drop-shadow(0 4px 10px rgba(99, 102, 241, 0.15));
}
}
.legal-mascot {
display: block;
width: 180px;
height: auto;
margin: -0.75rem auto 0.4rem auto;
filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15));
transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.legal-mascot:hover {
transform: scale(1.06) translateY(-4px) rotate(1.5deg);
}
.selfhost-mascot {
display: block;
width: 300px;
height: auto;
margin: 0 auto;
filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15));
transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.selfhost-mascot:hover {
transform: scale(1.05) translateY(-4px) rotate(-1deg);
}
.status-ring {
position: absolute;
width: 90px;
height: 90px;
border-radius: 50%;
background: rgba(99, 102, 241, 0.05);
border: 2px dashed rgba(99, 102, 241, 0.25);
z-index: 1;
}
.status-ring.active-pulse {
animation: radar-pulse 3s cubic-bezier(0.25, 0.8, 0.25, 1) infinite;
}
@keyframes radar-pulse {
0% {
transform: scale(0.85);
opacity: 0.9;
border-color: rgba(99, 102, 241, 0.3);
box-shadow: 0 0 0 0px rgba(99, 102, 241, 0.15);
}
50% {
transform: scale(1.18);
opacity: 0.35;
border-color: rgba(56, 189, 248, 0.2);
box-shadow: 0 0 0 15px rgba(56, 189, 248, 0);
}
100% {
transform: scale(0.85);
opacity: 0.9;
border-color: rgba(99, 102, 241, 0.3);
box-shadow: 0 0 0 0px rgba(99, 102, 241, 0.15);
}
}
.join-card-actions {
display: flex;
flex-direction: column;
gap: 0.75rem;
width: 100%;
}
.join-card-actions .btn {
width: 100%;
justify-content: center;
padding: 1.1rem;
font-size: 0.88rem;
font-weight: 700;
letter-spacing: 0.04em;
text-transform: uppercase;
}
.join-card-actions .btn svg {
margin-right: 0.3rem;
flex-shrink: 0;
}
.join-card-actions .btn img {
margin-right: 0.3rem;
flex-shrink: 0;
}
.btn-success {
background: #22c55e;
color: white !important;
box-shadow: 0 10px 15px -3px rgba(34, 197, 94, 0.3);
}
.btn-success:hover {
background: #16a34a;
transform: translateY(-2px);
box-shadow: 0 20px 25px -5px rgba(34, 197, 94, 0.4);
}
/* --- FAQ Section --- */
.faq-grid {
display: flex;
flex-direction: column;
gap: 1rem;
max-width: 800px;
margin: 0 auto;
}
.faq-item {
background: rgba(30, 41, 59, 0.45);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 16px;
padding: 1.5rem 2rem;
cursor: pointer;
transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item:hover {
border-color: rgba(99, 102, 241, 0.3);
box-shadow: 0 8px 20px rgba(99, 102, 241, 0.1);
}
.faq-item[open] {
border-color: rgba(99, 102, 241, 0.4);
background: rgba(30, 41, 59, 0.65);
}
.faq-item summary {
font-weight: 700;
font-size: 1.05rem;
color: var(--text);
list-style: none;
display: flex;
justify-content: space-between;
align-items: center;
gap: 1rem;
}
.faq-item summary::-webkit-details-marker {
display: none;
}
.faq-item summary::after {
content: '+';
font-size: 1.4rem;
color: var(--accent);
font-weight: 300;
transition: transform 0.3s ease;
flex-shrink: 0;
}
.faq-item[open] summary::after {
content: '';
transform: rotate(180deg);
}
.faq-item p {
color: var(--text-muted);
font-size: 0.95rem;
line-height: 1.6;
margin-top: 1rem;
padding-top: 1rem;
border-top: 1px solid rgba(255, 255, 255, 0.06);
}
/* --- Focus states for interactive cards --- */
.feature-card:focus-visible,
.use-case-card:focus-visible,
.compat-logo:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 4px;
transform: translateY(-5px);
}
.feature-card,
.use-case-card,
.compat-logo,
section[id],
header[id] {
scroll-margin-top: 100px;
}
/* --- Screen-reader-only (also crawlable by search engines) --- */
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}
/* --- Skip-to-content accessibility link --- */
.skip-link {
position: absolute;
left: -9999px;
top: 0;
background: var(--accent);
color: white;
padding: 0.75rem 1.25rem;
border-radius: 0 0 8px 0;
font-weight: 700;
z-index: 9999;
text-decoration: none;
}
.skip-link:focus {
left: 0;
}
/* --- Reduced motion support --- */
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
scroll-behavior: auto !important;
}
.blob { animation: none; }
.join-status-pulse { animation: none; }
.status-ring.active-pulse { animation: none; }
}
/* --- will-change hints for animated elements --- */
.blob,
.join-status-pulse,
.status-ring.active-pulse,
.hero-mockup-wrapper,
.cta-group .btn {
will-change: transform, opacity;
}
@media (prefers-reduced-motion: reduce) {
.blob,
.join-status-pulse,
.status-ring.active-pulse,
.hero-mockup-wrapper,
.cta-group .btn {
}
}
/* --- Alternatives Hub Styles --- */
.guide-card {
transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.25s ease, border-color 0.25s ease !important;
}
.guide-card:hover {
transform: translateY(-4px);
background-color: rgba(255, 255, 255, 0.07) !important;
border-color: rgba(255, 255, 255, 0.22) !important;
box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.4);
}
.guide-card .btn-primary {
transition: background-color 0.2s ease, transform 0.1s ease;
}
.guide-card .btn-primary:active {
transform: scale(0.97);
}
@media (max-width: 640px) {
.guides-grid {
grid-template-columns: 1fr !important;
gap: 1.25rem !important;
}
}
/* --- Hero Live Demo Scene (two synced tabs + extension popup) --- */
.hero-mockup-wrapper {
flex-direction: column;
gap: 0.9rem;
container-type: inline-size;
}
/* The scene is sized for the two cascading tab cards; opening the popup
grows it. (Without JS the popup-open class is set in the markup, so the
static fallback always has room for the popup.) */
.hero-demo-scene {
position: relative;
width: 100%;
height: 390px;
height: calc(66cqw + 78px);
transition: height 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-demo-scene.popup-open {
height: 600px;
}
/* While initializing, suppress all transitions so the popup can start closed
without a visible open->closed animation on page load. */
.hero-demo-scene.demo-no-anim,
.hero-demo-scene.demo-no-anim * {
transition-duration: 0s !important;
}
/* Sync status chip: green "in sync" at rest, flashes the broadcast event */
.demo-sync-chip {
position: absolute;
top: 0;
left: 2px;
z-index: 8;
display: inline-flex;
align-items: center;
gap: 7px;
padding: 5px 12px;
border-radius: 99px;
background: rgba(34, 197, 94, 0.12);
border: 1px solid rgba(34, 197, 94, 0.35);
color: #86efac;
font-family: inherit;
font-size: 11px;
font-weight: 800;
letter-spacing: 0.06em;
text-transform: uppercase;
cursor: default;
transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.demo-chip-dot {
width: 8px;
height: 8px;
border-radius: 50%;
background: #22c55e;
box-shadow: 0 0 8px #22c55e;
transition: background 0.3s, box-shadow 0.3s;
}
.demo-sync-chip .demo-chip-event { display: none; }
.demo-sync-chip.event {
background: rgba(99, 102, 241, 0.14);
border-color: rgba(99, 102, 241, 0.45);
color: #c7d2fe;
}
.demo-sync-chip.event .demo-chip-dot {
background: #818cf8;
box-shadow: 0 0 8px #818cf8;
}
.demo-sync-chip.event .demo-chip-label-sync { display: none; }
.demo-sync-chip.event .demo-chip-event { display: inline; }
@keyframes demoBlink {
50% { opacity: 0.35; }
}
/* Video tab cards: a clean window cascade — the right one is in front */
.demo-tab-card {
position: absolute;
width: 310px;
width: 70cqw;
background: #131c31;
border: 1px solid rgba(255, 255, 255, 0.09);
border-radius: 14px;
box-shadow: 0 18px 36px rgba(0, 0, 0, 0.45);
overflow: hidden;
cursor: pointer;
user-select: none;
transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s;
}
.demo-tab-card:hover,
.demo-tab-card:focus-visible {
border-color: rgba(99, 102, 241, 0.55);
}
/* Card A = the foreground window at the top right ("your" browser,
hosts the extension icon in its toolbar) */
.demo-tab-a {
top: 22px;
right: -3%;
transform: rotate(1.2deg);
transform-origin: top right;
z-index: 3;
}
/* Card B = the friend's window, lower left, tucked behind */
.demo-tab-b {
top: 142px;
top: calc(20cqw + 40px);
left: -3%;
transform: rotate(-1.6deg);
transform-origin: top left;
z-index: 2;
}
/* When the popup slides in from the right edge, the tabs step aside */
.hero-demo-scene.popup-open .demo-tab-a {
transform: rotate(1deg) translate(-48%, 2%) scale(0.88);
}
.hero-demo-scene.popup-open .demo-tab-b {
transform: rotate(-1.6deg) scale(0.94);
}
.demo-tab-titlebar {
display: flex;
align-items: center;
gap: 8px;
padding: 6px 8px 6px 10px;
background: #0b1222;
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
font-size: 10.5px;
color: var(--text-muted);
font-weight: 600;
}
.demo-tab-dots {
display: flex;
gap: 4px;
flex-shrink: 0;
}
.demo-tab-dots i {
display: block;
width: 7px;
height: 7px;
border-radius: 50%;
background: #334155;
}
.demo-tab-title {
display: flex;
align-items: center;
gap: 5px;
flex: 1;
min-width: 0;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.demo-tab-title svg { flex-shrink: 0; }
.demo-tab-user {
flex-shrink: 0;
font-size: 9.5px;
font-weight: 700;
padding: 2px 7px;
border-radius: 99px;
}
.demo-user-a {
color: #a5b4fc;
background: rgba(99, 102, 241, 0.15);
}
.demo-user-b {
color: #86efac;
background: rgba(34, 197, 94, 0.12);
}
/* Extension launcher pinned in the foreground window's toolbar */
.demo-ext-launcher {
position: relative;
flex-shrink: 0;
display: flex;
align-items: center;
justify-content: center;
width: 24px;
height: 24px;
padding: 0;
border-radius: 7px;
background: #273449;
border: 1px solid rgba(255, 255, 255, 0.12);
cursor: pointer;
transition: border-color 0.25s, box-shadow 0.25s, transform 0.15s;
}
.demo-ext-launcher img {
display: block;
width: 16px;
height: 16px;
border-radius: 4px;
}
.demo-ext-launcher:hover {
border-color: var(--accent);
transform: translateY(-1px);
}
.demo-ext-launcher:active {
transform: scale(0.94);
}
.hero-demo-scene.popup-open .demo-ext-launcher {
border-color: rgba(99, 102, 241, 0.7);
box-shadow: 0 0 10px rgba(99, 102, 241, 0.45);
}
.demo-ext-launcher::after {
content: '';
position: absolute;
top: -3px;
right: -3px;
width: 8px;
height: 8px;
border-radius: 50%;
background: #6366f1;
box-shadow: 0 0 8px #6366f1;
opacity: 0;
transition: opacity 0.3s;
}
.hero-demo-scene:not(.popup-open) .demo-ext-launcher::after {
opacity: 1;
animation: demoBlink 1.4s ease-in-out infinite;
}
/* Abstract "video" artwork with a slow cinematic pan/zoom while playing */
.demo-video {
position: relative;
aspect-ratio: 16 / 9;
background: #020617;
overflow: hidden;
}
.demo-video-art {
position: absolute;
inset: 0;
background:
radial-gradient(circle at 78% 22%, rgba(248, 250, 252, 0.28) 0 4%, transparent 5.5%),
radial-gradient(120% 90% at 70% 115%, #312e81 0%, transparent 60%),
radial-gradient(100% 80% at 12% 112%, #1e1b4b 0%, transparent 55%),
linear-gradient(160deg, #1e293b 0%, #0b1024 55%, #020617 100%);
transform-origin: 60% 40%;
animation:
demoKenBurns 9s ease-in-out infinite alternate,
demoArtShift 7s ease-in-out infinite alternate;
animation-play-state: paused;
}
/* Soft light drifting through the scene */
.demo-video-art::before {
content: '';
position: absolute;
top: -25%;
left: -12%;
width: 70%;
aspect-ratio: 1;
border-radius: 50%;
background: radial-gradient(circle, rgba(129, 140, 248, 0.32), transparent 65%);
animation: demoGlowDrift 7s ease-in-out infinite alternate;
animation-play-state: paused;
}
.demo-video-art::after {
content: '';
position: absolute;
inset: 0;
background: linear-gradient(105deg, transparent 30%, rgba(129, 140, 248, 0.14) 45%, rgba(56, 189, 248, 0.1) 55%, transparent 70%);
transform: translateX(-100%);
animation: demoSheen 2.8s linear infinite;
animation-play-state: paused;
}
/* Playing runs the animations; pausing freezes them mid-frame, so a synced
pause is visible at a glance */
.demo-tab-card.playing .demo-video-art,
.demo-tab-card.playing .demo-video-art::before,
.demo-tab-card.playing .demo-video-art::after {
animation-play-state: running;
}
@keyframes demoKenBurns {
from { transform: scale(1) translate(0, 0); }
to { transform: scale(1.18) translate(-3%, 2%); }
}
@keyframes demoArtShift {
from { filter: hue-rotate(0deg) brightness(1); }
to { filter: hue-rotate(40deg) brightness(1.15); }
}
@keyframes demoGlowDrift {
from { transform: translate(0, 0); }
to { transform: translate(65%, 30%); }
}
@keyframes demoSheen {
to { transform: translateX(100%); }
}
/* Play / pause overlay */
.demo-play-overlay {
position: absolute;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
background: rgba(2, 6, 23, 0.35);
transition: opacity 0.25s, background 0.25s;
}
.demo-icon-wrap {
display: flex;
align-items: center;
justify-content: center;
width: 46px;
height: 46px;
border-radius: 50%;
background: rgba(15, 23, 42, 0.75);
border: 1px solid rgba(255, 255, 255, 0.25);
color: white;
box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
backdrop-filter: blur(4px);
transition: transform 0.2s;
}
.demo-tab-card:hover .demo-icon-wrap { transform: scale(1.1); }
.demo-play-overlay .icon-pause { display: none; }
.demo-tab-card.playing .icon-play { display: none; }
.demo-tab-card.playing .icon-pause { display: block; }
.demo-tab-card.playing .demo-play-overlay {
opacity: 0;
background: transparent;
}
.demo-tab-card.playing:hover .demo-play-overlay,
.demo-tab-card.playing:focus-visible .demo-play-overlay {
opacity: 1;
}
/* Timestamp + seekable progress bar */
.demo-video-controls {
position: absolute;
left: 0;
right: 0;
bottom: 0;
display: flex;
align-items: center;
gap: 8px;
padding: 14px 10px 8px;
background: linear-gradient(transparent, rgba(2, 6, 23, 0.85));
font-size: 9.5px;
color: #e2e8f0;
z-index: 1;
}
.demo-time {
flex-shrink: 0;
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
font-weight: 700;
letter-spacing: 0.03em;
font-variant-numeric: tabular-nums;
}
.demo-progress {
position: relative;
flex: 1;
height: 5px;
border-radius: 99px;
background: rgba(255, 255, 255, 0.18);
cursor: pointer;
}
/* Generous invisible hit area for seeking */
.demo-progress::before {
content: '';
position: absolute;
inset: -8px 0;
}
.demo-progress-fill {
position: relative;
height: 100%;
width: 30%;
border-radius: 99px;
background: linear-gradient(90deg, #6366f1, #a855f7);
pointer-events: none;
}
/* Scrub thumb, revealed on hover */
.demo-progress-fill::after {
content: '';
position: absolute;
right: -5px;
top: 50%;
width: 11px;
height: 11px;
margin-top: -5.5px;
border-radius: 50%;
background: #e2e8f0;
box-shadow: 0 0 6px rgba(99, 102, 241, 0.8);
opacity: 0;
transform: scale(0.6);
transition: opacity 0.2s, transform 0.2s;
}
.demo-tab-card:hover .demo-progress-fill::after {
opacity: 1;
transform: scale(1);
}
/* Sync pulse ring on both cards */
.demo-tab-card.sync-pulse {
animation: demoCardPulse 0.9s ease-out;
}
@keyframes demoCardPulse {
0% { box-shadow: 0 18px 36px rgba(0, 0, 0, 0.45), 0 0 0 0 rgba(99, 102, 241, 0.65); }
100% { box-shadow: 0 18px 36px rgba(0, 0, 0, 0.45), 0 0 0 22px rgba(99, 102, 241, 0); }
}
/* The existing popup mockup slides in at the right edge, dropping out of
the toolbar icon of the foreground window */
.hero-demo-scene .extension-mockup {
position: absolute;
top: 64px;
right: 0;
z-index: 5;
width: 292px;
width: min(320px, 66cqw);
margin: 0;
transform-origin: top right;
transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s, visibility 0.45s;
}
.hero-demo-scene:not(.popup-open) .extension-mockup {
transform: translate(2%, -3%) scale(0.5);
opacity: 0;
visibility: hidden;
pointer-events: none;
}
/* Ghost cursor for the automated walkthrough */
.demo-cursor {
position: absolute;
top: 52%;
left: 46%;
z-index: 20;
width: 22px;
height: 22px;
opacity: 0;
pointer-events: none;
filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
transition: top 0.65s cubic-bezier(0.45, 0.05, 0.25, 1), left 0.65s cubic-bezier(0.45, 0.05, 0.25, 1), opacity 0.35s;
}
.demo-cursor.visible { opacity: 1; }
.demo-cursor svg {
display: block;
width: 100%;
height: 100%;
}
.demo-cursor::before {
content: '';
position: absolute;
top: -6px;
left: -8px;
width: 32px;
height: 32px;
border-radius: 50%;
border: 2px solid #818cf8;
opacity: 0;
transform: scale(0.35);
}
.demo-cursor.clicking::before {
animation: demoClickRipple 0.45s ease-out;
}
@keyframes demoClickRipple {
0% { opacity: 0.9; transform: scale(0.35); }
100% { opacity: 0; transform: scale(1.25); }
}
/* Caption below the scene */
.demo-hint {
margin: 0;
text-align: center;
font-size: 0.82rem;
color: var(--text-muted);
opacity: 0;
transition: opacity 0.6s;
}
.demo-hint.show { opacity: 0.75; }
/* Mobile: fall back to the classic static popup mockup */
@media (max-width: 768px) {
.hero-demo-scene,
.hero-demo-scene.popup-open {
height: auto;
max-width: 320px;
margin: 0 auto;
}
.demo-tab-card,
.demo-sync-chip,
.demo-cursor,
.demo-hint {
display: none !important;
}
.hero-demo-scene .extension-mockup,
.hero-demo-scene:not(.popup-open) .extension-mockup {
position: static;
width: 100%;
transform: none;
opacity: 1;
visibility: visible;
pointer-events: auto;
}
}
@media (prefers-reduced-motion: reduce) {
.hero-demo-scene:not(.popup-open) .demo-ext-launcher::after {
animation: none;
}
}
/* --- Story walkthrough additions: room creation, invite flight, film --- */
/* The stick-figure film carries the motion now — keep only the color drift
on the backdrop (the animation shorthand resets play-state, so re-pause) */
.demo-video-art {
animation: demoArtShift 7s ease-in-out infinite alternate;
animation-play-state: paused;
}
.demo-film {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
}
/* Stars: staggered twinkle so the sky feels alive */
.film-star {
transform-box: fill-box;
transform-origin: center;
animation: filmTwinkle 2.8s ease-in-out infinite;
}
.film-star:nth-child(2) { animation-duration: 3.4s; animation-delay: 0.5s; }
.film-star:nth-child(3) { animation-duration: 2.4s; animation-delay: 1.1s; }
.film-star:nth-child(4) { animation-duration: 3.6s; animation-delay: 0.3s; }
.film-star:nth-child(5) { animation-duration: 2.6s; animation-delay: 1.6s; }
.film-star:nth-child(6) { animation-duration: 3.2s; animation-delay: 0.8s; }
.film-star:nth-child(7) { animation-duration: 2.2s; animation-delay: 1.3s; }
@keyframes filmTwinkle {
0%, 100% { opacity: 0.25; transform: scale(0.85); }
50% { opacity: 1; transform: scale(1.15); }
}
/* Moon: gentle glow pulse + slow arc drift */
.film-moon {
transform-box: fill-box;
transform-origin: center;
animation: filmMoon 6s ease-in-out infinite alternate;
animation-play-state: paused;
}
@keyframes filmMoon {
from { transform: translate(0, 0); filter: drop-shadow(0 0 4px rgba(241,245,249,0.5)); }
to { transform: translate(-6px, 3px); filter: drop-shadow(0 0 10px rgba(241,245,249,0.95)); }
}
.film-mtn-scroll {
transform: translateX(var(--scroll-back, 0px));
}
.film-mid-scroll {
transform: translateX(var(--scroll-mid, 0px));
}
.film-fore-scroll {
transform: translateX(var(--scroll-fore, 0px));
}
.film-bounce-ball {
transform-origin: bottom center;
transform: translateY(var(--bounce-y, 0px));
filter: drop-shadow(0 0 4px #fde047);
}
/* Twinkle & Glow play state bindings */
.film-star {
transform-box: fill-box;
transform-origin: center;
animation: filmTwinkle 2.8s ease-in-out infinite;
animation-play-state: paused;
}
.demo-tab-card.playing .film-star,
.demo-tab-card.playing .film-moon {
animation-play-state: running;
}
/* Play button pulsing indicator at the end of the walkthrough */
.hero-demo-scene.demo-complete #demo-tab-a:not(.playing) .demo-icon-wrap {
animation: playButtonPulse 1.6s ease-in-out infinite;
border-color: #6366f1;
box-shadow: 0 0 15px rgba(99, 102, 241, 0.8);
}
@keyframes playButtonPulse {
0%, 100% { transform: scale(1); box-shadow: 0 0 10px rgba(99, 102, 241, 0.5); }
50% { transform: scale(1.12); box-shadow: 0 0 20px rgba(99, 102, 241, 0.9); }
}
/* Seek-reset: scrubbing restarts animations from frame zero */
.demo-film.demo-reset * {
animation: none !important;
}
/* Seek-break: scrubbing the timeline visibly glitches both videos so the
jump reads as a real cut instead of an invisible time update. A scanline
sweep + brightness pop, and the film animations restart mid-stride. */
.demo-video-art { transition: filter 0.12s ease-out; }
.demo-tab-card.demo-seeking .demo-video-art {
animation-play-state: paused;
filter: brightness(1.9) saturate(1.4) blur(0.6px);
}
.demo-tab-card .demo-seek-sweep {
position: absolute;
inset: 0;
z-index: 4;
pointer-events: none;
opacity: 0;
background: linear-gradient(90deg,
transparent 0%,
rgba(129, 140, 248, 0.35) 20%,
rgba(255, 255, 255, 0.55) 50%,
rgba(129, 140, 248, 0.35) 80%,
transparent 100%);
mix-blend-mode: screen;
transform: translateX(-100%);
}
.demo-tab-card.demo-seeking .demo-seek-sweep {
animation: demoSeekSweep 0.34s ease-out;
}
@keyframes demoSeekSweep {
0% { opacity: 0; transform: translateX(-100%); }
20% { opacity: 1; }
100% { opacity: 0; transform: translateX(100%); }
}
/* The sync chip only appears once the room is connected (story progression) */
.demo-sync-chip {
opacity: 0;
transform: translateY(-4px);
pointer-events: none;
transition: background 0.3s, border-color 0.3s, color 0.3s, opacity 0.4s, transform 0.4s;
}
.hero-demo-scene.connected .demo-sync-chip {
opacity: 1;
transform: none;
pointer-events: auto;
}
/* Toast on the friend's window ("Room joined", "Tab selected") */
.demo-tab-toast {
position: absolute;
top: 36px;
left: 50%;
transform: translate(-50%, -6px);
z-index: 2;
padding: 4px 10px;
border-radius: 99px;
background: rgba(15, 23, 42, 0.92);
border: 1px solid rgba(99, 102, 241, 0.5);
color: #c7d2fe;
font-size: 9.5px;
font-weight: 700;
white-space: nowrap;
opacity: 0;
pointer-events: none;
transition: opacity 0.3s, transform 0.3s;
}
.demo-tab-toast.show {
opacity: 1;
transform: translate(-50%, 0);
}
/* Invite link pill flying from the popup to the friend's window */
.demo-invite-fly {
position: absolute;
z-index: 30;
display: inline-flex;
align-items: center;
gap: 5px;
padding: 4px 10px;
border-radius: 99px;
background: var(--accent);
color: white;
font-size: 9.5px;
font-weight: 700;
white-space: nowrap;
box-shadow: 0 6px 18px rgba(99, 102, 241, 0.5);
opacity: 0;
pointer-events: none;
transition: left 0.75s cubic-bezier(0.3, 0.7, 0.4, 1), top 0.75s cubic-bezier(0.3, 0.7, 0.4, 1), opacity 0.3s;
}
/* Attention flash (e.g. on the video select while "choosing the tab") */
.demo-attn {
animation: demoAttn 0.7s ease-in-out 2;
}
@keyframes demoAttn {
50% { box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.75); }
}