/* 03_landing.css — Landing page (ported from styles.py inject_landing_styles
   + inject_public_page_styles gradient background). */

.public-page {
    background: linear-gradient(180deg, var(--bg-green-light) 0%, var(--bg-page) 100%);
    min-height: 100vh;
}
.public-content {
    max-width: 1240px;
    margin: 0 auto;
    padding: 24px;
}

/* Hero */
.hero-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 32px;
    align-items: flex-start;
    margin-top: 2rem;
}
.hero-title {
    font-size: 40px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.15;
    letter-spacing: -0.8px;
    margin-top: 0;
    margin-bottom: 0.5rem;
}
.hero-subtitle {
    font-size: 19px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1.25rem;
    font-weight: 400;
}
.hero-cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* Trust badges */
.trust-badge-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 2rem 0;
}
.trust-badge {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    text-align: center;
    box-shadow: rgba(0, 0, 0, 0.03) 0px 2px 4px;
}
.trust-number {
    font-size: 34px;
    font-weight: 600;
    color: var(--brand-green);
    letter-spacing: -0.8px;
    line-height: 1.1;
}
.trust-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.65px;
}

/* Feature cards */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 1.5rem 0;
}
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    height: 100%;
    min-height: 180px;
    box-shadow: rgba(0, 0, 0, 0.03) 0px 2px 4px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 12px;
}
.feature-icon { margin-bottom: 1rem; }
.trust-item-icon { margin-bottom: 12px; }
.feature-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.2px;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}
.feature-desc {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.5;
    font-weight: 400;
}

/* Section label */
.section-label {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.65px;
    color: var(--text-gray);
}

/* Trust & credibility section (text-only in the Dash app) */
.trust-section {
    background: var(--bg-green-light);
    border: 1px solid rgba(29, 158, 117, 0.1);
    border-radius: 24px;
    padding: 32px 32px 28px;
    margin: 1.5rem 0;
}
.trust-badge-label {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.65px;
    color: var(--brand-green);
    text-align: center;
    margin-bottom: 4px;
}
.trust-heading {
    text-align: center;
    color: var(--text-primary);
    font-size: 1.85rem;
    font-weight: 600;
    letter-spacing: -0.8px;
    margin-bottom: 1.25rem;
}
.trust-section-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 1.25rem;
}
.trust-item { text-align: center; padding: 12px 16px; }
.trust-item-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}
.trust-item-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}
.trust-footer-text {
    text-align: center;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 640px;
    margin: 0 auto 1rem;
}
.trust-cta-wrap { text-align: center; }
.trust-cta-link {
    color: var(--brand-green);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
}

/* Landing section headings */
.landing-section-heading {
    text-align: center;
    color: var(--text-primary);
    font-size: 2.1rem;
    font-weight: 600;
    letter-spacing: -0.8px;
    margin: 2.5rem 0 2rem 0;
}
.hero-trust-line {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    margin-top: 0.75rem;
}

/* Dashboard preview mockup (hero right column) */
.dashboard-preview {
    background: var(--bg-card);
    border: 1px solid rgba(29, 158, 117, 0.15);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.12), 0 0 40px rgba(29, 158, 117, 0.06);
    overflow: hidden;
    position: relative;
    border-top: 3px solid var(--brand-green);
}
.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
.preview-top-label { color: var(--text-muted); font-size: 0.925rem; font-weight: 500; }
.preview-pill {
    background: var(--brand-green-accent);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 500;
}
.preview-row { margin-bottom: 0.75rem; }
.preview-line {
    display: flex;
    justify-content: space-between;
    color: var(--text-primary);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    font-weight: 500;
}
.preview-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    margin-right: 6px;
}
.preview-rate { color: var(--brand-green-deep); font-weight: 600; }
.preview-bar { height: 6px; border-radius: 3px; }
.preview-detail-link {
    text-align: center;
    color: var(--brand-green-deep);
    font-size: 0.925rem;
    margin-top: 1rem;
    font-weight: 500;
}

