/**
 * Landing Page Styles - Ultra compact to fit in viewport without scrolling
 * Purple Theme (Joulenode-inspired minimal design)
 */

:root {
    --landing-primary: #9F7AEA;
    --landing-secondary: #9F7AEA;
    --landing-text: #4A5568;
    --landing-text-light: #718096;
    --landing-bg-light: #F5F5F5;
    --landing-bg-white: #FFFFFF;
}

/* Body and Container */
body#landing-body {
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden;
}

.landing-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    padding: 1rem;
    box-sizing: border-box;
    max-width: 1000px;
    margin: 0 auto;
    justify-content: flex-start;
}

/* Hero Section */
.landing-hero {
    text-align: center;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.hero-image {
    max-width: 45%;
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
}

#landing-title {
    font-size: 1.75rem;
    color: var(--landing-secondary);
    margin: 0 0 0.5rem 0;
    font-weight: 300;
    letter-spacing: 1px;
}

.hero-description {
    font-size: 0.95rem;
    color: var(--landing-text-light);
    max-width: 450px;
    margin: 0 auto;
    line-height: 1.4;
}

/* Stats Section */
.landing-stats {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    flex-shrink: 0;
}

.landing-stats.hidden {
    display: none;
}

.stat-badge {
    background: var(--landing-bg-white);
    padding: 0.5rem 1rem;
    border: 1px solid #E2E8F0;
    text-align: center;
    min-width: 80px;
}

.stat-badge .stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--landing-text-light);
    margin-bottom: 0.25rem;
}

.stat-badge .stat-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--landing-secondary);
}

/* NIPs Section */
.landing-nips {
    text-align: center;
    margin-bottom: 0.75rem;
    flex-shrink: 0;
    overflow-y: auto;
}

.landing-nips h3 {
    color: var(--landing-secondary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.nips-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
}

.nip-badge {
    display: inline-block;
    background: var(--landing-primary);
    color: white;
    padding: 0.3rem 0.6rem;
    text-decoration: none;
    font-size: 0.75rem;
    transition: all 0.2s ease;
}

.nip-badge:hover {
    background: #B794F4;
    transform: none;
}

/* Footer - Full width, thin, white text */
.landing-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    color: #ffffff;
    padding: 0.5rem 1rem;
    background: #9F7AEA;
    backdrop-filter: blur(10px);
    width: 100%;
}

.landing-footer p {
    margin: 0.15rem 0;
    font-size: 0.8rem;
}

.landing-footer a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 400;
}

.landing-footer a:hover {
    text-decoration: underline;
}

.landing-footer .separator {
    margin: 0 0.4rem;
    opacity: 0.7;
}

/* Background Style Variants */

/* Light - Simple light gray/white */
body#landing-body.style-light {
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
}

/* Gradient - Purple gradient */
body#landing-body.style-gradient {
    background: linear-gradient(135deg, #E9D8FF 0%, #9F7AEA 100%);
}

/* Minimal - Clean white with subtle border */
body#landing-body.style-minimal {
    background: #ffffff;
}

body#landing-body.style-minimal .landing-container {
    border: 1px solid #e0e0e0;
    padding: 1.5rem 1rem;
    margin: 0.5rem auto;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    #landing-title {
        font-size: 1.5rem;
    }

    .hero-description {
        font-size: 0.85rem;
    }

    .hero-image {
        max-width: 250px;
        margin-bottom: 0.75rem;
    }

    .landing-stats {
        flex-direction: row;
        gap: 0.5rem;
    }

    .stat-badge {
        min-width: 70px;
        padding: 0.4rem 0.75rem;
    }

    .nips-container {
        gap: 0.3rem;
    }

    .landing-footer {
        padding: 0.4rem 0.75rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .landing-container {
        padding: 0.5rem 0.4rem;
    }

    #landing-title {
        font-size: 1.35rem;
    }

    .hero-description {
        font-size: 0.8rem;
    }

    .hero-image {
        max-width: 100%;
    }

    .landing-nips h3 {
        font-size: 1rem;
    }

    .landing-footer p {
        font-size: 0.7rem;
    }
}

/* Utility classes */
.text-light {
    color: var(--landing-text-light);
}

.hidden {
    display: none !important;
}
