/* Landing Page & PWA Install Popup
 * SEO-friendly, responsive, accessible
 */

/* Landing Header */
.landing-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.landing-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.landing-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #1e293b;
    font-weight: 700;
    font-size: 1.25rem;
}

.landing-logo img {
    border-radius: 10px;
}

.landing-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.landing-nav-link {
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.landing-nav-link:hover {
    color: #3b82f6;
}

@media (max-width: 480px) {
    .landing-header-inner {
        padding: 0.75rem 1rem;
    }
    .landing-logo span {
        font-size: 1rem;
    }
}

/* Landing Hero */
.landing-page {
    min-height: 100vh;
    padding-top: 80px;
    background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 40%);
}

.landing-hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.5rem 3rem;
    text-align: center;
}

.landing-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #3b82f6;
    color: white;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.landing-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.landing-hero h1 strong {
    color: #3b82f6;
}

.landing-hero-desc {
    font-size: 1.125rem;
    color: #64748b;
    max-width: 560px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.landing-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.landing-hero-cta .btn {
    min-width: 160px;
}

/* Features */
.landing-features {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.landing-features h2 {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2.5rem;
}

.landing-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

@media (max-width: 640px) {
    .landing-features h2 {
        font-size: 1.5rem;
    }
    .landing-features-grid {
        grid-template-columns: 1fr;
    }
}

.landing-feature-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.landing-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.landing-feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.landing-feature-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.landing-feature-card p {
    font-size: 0.9375rem;
    color: #64748b;
    line-height: 1.5;
}

/* CTA Section */
.landing-cta {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
    text-align: center;
}

.landing-cta-card {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border-radius: 24px;
    padding: 3rem 2rem;
}

.landing-cta-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.landing-cta-card p {
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.landing-cta-card .btn {
    background: white;
    color: #3b82f6;
    border: none;
}

.landing-cta-card .btn:hover {
    background: #f8fafc;
}

/* PWA Install Popup - see pwa-install-popup.css (landing loads both) */
@import url("pwa-install-popup.css");
