/* Critical CSS for above-the-fold content */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Hero Section - Critical for first paint */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8rem 0 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero .hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-cta {
    background: white;
    color: #6366f1;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    font-size: 1.1rem;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
    color: #6366f1;
    text-decoration: none;
}

.hero-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s;
}

.hero-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
}

/* Trust Indicators - Critical for social proof */
.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 3.5rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.stat-badge {
    text-align: center;
    background: rgba(255, 255, 255, 0.15);
    padding: 2rem 1.5rem;
    border-radius: 20px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 160px;
    transition: transform 0.3s;
}

.stat-badge:hover {
    transform: translateY(-5px);
}

.stat-badge .number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-badge .label {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Container - Critical for layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Activity Counter - Critical for engagement */
.activity-counter {
    background: #f8fafc;
    padding: 2rem 0;
    text-align: center;
}

.counter-item {
    display: inline-block;
    background: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.live-number {
    font-size: 2rem;
    font-weight: 700;
    color: #6366f1;
    margin-right: 0.5rem;
}

.counter-item .label {
    color: #64748b;
    font-weight: 500;
}

/* AEO Answer Block - Critical for SEO */
.aeo-answer-block {
    background: linear-gradient(135deg, #f0f4ff 0%, #f8fafc 100%);
    border-left: 4px solid #6366f1;
    border-radius: 0 12px 12px 0;
    padding: 2rem 2.5rem;
    margin: 0 auto 0;
    max-width: 900px;
}

.aeo-answer-block h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.aeo-answer-block p {
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
}

.aeo-wrapper {
    background: #fff;
    padding: 3rem 2rem;
}

/* Mobile menu - Critical for mobile UX */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #1a3a6c;
    padding: 5px;
}

@media (max-width: 992px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .main-navigation {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        background: white;
        z-index: 999;
        padding: 20px;
    }
    
    .main-navigation.active {
        display: block;
    }
    
    .menu {
        flex-direction: column;
    }
    
    .menu li {
        margin: 10px 0;
        border-bottom: 1px solid #e2e8f0;
    }
    
    .menu li a {
        display: block;
        padding: 15px 0;
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 20px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
}
