:root {
    --primary: #2563eb;
    --primary-light: #3b82f6;
    --primary-dark: #1d4ed8;
    --secondary: #0f172a;
    --text-main: #334155;
    --text-muted: #64748b;
    --bg-main: #f8fafc;
    --bg-card: rgba(255, 255, 255, 0.7);
    --bg-glass: rgba(255, 255, 255, 0.9);
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    
    --grad-1: linear-gradient(135deg, #3b82f6 0%, #2dd4bf 100%);
    --grad-2: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    --grad-3: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    --grad-4: linear-gradient(135deg, #10b981 0%, #3b82f6 100%);
    
    --radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Blobs for Glassmorphism Effect */
.blob-bg {
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--primary-light);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    top: -200px;
    right: -100px;
    z-index: -1;
    animation: float 10s ease-in-out infinite alternate;
}

.blob-2 {
    background: #ec4899;
    top: 40%;
    left: -200px;
    width: 500px;
    height: 500px;
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(30px) scale(1.05); }
}

/* Typography & Utilities */
h1, h2, h3, h4 { color: var(--secondary); font-weight: 700; line-height: 1.2; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-gradient {
    background: var(--grad-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section { padding: 6rem 0; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 99px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}
.btn-lg { padding: 1rem 2rem; font-size: 1.125rem; }
.btn-primary { background: var(--primary); color: white; box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.39); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4); }
.btn-outline { background: transparent; color: var(--secondary); border: 2px solid #e2e8f0; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: rgba(37, 99, 235, 0.05); }

/* Header & Nav */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.5);
    padding: 1rem 0;
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo-container { display: flex; align-items: center; gap: 0.75rem; font-weight: 800; font-size: 1.25rem; color: var(--secondary); }
.logo { width: 40px; height: 40px; border-radius: 8px; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav-link { font-weight: 500; }
.nav-link:hover { color: var(--primary); }

/* Hero Section */
.hero { padding: 8rem 0 4rem; overflow: hidden; }
.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-dark);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 99px;
    margin-bottom: 1.5rem;
}
.hero-title { font-size: 3.5rem; letter-spacing: -0.02em; margin-bottom: 1.5rem; }
.hero-subtitle { font-size: 1.25rem; color: var(--text-muted); margin-bottom: 2.5rem; max-width: 500px; }
.hero-actions { display: flex; gap: 1rem; margin-bottom: 3rem; flex-wrap: wrap; }

/* Hero Stats */
.stats { display: flex; gap: 3rem; border-top: 1px solid rgba(0,0,0,0.05); padding-top: 2rem; }
.stat-number { font-size: 2rem; font-weight: 800; color: var(--secondary); }
.stat-label { font-size: 0.875rem; color: var(--text-muted); font-weight: 500; }

/* Mockup Display */
.hero-image-container { position: relative; perspective: 1000px; }
.glass-mockup {
    position: relative;
    border-radius: 30px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}
.glass-mockup:hover { transform: rotateY(0) rotateX(0); }
.hero-mockup { width: 100%; border-radius: 20px; display: block; }
.floating-badge {
    position: absolute;
    background: white;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: float 4s ease-in-out infinite alternate;
}
.floating-badge i { color: var(--primary); }
.badge-1 { top: 10%; left: -10%; animation-delay: 0s; }
.badge-2 { bottom: 20%; right: -10%; animation-delay: -2s; }

/* Features Section */
.section-header { margin-bottom: 4rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.section-title { font-size: 2.5rem; margin-bottom: 1rem; }
.section-description { font-size: 1.125rem; color: var(--text-muted); }

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.feature-card {
    background: var(--bg-card);
    padding: 2.5rem 2rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.6);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}
.feature-icon {
    width: 60px; height: 60px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: white;
    margin-bottom: 1.5rem;
}
.bg-gradient-1 { background: var(--grad-1); }
.bg-gradient-2 { background: var(--grad-2); }
.bg-gradient-3 { background: var(--grad-3); }
.bg-gradient-4 { background: var(--grad-4); }
.feature-title { font-size: 1.25rem; margin-bottom: 0.75rem; }
.feature-description { color: var(--text-muted); font-size: 0.95rem; }

/* Modules Info */
.bg-light { background: #f1f5f9; }
.modules-container {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 4rem; align-items: center;
}
.modules-list { list-style: none; margin-top: 2rem; }
.module-item {
    display: flex; gap: 1rem; align-items: flex-start;
    margin-bottom: 1.5rem; padding: 1rem;
    background: white; border-radius: 12px;
    box-shadow: var(--shadow-soft);
    font-size: 1.05rem;
}
.module-item i { margin-top: 0.2rem; font-size: 1.25rem; }
.modules-visual { position: relative; padding: 2rem; }
.visual-circle {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--grad-1); opacity: 0.1;
    border-radius: 50%; z-index: 0;
}
.visual-img {
    position: relative; z-index: 1;
    width: 100%; border-radius: 20px;
    box-shadow: var(--shadow-hover);
}

/* CTA */
.cta { background: var(--secondary); color: white; padding: 5rem 0; border-radius: 30px; margin: 0 2rem; }
.cta-title { color: white; margin-bottom: 1.5rem; font-size: 2.5rem; }
.cta-subtitle { color: #cbd5e1; max-width: 600px; margin: 0 auto 3rem; font-size: 1.125rem; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.store-badge img { height: 60px; border-radius: 8px; transition: var(--transition); }
.store-badge img:hover { transform: scale(1.05); }

/* Footer */
.footer { padding: 4rem 0 2rem; background: var(--bg-main); border-top: 1px solid #e2e8f0; margin-top: 4rem;}
.footer-container { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-desc { color: var(--text-muted); margin-top: 1rem; max-width: 300px; }
.footer-title { margin-bottom: 1.5rem; font-size: 1.1rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--primary); }
.social-links { display: flex; gap: 1rem; margin-top: 1rem; }
.social-links a {
    width: 40px; height: 40px;
    background: #f1f5f9; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--secondary);
}
.social-links a:hover { background: var(--primary); color: white; }
.footer-bottom { border-top: 1px solid #e2e8f0; padding-top: 2rem; color: var(--text-muted); font-size: 0.875rem; }

/* Responsive */
@media (max-width: 992px) {
    .hero-container, .modules-container { grid-template-columns: 1fr; }
    .hero-content { text-align: center; }
    .hero-subtitle { margin: 0 auto 2.5rem; }
    .hero-actions, .stats { justify-content: center; }
    .badge-1 { left: 0; }
    .badge-2 { right: 0; }
    .cta { margin: 0; border-radius: 0; }
}

@media (max-width: 768px) {
    .nav { display: none; } /* Add a hamburger menu for real prod */
    .hero-title { font-size: 2.5rem; }
    .footer-container { grid-template-columns: 1fr; }
    .stats { flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
}
