1248 lines
35 KiB
HTML
1248 lines
35 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Cosmos — Sovereign Cloud Platform</title>
|
|
<meta name="description" content="Self-hosted Git, Mornye-optimized NAS & S3 storage, and zero-config container orchestration. 100% sovereign cloud on your bare metal.">
|
|
<link rel="icon" href='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><circle cx="16" cy="16" r="5" fill="%23eef3f8"/><ellipse cx="16" cy="16" rx="14" ry="5" fill="none" stroke="%238fd9ff" stroke-width="1.5" transform="rotate(-28 16 16)"/></svg>'>
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
<link href="https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@1&family=JetBrains+Mono:wght@300;400;500;600&family=Space+Grotesk:wght@400;500;600;700&display=swap" rel="stylesheet">
|
|
<script src="/three.min.js"></script>
|
|
<script>
|
|
if (typeof THREE === 'undefined') {
|
|
document.write('<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r128/three.min.js"><\/script>');
|
|
}
|
|
</script>
|
|
|
|
<style>
|
|
/* ── RESET & DESIGN TOKENS ── */
|
|
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
|
|
:root {
|
|
--bg: #02040a;
|
|
--bg-card: rgba(8, 14, 28, 0.72);
|
|
--bg-card-hover: rgba(14, 22, 42, 0.85);
|
|
--ink: #f0f4f8;
|
|
--dim: rgba(240, 244, 248, 0.65);
|
|
--faint: rgba(240, 244, 248, 0.28);
|
|
--line: rgba(240, 244, 248, 0.08);
|
|
--line-active: rgba(240, 244, 248, 0.2);
|
|
--cyan: #8fd9ff;
|
|
--cyan-rgb: 143, 217, 255;
|
|
--amber: #ffab4d;
|
|
--amber-rgb: 255, 171, 77;
|
|
--violet: #c084fc;
|
|
--violet-rgb: 192, 132, 252;
|
|
--green: #4ade80;
|
|
--mono: 'JetBrains Mono', ui-monospace, monospace;
|
|
--sans: 'Space Grotesk', system-ui, -apple-system, sans-serif;
|
|
--serif: 'Instrument Serif', Georgia, serif;
|
|
--pad: clamp(20px, 5vw, 64px);
|
|
--ease: cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
html {
|
|
scroll-behavior: smooth;
|
|
background: var(--bg);
|
|
color: var(--ink);
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
body {
|
|
font-family: var(--sans);
|
|
background: var(--bg);
|
|
color: var(--ink);
|
|
overflow-x: hidden;
|
|
-webkit-font-smoothing: antialiased;
|
|
position: relative;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
::selection {
|
|
background: rgba(143, 217, 255, 0.35);
|
|
color: #fff;
|
|
}
|
|
|
|
::-webkit-scrollbar { width: 6px; }
|
|
::-webkit-scrollbar-track { background: var(--bg); }
|
|
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.15); border-radius: 3px; }
|
|
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.3); }
|
|
|
|
/* ── 3D CANVAS & BACKGROUND OVERLAYS ── */
|
|
#webgl-bg {
|
|
position: fixed;
|
|
inset: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
z-index: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.cosmic-grain {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 1;
|
|
pointer-events: none;
|
|
opacity: 0.035;
|
|
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
|
|
}
|
|
|
|
.cosmic-vignette {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 1;
|
|
pointer-events: none;
|
|
background: radial-gradient(circle at 50% 30%, transparent 20%, rgba(2, 4, 10, 0.6) 70%, #02040a 100%);
|
|
}
|
|
|
|
/* ── NAVIGATION ── */
|
|
nav {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
z-index: 100;
|
|
height: 72px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0 var(--pad);
|
|
background: rgba(2, 4, 10, 0.55);
|
|
backdrop-filter: blur(20px) saturate(180%);
|
|
-webkit-backdrop-filter: blur(20px) saturate(180%);
|
|
border-bottom: 1px solid var(--line);
|
|
transition: all 0.35s var(--ease);
|
|
}
|
|
nav.scrolled {
|
|
height: 64px;
|
|
background: rgba(2, 4, 10, 0.88);
|
|
border-bottom-color: var(--line-active);
|
|
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
.nav-brand {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
letter-spacing: -0.02em;
|
|
color: var(--ink);
|
|
text-decoration: none;
|
|
}
|
|
.brand-mark {
|
|
width: 32px;
|
|
height: 32px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
position: relative;
|
|
}
|
|
.brand-mark svg {
|
|
width: 100%;
|
|
height: 100%;
|
|
animation: slowOrbit 28s linear infinite;
|
|
}
|
|
@keyframes slowOrbit { to { transform: rotate(360deg); } }
|
|
|
|
.nav-links {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 32px;
|
|
}
|
|
.nav-links a {
|
|
text-decoration: none;
|
|
font-size: 13.5px;
|
|
font-weight: 500;
|
|
color: var(--dim);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
transition: color 0.2s;
|
|
padding: 6px 0;
|
|
position: relative;
|
|
}
|
|
.nav-links a::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 1.5px;
|
|
background: var(--cyan);
|
|
transform: scaleX(0);
|
|
transform-origin: left;
|
|
transition: transform 0.3s var(--ease);
|
|
}
|
|
.nav-links a:hover {
|
|
color: var(--ink);
|
|
}
|
|
.nav-links a:hover::after {
|
|
transform: scaleX(1);
|
|
}
|
|
.nav-dot {
|
|
width: 6px;
|
|
height: 6px;
|
|
border-radius: 50%;
|
|
background: currentColor;
|
|
}
|
|
|
|
.nav-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
}
|
|
.telemetry-pill {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 5px 12px;
|
|
border-radius: 99px;
|
|
background: rgba(74, 222, 128, 0.08);
|
|
border: 1px solid rgba(74, 222, 128, 0.25);
|
|
font-family: var(--mono);
|
|
font-size: 10.5px;
|
|
font-weight: 500;
|
|
letter-spacing: 0.12em;
|
|
color: var(--green);
|
|
}
|
|
.telemetry-dot {
|
|
width: 6px;
|
|
height: 6px;
|
|
border-radius: 50%;
|
|
background: var(--green);
|
|
box-shadow: 0 0 10px var(--green);
|
|
animation: pulseDot 2s ease infinite;
|
|
}
|
|
@keyframes pulseDot {
|
|
0%, 100% { opacity: 1; transform: scale(1); }
|
|
50% { opacity: 0.4; transform: scale(0.85); }
|
|
}
|
|
|
|
.btn-signin {
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: var(--ink);
|
|
text-decoration: none;
|
|
padding: 8px 18px;
|
|
border-radius: 9px;
|
|
background: rgba(255, 255, 255, 0.06);
|
|
border: 1px solid var(--line);
|
|
backdrop-filter: blur(10px);
|
|
transition: all 0.25s var(--ease);
|
|
}
|
|
.btn-signin:hover {
|
|
background: rgba(255, 255, 255, 0.12);
|
|
border-color: rgba(255, 255, 255, 0.25);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.btn-primary {
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: #02040a;
|
|
text-decoration: none;
|
|
padding: 8px 20px;
|
|
border-radius: 9px;
|
|
background: #ffffff;
|
|
box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
|
|
transition: all 0.25s var(--ease);
|
|
}
|
|
.btn-primary:hover {
|
|
background: #eef3f8;
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 6px 28px rgba(255, 255, 255, 0.28);
|
|
}
|
|
|
|
/* ── MAIN CONTENT WRAPPER ── */
|
|
main {
|
|
position: relative;
|
|
z-index: 10;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
/* ── HERO SECTION ── */
|
|
.hero {
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
text-align: center;
|
|
padding: 130px var(--pad) 80px;
|
|
max-width: 1180px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.badge-sovereign {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 6px 16px;
|
|
border-radius: 99px;
|
|
background: rgba(143, 217, 255, 0.08);
|
|
border: 1px solid rgba(143, 217, 255, 0.25);
|
|
font-family: var(--mono);
|
|
font-size: 10.5px;
|
|
letter-spacing: 0.24em;
|
|
text-transform: uppercase;
|
|
color: var(--cyan);
|
|
margin-bottom: 28px;
|
|
box-shadow: 0 0 30px rgba(143, 217, 255, 0.1);
|
|
}
|
|
|
|
.hero-title {
|
|
font-size: clamp(48px, 8.5vw, 110px);
|
|
font-weight: 700;
|
|
letter-spacing: -0.04em;
|
|
line-height: 0.98;
|
|
margin-bottom: 28px;
|
|
text-shadow: 0 0 80px rgba(143, 217, 255, 0.15);
|
|
}
|
|
.hero-title em {
|
|
font-family: var(--serif);
|
|
font-style: italic;
|
|
font-weight: 400;
|
|
color: var(--cyan);
|
|
text-shadow: 0 0 40px rgba(143, 217, 255, 0.4);
|
|
}
|
|
|
|
.hero-lead {
|
|
font-size: clamp(16px, 2vw, 20px);
|
|
line-height: 1.65;
|
|
color: var(--dim);
|
|
max-width: 680px;
|
|
margin: 0 auto 44px;
|
|
}
|
|
|
|
.hero-cta-group {
|
|
display: flex;
|
|
gap: 16px;
|
|
justify-content: center;
|
|
flex-wrap: wrap;
|
|
margin-bottom: 70px;
|
|
}
|
|
.hero-btn-main {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 14px 34px;
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
border-radius: 12px;
|
|
background: #ffffff;
|
|
color: #02040a;
|
|
text-decoration: none;
|
|
box-shadow: 0 10px 30px rgba(255, 255, 255, 0.18);
|
|
transition: all 0.3s var(--ease);
|
|
}
|
|
.hero-btn-main:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 14px 40px rgba(255, 255, 255, 0.3);
|
|
}
|
|
|
|
.hero-btn-sub {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 14px 30px;
|
|
font-size: 15px;
|
|
font-weight: 500;
|
|
border-radius: 12px;
|
|
background: rgba(255, 255, 255, 0.05);
|
|
color: var(--ink);
|
|
text-decoration: none;
|
|
border: 1px solid var(--line);
|
|
backdrop-filter: blur(14px);
|
|
transition: all 0.3s var(--ease);
|
|
}
|
|
.hero-btn-sub:hover {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border-color: rgba(255, 255, 255, 0.3);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
/* ── HUD METRICS STRIP ── */
|
|
.metrics-strip {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
gap: 16px;
|
|
width: 100%;
|
|
max-width: 1000px;
|
|
margin: 0 auto;
|
|
}
|
|
.metric-box {
|
|
background: rgba(8, 14, 28, 0.6);
|
|
border: 1px solid var(--line);
|
|
border-radius: 14px;
|
|
padding: 20px 16px;
|
|
backdrop-filter: blur(16px);
|
|
text-align: center;
|
|
transition: all 0.3s var(--ease);
|
|
}
|
|
.metric-box:hover {
|
|
border-color: var(--line-active);
|
|
transform: translateY(-2px);
|
|
background: rgba(14, 22, 42, 0.7);
|
|
}
|
|
.metric-val {
|
|
font-family: var(--mono);
|
|
font-size: 26px;
|
|
font-weight: 700;
|
|
letter-spacing: -0.02em;
|
|
color: var(--ink);
|
|
margin-bottom: 6px;
|
|
}
|
|
.metric-lbl {
|
|
font-family: var(--mono);
|
|
font-size: 10px;
|
|
letter-spacing: 0.16em;
|
|
text-transform: uppercase;
|
|
color: var(--dim);
|
|
}
|
|
|
|
/* ── STATIONS SHOWCASE ── */
|
|
.section-stations {
|
|
padding: 100px var(--pad) 80px;
|
|
max-width: 1280px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.section-head {
|
|
text-align: center;
|
|
margin-bottom: 60px;
|
|
}
|
|
.section-tag {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
font-family: var(--mono);
|
|
font-size: 10px;
|
|
letter-spacing: 0.28em;
|
|
text-transform: uppercase;
|
|
color: var(--cyan);
|
|
margin-bottom: 16px;
|
|
}
|
|
.section-tag::before, .section-tag::after {
|
|
content: '';
|
|
width: 24px;
|
|
height: 1px;
|
|
background: rgba(143, 217, 255, 0.4);
|
|
}
|
|
.section-title {
|
|
font-size: clamp(34px, 5vw, 56px);
|
|
font-weight: 700;
|
|
letter-spacing: -0.03em;
|
|
line-height: 1.05;
|
|
}
|
|
.section-title em {
|
|
font-family: var(--serif);
|
|
font-style: italic;
|
|
font-weight: 400;
|
|
color: var(--cyan);
|
|
}
|
|
|
|
/* 3D Stations Grid */
|
|
.stations-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 28px;
|
|
}
|
|
|
|
.station-card {
|
|
position: relative;
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--line);
|
|
border-radius: 24px;
|
|
padding: 36px 30px;
|
|
backdrop-filter: blur(24px) saturate(160%);
|
|
-webkit-backdrop-filter: blur(24px) saturate(160%);
|
|
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
overflow: hidden;
|
|
transition: transform 0.45s var(--ease), border-color 0.45s, box-shadow 0.45s;
|
|
}
|
|
|
|
.station-card:hover {
|
|
transform: translateY(-6px);
|
|
border-color: rgba(255, 255, 255, 0.2);
|
|
box-shadow: 0 30px 70px rgba(0, 0, 0, 0.65);
|
|
}
|
|
|
|
.station-glow {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 160px;
|
|
pointer-events: none;
|
|
opacity: 0.15;
|
|
transition: opacity 0.4s;
|
|
}
|
|
.station-card:hover .station-glow {
|
|
opacity: 0.28;
|
|
}
|
|
|
|
.card-forge .station-glow {
|
|
background: radial-gradient(ellipse at 50% 0%, rgb(var(--amber-rgb)) 0%, transparent 70%);
|
|
}
|
|
.card-oort .station-glow {
|
|
background: radial-gradient(ellipse at 50% 0%, rgb(var(--cyan-rgb)) 0%, transparent 70%);
|
|
}
|
|
.card-orbit .station-glow {
|
|
background: radial-gradient(ellipse at 50% 0%, rgb(var(--violet-rgb)) 0%, transparent 70%);
|
|
}
|
|
|
|
.station-top {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: 24px;
|
|
}
|
|
.station-id {
|
|
font-family: var(--mono);
|
|
font-size: 10px;
|
|
letter-spacing: 0.2em;
|
|
text-transform: uppercase;
|
|
color: var(--dim);
|
|
}
|
|
.station-badge {
|
|
font-family: var(--mono);
|
|
font-size: 9.5px;
|
|
font-weight: 500;
|
|
letter-spacing: 0.16em;
|
|
padding: 4px 10px;
|
|
border-radius: 99px;
|
|
text-transform: uppercase;
|
|
}
|
|
.card-forge .station-badge {
|
|
background: rgba(var(--amber-rgb), 0.12);
|
|
border: 1px solid rgba(var(--amber-rgb), 0.35);
|
|
color: var(--amber);
|
|
}
|
|
.card-oort .station-badge {
|
|
background: rgba(var(--cyan-rgb), 0.12);
|
|
border: 1px solid rgba(var(--cyan-rgb), 0.35);
|
|
color: var(--cyan);
|
|
}
|
|
.card-orbit .station-badge {
|
|
background: rgba(var(--violet-rgb), 0.12);
|
|
border: 1px solid rgba(var(--violet-rgb), 0.35);
|
|
color: var(--violet);
|
|
}
|
|
|
|
.station-title {
|
|
font-size: 32px;
|
|
font-weight: 700;
|
|
letter-spacing: -0.03em;
|
|
margin-bottom: 8px;
|
|
}
|
|
.station-subtitle {
|
|
font-family: var(--mono);
|
|
font-size: 12px;
|
|
letter-spacing: 0.04em;
|
|
color: var(--dim);
|
|
margin-bottom: 20px;
|
|
}
|
|
.card-forge .station-subtitle { color: var(--amber); }
|
|
.card-oort .station-subtitle { color: var(--cyan); }
|
|
.card-orbit .station-subtitle { color: var(--violet); }
|
|
|
|
.station-desc {
|
|
font-size: 14.5px;
|
|
line-height: 1.7;
|
|
color: var(--dim);
|
|
margin-bottom: 28px;
|
|
}
|
|
|
|
.station-features {
|
|
list-style: none;
|
|
margin-bottom: 32px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
.station-features li {
|
|
font-size: 13.5px;
|
|
color: var(--ink);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
.feature-bullet {
|
|
width: 5px;
|
|
height: 5px;
|
|
border-radius: 50%;
|
|
flex-shrink: 0;
|
|
}
|
|
.card-forge .feature-bullet { background: var(--amber); box-shadow: 0 0 8px var(--amber); }
|
|
.card-oort .feature-bullet { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
|
|
.card-orbit .feature-bullet { background: var(--violet); box-shadow: 0 0 8px var(--violet); }
|
|
|
|
.station-bottom {
|
|
border-top: 1px solid var(--line);
|
|
padding-top: 24px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
.station-link {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
text-decoration: none;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
transition: gap 0.25s var(--ease);
|
|
}
|
|
.station-link:hover { gap: 14px; }
|
|
.card-forge .station-link { color: var(--amber); }
|
|
.card-oort .station-link { color: var(--cyan); }
|
|
.card-orbit .station-link { color: var(--violet); }
|
|
|
|
/* ── ARCHITECTURE SECTION ── */
|
|
.section-arch {
|
|
padding: 80px var(--pad);
|
|
max-width: 1280px;
|
|
margin: 0 auto;
|
|
}
|
|
.arch-card {
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--line);
|
|
border-radius: 24px;
|
|
padding: 48px 40px;
|
|
backdrop-filter: blur(24px);
|
|
display: grid;
|
|
grid-template-columns: 1fr 1.2fr;
|
|
gap: 48px;
|
|
align-items: center;
|
|
}
|
|
.arch-title {
|
|
font-size: clamp(28px, 4vw, 42px);
|
|
font-weight: 700;
|
|
letter-spacing: -0.03em;
|
|
line-height: 1.1;
|
|
margin-bottom: 20px;
|
|
}
|
|
.arch-title em {
|
|
font-family: var(--serif);
|
|
font-style: italic;
|
|
font-weight: 400;
|
|
color: var(--cyan);
|
|
}
|
|
.arch-desc {
|
|
font-size: 15px;
|
|
line-height: 1.75;
|
|
color: var(--dim);
|
|
margin-bottom: 28px;
|
|
}
|
|
.arch-diagram {
|
|
background: rgba(2, 4, 10, 0.7);
|
|
border: 1px solid var(--line);
|
|
border-radius: 16px;
|
|
padding: 24px;
|
|
font-family: var(--mono);
|
|
font-size: 12px;
|
|
line-height: 1.8;
|
|
color: rgba(240, 244, 248, 0.75);
|
|
}
|
|
.diag-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin-bottom: 16px;
|
|
padding-bottom: 12px;
|
|
border-bottom: 1px solid var(--line);
|
|
font-size: 11px;
|
|
letter-spacing: 0.14em;
|
|
color: var(--cyan);
|
|
}
|
|
|
|
/* ── COMPARISON TABLE ── */
|
|
.section-compare {
|
|
padding: 80px var(--pad);
|
|
max-width: 1100px;
|
|
margin: 0 auto;
|
|
}
|
|
.compare-table-wrap {
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--line);
|
|
border-radius: 20px;
|
|
overflow: hidden;
|
|
backdrop-filter: blur(24px);
|
|
}
|
|
.cmp-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-size: 14px;
|
|
}
|
|
.cmp-table th, .cmp-table td {
|
|
padding: 18px 24px;
|
|
text-align: left;
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
.cmp-table th {
|
|
font-family: var(--mono);
|
|
font-size: 10.5px;
|
|
letter-spacing: 0.16em;
|
|
text-transform: uppercase;
|
|
color: var(--dim);
|
|
background: rgba(255, 255, 255, 0.02);
|
|
}
|
|
.cmp-table th.highlight, .cmp-table td.highlight {
|
|
background: rgba(143, 217, 255, 0.05);
|
|
font-weight: 600;
|
|
color: var(--cyan);
|
|
}
|
|
.cmp-table td:first-child {
|
|
font-weight: 500;
|
|
color: var(--ink);
|
|
}
|
|
.cmp-yes { color: var(--green); font-weight: 600; }
|
|
.cmp-no { color: rgba(240, 244, 248, 0.35); }
|
|
|
|
/* ── FINAL CALL TO ACTION ── */
|
|
.section-cta {
|
|
padding: 120px var(--pad) 140px;
|
|
text-align: center;
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
}
|
|
.cta-title {
|
|
font-size: clamp(40px, 6vw, 76px);
|
|
font-weight: 700;
|
|
letter-spacing: -0.035em;
|
|
line-height: 1.05;
|
|
margin-bottom: 24px;
|
|
}
|
|
.cta-title em {
|
|
font-family: var(--serif);
|
|
font-style: italic;
|
|
font-weight: 400;
|
|
color: var(--cyan);
|
|
}
|
|
.cta-sub {
|
|
font-size: 16px;
|
|
line-height: 1.7;
|
|
color: var(--dim);
|
|
margin-bottom: 40px;
|
|
}
|
|
|
|
/* ── FOOTER ── */
|
|
footer {
|
|
position: relative;
|
|
z-index: 10;
|
|
border-top: 1px solid var(--line);
|
|
padding: 40px var(--pad);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 24px;
|
|
flex-wrap: wrap;
|
|
background: rgba(2, 4, 10, 0.75);
|
|
backdrop-filter: blur(20px);
|
|
}
|
|
.ft-brand {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
color: var(--ink);
|
|
text-decoration: none;
|
|
}
|
|
.ft-copy {
|
|
font-family: var(--mono);
|
|
font-size: 10.5px;
|
|
letter-spacing: 0.12em;
|
|
color: var(--faint);
|
|
text-transform: uppercase;
|
|
}
|
|
.ft-clock {
|
|
font-family: var(--mono);
|
|
font-size: 11px;
|
|
letter-spacing: 0.16em;
|
|
color: var(--dim);
|
|
}
|
|
|
|
/* ── RESPONSIVE ── */
|
|
@media (max-width: 980px) {
|
|
.stations-grid { grid-template-columns: 1fr; }
|
|
.metrics-strip { grid-template-columns: repeat(2, 1fr); }
|
|
.arch-card { grid-template-columns: 1fr; gap: 32px; }
|
|
.nav-links { display: none; }
|
|
}
|
|
@media (max-width: 580px) {
|
|
.metrics-strip { grid-template-columns: 1fr; }
|
|
footer { flex-direction: column; text-align: center; }
|
|
.hero-cta-group { flex-direction: column; width: 100%; }
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
<!-- Three.js Background Canvas -->
|
|
<canvas id="webgl-bg" aria-hidden="true"></canvas>
|
|
<div class="cosmic-grain" aria-hidden="true"></div>
|
|
<div class="cosmic-vignette" aria-hidden="true"></div>
|
|
|
|
<!-- Top Navigation -->
|
|
<nav id="nav">
|
|
<a href="/" class="nav-brand">
|
|
<div class="brand-mark">
|
|
<svg viewBox="0 0 34 34">
|
|
<ellipse cx="17" cy="17" rx="14.5" ry="5.5" fill="none" stroke="rgba(240,244,248,.4)" stroke-width="1.2" transform="rotate(-28 17 17)"/>
|
|
<ellipse cx="17" cy="17" rx="14.5" ry="5.5" fill="none" stroke="rgba(143,217,255,.2)" stroke-width=".8" transform="rotate(28 17 17)"/>
|
|
<circle cx="17" cy="17" r="4.6" fill="#eef3f8"/>
|
|
<circle cx="28" cy="12" r="1.8" fill="#8fd9ff"/>
|
|
</svg>
|
|
</div>
|
|
<span>Cosmos</span>
|
|
</a>
|
|
|
|
<div class="nav-links">
|
|
<a href="/git"><span class="nav-dot" style="color:var(--amber)"></span>Forge Git</a>
|
|
<a href="/oort"><span class="nav-dot" style="color:var(--cyan)"></span>Oort NAS</a>
|
|
<a href="/orbit"><span class="nav-dot" style="color:var(--violet)"></span>Orbit PaaS</a>
|
|
</div>
|
|
|
|
<div class="nav-actions">
|
|
<div class="telemetry-pill">
|
|
<div class="telemetry-dot"></div>
|
|
<span>ONLINE</span>
|
|
</div>
|
|
<a href="/oort/login" class="btn-signin">Sign In</a>
|
|
<a href="/oort/signup" class="btn-primary">Get Started</a>
|
|
</div>
|
|
</nav>
|
|
|
|
<main>
|
|
<!-- Hero Section -->
|
|
<section class="hero">
|
|
<div class="badge-sovereign">
|
|
<span>SOVEREIGN CLOUD ARCHITECTURE</span>
|
|
</div>
|
|
<h1 class="hero-title">
|
|
Your Infrastructure.<br>
|
|
<em>Zero Compromises.</em>
|
|
</h1>
|
|
<p class="hero-lead">
|
|
Cosmos delivers full-spectrum self-hosted cloud sovereign power. High-speed Git version control, dedicated Mornye streaming NAS & S3 object storage, and automated container deployment on your own bare metal.
|
|
</p>
|
|
|
|
<div class="hero-cta-group">
|
|
<a href="#stations" class="hero-btn-main">Explore Stations ↓</a>
|
|
<a href="/oort/login" class="hero-btn-sub">Access Console →</a>
|
|
</div>
|
|
|
|
<!-- Live Telemetry Strip -->
|
|
<div class="metrics-strip">
|
|
<div class="metric-box">
|
|
<div class="metric-val" style="color:var(--cyan)">100%</div>
|
|
<div class="metric-lbl">Data Sovereignty</div>
|
|
</div>
|
|
<div class="metric-box">
|
|
<div class="metric-val" style="color:var(--amber)">< 1ms</div>
|
|
<div class="metric-lbl">Local Bus Latency</div>
|
|
</div>
|
|
<div class="metric-box">
|
|
<div class="metric-val" style="color:var(--green)">ScyllaDB</div>
|
|
<div class="metric-lbl">Auth Engine</div>
|
|
</div>
|
|
<div class="metric-box">
|
|
<div class="metric-val" style="color:var(--violet)">Docker API</div>
|
|
<div class="metric-lbl">Container Mesh</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- Stations Section -->
|
|
<section class="section-stations" id="stations">
|
|
<div class="section-head">
|
|
<div class="section-tag">COSMOS CORE PLATFORMS</div>
|
|
<h2 class="section-title">Engineered for absolute <em>independence.</em></h2>
|
|
</div>
|
|
|
|
<div class="stations-grid">
|
|
<!-- Station 1: Forge -->
|
|
<div class="station-card card-forge">
|
|
<div class="station-glow"></div>
|
|
<div>
|
|
<div class="station-top">
|
|
<span class="station-id">STATION 01</span>
|
|
<span class="station-badge">GIT REPOSITORIES</span>
|
|
</div>
|
|
<h3 class="station-title">Forge</h3>
|
|
<div class="station-subtitle">Sovereign Source Control</div>
|
|
<p class="station-desc">
|
|
Ultra-fast self-hosted Git version control platform. Granular branch protection, commit signing verification, and zero third-party telemetry or code scraping.
|
|
</p>
|
|
<ul class="station-features">
|
|
<li><span class="feature-bullet"></span>SSH & HTTPS Dual Protocol Push</li>
|
|
<li><span class="feature-bullet"></span>Mandatory Peer Review Gateways</li>
|
|
<li><span class="feature-bullet"></span>Seamless Orbit CI/CD Webhooks</li>
|
|
</ul>
|
|
</div>
|
|
<div class="station-bottom">
|
|
<a href="/git" class="station-link">Enter Forge <span>→</span></a>
|
|
<a href="/git/login" style="font-family:var(--mono);font-size:12px;color:var(--dim);text-decoration:none;">Sign In</a>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Station 2: Oort -->
|
|
<div class="station-card card-oort">
|
|
<div class="station-glow"></div>
|
|
<div>
|
|
<div class="station-top">
|
|
<span class="station-id">STATION 02</span>
|
|
<span class="station-badge">NAS & S3 CLOUD</span>
|
|
</div>
|
|
<h3 class="station-title">Oort</h3>
|
|
<div class="station-subtitle">NAS for Mornye & Sovereign Storage</div>
|
|
<p class="station-desc">
|
|
High-performance Network Attached Storage engineered specifically for Mornye music streaming and sovereign S3 object cloud. Unique streaming URLs for every account, lossless FLAC byte-range streaming, zero cloud bills.
|
|
</p>
|
|
<ul class="station-features">
|
|
<li><span class="feature-bullet"></span>Native WebDAV & HTTP(S) for Mornye</li>
|
|
<li><span class="feature-bullet"></span>Private Isolated Bucket Per User</li>
|
|
<li><span class="feature-bullet"></span>Full S3 API & Web File Manager</li>
|
|
</ul>
|
|
</div>
|
|
<div class="station-bottom">
|
|
<a href="/oort" class="station-link">Access Oort NAS <span>→</span></a>
|
|
<a href="/oort/login" style="font-family:var(--mono);font-size:12px;color:var(--dim);text-decoration:none;">Sign In</a>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Station 3: Orbit -->
|
|
<div class="station-card card-orbit">
|
|
<div class="station-glow"></div>
|
|
<div>
|
|
<div class="station-top">
|
|
<span class="station-id">STATION 03</span>
|
|
<span class="station-badge">CONTAINER ENGINE</span>
|
|
</div>
|
|
<h3 class="station-title">Orbit</h3>
|
|
<div class="station-subtitle">Zero-Config App PaaS</div>
|
|
<p class="station-desc">
|
|
Continuous deployment application engine. Simply connect your Git repository or Docker image; Orbit builds, isolates, and routes edge traffic with live streaming logs.
|
|
</p>
|
|
<ul class="station-features">
|
|
<li><span class="feature-bullet"></span>Zero-Config Multi-Stage Docker Builds</li>
|
|
<li><span class="feature-bullet"></span>Dynamic Reverse Proxy & Custom Domains</li>
|
|
<li><span class="feature-bullet"></span>Real-time CPU/RAM Telemetry & Logs</li>
|
|
</ul>
|
|
</div>
|
|
<div class="station-bottom">
|
|
<a href="/orbit" class="station-link">Launch Orbit <span>→</span></a>
|
|
<a href="/oort/login?next=/orbit" style="font-family:var(--mono);font-size:12px;color:var(--dim);text-decoration:none;">Sign In</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- Architecture Section -->
|
|
<section class="section-arch">
|
|
<div class="arch-card">
|
|
<div>
|
|
<div class="section-tag" style="margin-bottom:12px">UNIFIED SYSTEM FABRIC</div>
|
|
<h2 class="arch-title">Single Sign-On across your <em>entire cluster.</em></h2>
|
|
<p class="arch-desc">
|
|
One identity unlocks all three platforms. Authentication is backed by an ultra-fast ScyllaDB distributed database with cryptographic session hashing and strict role isolation.
|
|
</p>
|
|
<div style="display:flex;gap:14px;flex-wrap:wrap">
|
|
<a href="/oort/signup" class="hero-btn-main" style="padding:10px 24px;font-size:13.5px">Create Sovereign Account</a>
|
|
<a href="/oort/login" class="hero-btn-sub" style="padding:10px 24px;font-size:13.5px">Sign In</a>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="arch-diagram">
|
|
<div class="diag-header">
|
|
<span style="color:var(--green)">●</span>
|
|
<span>CLUSTER TOPOLOGY OVERVIEW</span>
|
|
</div>
|
|
<div style="color:var(--cyan)">[ CLIENT REQUEST ]</div>
|
|
<div style="color:var(--dim)"> │</div>
|
|
<div style="color:var(--dim)"> ▼</div>
|
|
<div style="color:#fff;background:rgba(255,255,255,0.06);padding:4px 8px;border-radius:4px;display:inline-block">NGINX REVERSE PROXY (:443) ── SSL TERMINATION</div>
|
|
<div style="color:var(--dim)"> │</div>
|
|
<div style="color:var(--dim)"> ▼</div>
|
|
<div style="color:#fff;background:rgba(143,217,255,0.08);padding:4px 8px;border-radius:4px;display:inline-block">COSMOS GO PORTAL GATEWAY (:8000)</div>
|
|
<div style="color:var(--dim)"> ├─── Auth & Session Verification ──► ScyllaDB Cluster</div>
|
|
<div style="color:var(--amber)"> ├─── /git ──► Forge Git Bare Repo Engine</div>
|
|
<div style="color:var(--cyan)"> ├─── /oort ──► MinIO S3 & WebDAV Mornye NAS Storage</div>
|
|
<div style="color:var(--violet)"> └─── /orbit ──► Docker Engine API & App Routing</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- Comparison Matrix -->
|
|
<section class="section-compare">
|
|
<div class="section-head">
|
|
<div class="section-tag">COMPLIANCE & SOVEREIGNTY</div>
|
|
<h2 class="section-title">Cosmos vs. <em>Public Cloud Lock-In</em></h2>
|
|
</div>
|
|
|
|
<div class="compare-table-wrap">
|
|
<table class="cmp-table">
|
|
<thead>
|
|
<tr>
|
|
<th>Platform Feature</th>
|
|
<th class="highlight">Cosmos Cluster</th>
|
|
<th>Public SaaS (AWS / GitHub)</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td>Data Sovereignty</td>
|
|
<td class="highlight cmp-yes">100% On-Premise Airgap</td>
|
|
<td class="cmp-no">Cloud Provider Owned</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Mornye Music Streaming NAS</td>
|
|
<td class="highlight cmp-yes">Built-in Dedicated Server</td>
|
|
<td class="cmp-no">Complex Custom Setup</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Code & Data AI Scraping</td>
|
|
<td class="highlight cmp-yes">Zero (No Telemetry)</td>
|
|
<td class="cmp-no">Trained on Your Code</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Per-Seat Licensing Fees</td>
|
|
<td class="highlight cmp-yes">$0 / Unlimited Users</td>
|
|
<td class="cmp-no">$21 - $250+ / user / month</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Single Sign-On Database</td>
|
|
<td class="highlight cmp-yes">Ultra-low Latency ScyllaDB</td>
|
|
<td class="cmp-no">Fragmented Accounts</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- CTA Section -->
|
|
<section class="section-cta">
|
|
<h2 class="cta-title">Take command of your <em>digital universe.</em></h2>
|
|
<p class="cta-sub">
|
|
Deploy private repositories, launch Mornye streaming NAS storage, and orchestrate containers with total privacy and zero external dependencies.
|
|
</p>
|
|
<div style="display:flex;gap:14px;justify-content:center;flex-wrap:wrap">
|
|
<a href="/oort/signup" class="hero-btn-main">Deploy Your Sovereign Cloud</a>
|
|
<a href="/oort/login" class="hero-btn-sub">Sign In to Dashboard</a>
|
|
</div>
|
|
</section>
|
|
</main>
|
|
|
|
<!-- Footer -->
|
|
<footer>
|
|
<a href="/" class="ft-brand">
|
|
<svg width="22" height="22" viewBox="0 0 34 34">
|
|
<ellipse cx="17" cy="17" rx="14.5" ry="5.5" fill="none" stroke="rgba(240,244,248,.6)" stroke-width="1.2" transform="rotate(-28 17 17)"/>
|
|
<circle cx="17" cy="17" r="4.6" fill="#eef3f8"/>
|
|
<circle cx="28" cy="12" r="1.8" fill="#8fd9ff"/>
|
|
</svg>
|
|
Cosmos
|
|
</a>
|
|
<div class="ft-copy">SOVEREIGN CLOUD INFRASTRUCTURE · ALL SYSTEMS NOMINAL</div>
|
|
<div class="ft-clock" id="live-utc">UTC 00:00:00</div>
|
|
</footer>
|
|
|
|
<!-- 3D Three.js Cosmic Scene -->
|
|
<script>
|
|
(() => {
|
|
'use strict';
|
|
if (typeof THREE === 'undefined') return;
|
|
|
|
const canvas = document.getElementById('webgl-bg');
|
|
const renderer = new THREE.WebGLRenderer({
|
|
canvas: canvas,
|
|
alpha: true,
|
|
antialias: true,
|
|
powerPreference: 'high-performance'
|
|
});
|
|
renderer.setPixelRatio(Math.min(window.devicePixelRatio || 1, 2));
|
|
renderer.setSize(window.innerWidth, window.innerHeight);
|
|
|
|
const scene = new THREE.Scene();
|
|
scene.fog = new THREE.FogExp2(0x02040a, 0.0035);
|
|
|
|
const camera = new THREE.PerspectiveCamera(60, window.innerWidth / window.innerHeight, 0.1, 1000);
|
|
camera.position.set(0, 0, 85);
|
|
|
|
// Deep ambient & accent lights
|
|
scene.add(new THREE.AmbientLight(0x081024, 2.5));
|
|
const lightCyan = new THREE.PointLight(0x8fd9ff, 3.5, 300);
|
|
lightCyan.position.set(50, 40, 40);
|
|
scene.add(lightCyan);
|
|
|
|
const lightAmber = new THREE.PointLight(0xffab4d, 2.8, 250);
|
|
lightAmber.position.set(-60, -30, 20);
|
|
scene.add(lightAmber);
|
|
|
|
const lightViolet = new THREE.PointLight(0xc084fc, 2.8, 250);
|
|
lightViolet.position.set(20, -50, 30);
|
|
scene.add(lightViolet);
|
|
|
|
// 1. Starfield
|
|
const starCount = 3200;
|
|
const starGeo = new THREE.BufferGeometry();
|
|
const starPos = new Float32Array(starCount * 3);
|
|
const starCol = new Float32Array(starCount * 3);
|
|
|
|
const colorPalette = [
|
|
[0.94, 0.96, 1.0], // White-blue
|
|
[0.56, 0.85, 1.0], // Cyan
|
|
[1.0, 0.72, 0.38], // Amber
|
|
[0.78, 0.55, 1.0] // Violet
|
|
];
|
|
|
|
for (let i = 0; i < starCount; i++) {
|
|
starPos[i * 3] = (Math.random() - 0.5) * 320;
|
|
starPos[i * 3 + 1] = (Math.random() - 0.5) * 260;
|
|
starPos[i * 3 + 2] = (Math.random() - 0.5) * 260;
|
|
|
|
const col = colorPalette[Math.floor(Math.random() * colorPalette.length)];
|
|
starCol[i * 3] = col[0];
|
|
starCol[i * 3 + 1] = col[1];
|
|
starCol[i * 3 + 2] = col[2];
|
|
}
|
|
|
|
starGeo.setAttribute('position', new THREE.BufferAttribute(starPos, 3));
|
|
starGeo.setAttribute('color', new THREE.BufferAttribute(starCol, 3));
|
|
|
|
const starMat = new THREE.PointsMaterial({
|
|
size: 0.65,
|
|
vertexColors: true,
|
|
transparent: true,
|
|
opacity: 0.85,
|
|
blending: THREE.AdditiveBlending,
|
|
sizeAttenuation: true
|
|
});
|
|
const starField = new THREE.Points(starGeo, starMat);
|
|
scene.add(starField);
|
|
|
|
// 2. Off-center Celestial Gyroscope / Orbital Ring Structure
|
|
// Placed off-axis so text is NEVER obscured
|
|
const gyroGroup = new THREE.Group();
|
|
gyroGroup.position.set(38, -10, -20); // Off to the right & slightly down
|
|
scene.add(gyroGroup);
|
|
|
|
function createOrbitRing(radius, tube, color, opacity, rotX, rotY) {
|
|
const geo = new THREE.TorusGeometry(radius, tube, 16, 128);
|
|
const mat = new THREE.MeshBasicMaterial({
|
|
color: color,
|
|
transparent: true,
|
|
opacity: opacity,
|
|
blending: THREE.AdditiveBlending
|
|
});
|
|
const mesh = new THREE.Mesh(geo, mat);
|
|
mesh.rotation.x = rotX;
|
|
mesh.rotation.y = rotY;
|
|
return mesh;
|
|
}
|
|
|
|
const ring1 = createOrbitRing(22, 0.12, 0x8fd9ff, 0.38, Math.PI / 3, 0);
|
|
const ring2 = createOrbitRing(16, 0.1, 0xffab4d, 0.3, 0, Math.PI / 4);
|
|
const ring3 = createOrbitRing(28, 0.08, 0xc084fc, 0.25, Math.PI / 2.3, Math.PI / 5);
|
|
|
|
gyroGroup.add(ring1);
|
|
gyroGroup.add(ring2);
|
|
gyroGroup.add(ring3);
|
|
|
|
// Orbiting glowing satellites
|
|
const satGeo = new THREE.SphereGeometry(0.55, 16, 16);
|
|
const satMat1 = new THREE.MeshBasicMaterial({ color: 0x8fd9ff });
|
|
const sat1 = new THREE.Mesh(satGeo, satMat1);
|
|
gyroGroup.add(sat1);
|
|
|
|
const satMat2 = new THREE.MeshBasicMaterial({ color: 0xffab4d });
|
|
const sat2 = new THREE.Mesh(satGeo, satMat2);
|
|
gyroGroup.add(sat2);
|
|
|
|
// Mouse interaction
|
|
let mouseX = 0, mouseY = 0;
|
|
let targetCamX = 0, targetCamY = 0;
|
|
|
|
window.addEventListener('mousemove', (e) => {
|
|
mouseX = (e.clientX / window.innerWidth - 0.5) * 2;
|
|
mouseY = (e.clientY / window.innerHeight - 0.5) * 2;
|
|
targetCamX = mouseX * 8;
|
|
targetCamY = -mouseY * 6;
|
|
}, { passive: true });
|
|
|
|
// Scroll tracking
|
|
let scrollProgress = 0;
|
|
window.addEventListener('scroll', () => {
|
|
const max = Math.max(1, document.documentElement.scrollHeight - window.innerHeight);
|
|
scrollProgress = window.scrollY / max;
|
|
const nav = document.getElementById('nav');
|
|
if (nav) nav.classList.toggle('scrolled', window.scrollY > 40);
|
|
}, { passive: true });
|
|
|
|
// Resize handler
|
|
window.addEventListener('resize', () => {
|
|
const w = window.innerWidth;
|
|
const h = window.innerHeight;
|
|
camera.aspect = w / h;
|
|
camera.updateProjectionMatrix();
|
|
renderer.setSize(w, h);
|
|
});
|
|
|
|
// Clock
|
|
const utcEl = document.getElementById('live-utc');
|
|
function updateTime() {
|
|
if (!utcEl) return;
|
|
const d = new Date();
|
|
const pad = n => String(n).padStart(2, '0');
|
|
utcEl.textContent = `UTC ${pad(d.getUTCHours())}:${pad(d.getUTCMinutes())}:${pad(d.getUTCSeconds())}`;
|
|
}
|
|
setInterval(updateTime, 1000);
|
|
updateTime();
|
|
|
|
// Animation Loop
|
|
const clock = new THREE.Clock();
|
|
function animate() {
|
|
requestAnimationFrame(animate);
|
|
const dt = clock.getDelta();
|
|
const t = clock.getElapsedTime();
|
|
|
|
// Smooth camera parallax
|
|
camera.position.x += (targetCamX - camera.position.x) * 0.05;
|
|
camera.position.y += (targetCamY - camera.position.y) * 0.05;
|
|
|
|
// Camera responds smoothly to scroll
|
|
camera.position.z = 85 - (scrollProgress * 25);
|
|
|
|
// Rotate starfield slowly
|
|
starField.rotation.y = t * 0.015;
|
|
starField.rotation.x = t * 0.008;
|
|
|
|
// Gyroscope ring rotations
|
|
ring1.rotation.z += 0.004;
|
|
ring2.rotation.x += 0.006;
|
|
ring3.rotation.y += 0.003;
|
|
gyroGroup.rotation.y = t * 0.02;
|
|
|
|
// Satellite positions along orbits
|
|
sat1.position.x = Math.cos(t * 0.8) * 22;
|
|
sat1.position.z = Math.sin(t * 0.8) * 22;
|
|
sat1.position.y = Math.sin(t * 0.8) * 10;
|
|
|
|
sat2.position.x = Math.cos(-t * 0.6) * 16;
|
|
sat2.position.y = Math.sin(-t * 0.6) * 16;
|
|
sat2.position.z = Math.cos(-t * 0.6) * 8;
|
|
|
|
renderer.render(scene, camera);
|
|
}
|
|
animate();
|
|
})();
|
|
</script>
|
|
</body>
|
|
</html>
|