Files

649 lines
11 KiB
CSS

:root {
/* Colors */
--brand-dark: #0f172a;
--brand-light: #e2e8f0;
--brand-accent: #3b82f6;
--brand-accent-hover: #2563eb;
--brand-card: #1e293b;
--slate-300: #cbd5e1;
--slate-400: #94a3b8;
--slate-500: #64748b;
--slate-600: #475569;
--slate-700: #334155;
--slate-800: #1e293b;
--card-border: rgba(51, 65, 85, 0.5); /* slate-700 w/ opacity */
/* Icon Backgrounds */
--icon-bg-blue: rgba(59, 130, 246, 0.1);
--icon-bg-purple: rgba(168, 85, 247, 0.1);
--icon-bg-green: rgba(34, 197, 94, 0.1);
--icon-bg-orange: rgba(249, 115, 22, 0.1);
--icon-bg-teal: rgba(20, 184, 166, 0.1);
/* Icon Colors */
--icon-blue: #60a5fa;
--icon-purple: #c084fc;
--icon-green: #4ade80;
--icon-orange: #fb923c;
--icon-teal: #2dd4bf;
--ad-bg: rgba(0, 0, 0, 0.2);
--bg-section: rgba(0, 0, 0, 0.3);
--max-width-xl: 80rem; /* 1280px */
--max-width-md: 56rem; /* ~896px */
}
*,
*::before,
*::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
background-color: var(--brand-dark);
color: var(--brand-light);
font-family:
-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
line-height: 1.5;
scroll-behavior: smooth;
}
::selection {
background: var(--brand-accent);
color: #fff;
}
a {
text-decoration: none;
color: inherit;
}
/* Base Utility Classes */
.container {
max-width: var(--max-width-xl);
margin: 0 auto;
padding: 0 1rem;
}
@media (min-width: 640px) {
.container {
padding: 0 1.5rem;
}
}
@media (min-width: 1024px) {
.container {
padding: 0 2rem;
}
}
.container-sm {
max-width: var(--max-width-md);
margin: 0 auto;
padding: 0 1rem;
}
.text-center {
text-align: center;
}
.flex {
display: flex;
}
.items-center {
align-items: center;
}
.justify-between {
justify-content: space-between;
}
.justify-center {
justify-content: center;
}
.gap-2 {
gap: 0.5rem;
}
.gap-4 {
gap: 1rem;
}
.gap-6 {
gap: 1.5rem;
}
.hidden {
display: none;
}
@media (min-width: 768px) {
.md-block {
display: block;
}
}
/* Navbar */
.navbar {
position: sticky;
top: 0;
z-index: 50;
background-color: rgba(15, 23, 42, 0.9);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border-bottom: 1px solid var(--slate-800);
}
.navbar-inner {
height: 4rem;
}
.logo-text {
font-weight: 700;
font-size: 1.25rem;
letter-spacing: -0.025em;
}
.lucide {
color: var(--brand-accent);
width: 2rem;
height: 2rem;
}
.nav-links {
display: flex;
margin-left: 2.5rem;
gap: 2rem;
}
.nav-link {
padding: 0.5rem 0.75rem;
border-radius: 0.375rem;
font-size: 0.875rem;
font-weight: 500;
transition: color 0.2s;
}
.nav-link:hover {
color: #fff;
}
.btn-github {
background-color: rgba(255, 255, 255, 0.1);
color: #fff;
padding: 0.5rem 1rem;
border-radius: 0.5rem;
font-size: 0.875rem;
font-weight: 500;
transition: background-color 0.2s;
}
.btn-github:hover {
background-color: rgba(255, 255, 255, 0.2);
}
.btn-github .lucide {
width: 1rem;
height: 1rem;
color: #fff;
}
/* Ads Section */
.ad-section {
width: 100%;
padding: 1rem 0;
background-color: var(--ad-bg);
border-bottom: 1px solid var(--slate-800);
}
.ad-placeholder {
background: repeating-linear-gradient(
45deg,
#1e293b,
#1e293b 10px,
#0f172a 10px,
#0f172a 20px
);
border: 1px dashed #475569;
display: flex;
align-items: center;
justify-content: center;
color: #94a3b8;
font-size: 0.875rem;
text-align: center;
overflow: hidden;
border-radius: 0.25rem;
}
.ad-leaderboard {
width: 100%;
max-width: 728px;
height: 90px;
}
.ad-billboard {
width: 100%;
max-width: 970px;
height: 90px;
border-radius: 0.75rem;
}
@media (min-width: 768px) {
.ad-billboard {
height: 250px;
}
}
.ad-rectangle {
width: 100%;
height: 100%;
min-height: 200px;
border-radius: 0.75rem;
}
.ad-text-small {
font-size: 0.75rem;
opacity: 0.7;
}
/* Hero Section */
.hero {
padding: 5rem 0;
}
.badge {
display: inline-block;
padding: 0.375rem 1rem;
border-radius: 9999px;
background-color: rgba(59, 130, 246, 0.1);
border: 1px solid rgba(59, 130, 246, 0.2);
color: var(--brand-accent);
font-size: 0.875rem;
font-weight: 600;
margin-bottom: 1.5rem;
}
.hero-title {
font-size: 3rem;
line-height: 1;
font-weight: 800;
letter-spacing: -0.025em;
margin-bottom: 1.5rem;
background: linear-gradient(to right, #fff, #94a3b8);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
@media (min-width: 768px) {
.hero-title {
font-size: 4.5rem;
}
}
.hero-subtitle {
font-size: 1.25rem;
color: var(--slate-400);
max-width: 42rem;
margin: 1rem auto 2.5rem;
}
.hero-subtitle strong {
color: #fff;
font-weight: 500;
}
.action-buttons {
flex-direction: column;
}
@media (min-width: 640px) {
.action-buttons {
flex-direction: row;
}
}
.btn-primary {
background-color: var(--brand-accent);
color: #fff;
padding: 1rem 2rem;
border-radius: 0.75rem;
font-weight: 700;
transition:
transform 0.2s,
background-color 0.2s;
box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.2);
}
.btn-primary:hover {
background-color: var(--brand-accent-hover);
transform: scale(1.05);
}
.btn-primary .lucide {
width: 1.25rem;
height: 1.25rem;
color: #fff;
}
.btn-secondary {
background-color: var(--brand-card);
border: 1px solid var(--slate-700);
color: #fff;
padding: 1rem 2rem;
border-radius: 0.75rem;
font-weight: 700;
transition: background-color 0.2s;
}
.btn-secondary:hover {
background-color: var(--slate-700);
}
.btn-secondary .lucide {
width: 1.25rem;
height: 1.25rem;
color: #eab308;
}
/* Features Section */
.features-section {
background-color: var(--bg-section);
padding: 5rem 0;
border-top: 1px solid var(--slate-800);
border-bottom: 1px solid var(--slate-800);
}
.section-header {
margin-bottom: 4rem;
text-align: center;
}
.section-title {
font-size: 1.875rem;
font-weight: 700;
margin-bottom: 1rem;
}
.section-subtitle {
color: var(--slate-400);
max-width: 42rem;
margin: 0 auto;
}
.features-grid {
display: grid;
grid-template-columns: 1fr;
gap: 2rem;
}
@media (min-width: 768px) {
.features-grid {
grid-template-columns: repeat(2, 1fr);
}
}
@media (min-width: 1024px) {
.features-grid {
grid-template-columns: repeat(3, 1fr);
}
}
.feature-card {
background-color: var(--brand-card);
padding: 1.5rem;
border-radius: 1rem;
border: 1px solid var(--card-border);
transition: border-color 0.2s;
}
.feature-card:hover {
border-color: rgba(59, 130, 246, 0.5);
}
.feature-ad-card {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 0.5rem;
}
.feature-ad-card:hover {
border-color: var(--card-border);
}
.feature-icon-wrapper {
width: 3rem;
height: 3rem;
border-radius: 0.5rem;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 1rem;
}
.feature-card:nth-child(1) .feature-icon-wrapper {
background-color: var(--icon-bg-blue);
}
.feature-card:nth-child(1) .lucide {
color: var(--icon-blue);
}
.feature-card:nth-child(2) .feature-icon-wrapper {
background-color: var(--icon-bg-purple);
border-color: rgba(168, 85, 247, 0.5);
}
.feature-card:nth-child(2) .lucide {
color: var(--icon-purple);
}
.feature-card:nth-child(2):hover {
border-color: rgba(168, 85, 247, 0.5);
}
.feature-card:nth-child(3) .feature-icon-wrapper {
background-color: var(--icon-bg-green);
}
.feature-card:nth-child(3) .lucide {
color: var(--icon-green);
}
.feature-card:nth-child(3):hover {
border-color: rgba(34, 197, 94, 0.5);
}
.feature-card:nth-child(4) .feature-icon-wrapper {
background-color: var(--icon-bg-orange);
}
.feature-card:nth-child(4) .lucide {
color: var(--icon-orange);
}
.feature-card:nth-child(4):hover {
border-color: rgba(249, 115, 22, 0.5);
}
.feature-card:nth-child(5) .feature-icon-wrapper {
background-color: var(--icon-bg-teal);
}
.feature-card:nth-child(5) .lucide {
color: var(--icon-teal);
}
.feature-card:nth-child(5):hover {
border-color: rgba(20, 184, 166, 0.5);
}
.feature-card .lucide {
width: 1.5rem;
height: 1.5rem;
}
.feature-title {
font-size: 1.25rem;
font-weight: 700;
margin-bottom: 0.5rem;
}
.feature-desc {
color: var(--slate-400);
font-size: 0.875rem;
}
/* How It Works Section */
.how-it-works {
padding: 5rem 0;
}
.prose {
color: var(--slate-300);
}
.prose p {
margin-bottom: 1.5rem;
}
.prose strong {
color: #fff;
font-weight: 600;
}
.prose code {
background-color: var(--slate-800);
padding: 0.2em 0.4em;
border-radius: 0.25rem;
font-size: 0.875em;
font-family: monospace;
}
.prose ul {
list-style: none;
margin: 1.5rem 0;
}
.prose li {
display: flex;
align-items: flex-start;
gap: 1rem;
margin-bottom: 1rem;
}
.step-icon {
background-color: rgba(59, 130, 246, 0.2);
padding: 0.5rem;
border-radius: 9999px;
margin-top: 0.25rem;
}
.step-icon .lucide {
color: var(--brand-accent);
width: 1.25rem;
height: 1.25rem;
}
.step-text strong {
display: block;
}
/* Mid-page Ad Banner */
.mid-ad-banner {
width: 100%;
display: flex;
justify-content: center;
padding-bottom: 5rem;
padding-left: 1rem;
padding-right: 1rem;
}
/* Installation Section */
.install-section {
background-color: var(--brand-card);
padding: 5rem 0;
border-top: 1px solid var(--slate-800);
}
.code-block-wrapper {
background-color: #0d1117;
border-radius: 0.75rem;
border: 1px solid var(--slate-700);
padding: 1.5rem;
position: relative;
overflow-x: auto;
}
.copy-button {
position: absolute;
top: 1rem;
right: 1rem;
color: var(--slate-400);
background-color: var(--slate-800);
padding: 0.5rem;
border-radius: 0.5rem;
border: none;
cursor: pointer;
opacity: 0;
transition:
opacity 0.2s,
color 0.2s;
}
.code-block-wrapper:hover .copy-button {
opacity: 1;
}
.copy-button:hover {
color: #fff;
}
.copy-button .lucide {
width: 1rem;
height: 1rem;
color: inherit;
}
.code-text {
font-size: 0.875rem;
font-family: monospace;
color: #4ade80; /* green-400 */
}
.install-note {
text-align: center;
font-size: 0.875rem;
color: var(--slate-500);
margin-top: 1rem;
}
/* Footer */
.footer {
background-color: #0a0f18;
padding: 3rem 0;
border-top: 1px solid var(--slate-800);
}
.footer-content {
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
gap: 1.5rem;
}
@media (min-width: 768px) {
.footer-content {
flex-direction: row;
}
}
.footer-creator {
color: var(--slate-300);
font-weight: 600;
}
.footer-creator .lucide {
color: var(--slate-400);
width: 1.5rem;
height: 1.5rem;
}
.footer-creator a {
color: var(--brand-accent);
}
.footer-creator a:hover {
text-decoration: underline;
}
.footer-links {
display: flex;
gap: 1.5rem;
}
.footer-link {
color: var(--slate-400);
font-size: 0.875rem;
transition: color 0.2s;
}
.footer-link:hover {
color: #fff;
}
.footer-link.yt:hover {
color: #ef4444;
}
.footer-link.coffee:hover {
color: #eab308;
}
.footer-link .lucide {
width: 1rem;
height: 1rem;
color: inherit;
}
.footer-legal {
text-align: center;
margin-top: 2rem;
font-size: 0.75rem;
color: var(--slate-600);
}