quantvat / src /static /css /index.css
heisbuba's picture
Upload 13 files
92cb96e verified
Raw History Blame
5.71 kB
body {
margin: 0;
font-family: 'Inter', sans-serif;
background-color: var(--bg-dark);
color: var(--text-main);
overflow-x: hidden;
}
a { text-decoration: none; transition: 0.2s; }
ul { list-style: none; padding: 0; }
/* --- MODERN NAVBAR --- */
.navbar {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 90px;
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 5%;
box-sizing: border-box;
z-index: 1000;
/* Initial State: Transparent */
background: transparent;
border-bottom: 1px solid transparent;
transition: all 0.3s ease-in-out;
}
/* The "Scrolled" State (Glassmorphism) */
.navbar.scrolled {
height: 70px;
background: rgba(var(--bg-dark-rgb), 0.85);
backdrop-filter: blur(16px);
border-bottom: 1px solid rgba(var(--tint-rgb), 0.05);
box-shadow: 0 10px 30px rgba(var(--black-rgb), 0.1);
}
.nav-links { display: flex; gap: 40px; align-items: center; }
.nav-links a {
color: var(--text-dim);
font-weight: 500;
font-size: 0.9rem;
position: relative;
transition: color 0.3s;
}
/* Modern Hover Underline Animation */
.nav-links a::after {
content: '';
position: absolute;
width: 0;
height: 2px;
bottom: -5px;
left: 0;
background-color: var(--accent-green);
transition: width 0.3s;
}
.nav-links a:hover { color: var(--text-main); }
.nav-links a:hover::after { width: 100%; }
.nav-actions { display: flex; gap: 15px; }
.btn {
padding: 10px 20px;
border-radius: 8px;
font-weight: 600;
font-size: 0.9rem;
cursor: pointer;
border: none;
display: inline-block;
transition: transform 0.2s, opacity 0.2s;
}
.btn:hover { transform: translateY(-1px); opacity: 0.9; }
.btn-login {
color: var(--text-main);
border: 1px solid var(--accent-green);
background: transparent;
}
.btn-primary {
background: var(--accent-green);
color: var(--text-on-accent);
}
/* --- MOBILE MENU --- */
.hamburger { display: none; cursor: pointer; color: var(--text-main); font-size: 1.5rem; }
.mobile-menu {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 0;
background: rgba(var(--bg-dark-rgb), 0.98);
backdrop-filter: blur(20px);
overflow: hidden;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 30px;
z-index: 1001;
transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.active { height: 100vh; }
.mobile-menu a { font-size: 1.2rem; font-weight: 600; color: var(--text-main); }
.close-menu { position: absolute; top: 30px; right: 30px; font-size: 2rem; cursor: pointer; color: var(--text-dim); }
/* --- HERO --- */
.hero {
text-align: center;
padding: 160px 20px 60px;
background: radial-gradient(circle at top center, rgba(var(--green-rgb), 0.08) 0%, transparent 60%);
}
.hero h1 {
font-size: 3rem;
font-weight: 800;
margin-bottom: 20px;
line-height: 1.1;
color: var(--text-main);
}
.hero h1 span { color: var(--accent-green); }
.hero p {
font-size: 1.1rem;
color: var(--text-dim);
max-width: 650px;
margin: 0 auto 40px;
line-height: 1.6;
}
.hero-buttons { display: flex; gap: 20px; justify-content: center; }
/* --- STATS SECTION --- */
.stats-container {
display: flex;
justify-content: center;
gap: 50px;
padding: 40px 20px;
border-bottom: 1px solid var(--border);
max-width: 800px;
margin: 0 auto 60px;
}
.stat-item { text-align: center; }
.stat-number {
font-size: 2rem;
font-weight: 800;
color: var(--text-main);
display: block;
}
.stat-label {
color: var(--text-dim);
font-size: 0.85rem;
text-transform: uppercase;
letter-spacing: 1px;
margin-top: 5px;
}
/* --- METRICS --- */
.section-title {
text-align: center;
font-size: 2rem;
margin-bottom: 10px;
color: var(--text-main);
}
.section-subtitle {
text-align: center;
color: var(--text-dim);
margin-bottom: 50px;
}
.metrics {
max-width: 1100px;
margin: 0 auto;
padding: 40px 20px 80px;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
gap: 30px;
}
.metric-card {
background: var(--bg-card);
border: 1px solid var(--border);
padding: 30px;
border-radius: 12px;
transition: transform 0.2s;
}
.metric-card:hover {
transform: translateY(-5px);
border-color: var(--accent-green);
}
.metric-icon {
font-size: 1.8rem;
margin-bottom: 20px;
display: inline-block;
padding: 12px;
background: rgba(var(--green-rgb), 0.1);
border-radius: 8px;
color: var(--accent-green);
}
.metric-card h3 { margin-top: 0; color: var(--text-main); }
.metric-card p { color: var(--text-dim); line-height: 1.5; font-size: 0.95rem; }
/* --- FOOTER --- */
.footer {
background: transparent;
border-top: 1px solid var(--border);
padding: 40px 5%;
margin-top: auto;
text-align: center;
font-size: 0.9rem;
color: var(--text-dim);
font-weight: 500;
}
.footer a { color: var(--accent-green); font-weight: 600; }
.footer a:hover { opacity: 0.8; }
/* --- MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
.nav-links, .nav-actions { display: none; }
.hamburger { display: block; }
.hero h1 { font-size: 1.8rem; }
.hero-buttons { flex-direction: column; }
.btn { width: 100%; text-align: center; box-sizing: border-box; }
.mobile-menu .btn {
width: 90%;
max-width: 350px;
margin: 0 auto;
}
.stats-container { flex-direction: column; gap: 30px; }
}