197 lines
4.6 KiB
CSS
197 lines
4.6 KiB
CSS
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap');
|
|
|
|
/* ==========================================================================
|
|
THEMING — Change these variables to retheme the entire site.
|
|
All accent colors, backgrounds, and effects derive from these values.
|
|
========================================================================== */
|
|
|
|
:root {
|
|
/* Base colors — dark theme */
|
|
--bg-color: #0a0a0a;
|
|
--bg-elevated: #141414;
|
|
--text-primary: #f0f0f0;
|
|
--text-secondary: #999999;
|
|
|
|
/* Accent — CHANGE THESE to retheme the entire site */
|
|
--accent-color: #4a9eff;
|
|
--accent-color-rgb: 74, 158, 255;
|
|
--accent-gradient: linear-gradient(135deg, #4a9eff, #2563eb);
|
|
--accent-hover: #2563eb;
|
|
|
|
/* Glass morphism */
|
|
--glass-bg: rgba(25, 25, 25, 0.6);
|
|
--glass-border: rgba(255, 255, 255, 0.08);
|
|
--glass-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
|
|
|
|
/* Spacing */
|
|
--section-padding: 120px;
|
|
--container-max: 1200px;
|
|
|
|
/* Typography */
|
|
--font-family: 'Inter', sans-serif;
|
|
--font-weight-normal: 400;
|
|
--font-weight-semibold: 600;
|
|
--font-weight-bold: 800;
|
|
|
|
/* Transitions */
|
|
--transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
|
|
--transition-fast: 0.3s ease;
|
|
|
|
/* Border radius */
|
|
--radius-sm: 8px;
|
|
--radius-md: 16px;
|
|
--radius-lg: 24px;
|
|
--radius-pill: 50px;
|
|
}
|
|
|
|
/* ==========================================================================
|
|
RESET & BASE
|
|
========================================================================== */
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html {
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
background-color: var(--bg-color);
|
|
color: var(--text-primary);
|
|
font-family: var(--font-family);
|
|
font-weight: var(--font-weight-normal);
|
|
line-height: 1.6;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
font-weight: var(--font-weight-bold);
|
|
letter-spacing: -0.02em;
|
|
margin: 0;
|
|
line-height: 1.1;
|
|
}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
color: inherit;
|
|
transition: color var(--transition-fast);
|
|
}
|
|
|
|
a:hover {
|
|
color: var(--accent-color);
|
|
}
|
|
|
|
img {
|
|
max-width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
/* ==========================================================================
|
|
UTILITY CLASSES
|
|
========================================================================== */
|
|
|
|
.app-container {
|
|
max-width: var(--container-max);
|
|
margin: 0 auto;
|
|
padding: 0 24px;
|
|
}
|
|
|
|
.glass-panel {
|
|
background: var(--glass-bg);
|
|
backdrop-filter: blur(10px);
|
|
-webkit-backdrop-filter: blur(10px);
|
|
border: 1px solid var(--glass-border);
|
|
border-radius: var(--radius-lg);
|
|
}
|
|
|
|
.text-gradient {
|
|
background: var(--accent-gradient);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
display: inline-block;
|
|
}
|
|
|
|
.primary-button {
|
|
display: inline-block;
|
|
background: var(--accent-gradient);
|
|
color: #fff;
|
|
padding: 14px 28px;
|
|
border-radius: var(--radius-pill);
|
|
font-weight: var(--font-weight-bold);
|
|
font-size: 1.1rem;
|
|
box-shadow: 0 4px 15px rgba(var(--accent-color-rgb), 0.3);
|
|
transition: transform var(--transition-fast), box-shadow var(--transition-fast);
|
|
border: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.primary-button:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 6px 20px rgba(var(--accent-color-rgb), 0.5);
|
|
color: #fff;
|
|
}
|
|
|
|
.secondary-button {
|
|
display: inline-block;
|
|
background: transparent;
|
|
color: var(--text-primary);
|
|
padding: 14px 28px;
|
|
border-radius: var(--radius-pill);
|
|
font-weight: var(--font-weight-semibold);
|
|
font-size: 1rem;
|
|
border: 1px solid var(--glass-border);
|
|
cursor: pointer;
|
|
transition: all var(--transition-fast);
|
|
}
|
|
|
|
.secondary-button:hover {
|
|
border-color: var(--accent-color);
|
|
color: var(--accent-color);
|
|
}
|
|
|
|
/* Section layout */
|
|
.section-header {
|
|
text-align: center;
|
|
margin-bottom: 60px;
|
|
}
|
|
|
|
.section-title {
|
|
font-size: clamp(2rem, 5vw, 3rem);
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.section-subtitle {
|
|
color: var(--text-secondary);
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
line-height: 1.6;
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
/* Background mesh effect */
|
|
.background-mesh {
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: radial-gradient(circle at 50% 50%, rgba(var(--accent-color-rgb), 0.05) 0%, transparent 50%),
|
|
radial-gradient(circle at 0% 0%, rgba(var(--accent-color-rgb), 0.03) 0%, transparent 40%),
|
|
radial-gradient(circle at 100% 100%, rgba(var(--accent-color-rgb), 0.03) 0%, transparent 40%);
|
|
pointer-events: none;
|
|
z-index: -1;
|
|
}
|
|
|
|
/* Animations */
|
|
@keyframes fadeUp {
|
|
0% { opacity: 0; transform: translateY(30px); }
|
|
100% { opacity: 1; transform: translateY(0); }
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
0% { opacity: 0; }
|
|
100% { opacity: 1; }
|
|
}
|