/*
Compact Design - Optimized for above-the-fold experience
All adjustments to reduce vertical scrolling and improve readability
*/

/* Reduce body padding */
body {
    padding: 0.5rem 0;
    line-height: 1.4;
}

/* Compact container */
.content-wrapper {
    padding: 0.5rem;
    gap: 0.75rem;
}

/* Compact main app */
#app {
    padding: 1.25rem 1.5rem;
    margin: 0.75rem auto;
}

/* Compact motivational quote */
.motivational-quote {
    margin-bottom: 0.875rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    border-left-width: 3px;
}

.quote-text {
    font-size: 0.875rem;
    line-height: 1.4;
}

/* Compact header */
header {
    margin-bottom: 1.25rem;
}

h1 {
    font-size: 1.625rem;
    margin-bottom: 0.375rem;
    line-height: 1.2;
}

.tagline {
    font-size: 1rem;
    margin: 0.5rem 0 0.375rem;
    font-weight: 600;
}

.subtitle,
.time-greeting {
    font-size: 0.875rem;
    line-height: 1.3;
    margin-top: 0.25rem;
}

/* Compact mood buttons */
.mood-grid {
    gap: 0.625rem;
    margin-bottom: 0;
}

button,
.mood-btn {
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    border-radius: 10px;
}

/* Compact section spacing */
.section {
    margin-bottom: 1rem;
}

/* Compact result section */
#result-section {
    margin-top: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 12px;
}

.suggestion {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

/* Compact time selector */
.time-selector {
    margin: 0.75rem 0;
    gap: 0.5rem;
}

.time-btn {
    padding: 0.5rem 0.875rem;
    font-size: 0.8125rem;
    border-radius: 16px;
}

/* Compact button actions */
.button-actions {
    margin: 0.75rem 0 1rem;
    gap: 0.625rem;
}

/* Compact primary button */
.primary-btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.9375rem;
    margin: 0;
    border-radius: 10px;
}

/* Compact share button */
.share-btn {
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    margin: 0;
    gap: 0.375rem;
}

/* Compact SEO content */
.seo-content {
    margin: 1.5rem auto 1rem;
    padding: 1.25rem;
}

.info-section {
    margin-bottom: 1.5rem;
}

.info-section h2 {
    font-size: 1.375rem;
    margin-bottom: 0.625rem;
}

.info-section h3 {
    font-size: 1.125rem;
    margin-bottom: 0.625rem;
}

.info-section p {
    line-height: 1.5;
    margin-bottom: 0.625rem;
    font-size: 0.9375rem;
}

/* Fix FAQ section colors - better contrast */
.seo-faq {
    background: rgba(255, 255, 255, 0.75);
    padding: 1.25rem;
    border-radius: 12px;
    margin-top: 1.5rem;
}

.seo-faq h3 {
    color: #2D3748;
    margin-bottom: 1rem;
    margin-top: 0;
}

.faq-item {
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(91, 79, 232, 0.15);
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-item h4 {
    color: #5B4FE8;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    margin-top: 0;
    font-weight: 600;
}

.faq-item p {
    color: #2D3748;
    line-height: 1.6;
    margin: 0;
    font-size: 0.9375rem;
}

/* Fix sample ideas section - better contrast */
.sample-ideas {
    background: rgba(255, 255, 255, 0.75);
    padding: 1.25rem;
    border: 1px solid rgba(91, 79, 232, 0.12);
    margin-top: 1.5rem;
}

.sample-ideas h3 {
    color: #5B4FE8;
    margin-bottom: 0.75rem;
    margin-top: 0;
}

.section-intro {
    color: #2D3748;
    font-size: 0.9375rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.sample-grid {
    gap: 0.5rem;
    margin: 0.875rem 0;
}

.sample-item {
    padding: 0.625rem 0.75rem;
    font-size: 0.875rem;
    line-height: 1.4;
    color: #2D3748;
}

.sample-item strong {
    color: #5B4FE8;
    font-weight: 600;
}

.cta-text {
    margin-top: 1rem;
    padding: 0.75rem;
    font-size: 0.875rem;
    background: rgba(245, 158, 11, 0.12);
    border-radius: 8px;
    color: #2D3748;
}

/* Compact footer */
.site-footer {
    padding: 2rem 1.5rem 1.25rem;
    margin-top: 2rem;
}

.footer-content {
    gap: 1.5rem;
}

.footer-section h3,
.footer-column h4 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.footer-section p,
.footer-column a {
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    #app {
        padding: 1rem 1.25rem;
        margin: 0.5rem auto;
    }

    h1 {
        font-size: 1.5rem;
    }

    .motivational-quote {
        padding: 0.625rem 0.875rem;
        margin-bottom: 0.75rem;
    }

    .quote-text {
        font-size: 0.8125rem;
    }

    header {
        margin-bottom: 1rem;
    }

    .mood-grid {
        gap: 0.5rem;
    }

    button,
    .mood-btn {
        padding: 0.625rem 0.75rem;
        font-size: 0.875rem;
    }

    .suggestion {
        font-size: 1rem;
    }

    .seo-content {
        padding: 1rem;
        margin: 1rem auto 0.75rem;
    }

    .sample-ideas,
    .seo-faq {
        padding: 1rem;
    }
}

/* Ensure main interactive area fits above fold */
@media (min-height: 768px) {
    .content-wrapper {
        min-height: auto;
    }
}