curaflow/index.css

435 lines
7.6 KiB
CSS

:root {
--primary: #0F172A;
--secondary: #38BDF8;
--accent: #10B981;
--bg: #F8FAFC;
--surface: #FFFFFF;
--text-main: #1E293B;
--text-muted: #64748B;
--glass: rgba(255, 255, 255, 0.7);
--border: rgba(226, 232, 240, 0.8);
--shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Inter', sans-serif;
background-color: var(--bg);
color: var(--text-main);
line-height: 1.6;
overflow-x: hidden;
}
h1, h2, h3 {
font-family: 'Outfit', sans-serif;
font-weight: 700;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 2rem;
}
/* Glass Nav */
.glass-nav {
position: fixed;
top: 0;
width: 100%;
height: 80px;
display: flex;
align-items: center;
background: var(--glass);
backdrop-filter: blur(12px);
border-bottom: 1px solid var(--border);
z-index: 1000;
}
.glass-nav .container {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
}
.logo {
display: flex;
align-items: center;
gap: 0.75rem;
font-family: 'Outfit', sans-serif;
font-size: 1.5rem;
font-weight: 700;
color: var(--primary);
}
.logo-icon {
background: linear-gradient(135deg, var(--secondary), var(--accent));
color: white;
width: 36px;
height: 36px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 10px;
font-size: 1.2rem;
}
.nav-links {
display: flex;
align-items: center;
gap: 2.5rem;
}
.nav-links a {
text-decoration: none;
color: var(--text-muted);
font-weight: 500;
transition: color 0.3s;
}
.nav-links a:hover {
color: var(--secondary);
}
/* Hero Section */
.hero {
padding: 180px 0 100px;
background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.1), transparent);
}
.hero-grid {
display: grid;
grid-template-columns: 1.2fr 1fr;
gap: 4rem;
align-items: center;
}
.badge {
display: inline-block;
padding: 0.5rem 1rem;
background: rgba(16, 185, 129, 0.1);
color: var(--accent);
border-radius: 99px;
font-size: 0.875rem;
font-weight: 600;
margin-bottom: 1.5rem;
}
h1 {
font-size: 4rem;
line-height: 1.1;
margin-bottom: 1.5rem;
color: var(--primary);
}
.text-gradient {
background: linear-gradient(90deg, var(--secondary), var(--accent));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.hero p {
font-size: 1.25rem;
color: var(--text-muted);
margin-bottom: 2.5rem;
max-width: 90%;
}
.hero-btns {
display: flex;
gap: 1rem;
margin-bottom: 3rem;
}
.btn-primary {
background: var(--primary);
color: white;
padding: 1rem 2rem;
border-radius: 12px;
border: none;
font-weight: 600;
font-size: 1rem;
cursor: pointer;
transition: transform 0.2s, background 0.3s;
}
.btn-primary:hover {
background: #1e293b;
transform: translateY(-2px);
}
.btn-secondary {
background: white;
color: var(--primary);
padding: 1rem 2rem;
border-radius: 12px;
border: 1px solid var(--border);
font-weight: 600;
font-size: 1rem;
cursor: pointer;
transition: all 0.3s;
}
.btn-secondary:hover {
background: var(--bg);
border-color: var(--text-muted);
}
.btn-lg {
padding: 1.25rem 2.5rem;
font-size: 1.1rem;
}
.hero-stats {
display: flex;
gap: 3rem;
}
.stat {
display: flex;
flex-direction: column;
}
.stat strong {
font-size: 2rem;
color: var(--primary);
font-family: 'Outfit';
}
.stat span {
color: var(--text-muted);
font-size: 0.875rem;
}
.hero-visual .image-wrapper {
position: relative;
border-radius: 24px;
overflow: hidden;
box-shadow: var(--shadow);
border: 8px solid white;
}
.hero-visual img {
width: 100%;
display: block;
}
/* WhatsApp Demo */
.whatsapp-demo {
padding: 100px 0;
background: white;
}
.section-header {
text-align: center;
margin-bottom: 4rem;
}
.section-header h2 {
font-size: 2.5rem;
margin-bottom: 1rem;
}
.chat-container {
display: grid;
grid-template-columns: 350px 1fr;
gap: 5rem;
align-items: center;
}
.phone-mockup {
background: #E5DDD5;
border: 12px solid #333;
border-radius: 40px;
height: 600px;
display: flex;
flex-direction: column;
overflow: hidden;
position: relative;
box-shadow: 20px 20px 60px #d1d9e6, -20px -20px 60px #ffffff;
}
.chat-header {
background: #075E54;
color: white;
padding: 3rem 1.5rem 1rem;
display: flex;
align-items: center;
gap: 0.5rem;
}
.status-dot {
width: 8px;
height: 8px;
background: #25D366;
border-radius: 50%;
}
.chat-body {
flex: 1;
padding: 1rem;
display: flex;
flex-direction: column;
gap: 1rem;
background-image: url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png');
background-size: contain;
}
.msg {
padding: 0.75rem 1rem;
border-radius: 12px;
max-width: 85%;
font-size: 0.9rem;
position: relative;
}
.msg.bot {
background: white;
align-self: flex-start;
border-top-left-radius: 0;
}
.msg-options {
display: flex;
flex-direction: column;
gap: 0.5rem;
padding-top: 1rem;
}
.opt {
background: rgba(255, 255, 255, 0.9);
border: 1px solid var(--accent);
color: var(--accent);
padding: 0.6rem;
border-radius: 99px;
font-weight: 600;
font-size: 0.85rem;
cursor: pointer;
transition: all 0.2s;
}
.opt:hover {
background: var(--accent);
color: white;
}
.feature-info {
display: grid;
gap: 2rem;
}
.info-card {
padding: 2rem;
background: var(--bg);
border-radius: 20px;
border: 1px solid var(--border);
transition: transform 0.3s;
}
.info-card:hover {
transform: translateX(10px);
border-color: var(--secondary);
}
.info-card h3 {
margin-bottom: 0.75rem;
color: var(--primary);
}
/* Daily Updates */
.daily-updates-section {
padding: 60px 0;
background: #F1F5F9;
}
.updates-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 2rem;
}
.update-card {
background: white;
padding: 2rem;
border-radius: 20px;
border-top: 4px solid var(--secondary);
box-shadow: var(--shadow);
}
.update-icon {
font-size: 2rem;
margin-bottom: 1rem;
}
.update-card h4 {
margin-bottom: 0.5rem;
color: var(--primary);
}
.update-card p {
font-size: 0.9rem;
color: var(--text-muted);
font-style: italic;
}
/* Features Grid */
.features-grid {
padding: 100px 0;
}
.grid-layout {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
}
.feature-item {
padding: 3rem 2rem;
background: white;
border-radius: 24px;
box-shadow: var(--shadow);
text-align: center;
transition: transform 0.3s;
}
.feature-item:hover {
transform: translateY(-10px);
}
.feature-item .icon {
font-size: 3rem;
margin-bottom: 1.5rem;
}
.feature-item h3 {
margin-bottom: 1rem;
}
.feature-item p {
color: var(--text-muted);
}
footer {
padding: 4rem 0;
text-align: center;
border-top: 1px solid var(--border);
color: var(--text-muted);
}
@media (max-width: 968px) {
.hero-grid {
grid-template-columns: 1fr;
text-align: center;
}
.hero h1 { font-size: 3rem; }
.hero-btns { justify-content: center; }
.hero-stats { justify-content: center; }
.chat-container { grid-template-columns: 1fr; }
.phone-mockup { margin: 0 auto; }
}