aso-launch-wizard / features.css
aadityahere24's picture
Build the Page Structure (Layout)
f3bbdbf verified
Raw History Blame Contribute Delete
6.22 kB
```css
/* Base Styles */
.features-page {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
line-height: 1.5;
color: #333;
background-color: #f9fafb;
}
.container {
width: 100%;
max-width: 1200px;
margin: 0 auto;
padding: 0 1.5rem;
}
/* Navigation */
.navbar {
background-color: white;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
padding: 1rem 0;
position: sticky;
top: 0;
z-index: 100;
}
.navbar .container {
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
display: flex;
align-items: center;
gap: 0.5rem;
font-size: 1.25rem;
font-weight: 700;
color: #4f46e5;
}
.logo i {
color: #4f46e5;
}
.nav-links {
display: flex;
gap: 2rem;
}
.nav-links a {
color: #4b5563;
font-weight: 500;
text-decoration: none;
transition: color 0.2s;
}
.nav-links a:hover {
color: #4f46e5;
}
.nav-links a.active {
color: #4f46e5;
font-weight: 600;
}
.nav-actions {
display: flex;
gap: 1rem;
align-items: center;
}
/* Buttons */
.btn-primary {
background-color: #4f46e5;
color: white;
padding: 0.5rem 1rem;
border-radius: 0.375rem;
font-weight: 500;
text-decoration: none;
transition: background-color 0.2s;
display: inline-block;
}
.btn-primary:hover {
background-color: #4338ca;
}
.btn-secondary {
color: #4f46e5;
padding: 0.5rem 1rem;
border-radius: 0.375rem;
font-weight: 500;
text-decoration: none;
transition: all 0.2s;
display: inline-block;
}
.btn-secondary:hover {
color: #4338ca;
}
/* Hero Section */
.hero {
padding: 4rem 0;
text-align: center;
}
.hero h1 {
font-size: 3rem;
font-weight: 800;
margin-bottom: 1rem;
color: #111827;
}
.hero h1 span {
background: linear-gradient(90deg, #4f46e5, #8b5cf6);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
.hero p {
font-size: 1.125rem;
color: #4b5563;
max-width: 800px;
margin: 0 auto;
}
/* Features Grid */
.features-grid {
padding: 4rem 0;
}
.grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 2rem;
}
.feature-card {
background-color: white;
border-radius: 0.5rem;
padding: 2rem;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
}
.feature-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.feature-card .icon {
width: 3rem;
height: 3rem;
background-color: #eef2ff;
border-radius: 0.5rem;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 1.5rem;
}
.feature-card .icon i {
color: #4f46e5;
width: 1.5rem;
height: 1.5rem;
}
.feature-card h3 {
font-size: 1.25rem;
font-weight: 700;
margin-bottom: 1rem;
color: #111827;
}
.feature-card p {
color: #4b5563;
margin-bottom: 1.5rem;
}
.feature-card ul {
list-style: none;
padding: 0;
margin: 0;
}
.feature-card li {
color: #4b5563;
margin-bottom: 0.5rem;
padding-left: 1.75rem;
position: relative;
}
.feature-card li:before {
content: '';
position: absolute;
left: 0;
top: 0.25rem;
width: 1rem;
height: 1rem;
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd' /%3E%3C/svg%3E");
mask-repeat: no-repeat;
background-color: #10b981;
}
/* CTA Section */
.cta {
padding: 4rem 0;
text-align: center;
background-color: white;
}
.cta h2 {
font-size: 2.25rem;
font-weight: 800;
margin-bottom: 1rem;
color: #111827;
}
.cta p {
font-size: 1.125rem;
color: #4b5563;
max-width: 600px;
margin: 0 auto 2rem;
}
.cta .actions {
display: flex;
gap: 1rem;
justify-content: center;
}
/* Footer */
.footer {
background-color: #111827;
color: #9ca3af;
padding: 4rem 0 2rem;
}
.footer-content {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 3rem;
margin-bottom: 3rem;
}
.footer-brand {
max-width: 300px;
}
.footer-brand .logo {
color: white;
margin-bottom: 1rem;
}
.footer-brand p {
margin-bottom: 1.5rem;
font-size: 0.875rem;
}
.social-links {
display: flex;
gap: 1rem;
}
.social-links a {
color: #9ca3af;
transition: color 0.2s;
}
.social-links a:hover {
color: white;
}
.footer-links {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
gap: 2rem;
}
.footer-links h3 {
color: white;
font-size: 0.875rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.05em;
margin-bottom: 1rem;
}
.footer-links a {
display: block;
color: #9ca3af;
font-size: 0.875rem;
margin-bottom: 0.5rem;
text-decoration: none;
transition: color 0.2s;
}
.footer-links a:hover {
color: white;
}
.footer-bottom {
border-top: 1px solid #1f2937;
padding-top: 2rem;
text-align: center;
font-size: 0.875rem;
}
/* Toast Notification */
.toast {
position: fixed;
bottom: 1rem;
right: 1rem;
background-color: white;
border-radius: 0.5rem;
padding: 1rem;
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
max-width: 400px;
z-index: 1000;
}
.toast p {
margin: 0;
font-weight: 500;
}
.toast-actions {
display: flex;
gap: 0.5rem;
}
.toast.hidden {
display: none;
}
/* Responsive Design */
@media (max-width: 768px) {
.navbar .container {
flex-direction: column;
gap: 1rem;
}
.nav-links {
gap: 1rem;
}
.hero h1 {
font-size: 2.25rem;
}
.cta .actions {
flex-direction: column;
}
}
@media (max-width: 480px) {
.grid {
grid-template-columns: 1fr;
}
}
```