abelone's picture
redesign alt fra scrastch
fda9f81 verified
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
:root {
--primary: #4f46e5;
--primary-dark: #4338ca;
--secondary: #7c3aed;
--dark: #1e1b4b;
--light: #f8fafc;
}
body {
font-family: 'Inter', sans-serif;
scroll-behavior: smooth;
color: #1f2937;
}
.container {
max-width: 1280px;
margin: 0 auto;
padding: 0 1.5rem;
}
/* Buttons */
.btn-primary {
background: linear-gradient(to right, var(--primary), var(--secondary));
color: white;
padding: 0.75rem 2rem;
border-radius: 0.5rem;
font-weight: 600;
display: inline-flex;
align-items: center;
gap: 0.5rem;
transition: all 0.3s ease;
box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.1);
}
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.2);
}
.btn-secondary {
background: transparent;
color: white;
padding: 0.75rem 2rem;
border-radius: 0.5rem;
font-weight: 600;
border: 2px solid white;
display: inline-flex;
align-items: center;
gap: 0.5rem;
transition: all 0.3s ease;
}
.btn-secondary:hover {
background: white;
color: var(--primary);
}
/* Sections */
.section-title {
font-size: 2.5rem;
font-weight: 700;
margin-bottom: 1rem;
background: linear-gradient(to right, var(--primary), var(--secondary));
-webkit-background-clip: text;
background-clip: text;
color: transparent;
display: inline-block;
}
/* Cards */
.feature-card {
background: white;
border-radius: 1rem;
padding: 2rem;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
}
.feature-card:hover {
transform: translateY(-5px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}
.feature-icon {
width: 4rem;
height: 4rem;
border-radius: 1rem;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 1.5rem;
}
/* Stats */
.stat-box {
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
padding: 2rem;
border-radius: 1rem;
}
.stat-number {
font-size: 3rem;
font-weight: 700;
margin-bottom: 0.5rem;
}
.stat-label {
font-size: 1.125rem;
opacity: 0.9;
}
/* Animations */
@keyframes fadeIn {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
animation: fadeIn 1s ease forwards;
}
/* Responsive */
@media (max-width: 768px) {
.container {
padding: 0 1rem;
}
.section-title {
font-size: 2rem;
}
}