/* Landing page (marketing pitch at "/") - layout only. Colors, fonts, and
   the .swaha-logo-hero-img / .btn-auth-primary styles come from styles.css
   so this page stays visually consistent with the app at /app. */

.landing-body {
    height: auto;
    overflow-y: auto;
}

.landing {
    max-width: 720px;
    margin: 0 auto;
    padding: 64px 24px 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.landing-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.landing-title {
    font-size: 40px;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

/* Scoped to the homepage hero only - .landing-title is shared with the
   blog page's plain "Blog" heading, which should stay in the regular
   sans-serif. */
.landing-hero .landing-title {
    font-family: 'Tangerine', cursive;
    font-size: 88px;
    font-weight: 700;
    letter-spacing: normal;
    margin-bottom: 4px;
}

.landing-tagline {
    font-size: 20px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 12px;
    max-width: 480px;
}

.landing-subtext {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 480px;
    margin-bottom: 32px;
}

.landing-cta-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: 100%;
    max-width: 320px;
}

.landing-cta {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.landing-signin-link {
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
}

.landing-signin-link:hover {
    color: var(--accent-coral);
}

.landing-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 64px;
    width: 100%;
}

.landing-feature {
    background: #F8F6F3;
    border-radius: 16px;
    padding: 24px 20px;
}

.landing-feature-icon {
    display: block;
    width: 30px;
    height: 30px;
    margin: 0 auto 14px;
    color: var(--accent-coral);
}

.landing-feature-icon svg {
    width: 100%;
    height: 100%;
}

.landing-feature h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.landing-feature p {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.landing-about {
    width: 100%;
    text-align: left;
    margin-top: 64px;
}

.landing-about h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    text-align: center;
}

.landing-about p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.landing-faq,
.landing-blog-teaser {
    width: 100%;
    text-align: left;
    margin-top: 56px;
}

.landing-faq h2,
.landing-blog-teaser h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    text-align: center;
}

.landing-faq-item {
    background: #F8F6F3;
    border-radius: 16px;
    padding: 20px 22px;
    margin-bottom: 12px;
}

.landing-faq-item h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.landing-faq-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.landing-footer {
    width: 100%;
    text-align: center;
    margin-top: 56px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.landing-footer p {
    font-size: 13px;
    color: var(--text-muted);
}

.landing-footer-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 12px;
}

.landing-footer-links a {
    font-size: 13px;
    color: var(--text-secondary);
    text-decoration: none;
}

.landing-footer-links a:hover {
    color: var(--accent-coral);
}

/* Blog index + post pages (frontend/blog/) share this stylesheet and the
   .landing container for visual consistency with the main landing page. */
.blog-page {
    align-items: stretch;
    text-align: left;
}

.blog-page .landing-title,
.blog-page .landing-subtext {
    text-align: center;
}

.blog-page .landing-subtext {
    align-self: center;
}

.blog-home-link,
.blog-back-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 32px;
}

.blog-home-link:hover,
.blog-back-link:hover {
    color: var(--accent-coral);
}

.blog-post-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 40px;
}

.blog-post-card {
    display: block;
    background: #F8F6F3;
    border-radius: 16px;
    padding: 24px 26px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.blog-post-card:hover {
    background: var(--background);
}

.blog-post-card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.blog-post-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 10px;
}

.blog-post-date {
    font-size: 12px;
    color: var(--text-muted);
}

.blog-article {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
}

.blog-article h1 {
    font-size: 30px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.25;
    margin-bottom: 8px;
}

.blog-article-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.blog-article-source {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.blog-article-source a {
    color: var(--accent-coral);
}

.blog-article h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 32px 0 12px;
}

.blog-article p {
    font-size: 15.5px;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 16px;
}

.blog-article-cta {
    text-align: center;
    background: #F8F6F3;
    border-radius: 16px;
    padding: 28px 24px;
    margin-top: 40px;
}

.blog-article-cta p {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.blog-article-cta .landing-cta {
    max-width: 280px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .landing {
        padding: 48px 20px 40px;
    }

    .landing-title {
        font-size: 32px;
    }

    .landing-hero .landing-title {
        font-size: 64px;
    }

    .landing-tagline {
        font-size: 18px;
    }

    .landing-features {
        grid-template-columns: 1fr;
        margin-top: 40px;
        gap: 16px;
    }

    .landing-about,
    .landing-faq,
    .landing-blog-teaser {
        margin-top: 40px;
    }

    .landing-about h2,
    .landing-faq h2,
    .landing-blog-teaser h2 {
        font-size: 20px;
    }

    .blog-article h1 {
        font-size: 24px;
    }

    .blog-article h2 {
        font-size: 18px;
    }
}
