.landing {
    min-height: 100vh;
    background: var(--bg-gradient);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.landing::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.landing-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    position: relative;
    z-index: 1;
}

.landing-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.landing-logo span {
    color: var(--accent);
}

.landing-nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.landing-nav-links a {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
}

.landing-nav-links a:hover {
    color: var(--text-primary);
}

.landing-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem 3rem;
    position: relative;
    z-index: 1;
}

.landing-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.landing-hero h1 span {
    color: var(--accent);
}

.landing-hero p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.landing-cta {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    border-radius: var(--radius-lg);
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    transition: all 0.2s;
}

.landing-cta:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.3);
}

.landing-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: 800px;
    margin: 2rem auto 0;
    position: relative;
    z-index: 1;
}

.landing-feature {
    text-align: center;
    padding: 1rem;
}

.landing-feature-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.landing-feature h3 {
    font-size: 0.8125rem;
    color: var(--text-primary);
    font-weight: 600;
}

.landing-auth-link {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 1.5rem;
    position: relative;
    z-index: 1;
}

.landing-auth-link a {
    color: var(--accent);
    font-weight: 600;
}

.landing-section {
    max-width: 960px;
    margin: 0 auto 3rem;
    padding: 0 2rem;
    width: 100%;
    position: relative;
    z-index: 1;
}

.landing-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.landing-section-header h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.landing-section-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
    transition: color 0.2s;
}

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

.landing-posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.landing-post-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.landing-post-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.landing-post-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.landing-post-author-wrap {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.landing-post-author {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.landing-post-time {
    font-size: 0.6875rem;
    color: var(--text-muted);
}

.landing-post-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
}

.landing-post-title a {
    color: var(--text-primary);
    transition: color 0.2s;
}

.landing-post-title a:hover {
    color: var(--accent);
    text-decoration: none;
}

.landing-post-content {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.landing-post-footer {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

.landing-post-stat {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
}

.landing-post-open {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--accent);
    margin-left: auto;
    transition: color 0.2s;
}

.landing-post-open:hover {
    color: var(--accent-hover);
}

.landing-footer {
    text-align: center;
    padding: 2rem;
    position: relative;
    z-index: 1;
    margin-top: auto;
}

.landing-footer p {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.landing-footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.landing-footer-links a {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.landing-footer-links a:hover {
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .landing-hero h1 {
        font-size: 2rem;
    }
    .landing-features {
        grid-template-columns: repeat(2, 1fr);
    }
    .landing-nav {
        padding: 0.75rem 1rem;
    }
    .landing-section {
        padding: 0 1rem;
    }
    .landing-posts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .landing-features {
        grid-template-columns: 1fr;
    }

    .landing-hero {
        padding: 2rem 1rem;
    }

    .landing-hero h1 {
        font-size: 1.75rem;
    }

    .landing-hero p {
        font-size: 1rem;
    }

    .landing-cta {
        width: 100%;
        text-align: center;
    }

    .landing-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.375rem;
    }
}
