devjas1
(UPDATE): [docs(index.html)]: add full landing page for CodeMind AI-powered development assistant
6bebf5c
:root { | |
--primary: #6c63ff; | |
--primary-dark: #5651e9; | |
--secondary: #4a4a4a; | |
--light: #f8f9fa; | |
--dark: #212529; | |
--success: #28a745; | |
--info: #17a2b8; | |
--gradient-start: #6c63ff; | |
--gradient-end: #4a43b7; | |
} | |
* { | |
margin: 0; | |
padding: 0; | |
box-sizing: border-box; | |
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; | |
} | |
body { | |
color: var(--dark); | |
line-height: 1.6; | |
background-color: #f9f9f9; | |
} | |
.container { | |
width: 90%; | |
max-width: 1200px; | |
margin: 0 auto; | |
padding: 0 15px; | |
} | |
/* Header & Navigation */ | |
header { | |
background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end)); | |
color: white; | |
padding: 1rem 0; | |
position: sticky; | |
top: 0; | |
z-index: 100; | |
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); | |
} | |
nav { | |
display: flex; | |
justify-content: space-between; | |
align-items: center; | |
} | |
.logo { | |
font-size: 1.8rem; | |
font-weight: 700; | |
display: flex; | |
align-items: center; | |
} | |
.logo-icon { | |
margin-right: 10px; | |
font-size: 2rem; | |
} | |
.nav-links { | |
display: flex; | |
list-style: none; | |
} | |
.nav-links li { | |
margin-left: 2rem; | |
} | |
.nav-links a { | |
color: white; | |
text-decoration: none; | |
font-weight: 500; | |
transition: opacity 0.3s; | |
} | |
.nav-links a:hover { | |
opacity: 0.8; | |
} | |
/* Hero Section */ | |
.hero { | |
background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end)); | |
color: white; | |
padding: 5rem 0; | |
text-align: center; | |
} | |
.hero h1 { | |
font-size: 3rem; | |
margin-bottom: 1rem; | |
} | |
.hero p { | |
font-size: 1.2rem; | |
max-width: 700px; | |
margin: 0 auto 2rem; | |
} | |
.btn { | |
display: inline-block; | |
background: white; | |
color: var(--primary); | |
padding: 0.8rem 1.5rem; | |
border-radius: 30px; | |
text-decoration: none; | |
font-weight: 600; | |
transition: all 0.3s; | |
border: none; | |
cursor: pointer; | |
} | |
.btn:hover { | |
transform: translateY(-3px); | |
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); | |
} | |
.btn-outline { | |
background: transparent; | |
border: 2px solid white; | |
color: white; | |
margin-left: 1rem; | |
} | |
/* Sections */ | |
section { | |
padding: 5rem 0; | |
} | |
section h2 { | |
text-align: center; | |
margin-bottom: 3rem; | |
font-size: 2.5rem; | |
color: var(--secondary); | |
} | |
section h3 { | |
margin-bottom: 1rem; | |
color: var(--primary); | |
} | |
/* Features */ | |
.features { | |
background-color: white; | |
} | |
.features-grid { | |
display: grid; | |
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); | |
gap: 2rem; | |
} | |
.feature-card { | |
background: var(--light); | |
padding: 2rem; | |
border-radius: 10px; | |
text-align: center; | |
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); | |
transition: transform 0.3s; | |
} | |
.feature-card:hover { | |
transform: translateY(-5px); | |
} | |
.feature-icon { | |
font-size: 2.5rem; | |
color: var(--primary); | |
margin-bottom: 1rem; | |
} | |
/* Why Section */ | |
.why { | |
background-color: var(--light); | |
} | |
.why-content { | |
max-width: 800px; | |
margin: 0 auto; | |
} | |
/* How It Works */ | |
.how-steps { | |
display: flex; | |
flex-direction: column; | |
gap: 2rem; | |
max-width: 900px; | |
margin: 0 auto; | |
} | |
.step { | |
display: flex; | |
align-items: flex-start; | |
gap: 1.5rem; | |
} | |
.step-number { | |
background: var(--primary); | |
color: white; | |
width: 40px; | |
height: 40px; | |
border-radius: 50%; | |
display: flex; | |
align-items: center; | |
justify-content: center; | |
flex-shrink: 0; | |
font-weight: bold; | |
} | |
.step-content { | |
flex: 1; | |
} | |
/* Usage */ | |
.usage { | |
background-color: var(--light); | |
} | |
.code-block { | |
background: #2d2d2d; | |
color: #f8f8f2; | |
padding: 1.5rem; | |
border-radius: 5px; | |
overflow-x: auto; | |
margin: 1.5rem 0; | |
font-family: 'Courier New', monospace; | |
} | |
.code-comment { | |
color: #75715e; | |
} | |
/* Setup */ | |
.setup-cards { | |
display: grid; | |
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); | |
gap: 2rem; | |
} | |
.setup-card { | |
background: white; | |
padding: 2rem; | |
border-radius: 10px; | |
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); | |
} | |
/* FAQ */ | |
.faq-list { | |
max-width: 800px; | |
margin: 0 auto; | |
} | |
.faq-item { | |
margin-bottom: 1.5rem; | |
border-bottom: 1px solid #eee; | |
padding-bottom: 1.5rem; | |
} | |
.faq-question { | |
font-weight: 600; | |
margin-bottom: 0.5rem; | |
color: var(--primary); | |
} | |
/* Footer */ | |
footer { | |
background: var(--dark); | |
color: white; | |
padding: 3rem 0; | |
text-align: center; | |
} | |
.footer-links { | |
display: flex; | |
justify-content: center; | |
list-style: none; | |
margin: 2rem 0; | |
} | |
.footer-links li { | |
margin: 0 1rem; | |
} | |
.footer-links a { | |
color: white; | |
text-decoration: none; | |
} | |
/* Responsive */ | |
@media (max-width: 768px) { | |
.nav-links { | |
display: none; | |
} | |
.hero h1 { | |
font-size: 2.2rem; | |
} | |
.step { | |
flex-direction: column; | |
} | |
.btn { | |
display: block; | |
margin: 0.5rem auto; | |
width: 80%; | |
} | |
.btn-outline { | |
margin-left: 0; | |
} | |
} |