Files
caddy-proxy-manager/site/styles.css
akanealw 99819b70ff
Some checks failed
Build and Push Docker Images (Trusted) / build-and-push (., docker/caddy/Dockerfile, caddy) (push) Has been cancelled
Build and Push Docker Images (Trusted) / build-and-push (., docker/l4-port-manager/Dockerfile, l4-port-manager) (push) Has been cancelled
Build and Push Docker Images (Trusted) / build-and-push (., docker/web/Dockerfile, web) (push) Has been cancelled
Tests / test (push) Has been cancelled
added caddy-proxy-manager for testing
2026-04-21 22:49:08 +00:00

409 lines
7.5 KiB
CSS
Executable File

:root {
color-scheme: dark;
--bg: #000;
--bg-subtle: #0a0a0a;
--bg-card: #111;
--fg: #f5f5f7;
--fg-muted: #86868b;
--fg-subtle: #515154;
--border: #1d1d1f;
--primary: #6366f1;
--primary-glow: rgba(99, 102, 241, 0.3);
--radius: 1rem;
--font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
--max-width: 1100px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
background-color: var(--bg);
color: var(--fg);
font-family: var(--font-sans);
line-height: 1.6;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
overflow-x: hidden;
}
.container {
width: 100%;
max-width: var(--max-width);
margin: 0 auto;
padding: 0 2rem;
}
/* ── Aurora ── */
.aurora-bg {
position: fixed;
inset: 0;
z-index: -1;
background:
radial-gradient(ellipse 80% 50% at 10% 0%, rgba(99,102,241,0.12) 0%, transparent 60%),
radial-gradient(ellipse 60% 40% at 90% 10%, rgba(168,85,247,0.10) 0%, transparent 60%);
pointer-events: none;
}
/* ── Header ── */
header {
position: sticky;
top: 0;
z-index: 100;
border-bottom: 1px solid var(--border);
background: rgba(0, 0, 0, 0.72);
backdrop-filter: blur(20px) saturate(180%);
-webkit-backdrop-filter: blur(20px) saturate(180%);
}
.header-inner {
display: flex;
justify-content: space-between;
align-items: center;
height: 3.5rem;
}
.logo {
display: flex;
align-items: center;
gap: 0.5rem;
font-weight: 600;
font-size: 0.9rem;
color: var(--fg);
text-decoration: none;
letter-spacing: -0.01em;
}
.nav-links {
display: flex;
align-items: center;
gap: 2rem;
}
.nav-links a {
color: var(--fg-muted);
text-decoration: none;
font-size: 0.85rem;
font-weight: 500;
transition: color 0.15s;
}
.nav-links a:hover { color: var(--fg); }
/* ── Hero ── */
.hero {
padding: 6.5rem 0 4rem;
text-align: center;
}
.hero-eyebrow {
display: inline-block;
font-size: 0.8rem;
font-weight: 600;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--primary);
margin-bottom: 1.5rem;
}
.hero h1 {
font-size: clamp(3rem, 7vw, 5.25rem);
font-weight: 900;
letter-spacing: -0.04em;
line-height: 1.08;
margin-bottom: 1.25rem;
padding: 0 0.04em 0.12em;
background: linear-gradient(160deg, #fff 0%, #86868b 100%);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.hero > p {
font-size: 1.2rem;
color: var(--fg-muted);
max-width: 680px;
margin: 0 auto 2rem;
line-height: 1.7;
}
.btn-group {
display: flex;
justify-content: center;
gap: 0.75rem;
margin-bottom: 3rem;
}
.btn {
display: inline-flex;
align-items: center;
gap: 0.4rem;
padding: 0.7rem 1.4rem;
border-radius: 2rem;
font-weight: 600;
font-size: 0.9rem;
text-decoration: none;
transition: all 0.2s;
white-space: nowrap;
}
.btn-primary {
background: var(--fg);
color: #000;
}
.btn-primary:hover { background: #e0e0e0; }
.btn-secondary {
background: transparent;
color: var(--fg);
border: 1px solid rgba(255,255,255,0.15);
}
.btn-secondary:hover { background: rgba(255,255,255,0.06); }
/* ── Hero screenshot ── */
.showcase { perspective: 1400px; }
.screenshot-main {
border-radius: 1.25rem;
border: 1px solid rgba(255,255,255,0.08);
box-shadow:
0 0 0 1px rgba(255,255,255,0.04),
0 40px 80px -20px rgba(0,0,0,0.8),
0 0 120px -30px var(--primary-glow);
overflow: hidden;
background: var(--bg-subtle);
transform: rotateX(2deg);
}
.screenshot-main img {
display: block;
width: 100%;
height: auto;
}
/* ── Section shared ── */
.eyebrow {
display: inline-block;
font-size: 0.75rem;
font-weight: 700;
letter-spacing: 0.1em;
text-transform: uppercase;
color: var(--primary);
margin-bottom: 1rem;
}
.section-header {
text-align: center;
margin-bottom: 4rem;
}
.section-header h2 {
font-size: clamp(2rem, 4vw, 3rem);
font-weight: 800;
letter-spacing: -0.03em;
line-height: 1.1;
margin-bottom: 1rem;
color: var(--fg);
}
.section-header p {
color: var(--fg-muted);
font-size: 1.05rem;
max-width: 500px;
margin: 0 auto;
}
/* ── Features Grid ── */
.features {
padding: 8rem 0;
border-top: 1px solid var(--border);
}
.grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1px;
background: var(--border);
border: 1px solid var(--border);
border-radius: var(--radius);
overflow: hidden;
}
.card {
background: var(--bg-card);
padding: 2rem;
transition: background 0.2s;
}
.card:hover { background: #161616; }
.card-icon {
font-size: 1.5rem;
margin-bottom: 1rem;
display: block;
}
.card h3 {
font-size: 1rem;
font-weight: 700;
margin-bottom: 0.5rem;
letter-spacing: -0.01em;
color: var(--fg);
}
.card p {
color: var(--fg-muted);
font-size: 0.9rem;
line-height: 1.65;
}
/* ── Spotlight Sections ── */
.spotlight-section {
padding: 7rem 0;
border-top: 1px solid var(--border);
}
.spotlight {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 5rem;
align-items: center;
}
.spotlight-reverse .spotlight {
direction: rtl;
}
.spotlight-reverse .spotlight > * {
direction: ltr;
}
.spotlight-text { max-width: 440px; }
.spotlight-text h2 {
font-size: clamp(2rem, 3.5vw, 2.75rem);
font-weight: 800;
letter-spacing: -0.03em;
line-height: 1.1;
margin-bottom: 1.25rem;
color: var(--fg);
}
.spotlight-text p {
font-size: 1.05rem;
color: var(--fg-muted);
line-height: 1.75;
}
.spotlight-image {
border-radius: 1.25rem;
border: 1px solid rgba(255,255,255,0.07);
overflow: hidden;
box-shadow:
0 30px 70px -15px rgba(0,0,0,0.7),
0 0 0 1px rgba(255,255,255,0.03);
background: var(--bg-subtle);
}
.spotlight-image img {
display: block;
width: 100%;
height: auto;
}
/* ── Deployment ── */
.deployment {
padding: 8rem 0;
border-top: 1px solid var(--border);
}
.deploy-inner {
max-width: 700px;
margin: 0 auto;
text-align: center;
}
.code-block {
background: #0d0d0d;
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 1.75rem 2rem;
font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
font-size: 0.875rem;
text-align: left;
margin-top: 2.5rem;
}
.code-line { line-height: 2; }
.command { color: #e2e8f0; }
.comment { color: #4a4a52; }
.deploy-note {
margin-top: 1.5rem;
font-size: 0.875rem;
color: var(--fg-subtle);
}
.deploy-note code {
font-family: 'Menlo', monospace;
font-size: 0.82rem;
color: var(--fg-muted);
background: rgba(255,255,255,0.06);
padding: 0.15em 0.4em;
border-radius: 0.25rem;
}
/* ── Footer ── */
footer {
border-top: 1px solid var(--border);
padding: 2.5rem 0;
}
.footer-inner {
display: flex;
align-items: center;
justify-content: space-between;
}
.footer-logo { opacity: 0.4; }
.footer-logo:hover { opacity: 0.7; }
footer p {
font-size: 0.8rem;
color: var(--fg-subtle);
}
/* ── Mobile ── */
@media (max-width: 860px) {
.spotlight {
grid-template-columns: 1fr;
gap: 2.5rem;
}
.spotlight-reverse .spotlight {
direction: ltr;
}
.spotlight-text { max-width: 100%; }
.hero { padding: 5rem 0 3.5rem; }
.grid { grid-template-columns: repeat(2, 1fr); }
.footer-inner { flex-direction: column; gap: 1rem; text-align: center; }
}
@media (max-width: 600px) {
.nav-links { display: none; }
.hero h1 {
font-size: 2.75rem;
line-height: 1.12;
padding-bottom: 0.1em;
}
.btn-group { flex-direction: column; align-items: center; }
}