light-demo-53 / assets /css /styles.css
DiabeloDEV's picture
Upload folder using huggingface_hub
fea165d verified
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
--primary-color: #4f46e5;
--primary-dark: #4338ca;
--secondary-color: #10b981;
--bg-dark: #111827;
--bg-light: #f9fafb;
--text-dark: #111827;
--text-light: #6b7280;
--border-color: #e5e7eb;
--card-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
--card-hover-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
body {
font-family: 'Inter', sans-serif;
line-height: 1.6;
color: var(--text-dark);
background: var(--bg-light);
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
/* Header */
.header {
background: white;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
position: sticky;
top: 0;
z-index: 100;
}
.nav {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem 2rem;
}
.nav-brand h1 {
color: var(--primary-color);
font-size: 1.5rem;
font-weight: 700;
}
.nav-menu {
display: flex;
gap: 2rem;
}
.nav-menu a {
color: var(--text-dark);
text-decoration: none;
font-weight: 500;
transition: color 0.3s;
}
.nav-menu a:hover {
color: var(--primary-color);
}
.mobile-menu-toggle {
display: none;
background: none;
border: none;
font-size: 1.5rem;
cursor: pointer;
}
/* Hero Section */
.hero {
background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
color: white;
padding: 6rem 0;
text-align: center;
}
.hero-title {
font-size: 3.5rem;
font-weight: 700;
margin-bottom: 1rem;
}
.hero-subtitle {
font-size: 1.25rem;
margin-bottom: 2rem;
opacity: 0.9;
}
.hero-cta {
display: flex;
gap: 1rem;
justify-content: center;
flex-wrap: wrap;
}
/* Buttons */
.btn {
padding: 0.75rem 1.5rem;
border-radius: 0.5rem;
text-decoration: none;
font-weight: 600;
transition: all 0.3s;
display: inline-block;
cursor: pointer;
border: none;
}
.btn-primary {
background: white;
color: var(--primary-color);
}
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.btn-secondary {
background: transparent;
color: white;
border: 2px solid white;
}
.btn-secondary:hover {
background: white;
color: var(--primary-color);
}
.btn-large {
padding: 1rem 2rem;
font-size: 1.1rem;
}
/* Features Section */
.features {
padding: 5rem 0;
}
.features h2 {
text-align: center;
font-size: 2.5rem;
margin-bottom: 3rem;
color: var(--text-dark);
}
.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
}
.feature-card {
background: white;
padding: 2rem;
border-radius: 1rem;
box-shadow: var(--card-shadow);
text-align: center;
transition: transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover {
transform: translateY(-5px);
box-shadow: var(--card-hover-shadow);
}
.feature-icon {
font-size: 3rem;
margin-bottom: 1rem;
}
.feature-card h3 {
font-size: 1.5rem;
margin-bottom: 1rem;
color: var(--text-dark);
}
.feature-card p {
color: var(--text-light);
}
/* Sections */
.section {
padding: 5rem 0;
}
.section-dark {
background: var(--bg-dark);
color: white;
}
.section h2 {
text-align: center;
font-size: 2.5rem;
margin-bottom: 3rem;
}
.section-dark h2 {
color: white;
}
/* Requirements */
.requirements {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
gap: 2rem;
}
.requirement-item {
background: white;
padding: 2rem;
border-radius: 1rem;
box-shadow: var(--card-shadow);
}
.section-dark .requirement-item {
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
}
.requirement-item h3 {
font-size: 1.25rem;
margin-bottom: 1rem;
color: var(--primary-color);
}
.requirement-item ul {
list-style: none;
padding-left: 0;
}
.requirement-item li {
padding: 0.5rem 0;
padding-left: 1.5rem;
position: relative;
}
.requirement-item li:before {
content: "✓";
position: absolute;
left: 0;
color: var(--secondary-color);
font-weight: bold;
}
/* Steps */
.steps {
max-width: 800px;
margin: 0 auto;
}
.step {
display: flex;
gap: 2rem;
margin-bottom: 3rem;
align-items: flex-start;
}
.step-number {
background: var(--primary-color);
color: white;
width: 50px;
height: 50px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.5rem;
font-weight: bold;
flex-shrink: 0;
}
.step-content {
flex: 1;
}
.step-content h3 {
font-size: 1.5rem;
margin-bottom: 1rem;
}
/* Code Blocks */
.code-block {
position: relative;
background: #1e293b;
color: #e2e8f0;
padding: 1.5rem;
border-radius: 0.5rem;
margin: 1rem 0;
overflow-x: auto;
}
.code-block pre {
margin: 0;
font-family: 'Courier New', monospace;
font-size: 0.9rem;
line-height: 1.5;
}
.copy-btn {
position: absolute;
top: 0.5rem;
right: 0.5rem;
background: var(--primary-color);
color: white;
border: none;
padding: 0.5rem 1rem;
border-radius: 0.25rem;
cursor: pointer;
font-size: 0.875rem;
transition: background 0.3s;
}
.copy-btn:hover {
background: var(--primary-dark);
}
/* Tabs */
.config-tabs {
display: flex;
gap: 1rem;