/* Article preview block */
.article-preview-card {
    background: linear-gradient(135deg, var(--bg-green-light) 0%, var(--bg-card) 100%);
    border: 1px solid rgba(24, 226, 153, 0.3);
    border-radius: 24px 24px 0 0;
    padding: 32px 32px 24px;
    box-shadow: rgba(0, 0, 0, 0.03) 0px 2px 4px;
}
.article-preview-badge {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.65px;
    color: var(--brand-green-deep);
    margin-bottom: 12px;
}
.article-preview-title {
    color: var(--text-primary);
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -0.24px;
    line-height: 1.3;
    margin: 0 0 12px 0;
}
.article-preview-desc {
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.5;
    margin: 0;
}
.article-preview-cta {
    display: block;
    text-align: center;
    background: var(--text-primary);
    color: var(--bg-page);
    border-radius: 0 0 24px 24px;
    padding: 12px 24px;
    font-weight: 500;
    text-decoration: none;
}
/* Article preview grid — FIC + FPV cards side-by-side, stacked on mobile */
.article-preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 1.5rem 0;
}
.article-preview-item { display: flex; flex-direction: column; }
.article-preview-item .article-preview-card { flex: 1; }
.article-preview-grid .article-preview-title { font-size: 22px; }

/* How-it-works steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.step-block { text-align: center; padding: 1rem; }
.step-circle {
    background: var(--brand-green);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    font-size: 1.2rem;
    color: #ffffff;
    font-weight: 600;
    box-shadow: rgba(0, 0, 0, 0.06) 0px 1px 2px;
}
.step-title { color: var(--text-primary); margin-bottom: 0.5rem; font-weight: 600; }
.step-desc { color: var(--text-muted); font-size: 0.925rem; line-height: 1.5; }

/* Pricing preview (landing) */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.pricing-card ul { padding-left: 20px; margin: 0; }
.overlay-host { position: relative; overflow: hidden; }
.coming-soon-overlay {
    position: absolute;
    inset: 0;
    background: rgba(240, 253, 244, 0.6);
    backdrop-filter: blur(2px);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
html[data-theme="dark"] .coming-soon-overlay {
    background: rgba(13, 40, 24, 0.6);
}
.coming-soon-badge {
    background: var(--text-primary);
    color: var(--bg-page);
    padding: 10px 24px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    margin-bottom: 8px;
}
.coming-soon-subtext { color: var(--text-muted); font-size: 14px; margin: 0; }

/* Final CTA */
.final-cta-box {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--bg-green-light);
    border-radius: 24px;
    border: 1px solid rgba(29, 158, 117, 0.1);
    margin-top: 2rem;
}
.final-cta-subheading {
    color: var(--text-muted);
    font-size: 1.2rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .steps-grid, .pricing-grid, .article-preview-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer */
.professional-footer {
    border-top: 1px solid var(--border);
    margin-top: 4rem;
    padding: 3rem 0 1.5rem 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}
.footer-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 12px 0 0 0;
}
.footer-col-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}
.footer-link {
    display: block;
    font-size: 14px;
    /* Distinct link color so the footer links read as clickable (Inicio,
       Metodología, support@bighubsolutions.com). */
    color: var(--brand-green);
    text-decoration: none;
    margin-bottom: 8px;
}
.footer-link:hover { text-decoration: underline; }
.footer-item {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0 0 8px 0;
}
.footer-bottom {
    max-width: 1240px;
    margin: 2rem auto 0;
    padding: 1.5rem 24px 0;
    border-top: 1px solid var(--border);
    text-align: center;
}
.footer-copyright, .footer-copyright p {
    font-size: 13px;
    color: var(--text-gray);
    margin: 0 0 8px 0;
}
/* PROTECTED Big Hub Solutions anchor — distinct, clickable link color.
   Authoritative rule lives in 01_base.css; kept consistent here. */
.footer-copyright a { color: var(--brand-green); text-decoration: underline; }
.footer-disclaimer {
    font-size: 12px;
    color: var(--text-gray);
    margin: 0;
    line-height: 1.5;
}
