/* === Home / Public Marketing Page === */

.home-page {
    max-width: 1100px;
    margin: 0 auto;
}

/* Hero */
.hero-section {
    text-align: center;
    padding: 3rem 1rem 2rem;
}

.hero-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--zf-text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--zf-text-secondary);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn-large {
    padding: 0.75rem 2rem;
    font-size: 1rem;
    border-radius: 0.5rem;
}

/* Features */
.features-section {
    padding: 3rem 1rem;
    text-align: center;
}

.features-section h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--zf-text-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    padding: 1.5rem;
    border: 1px solid var(--zf-card-border);
    border-radius: 0.75rem;
    text-align: left;
    background: var(--zf-card-bg);
    transition: box-shadow 0.15s;
}

.feature-card:hover {
    box-shadow: var(--zf-card-shadow);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue-light, #eff7ff);
    color: var(--blue, #1870d1);
    border-radius: 0.5rem;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--zf-text-primary);
}

.feature-card p {
    font-size: 0.9375rem;
    color: var(--zf-text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Pricing */
.pricing-section {
    padding: 3rem 1rem;
    text-align: center;
}

.pricing-section h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--zf-text-primary);
}

.pricing-subtitle {
    font-size: 1rem;
    color: var(--zf-text-secondary);
    margin-bottom: 2rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    text-align: left;
}

.pricing-card {
    border: 1px solid var(--zf-card-border);
    border-radius: 0.75rem;
    padding: 2rem;
    background: var(--zf-card-bg);
    position: relative;
}

.pricing-card.featured {
    border-color: var(--zf-primary);
    box-shadow: 0 4px 12px rgba(24, 112, 209, 0.15);
}

.pricing-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--zf-text-primary);
}

.pricing-card .price {
    margin-bottom: 0.75rem;
}

.pricing-card .price .amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--zf-text-primary);
}

.pricing-card .price .period {
    font-size: 0.875rem;
    color: var(--zf-text-secondary);
}

.plan-description {
    font-size: 0.875rem;
    color: var(--zf-text-secondary);
    margin-bottom: 1.5rem;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.plan-features li {
    padding: 0.375rem 0;
    font-size: 0.9375rem;
    color: var(--zf-text-primary);
}

.plan-features li::before {
    content: "\2713";
    color: var(--zf-success);
    font-weight: 700;
    margin-right: 0.5rem;
}

/* CTA */
.cta-section {
    text-align: center;
    padding: 3rem 1rem;
    background: var(--zf-section-bg);
    border-radius: 0.75rem;
    margin: 2rem 0;
}

.cta-section h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--zf-text-primary);
}

.cta-section p {
    font-size: 1rem;
    color: var(--zf-text-secondary);
    margin-bottom: 1.5rem;
}

/* Error / Not Found pages */
.error-page, .not-found-page {
    text-align: center;
    padding: 3rem 1rem;
}

.error-page .error-code, .not-found-page .error-code {
    font-size: 4rem;
    font-weight: 700;
    color: var(--zf-border);
    margin-bottom: 0.5rem;
}

.error-page h2, .not-found-page h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--zf-text-primary);
}

.error-page p, .not-found-page p {
    color: var(--zf-text-secondary);
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 1.75rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

/* Legal links at bottom of homepage */
.legal-links-section {
    text-align: center;
    padding: 2rem 0 1rem;
    font-size: 0.875rem;
    color: var(--zf-text-secondary);
}

.legal-links-section a {
    color: var(--zf-text-secondary);
}

.legal-links-section a:hover {
    color: var(--zf-link);
}

.legal-separator {
    margin: 0 0.5rem;
}
