1451 lines
26 KiB
CSS
1451 lines
26 KiB
CSS
*,
|
|
*::before,
|
|
*::after {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
:root {
|
|
--bg: #080808;
|
|
--bg-2: #0f0f0f;
|
|
--bg-3: #141414;
|
|
--surface: rgba(255, 255, 255, 0.04);
|
|
--border: rgba(255, 255, 255, 0.08);
|
|
--border-hi: rgba(255, 255, 255, 0.16);
|
|
--accent: #f5f5f7;
|
|
--accent-dim: rgba(245, 245, 247, 0.6);
|
|
--muted: rgba(255, 255, 255, 0.38);
|
|
--radius: 12px;
|
|
--radius-lg: 24px;
|
|
--font: "Google Sans", -apple-system, sans-serif;
|
|
--ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
|
--transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
|
}
|
|
|
|
html {
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
body {
|
|
font-family: var(--font);
|
|
background: var(--bg);
|
|
color: var(--accent);
|
|
line-height: 1.6;
|
|
overflow-x: hidden;
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
|
|
a {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
|
|
code {
|
|
font-family: "SF Mono", "Fira Code", monospace;
|
|
font-size: 0.82em;
|
|
background: rgba(255, 255, 255, 0.08);
|
|
padding: 0.15em 0.4em;
|
|
border-radius: 5px;
|
|
color: rgba(245, 245, 247, 0.85);
|
|
}
|
|
|
|
.bg-orb {
|
|
position: fixed;
|
|
border-radius: 50%;
|
|
filter: blur(100px);
|
|
pointer-events: none;
|
|
z-index: 0;
|
|
opacity: 0.18;
|
|
}
|
|
|
|
.orb-1 {
|
|
width: 600px;
|
|
height: 600px;
|
|
background: radial-gradient(circle, #3a7bd5, transparent 70%);
|
|
top: -200px;
|
|
left: -150px;
|
|
animation: drift 18s ease-in-out infinite alternate;
|
|
}
|
|
|
|
.orb-2 {
|
|
width: 500px;
|
|
height: 500px;
|
|
background: radial-gradient(circle, #1a8a6f, transparent 70%);
|
|
bottom: 10%;
|
|
right: -100px;
|
|
animation: drift 22s ease-in-out infinite alternate-reverse;
|
|
}
|
|
|
|
.orb-3 {
|
|
width: 350px;
|
|
height: 350px;
|
|
background: radial-gradient(circle, #5a2d8a, transparent 70%);
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
animation: drift 28s ease-in-out infinite alternate;
|
|
}
|
|
|
|
@keyframes drift {
|
|
from {
|
|
transform: translate(0, 0);
|
|
}
|
|
|
|
to {
|
|
transform: translate(40px, 30px);
|
|
}
|
|
}
|
|
|
|
.nav {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
z-index: 100;
|
|
padding: 0 24px;
|
|
transition: background var(--transition), border-color var(--transition);
|
|
border-bottom: 1px solid transparent;
|
|
}
|
|
|
|
.nav.scrolled {
|
|
background: rgba(8, 8, 8, 0.75);
|
|
backdrop-filter: blur(20px);
|
|
-webkit-backdrop-filter: blur(20px);
|
|
border-bottom-color: var(--border);
|
|
}
|
|
|
|
.nav-inner {
|
|
max-width: 1100px;
|
|
margin: 0 auto;
|
|
height: 60px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.nav-logo {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 9px;
|
|
font-weight: 600;
|
|
font-size: 0.95rem;
|
|
letter-spacing: -0.01em;
|
|
opacity: 0.9;
|
|
transition: opacity var(--transition);
|
|
}
|
|
|
|
.nav-logo:hover {
|
|
opacity: 1;
|
|
}
|
|
|
|
.nav-icon {
|
|
width: 26px;
|
|
height: 26px;
|
|
border-radius: 7px;
|
|
}
|
|
|
|
.nav-links {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.nav-links a {
|
|
font-size: 0.85rem;
|
|
color: var(--accent-dim);
|
|
padding: 6px 12px;
|
|
border-radius: 8px;
|
|
transition: color var(--transition), background var(--transition);
|
|
}
|
|
|
|
.nav-links a:hover {
|
|
color: var(--accent);
|
|
background: var(--surface);
|
|
}
|
|
|
|
.nav-github {
|
|
display: flex !important;
|
|
align-items: center;
|
|
gap: 6px;
|
|
border: 1px solid var(--border) !important;
|
|
color: var(--accent) !important;
|
|
padding: 6px 14px !important;
|
|
}
|
|
|
|
.nav-github:hover {
|
|
border-color: var(--border-hi) !important;
|
|
background: var(--surface) !important;
|
|
}
|
|
|
|
/* Hamburger button */
|
|
.nav-hamburger {
|
|
display: none;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: 5px;
|
|
width: 36px;
|
|
height: 36px;
|
|
background: transparent;
|
|
border: 1px solid var(--border);
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
padding: 0;
|
|
transition: border-color var(--transition), background var(--transition);
|
|
}
|
|
|
|
.nav-hamburger:hover {
|
|
border-color: var(--border-hi);
|
|
background: var(--surface);
|
|
}
|
|
|
|
.nav-hamburger span {
|
|
display: block;
|
|
width: 16px;
|
|
height: 1.5px;
|
|
background: var(--accent-dim);
|
|
border-radius: 2px;
|
|
transition: transform var(--transition), opacity var(--transition), width var(--transition);
|
|
}
|
|
|
|
.nav-hamburger.open span:nth-child(1) {
|
|
transform: translateY(6.5px) rotate(45deg);
|
|
}
|
|
|
|
.nav-hamburger.open span:nth-child(2) {
|
|
opacity: 0;
|
|
width: 0;
|
|
}
|
|
|
|
.nav-hamburger.open span:nth-child(3) {
|
|
transform: translateY(-6.5px) rotate(-45deg);
|
|
}
|
|
|
|
/* Mobile menu */
|
|
.nav-mobile {
|
|
display: none;
|
|
flex-direction: column;
|
|
padding: 8px 16px 16px;
|
|
gap: 2px;
|
|
border-top: 1px solid var(--border);
|
|
backdrop-filter: blur(20px);
|
|
-webkit-backdrop-filter: blur(20px);
|
|
border-radius: 24px;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.nav-mobile a {
|
|
font-size: 0.9rem;
|
|
color: var(--accent-dim);
|
|
padding: 10px 12px;
|
|
border-radius: 8px;
|
|
transition: color var(--transition), background var(--transition);
|
|
}
|
|
|
|
.nav-mobile a:hover {
|
|
color: var(--accent);
|
|
background: var(--surface);
|
|
}
|
|
|
|
.nav-mobile.open {
|
|
display: flex;
|
|
}
|
|
|
|
.hero {
|
|
position: relative;
|
|
z-index: 1;
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
text-align: center;
|
|
padding: 120px 24px 80px;
|
|
gap: 56px;
|
|
}
|
|
|
|
.hero-badge {
|
|
display: inline-block;
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
letter-spacing: 0.1em;
|
|
text-transform: uppercase;
|
|
color: var(--muted);
|
|
border: 1px solid var(--border);
|
|
padding: 5px 14px;
|
|
border-radius: 50px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.hero-title {
|
|
font-size: clamp(3.5rem, 10vw, 7rem);
|
|
font-weight: 700;
|
|
letter-spacing: -0.04em;
|
|
line-height: 1;
|
|
background: linear-gradient(160deg, #ffffff 30%, rgba(255, 255, 255, 0.45) 100%);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.hero-sub {
|
|
font-size: clamp(1rem, 2vw, 1.2rem);
|
|
color: var(--accent-dim);
|
|
font-weight: 400;
|
|
line-height: 1.65;
|
|
max-width: 480px;
|
|
margin: 0 auto 36px;
|
|
}
|
|
|
|
.hero-actions {
|
|
display: flex;
|
|
gap: 12px;
|
|
justify-content: center;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.hero-image {
|
|
width: 100%;
|
|
max-width: 900px;
|
|
}
|
|
|
|
.screenshot-frame {
|
|
border-radius: var(--radius-lg);
|
|
overflow: hidden;
|
|
border: 1px solid var(--border);
|
|
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04),
|
|
0 40px 100px rgba(0, 0, 0, 0.6),
|
|
0 0 80px rgba(58, 123, 213, 0.08);
|
|
position: relative;
|
|
}
|
|
|
|
.screenshot-frame::before {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0;
|
|
border-radius: var(--radius-lg);
|
|
background: linear-gradient(160deg, rgba(255, 255, 255, 0.04) 0%, transparent 60%);
|
|
pointer-events: none;
|
|
z-index: 1;
|
|
}
|
|
|
|
.screenshot-frame img {
|
|
width: 100%;
|
|
display: block;
|
|
height: auto;
|
|
}
|
|
|
|
.screenshot-link {
|
|
display: block;
|
|
position: relative;
|
|
}
|
|
|
|
.screenshot-overlay {
|
|
position: absolute;
|
|
inset: 0;
|
|
background: rgba(0, 0, 0, 0.45);
|
|
backdrop-filter: blur(6px);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
opacity: 0;
|
|
transition: opacity 0.3s ease;
|
|
}
|
|
|
|
.screenshot-overlay span {
|
|
color: #fff;
|
|
font-size: 14px;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.screenshot-link:hover .screenshot-overlay {
|
|
opacity: 1;
|
|
}
|
|
|
|
.screenshot-link:hover img {
|
|
transform: scale(1.02);
|
|
transition: transform 0.4s ease;
|
|
}
|
|
|
|
.btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
font-family: var(--font);
|
|
font-size: 0.88rem;
|
|
font-weight: 600;
|
|
padding: 10px 22px;
|
|
border-radius: 50px;
|
|
border: 1px solid transparent;
|
|
cursor: pointer;
|
|
transition: all var(--transition);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.btn-large {
|
|
padding: 14px 32px;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: var(--accent);
|
|
color: #0a0a0a;
|
|
border-color: var(--accent);
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
background: rgba(245, 245, 247, 0.88);
|
|
box-shadow: 0 0 24px rgba(245, 245, 247, 0.15);
|
|
}
|
|
|
|
.btn-ghost {
|
|
background: transparent;
|
|
color: var(--accent-dim);
|
|
border-color: var(--border);
|
|
}
|
|
|
|
.btn-ghost:hover {
|
|
color: var(--accent);
|
|
border-color: var(--border-hi);
|
|
background: var(--surface);
|
|
}
|
|
|
|
.section {
|
|
position: relative;
|
|
z-index: 1;
|
|
padding: 100px 24px;
|
|
}
|
|
|
|
.section-dark {
|
|
background: var(--bg-2);
|
|
border-top: 1px solid var(--border);
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.section-install {
|
|
background: radial-gradient(ellipse at 50% 0%, rgba(58, 123, 213, 0.06) 0%, transparent 70%);
|
|
}
|
|
|
|
.section-inner {
|
|
max-width: 1100px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.section-label {
|
|
font-size: 0.72rem;
|
|
font-weight: 600;
|
|
letter-spacing: 0.12em;
|
|
text-transform: uppercase;
|
|
color: var(--muted);
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.section-title {
|
|
font-size: clamp(1.8rem, 4vw, 2.8rem);
|
|
font-weight: 700;
|
|
letter-spacing: -0.03em;
|
|
line-height: 1.1;
|
|
margin-bottom: 16px;
|
|
background: linear-gradient(140deg, #ffffff 40%, rgba(255, 255, 255, 0.55) 100%);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
}
|
|
|
|
.section-desc {
|
|
font-size: 1rem;
|
|
color: var(--accent-dim);
|
|
max-width: 520px;
|
|
margin-bottom: 48px;
|
|
line-height: 1.7;
|
|
}
|
|
|
|
.features-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
|
|
gap: 16px;
|
|
margin-top: 48px;
|
|
}
|
|
|
|
.feature-card {
|
|
background: var(--surface);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-lg);
|
|
padding: 28px;
|
|
transition: border-color var(--transition), background var(--transition);
|
|
}
|
|
|
|
.feature-card:hover {
|
|
border-color: var(--border-hi);
|
|
background: rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.feature-icon {
|
|
width: 40px;
|
|
height: 40px;
|
|
background: rgba(255, 255, 255, 0.07);
|
|
border-radius: 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-bottom: 18px;
|
|
color: var(--accent-dim);
|
|
}
|
|
|
|
.feature-card h3 {
|
|
font-size: 0.95rem;
|
|
font-weight: 600;
|
|
margin-bottom: 8px;
|
|
letter-spacing: -0.01em;
|
|
}
|
|
|
|
.feature-card p {
|
|
font-size: 0.85rem;
|
|
color: var(--muted);
|
|
line-height: 1.65;
|
|
}
|
|
|
|
.preview-grid {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
margin-top: 48px;
|
|
}
|
|
|
|
.preview-row {
|
|
display: flex;
|
|
gap: 14px;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.preview-col {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
flex: 1;
|
|
}
|
|
|
|
.preview-col .preview-item {
|
|
flex: 1;
|
|
}
|
|
|
|
.preview-full {
|
|
width: 100%;
|
|
}
|
|
|
|
.preview-sidebar {
|
|
flex: 0 0 auto;
|
|
width: 22%;
|
|
}
|
|
|
|
.preview-stretch {
|
|
flex: 1;
|
|
}
|
|
|
|
.preview-half {
|
|
flex: 1;
|
|
}
|
|
|
|
.preview-item {
|
|
position: relative;
|
|
border-radius: var(--radius-lg);
|
|
overflow: hidden;
|
|
border: 1px solid var(--border);
|
|
cursor: pointer;
|
|
transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
|
|
}
|
|
|
|
.preview-item:hover {
|
|
border-color: var(--border-hi);
|
|
transform: translateY(-3px);
|
|
box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
|
|
}
|
|
|
|
.preview-item img {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: block;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.preview-caption {
|
|
position: absolute;
|
|
bottom: 10px;
|
|
left: 12px;
|
|
font-size: 0.72rem;
|
|
font-weight: 600;
|
|
letter-spacing: 0.05em;
|
|
text-transform: uppercase;
|
|
color: rgba(255, 255, 255, 0.5);
|
|
background: rgba(0, 0, 0, 0.5);
|
|
backdrop-filter: blur(8px);
|
|
padding: 3px 9px;
|
|
border-radius: 50px;
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.customise-layout {
|
|
display: flex;
|
|
gap: 28px;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.customise-code {
|
|
flex: 1 1 0;
|
|
min-width: 0;
|
|
}
|
|
|
|
.customise-sidebar {
|
|
flex: 0 0 260px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 24px;
|
|
}
|
|
|
|
.customise-block-label {
|
|
font-size: 0.72rem;
|
|
font-weight: 600;
|
|
letter-spacing: 0.1em;
|
|
text-transform: uppercase;
|
|
color: var(--muted);
|
|
margin-bottom: 12px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.accent-swatches {
|
|
display: flex;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.swatch {
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 50%;
|
|
background: rgb(var(--c));
|
|
border: 2px solid rgba(255, 255, 255, 0.1);
|
|
cursor: pointer;
|
|
position: relative;
|
|
transition: transform var(--transition), box-shadow var(--transition),
|
|
border-color var(--transition), outline var(--transition);
|
|
outline: 2px solid transparent;
|
|
outline-offset: 3px;
|
|
}
|
|
|
|
.swatch:hover {
|
|
transform: scale(1.12);
|
|
border-color: rgba(255, 255, 255, 0.28);
|
|
box-shadow: 0 0 14px rgba(var(--c), 0.45);
|
|
}
|
|
|
|
.swatch.active {
|
|
outline-color: rgba(255, 255, 255, 0.5);
|
|
}
|
|
|
|
.swatch::after {
|
|
content: attr(data-label);
|
|
position: absolute;
|
|
bottom: -20px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
font-size: 0.62rem;
|
|
color: var(--muted);
|
|
white-space: nowrap;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.radius-slider-wrap {
|
|
position: relative;
|
|
padding-bottom: 28px;
|
|
}
|
|
|
|
.radius-slider {
|
|
-webkit-appearance: none;
|
|
appearance: none;
|
|
width: 100%;
|
|
height: 4px;
|
|
background: var(--border);
|
|
border-radius: 2px;
|
|
outline: none;
|
|
cursor: pointer;
|
|
position: relative;
|
|
z-index: 1;
|
|
transition: background var(--transition);
|
|
}
|
|
|
|
.radius-slider::-webkit-slider-thumb {
|
|
-webkit-appearance: none;
|
|
appearance: none;
|
|
width: 18px;
|
|
height: 18px;
|
|
border-radius: 50%;
|
|
background: var(--accent);
|
|
border: 2px solid rgba(0, 0, 0, 0.4);
|
|
cursor: pointer;
|
|
box-shadow: 0 0 8px rgba(245, 245, 247, 0.3);
|
|
transition: box-shadow var(--transition), transform var(--transition);
|
|
}
|
|
|
|
.radius-slider::-moz-range-thumb {
|
|
width: 18px;
|
|
height: 18px;
|
|
border-radius: 50%;
|
|
background: var(--accent);
|
|
border: 2px solid rgba(0, 0, 0, 0.4);
|
|
cursor: pointer;
|
|
box-shadow: 0 0 8px rgba(245, 245, 247, 0.3);
|
|
}
|
|
|
|
.radius-slider:hover::-webkit-slider-thumb {
|
|
box-shadow: 0 0 14px rgba(245, 245, 247, 0.5);
|
|
transform: scale(1.1);
|
|
}
|
|
|
|
.radius-slider::-webkit-slider-runnable-track {
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.radius-slider::-moz-range-track {
|
|
height: 4px;
|
|
border-radius: 2px;
|
|
background: var(--border);
|
|
}
|
|
|
|
.radius-stops {
|
|
position: absolute;
|
|
bottom: 6px;
|
|
left: 0;
|
|
right: 0;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 0 2px;
|
|
}
|
|
|
|
.radius-stops span {
|
|
font-size: 0.6rem;
|
|
color: var(--muted);
|
|
cursor: pointer;
|
|
transition: color var(--transition);
|
|
position: relative;
|
|
}
|
|
|
|
.radius-stops span::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: -14px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
width: 1px;
|
|
height: 6px;
|
|
background: var(--border);
|
|
}
|
|
|
|
.radius-stops span.active {
|
|
color: var(--accent);
|
|
}
|
|
|
|
.radius-stops span.active::before {
|
|
background: var(--accent);
|
|
}
|
|
|
|
.radius-preview-row {
|
|
margin-top: 18px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
.prev-nav {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
background: rgba(30, 30, 30, 0.8);
|
|
border: 1px solid var(--border);
|
|
border-radius: 50px;
|
|
padding: 4px;
|
|
width: fit-content;
|
|
}
|
|
|
|
.prev-nav-pill {
|
|
font-size: 0.72rem;
|
|
font-weight: 600;
|
|
padding: 5px 14px;
|
|
border-radius: 50px;
|
|
color: var(--muted);
|
|
transition: background 0.2s var(--ease), color 0.2s var(--ease), border-radius 0.2s var(--ease);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.prev-nav-active {
|
|
background: rgb(245, 245, 247);
|
|
color: #121212;
|
|
}
|
|
|
|
.prev-listitem {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
background: rgba(255, 255, 255, 0.06);
|
|
border: 1px solid var(--border);
|
|
border-radius: 10px;
|
|
padding: 10px 14px;
|
|
font-size: 0.8rem;
|
|
color: rgb(245, 245, 247);
|
|
transition: background 0.2s var(--ease), border-radius 0.2s var(--ease);
|
|
}
|
|
|
|
.prev-listitem-icon {
|
|
width: 28px;
|
|
height: 28px;
|
|
border-radius: 50px;
|
|
background: rgba(245, 245, 247, 0.15);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: rgb(245, 245, 247);
|
|
flex-shrink: 0;
|
|
transition: background 0.2s var(--ease);
|
|
}
|
|
|
|
.prev-card {
|
|
border-radius: 10px;
|
|
overflow: hidden;
|
|
border: 1px solid var(--border);
|
|
transition: border-radius 0.2s var(--ease);
|
|
background: #1a1a2e;
|
|
}
|
|
|
|
.prev-card-img {
|
|
position: relative;
|
|
height: 90px;
|
|
background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.prev-card-overlay {
|
|
position: absolute;
|
|
inset: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.prev-play-btn {
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 10px;
|
|
background: rgba(245, 245, 247, 0.15);
|
|
backdrop-filter: blur(8px);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: rgb(245, 245, 247);
|
|
transition: background 0.2s var(--ease), border-radius 0.2s var(--ease), color 0.2s var(--ease);
|
|
}
|
|
|
|
.prev-card-bar {
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 3px;
|
|
background: rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.prev-card-progress {
|
|
width: 35%;
|
|
height: 100%;
|
|
background: rgb(245, 245, 247);
|
|
transition: background 0.2s var(--ease);
|
|
}
|
|
|
|
.var-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.var-table tr {
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.var-table tr:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.var-table td {
|
|
padding: 10px 4px;
|
|
vertical-align: top;
|
|
}
|
|
|
|
.var-name {
|
|
white-space: nowrap;
|
|
padding-right: 14px !important;
|
|
}
|
|
|
|
.var-name code {
|
|
font-size: 0.75rem;
|
|
color: #b39ddb;
|
|
background: rgba(179, 157, 219, 0.1);
|
|
}
|
|
|
|
.var-desc {
|
|
color: var(--muted);
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.code-block {
|
|
background: var(--bg-3);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-lg);
|
|
overflow: hidden;
|
|
margin-bottom: 32px;
|
|
max-width: 680px;
|
|
}
|
|
|
|
.install-code {
|
|
max-width: 780px;
|
|
}
|
|
|
|
.code-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 10px 18px;
|
|
border-bottom: 1px solid var(--border);
|
|
background: rgba(255, 255, 255, 0.02);
|
|
}
|
|
|
|
.code-lang {
|
|
font-size: 0.72rem;
|
|
font-weight: 600;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.copy-btn {
|
|
font-family: var(--font);
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
color: var(--accent-dim);
|
|
background: transparent;
|
|
border: 1px solid var(--border);
|
|
border-radius: 6px;
|
|
padding: 4px 10px;
|
|
cursor: pointer;
|
|
transition: all var(--transition);
|
|
}
|
|
|
|
.copy-btn:hover {
|
|
color: var(--accent);
|
|
border-color: var(--border-hi);
|
|
background: var(--surface);
|
|
}
|
|
|
|
.copy-btn.copied {
|
|
color: #4caf88;
|
|
border-color: rgba(76, 175, 136, 0.3);
|
|
}
|
|
|
|
pre {
|
|
padding: 20px 22px;
|
|
overflow-x: auto;
|
|
font-family: "SF Mono", "Fira Code", monospace;
|
|
font-size: 0.83rem;
|
|
line-height: 1.7;
|
|
color: rgba(245, 245, 247, 0.75);
|
|
}
|
|
|
|
pre .c {
|
|
color: rgba(255, 255, 255, 0.28);
|
|
}
|
|
|
|
pre .sel {
|
|
color: #79b8ff;
|
|
}
|
|
|
|
pre .var {
|
|
color: #b39ddb;
|
|
}
|
|
|
|
pre .val {
|
|
color: #a5d6a7;
|
|
transition: color 0.4s ease;
|
|
}
|
|
|
|
pre .prop {
|
|
color: #79b8ff;
|
|
}
|
|
|
|
pre .str {
|
|
color: #f48fb1;
|
|
}
|
|
|
|
/* Install section */
|
|
.install-download {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 12px;
|
|
margin-bottom: 32px;
|
|
}
|
|
|
|
.install-note {
|
|
font-size: 0.82rem;
|
|
color: var(--muted);
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.install-note a {
|
|
color: var(--accent-dim);
|
|
border-bottom: 1px solid var(--border);
|
|
transition: color var(--transition), border-color var(--transition);
|
|
}
|
|
|
|
.install-note a:hover {
|
|
color: var(--accent);
|
|
border-color: var(--border-hi);
|
|
}
|
|
|
|
.install-details {
|
|
background: var(--surface);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-lg);
|
|
padding: 0;
|
|
margin-bottom: 40px;
|
|
max-width: 680px;
|
|
transition: border-color var(--transition);
|
|
}
|
|
|
|
.install-details[open] {
|
|
border-color: var(--border-hi);
|
|
}
|
|
|
|
.install-details summary {
|
|
font-size: 0.88rem;
|
|
font-weight: 600;
|
|
color: var(--accent-dim);
|
|
padding: 16px 20px;
|
|
cursor: pointer;
|
|
list-style: none;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
transition: color var(--transition);
|
|
}
|
|
|
|
.install-details summary::-webkit-details-marker {
|
|
display: none;
|
|
}
|
|
|
|
.install-details summary::before {
|
|
content: '';
|
|
width: 16px;
|
|
height: 16px;
|
|
flex-shrink: 0;
|
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='rgba(245,245,247,0.6)' stroke-width='2'%3E%3Cpath d='M9 18l6-6-6-6'/%3E%3C/svg%3E");
|
|
background-repeat: no-repeat;
|
|
background-position: center;
|
|
transition: transform var(--transition);
|
|
}
|
|
|
|
.install-details[open] summary::before {
|
|
transform: rotate(90deg);
|
|
}
|
|
|
|
.install-details summary:hover {
|
|
color: var(--accent);
|
|
}
|
|
|
|
.install-details-body {
|
|
padding: 0 20px 20px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
border-top: 1px solid var(--border);
|
|
padding-top: 16px;
|
|
}
|
|
|
|
.install-details-body p {
|
|
font-size: 0.85rem;
|
|
color: var(--muted);
|
|
line-height: 1.7;
|
|
}
|
|
|
|
.install-details-body a {
|
|
color: var(--accent-dim);
|
|
border-bottom: 1px solid var(--border);
|
|
transition: color var(--transition);
|
|
}
|
|
|
|
.install-details-body a:hover {
|
|
color: var(--accent);
|
|
}
|
|
|
|
.install-divider {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
margin: 40px 0 24px;
|
|
max-width: 680px;
|
|
}
|
|
|
|
.install-divider::before,
|
|
.install-divider::after {
|
|
content: '';
|
|
flex: 1;
|
|
height: 1px;
|
|
background: var(--border);
|
|
}
|
|
|
|
.install-divider span {
|
|
font-size: 0.78rem;
|
|
color: var(--muted);
|
|
white-space: nowrap;
|
|
font-weight: 500;
|
|
letter-spacing: 0.05em;
|
|
}
|
|
|
|
.install-manual-desc {
|
|
font-size: 1rem;
|
|
color: var(--accent-dim);
|
|
margin-bottom: 72px;
|
|
line-height: 1.6;
|
|
max-width: 680px;
|
|
}
|
|
|
|
.install-manual-desc strong {
|
|
color: var(--accent);
|
|
}
|
|
|
|
.install-links {
|
|
display: flex;
|
|
gap: 12px;
|
|
flex-wrap: wrap;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.os-picker {
|
|
display: flex;
|
|
gap: 12px;
|
|
margin-bottom: 32px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.os-card {
|
|
flex: 1;
|
|
min-width: 120px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 20px 16px;
|
|
background: var(--surface);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-lg);
|
|
cursor: pointer;
|
|
transition: border-color var(--transition), background var(--transition);
|
|
font-family: var(--font);
|
|
color: var(--accent-dim);
|
|
}
|
|
|
|
.os-card:hover {
|
|
border-color: var(--border-hi);
|
|
background: rgba(255, 255, 255, 0.06);
|
|
color: var(--accent);
|
|
}
|
|
|
|
.os-card.active {
|
|
border-color: rgba(245, 245, 247, 0.4);
|
|
background: rgba(245, 245, 247, 0.07);
|
|
color: var(--accent);
|
|
}
|
|
|
|
.os-icon {
|
|
width: 32px;
|
|
height: 32px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.os-name {
|
|
font-size: 0.95rem;
|
|
font-weight: 600;
|
|
letter-spacing: -0.01em;
|
|
}
|
|
|
|
.os-ext {
|
|
font-size: 0.72rem;
|
|
font-family: "SF Mono", "Fira Code", monospace;
|
|
color: var(--muted);
|
|
background: rgba(255, 255, 255, 0.06);
|
|
padding: 2px 7px;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.os-card.active .os-ext {
|
|
color: var(--accent-dim);
|
|
background: rgba(245, 245, 247, 0.1);
|
|
}
|
|
|
|
.footer {
|
|
position: relative;
|
|
z-index: 1;
|
|
border-top: 1px solid var(--border);
|
|
padding: 48px 24px 32px;
|
|
}
|
|
|
|
.footer-inner {
|
|
max-width: 1100px;
|
|
margin: 0 auto;
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 32px;
|
|
flex-wrap: wrap;
|
|
margin-bottom: 32px;
|
|
}
|
|
|
|
.footer-left .nav-logo {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.footer-left p {
|
|
font-size: 0.82rem;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.footer-right {
|
|
display: flex;
|
|
gap: 24px;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.footer-right a {
|
|
font-size: 0.82rem;
|
|
color: var(--muted);
|
|
transition: color var(--transition);
|
|
}
|
|
|
|
.footer-right a:hover {
|
|
color: var(--accent);
|
|
}
|
|
|
|
.footer-bottom {
|
|
max-width: 1100px;
|
|
margin: 0 auto;
|
|
padding-top: 24px;
|
|
border-top: 1px solid var(--border);
|
|
}
|
|
|
|
.footer-bottom p {
|
|
font-size: 0.78rem;
|
|
color: rgba(255, 255, 255, 0.22);
|
|
}
|
|
|
|
.footer-bottom a {
|
|
color: rgba(255, 255, 255, 0.38);
|
|
transition: color var(--transition);
|
|
}
|
|
|
|
.footer-bottom a:hover {
|
|
color: var(--accent-dim);
|
|
}
|
|
|
|
/* Scroll to top button */
|
|
.scroll-top {
|
|
position: fixed;
|
|
bottom: 28px;
|
|
right: 28px;
|
|
z-index: 90;
|
|
width: 42px;
|
|
height: 42px;
|
|
border-radius: 50%;
|
|
background: rgba(20, 20, 20, 0.85);
|
|
backdrop-filter: blur(12px);
|
|
-webkit-backdrop-filter: blur(12px);
|
|
border: 1px solid var(--border);
|
|
color: var(--accent-dim);
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
transform: translateY(12px);
|
|
transition: opacity var(--transition), transform var(--transition),
|
|
border-color var(--transition), color var(--transition);
|
|
}
|
|
|
|
.scroll-top.visible {
|
|
opacity: 1;
|
|
pointer-events: auto;
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.scroll-top:hover {
|
|
border-color: var(--border-hi);
|
|
color: var(--accent);
|
|
}
|
|
|
|
.reveal {
|
|
opacity: 0;
|
|
transform: translateY(22px);
|
|
transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
|
|
}
|
|
|
|
.reveal.visible {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.reveal-delay {
|
|
transition-delay: 0.12s;
|
|
}
|
|
|
|
.reveal-delay-2 {
|
|
transition-delay: 0.24s;
|
|
}
|
|
|
|
/* Responsive */
|
|
@media (max-width: 768px) {
|
|
.nav-links {
|
|
display: none;
|
|
}
|
|
|
|
.nav-hamburger {
|
|
display: flex;
|
|
}
|
|
|
|
.hero {
|
|
padding: 100px 20px 60px;
|
|
}
|
|
|
|
.preview-row {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.preview-sidebar {
|
|
width: 100%;
|
|
}
|
|
|
|
.features-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.customise-layout {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.customise-sidebar {
|
|
flex: none;
|
|
width: 100%;
|
|
}
|
|
|
|
.customise-code {
|
|
width: 100%;
|
|
min-width: 0;
|
|
}
|
|
|
|
.customise-code .code-block {
|
|
width: 100%;
|
|
max-width: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.customise-code pre {
|
|
overflow-x: auto;
|
|
max-width: 100%;
|
|
font-size: 0.72rem;
|
|
}
|
|
|
|
.customise-code code {
|
|
display: block;
|
|
width: max-content;
|
|
min-width: 100%;
|
|
}
|
|
|
|
.footer-inner {
|
|
flex-direction: column;
|
|
gap: 24px;
|
|
}
|
|
|
|
.install-details {
|
|
max-width: 100%;
|
|
}
|
|
|
|
.install-manual-desc {
|
|
max-width: 100%;
|
|
}
|
|
|
|
.scroll-top {
|
|
bottom: 20px;
|
|
right: 20px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.hero-actions {
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
.install-links {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.install-download {
|
|
align-items: stretch;
|
|
}
|
|
|
|
.btn-large {
|
|
text-align: center;
|
|
justify-content: center;
|
|
}
|
|
}
|
|
|
|
.video-frame {
|
|
aspect-ratio: 16 / 9;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.video-frame iframe {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: block;
|
|
border: 0;
|
|
/* Hides YouTube controls bar bleed at edges */
|
|
margin: -1px;
|
|
}
|
|
|
|
.section-video {
|
|
padding: 0 24px 80px;
|
|
}
|
|
|
|
.video-embed {
|
|
max-width: 900px;
|
|
margin: 0 auto;
|
|
border-radius: var(--radius-lg);
|
|
overflow: hidden;
|
|
border: 1px solid var(--border);
|
|
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04),
|
|
0 40px 100px rgba(0, 0, 0, 0.6),
|
|
0 0 80px rgba(58, 123, 213, 0.08);
|
|
aspect-ratio: 16 / 9;
|
|
position: relative;
|
|
}
|
|
|
|
.video-embed iframe {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: block;
|
|
} |