/* SEO landing pages — reuses brand tokens from landing.min.css */

.seo-page .seo-breadcrumb {
    font-size: 0.85rem;
    color: var(--text-secondary, #64748b);
    padding: 1.25rem 0 0.25rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}
.seo-page .seo-breadcrumb a {
    color: var(--primary-color, #204B7B);
    text-decoration: none;
}
.seo-page .seo-breadcrumb a:hover { text-decoration: underline; }

.seo-hero { padding-top: 2.5rem; }
.seo-hero-inner {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}
.seo-hero .hero-title { margin-bottom: 1.25rem; }
.seo-hero .gradient-text.d-block { display: block; }
.seo-hero .hero-subtitle { margin-left: auto; margin-right: auto; }
.seo-hero .hero-cta { justify-content: center; }

.seo-section { padding: 3.5rem 0; position: relative; }
.seo-section-alt { background: var(--bg-soft, #f8fafc); border-radius: 1.5rem; }

.seo-prose {
    max-width: 780px;
    margin: 0 auto;
    color: var(--text-secondary, #475569);
    font-size: 1.05rem;
    line-height: 1.75;
}
.seo-prose h2 {
    color: var(--text-primary, #0f172a);
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 2rem 0 0.75rem;
}
.seo-prose p { margin-bottom: 1rem; }

.seo-muted {
    color: var(--text-secondary, #64748b);
    max-width: 640px;
    margin: 0 auto 2rem;
}

/* Benefit cards */
.seo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
.seo-card {
    background: #fff;
    border: 1px solid rgba(32, 75, 123, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.seo-card:hover { transform: translateY(-4px); border-color: rgba(32, 75, 123, 0.25); }
.seo-card-icon {
    width: 48px; height: 48px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 0.75rem;
    background: rgba(32, 75, 123, 0.08);
    color: var(--primary-color, #204B7B);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}
.seo-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary, #0f172a);
    margin-bottom: 0.5rem;
}
.seo-card p { font-size: 0.92rem; color: var(--text-secondary, #64748b); margin: 0; line-height: 1.55; }

/* Feature list */
.seo-feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 2.5rem;
    max-width: 920px;
    margin: 2rem auto 0;
}
.seo-feature { display: flex; gap: 1rem; align-items: flex-start; }
.seo-feature-icon {
    flex: 0 0 auto;
    width: 44px; height: 44px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 0.7rem;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    font-size: 1.25rem;
}
.seo-feature h3 { font-size: 1rem; font-weight: 700; color: var(--text-primary, #0f172a); margin-bottom: 0.25rem; }
.seo-feature p { font-size: 0.9rem; color: var(--text-secondary, #64748b); margin: 0; line-height: 1.5; }

/* Comparison table */
.seo-table-wrap { max-width: 820px; margin: 2rem auto 0; overflow-x: auto; }
.seo-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid rgba(32, 75, 123, 0.12);
    border-radius: 1rem;
    overflow: hidden;
    background: #fff;
}
.seo-table th, .seo-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(32, 75, 123, 0.08);
    font-size: 0.95rem;
}
.seo-table thead th {
    background: rgba(32, 75, 123, 0.04);
    color: var(--text-primary, #0f172a);
    font-weight: 700;
    text-align: center;
}
.seo-table thead th:first-child { text-align: left; }
.seo-table tbody tr:last-child td { border-bottom: none; }
.seo-feature-name { font-weight: 600; color: var(--text-primary, #0f172a); }
.seo-col-highlight { background: rgba(32, 75, 123, 0.05); }
.seo-table thead th.seo-col-highlight { background: rgba(32, 75, 123, 0.1); }
.cmp-yes { color: #10b981; font-size: 1.1rem; }
.cmp-no { color: #ef4444; font-size: 1.05rem; }
.cmp-partial { color: #d97706; font-size: 0.8rem; font-weight: 600; }

/* FAQ */
.seo-accordion { max-width: 820px; margin: 2rem auto 0; }
.seo-accordion .accordion-item {
    border: 1px solid rgba(32, 75, 123, 0.1);
    border-radius: 0.85rem !important;
    margin-bottom: 0.75rem;
    overflow: hidden;
}
.seo-accordion .accordion-button {
    font-weight: 600;
    color: var(--text-primary, #0f172a);
}
.seo-accordion .accordion-button:not(.collapsed) {
    background: rgba(32, 75, 123, 0.05);
    color: var(--primary-color, #204B7B);
}
.seo-accordion .accordion-button:focus { box-shadow: none; }
.seo-accordion .accordion-body { color: var(--text-secondary, #475569); line-height: 1.65; }

/* Related links */
.seo-related {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}
.seo-related-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.25rem;
    border-radius: 2rem;
    background: #fff;
    border: 1px solid rgba(32, 75, 123, 0.18);
    color: var(--primary-color, #204B7B);
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    transition: all 0.2s ease;
}
.seo-related-link:hover {
    background: var(--primary-color, #204B7B);
    color: #fff;
    border-color: var(--primary-color, #204B7B);
}

@media (max-width: 991px) {
    .seo-grid { grid-template-columns: repeat(2, 1fr); }
    .seo-feature-list { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
    .seo-grid { grid-template-columns: 1fr; }
    .seo-section { padding: 2.5rem 0; }
}

/* =========================================================
   Public marketing pages — shared UI (pricing, blog, tools, contact)
   ========================================================= */

.seo-page .navbar .nav-link.active {
    color: var(--primary-color, #204B7B);
    font-weight: 600;
}

.public-page-hero {
    padding: 3rem 0 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.seo-hero-title,
.public-page-hero h1 {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--text-primary, #0f172a);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.seo-hero-desc,
.public-page-hero .lead {
    font-size: 1.05rem;
    color: var(--text-secondary, #64748b);
    line-height: 1.65;
    max-width: 620px;
    margin: 0 auto;
}

.public-section {
    padding: 3rem 0;
    position: relative;
    z-index: 1;
}

.public-section-alt {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(32, 75, 123, 0.06);
    border-bottom: 1px solid rgba(32, 75, 123, 0.06);
}

.public-section .section-title {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--text-primary, #0f172a);
    margin-bottom: 0.5rem;
}

.public-section .section-subtitle {
    color: var(--text-secondary, #64748b);
    font-size: 1rem;
    max-width: 560px;
    margin: 0 auto 2rem;
}

.public-cta-band {
    background: linear-gradient(135deg, #1A3C6B 0%, #204B7B 50%, #16365A 100%);
    color: #fff;
    padding: 3.5rem 0;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.public-cta-band::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(229, 57, 53, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.public-cta-band h2 {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.public-cta-band p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    max-width: 520px;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 1;
}

.public-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.public-breadcrumb {
    font-size: 0.85rem;
    padding: 1rem 0 0;
    position: relative;
    z-index: 1;
}

.public-breadcrumb .breadcrumb {
    margin: 0;
    background: transparent;
}

.public-breadcrumb .breadcrumb-item a {
    color: var(--primary-color, #204B7B);
    text-decoration: none;
}

.public-breadcrumb .breadcrumb-item a:hover {
    text-decoration: underline;
}

/* Contact standalone */
.contact-info-card,
.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(32, 75, 123, 0.08);
    border-radius: 1rem;
    box-shadow: 0 8px 32px rgba(32, 75, 123, 0.08);
}

.contact-info-card .contact-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary-color, #204B7B), var(--primary-dark, #1A3C6B));
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
}

.contact-map-placeholder {
    height: 280px;
    background: linear-gradient(135deg, rgba(32, 75, 123, 0.06) 0%, rgba(32, 75, 123, 0.12) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    border: 1px solid rgba(32, 75, 123, 0.08);
}

@media (max-width: 767px) {
    .contact-info-card,
    .contact-form-wrapper {
        padding: 1.25rem !important;
    }

    .contact-map-placeholder {
        height: 200px;
    }
}

/* Pricing cards */
.pricing-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 1rem;
    box-shadow: 0 4px 24px rgba(32, 75, 123, 0.08);
    padding: 2rem;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(32, 75, 123, 0.08);
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 40px rgba(32, 75, 123, 0.14);
}

.pricing-card-popular {
    border: 2px solid var(--primary-color, #204B7B);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color, #204B7B);
    color: #fff;
    padding: 4px 20px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
}

.plan-icon { font-size: 2.2rem; color: var(--primary-color, #204B7B); margin-bottom: 0.5rem; }
.plan-name { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.25rem; }
.plan-tagline { color: #6c757d; font-size: 0.9rem; margin-bottom: 1rem; }
.plan-price { display: flex; align-items: baseline; gap: 2px; margin-bottom: 0.25rem; }
.price-currency { font-size: 1.5rem; font-weight: 700; }
.price-amount { font-size: 3rem; font-weight: 800; line-height: 1; color: var(--primary-color, #204B7B); }
.price-period { font-size: 0.9rem; color: #6c757d; }
.price-note { font-size: 0.8rem; color: #6c757d; margin-bottom: 1.5rem; }
.plan-features { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.plan-features li { padding: 6px 0; font-size: 0.95rem; display: flex; align-items: center; gap: 8px; }
.pricing-card-body { flex: 1; }
.pricing-card-footer { margin-top: auto; }
.pricing-compare-table th { background: rgba(32, 75, 123, 0.04); font-weight: 600; }
.pricing-compare-table td,
.pricing-compare-table th { padding: 0.85rem 1rem; vertical-align: middle; }

.pricing-toggle .toggle-label { font-size: 0.95rem; }

@media (max-width: 991px) {
    .public-cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .public-cta-actions .btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 767px) {
    .public-page-hero {
        padding: 2rem 0 1.25rem;
    }

    .public-section {
        padding: 2rem 0;
    }

    .pricing-card {
        padding: 1.35rem 1.15rem;
    }

    .price-amount {
        font-size: 2.25rem;
    }

    .price-currency {
        font-size: 1.2rem;
    }

    .pricing-toggle {
        flex-wrap: wrap;
        gap: 0.5rem 0.75rem !important;
    }

    .pricing-compare-table td,
    .pricing-compare-table th {
        padding: 0.55rem 0.5rem;
        font-size: 0.82rem;
    }
}
