omniposter / assets /css /style.css
jmp1987's picture
Upload 4 files
54e5885 verified
:root {
--bg-color: #0a0f1c;
--text-primary: #ffffff;
--text-secondary: #94a3b8;
--primary-color: #8b5cf6; /* Purple */
--secondary-color: #3b82f6; /* Blue */
--accent-color: #f43f5e; /* Pink/Red accent */
--glass-bg: rgba(255, 255, 255, 0.03);
--glass-border: rgba(255, 255, 255, 0.08);
--glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Inter', sans-serif;
background-color: var(--bg-color);
color: var(--text-primary);
line-height: 1.6;
overflow-x: hidden;
position: relative;
}
/* Background Blobs for Neon Effect */
.blob-bg {
position: absolute;
border-radius: 50%;
filter: blur(100px);
z-index: -1;
opacity: 0.5;
}
.blob-1 {
top: -10%;
left: -10%;
width: 600px;
height: 600px;
background: radial-gradient(circle, var(--primary-color), transparent 70%);
}
.blob-2 {
top: 20%;
right: -10%;
width: 500px;
height: 500px;
background: radial-gradient(circle, var(--secondary-color), transparent 70%);
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 2rem;
}
/* Typography & Utilities */
h1, h2, h3 {
line-height: 1.2;
margin-bottom: 1rem;
}
h1 {
font-size: 3.5rem;
font-weight: 800;
letter-spacing: -0.02em;
}
h2 {
font-size: 2.5rem;
font-weight: 700;
}
h3 {
font-size: 1.25rem;
font-weight: 600;
}
p {
color: var(--text-secondary);
margin-bottom: 1.5rem;
}
.text-gradient {
background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.section {
padding: 6rem 0;
}
.section-header {
text-align: center;
max-width: 800px;
margin: 0 auto 4rem auto;
}
/* Glassmorphism */
.glass-panel {
background: var(--glass-bg);
-webkit-backdrop-filter: blur(16px);
backdrop-filter: blur(16px);
border: 1px solid var(--glass-border);
border-radius: 20px;
box-shadow: var(--glass-shadow);
}
/* Buttons */
.btn {
display: inline-block;
padding: 0.75rem 1.5rem;
border-radius: 12px;
text-decoration: none;
font-weight: 600;
transition: all 0.3s ease;
cursor: pointer;
border: none;
font-family: 'Inter', sans-serif;
}
.btn-primary {
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
color: white;
box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}
.btn-primary:hover {
box-shadow: 0 6px 20px rgba(139, 92, 246, 0.6);
transform: translateY(-2px);
}
.btn-secondary {
background: var(--glass-bg);
color: white;
border: 1px solid var(--glass-border);
}
.btn-secondary:hover {
background: rgba(255, 255, 255, 0.1);
transform: translateY(-2px);
}
.btn-outline {
background: transparent;
color: white;
border: 1px solid var(--text-secondary);
}
.btn-outline:hover {
border-color: white;
transform: translateY(-2px);
}
.btn-large {
padding: 1rem 2rem;
font-size: 1.1rem;
}
/* Navbar */
.navbar {
padding: 1.5rem 0;
position: fixed;
top: 0;
width: 100%;
z-index: 100;
transition: background 0.3s ease, backdrop-filter 0.3s ease;
}
.navbar.scrolled {
background: rgba(10, 15, 28, 0.8);
-webkit-backdrop-filter: blur(10px);
backdrop-filter: blur(10px);
border-bottom: 1px solid var(--glass-border);
}
.nav-container {
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
font-size: 1.5rem;
font-weight: 700;
display: flex;
align-items: center;
gap: 0.5rem;
}
.nav-links {
display: flex;
align-items: center;
gap: 2rem;
}
.nav-links a:not(.btn) {
color: var(--text-secondary);
text-decoration: none;
font-weight: 500;
transition: color 0.3s;
}
.nav-links a:not(.btn):hover {
color: white;
}
/* Hero Section */
.hero {
padding: 12rem 0 6rem 0;
text-align: center;
}
.badge {
display: inline-block;
padding: 0.5rem 1rem;
background: rgba(139, 92, 246, 0.1);
color: var(--primary-color);
border: 1px solid rgba(139, 92, 246, 0.2);
border-radius: 30px;
font-weight: 600;
margin-bottom: 2rem;
font-size: 0.9rem;
}
.hero p {
font-size: 1.25rem;
max-width: 700px;
margin: 0 auto 2.5rem auto;
}
.hero-cta {
display: flex;
justify-content: center;
gap: 1rem;
margin-bottom: 4rem;
}
.hero-image-wrapper {
max-width: 1000px;
margin: 0 auto;
position: relative;
}
.hero-image-wrapper::before {
content: '';
position: absolute;
top: -20px;
left: 50%;
transform: translateX(-50%);
width: 80%;
height: 100%;
background: linear-gradient(180deg, var(--primary-color), transparent);
filter: blur(100px);
opacity: 0.3;
z-index: -1;
}
.image-panel {
padding: 1rem;
border-radius: 24px;
}
.hero-image {
width: 100%;
border-radius: 16px;
display: block;
}
/* Features Grid */
.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
}
.feature-card {
padding: 2.5rem;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
transform: translateY(-10px);
box-shadow: 0 15px 40px rgba(139, 92, 246, 0.15);
border-color: rgba(139, 92, 246, 0.3);
}
.feature-icon {
font-size: 2.5rem;
margin-bottom: 1.5rem;
display: inline-block;
padding: 1rem;
background: rgba(255, 255, 255, 0.05);
border-radius: 16px;
}
/* Steps */
.steps-container {
display: flex;
flex-direction: column;
gap: 3rem;
max-width: 800px;
margin: 0 auto;
}
.step {
display: flex;
gap: 2rem;
align-items: flex-start;
}
.step-number {
font-size: 3rem;
font-weight: 800;
color: rgba(255, 255, 255, 0.1);
-webkit-text-stroke: 1px var(--primary-color);
line-height: 1;
}
.step-content h3 {
margin-bottom: 0.5rem;
font-size: 1.5rem;
}
/* CTA Section */
.cta-box {
padding: 5rem 3rem;
text-align: center;
background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(59, 130, 246, 0.1));
border: 1px solid rgba(139, 92, 246, 0.2);
}
.cta-box h2 {
margin-bottom: 1.5rem;
}
.cta-buttons {
display: flex;
justify-content: center;
gap: 1rem;
margin: 2.5rem 0 1.5rem 0;
}
.guarantee {
font-size: 0.9rem;
opacity: 0.7;
margin-bottom: 0;
}
/* Footer */
footer {
border-top: 1px solid var(--glass-border);
padding: 3rem 0;
margin-top: 4rem;
}
.footer-container {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 1rem;
}
.footer-logo {
font-weight: 700;
}
.footer-links {
display: flex;
gap: 1.5rem;
}
.footer-links a {
color: var(--text-secondary);
text-decoration: none;
font-size: 0.9rem;
transition: color 0.3s;
}
.footer-links a:hover {
color: white;
}
/* Animations — elements start visible by default (for no-JS / print / screenshots) */
.fade-in-up {
opacity: 1;
transform: translateY(0);
transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
/* JS adds .js-ready to <html> to enable the hidden start state */
.js-ready .fade-in-up {
opacity: 0;
transform: translateY(30px);
}
.js-ready .fade-in-up.visible {
opacity: 1;
transform: translateY(0);
}
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
/* Responsive */
@media (max-width: 768px) {
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
.nav-links a:not(.btn) { display: none; }
.hero-cta, .cta-buttons {
flex-direction: column;
}
.step {
flex-direction: column;
gap: 1rem;
}
.footer-container {
flex-direction: column;
text-align: center;
}
}