@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css");

html:not(.auth-nav-ready) body:has(.seo-page) .nav-auth,
html:not(.auth-nav-ready) body:has(.seo-page) .seo-actions {
    visibility: hidden;
}

body:has(.seo-page) .nav-auth {
    flex: 0 0 200px;
    justify-content: flex-end;
}

.seo-page {
    padding: 120px 0 70px;
}

.seo-hero {
    position: relative;
    overflow: hidden;
    padding: 70px 0 45px;
}

.seo-kicker {
    color: var(--accent-amber);
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: .82rem;
    margin-bottom: 14px;
}

.seo-title {
    color: #f8fafc;
    font-size: clamp(2.4rem, 6vw, 5rem);
    line-height: 1.02;
    margin: 0 0 18px;
}

.seo-subtitle {
    color: #cbd5e1;
    max-width: 820px;
    font-size: 1.15rem;
    line-height: 1.75;
    margin: 0 0 28px;
}

.seo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 34px;
}

.seo-actions .btn-secondary[href*="services"] {
    color: #0b1114;
}

.seo-stats,
.seo-grid,
.seo-faq {
    display: grid;
    gap: 18px;
}

.seo-stats {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.seo-stat,
.seo-card,
.seo-faq-item {
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.seo-stat strong {
    display: block;
    color: #f8fafc;
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.seo-stat span,
.seo-card p,
.seo-faq-item p {
    color: #94a3b8;
    line-height: 1.7;
}

.seo-section {
    padding: 44px 0;
}

.seo-section h2 {
    color: #f8fafc;
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin: 0 0 14px;
}

.seo-section > .container > p {
    color: #cbd5e1;
    max-width: 850px;
    line-height: 1.75;
}

.seo-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    margin-top: 22px;
}

.seo-card h3,
.seo-faq-item h3 {
    color: #f8fafc;
    margin: 0 0 10px;
}

.seo-list {
    color: #cbd5e1;
    line-height: 1.9;
    margin: 18px 0 0;
    padding-left: 22px;
}

.seo-faq {
    margin-top: 22px;
    grid-template-columns: 1fr;
}

.seo-breadcrumb {
    color: #94a3b8;
    margin-bottom: 22px;
    font-size: .95rem;
}

.seo-breadcrumb a {
    color: var(--accent-amber);
    text-decoration: none;
}

.seo-link-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.seo-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border: 1px solid rgba(43, 195, 164, 0.42);
    color: #f8fafc;
    border-radius: 999px;
    padding: 9px 17px;
    text-decoration: none;
    background: rgba(43, 195, 164, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.2;
    transition: border-color 0.2s ease, background-color 0.2s ease,
        color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.seo-pill:hover {
    border-color: var(--accent-amber);
    color: #fff;
    background: rgba(255, 138, 74, 0.13);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

.seo-pill:focus-visible {
    outline: 2px solid var(--accent-amber);
    outline-offset: 3px;
}

a.feature-card {
    display: block;
    color: inherit;
    text-decoration: none;
}

.seo-article {
    max-width: 920px;
}

.seo-article h2,
.seo-article h3 {
    color: #f8fafc;
    margin-top: 34px;
}

.seo-article p {
    color: #cbd5e1;
    line-height: 1.85;
}

.seo-article a {
    color: var(--accent-amber);
}

.seo-card a {
    color: inherit;
    text-decoration: none;
}

.seo-card .seo-card-link {
    display: inline-block;
    margin-top: 12px;
    color: var(--accent-amber);
    font-weight: 700;
}

@media (max-width: 768px) {
    body:has(.seo-page) .nav-wrapper {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
        padding-bottom: 8px;
    }

    body:has(.seo-page) .logo {
        order: 1;
        flex: 0 0 100%;
        justify-content: center;
        text-align: center;
    }

    body:has(.seo-page) .nav-menu {
        position: static;
        order: 2;
        display: flex;
        flex: 0 0 100%;
        width: 100%;
        flex-direction: row;
        justify-content: center;
        gap: 8px;
        overflow-x: auto;
        padding: 6px 2px;
        background: transparent;
        border: 0;
        transform: none;
        white-space: nowrap;
        scrollbar-width: none;
    }

    body:has(.seo-page) .nav-menu::-webkit-scrollbar {
        display: none;
    }

    body:has(.seo-page) .nav-menu li {
        flex: 0 0 auto;
    }

    body:has(.seo-page) .nav-link {
        display: block;
        padding: 7px 10px;
        font-size: .82rem;
    }

    body:has(.seo-page) .nav-auth,
    body:has(.seo-page) .mobile-toggle {
        display: none !important;
    }

    body:has(.seo-page) .seo-page {
        padding-top: 175px;
    }
}
