:root {
    color-scheme: dark;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.seo-page {
    margin: 0;
    min-width: 320px;
    color: var(--ph-text, #f6f8ff);
    background: #020513;
}

body.seo-page::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% -10%, rgba(59, 130, 246, 0.2), transparent 34%),
        radial-gradient(circle at 8% 34%, rgba(124, 58, 237, 0.12), transparent 28%),
        radial-gradient(circle at 92% 42%, rgba(34, 211, 238, 0.08), transparent 25%),
        linear-gradient(180deg, #020513 0%, #060b20 52%, #020513 100%);
}

body.seo-page a {
    color: inherit;
}

.seo-shell {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    padding: 18px 0;
    background: rgba(2, 5, 19, 0.82);
    border-bottom: 1px solid rgba(147, 164, 255, 0.1);
    backdrop-filter: blur(18px);
}

.site-header .nav {
    width: min(1160px, calc(100% - 40px));
    min-height: 64px;
    margin: 0 auto;
    padding: 8px 10px 8px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border: 1px solid rgba(147, 164, 255, 0.18);
    border-radius: 24px;
    background: rgba(8, 14, 34, 0.86);
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.26);
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: #f7f9ff;
    font-size: 18px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.logo-mark {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: #fff;
    background: linear-gradient(135deg, #7c3aed, #3b82f6 58%, #22d3ee);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.24);
}

.logo-mark svg {
    width: 22px;
    height: 22px;
}

.logo > span:last-child {
    color: #65d8ff;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 7px;
}

.nav-links > a,
.public-mobile-actions > a {
    padding: 11px 13px;
    border-radius: 12px;
    color: #b8c4df;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.nav-links > a:hover,
.nav-links > a.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.055);
}

.nav-links .login {
    margin-left: 5px;
    border: 1px solid rgba(147, 164, 255, 0.2);
}

.nav-links .start {
    color: #fff;
    background: linear-gradient(135deg, #3b82f6, #22c7e9);
    box-shadow: 0 10px 26px rgba(59, 130, 246, 0.22);
}

.menu-toggle {
    width: 44px;
    height: 44px;
    display: none;
    place-items: center;
    border: 1px solid rgba(147, 164, 255, 0.2);
    color: #dbe6ff;
    background: rgba(255, 255, 255, 0.04);
}

.menu-toggle svg {
    width: 24px;
    height: 24px;
}

.breadcrumbs {
    margin: 26px 0 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: #8391b0;
    font-size: 14px;
}

.breadcrumbs a {
    color: #9fc8ff;
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: #d8ebff;
}

.seo-hero {
    padding: 88px 0 74px;
    text-align: center;
}

.eyebrow {
    width: fit-content;
    margin: 0 auto 22px;
    padding: 8px 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(67, 151, 255, 0.32);
    border-radius: 999px;
    color: #a9cfff;
    background: rgba(37, 99, 235, 0.1);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #43d6f5;
    box-shadow: 0 0 14px rgba(67, 214, 245, 0.75);
}

.seo-hero h1 {
    max-width: 940px;
    margin: 0 auto;
    font-size: clamp(42px, 6vw, 74px);
    line-height: 1.03;
    letter-spacing: -0.045em;
}

.seo-hero h1 span {
    color: #a8c5ff;
}

.hero-lead {
    max-width: 780px;
    margin: 24px auto 0;
    color: #aab7d2;
    font-size: clamp(18px, 2vw, 21px);
    line-height: 1.65;
}

.hero-actions {
    margin-top: 32px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    min-height: 50px;
    padding: 13px 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid transparent;
    border-radius: 14px;
    font-weight: 800;
    text-decoration: none;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #3b82f6, #3469ee 58%, #22c7e9);
    box-shadow: 0 15px 38px rgba(59, 130, 246, 0.26);
}

.btn-ghost {
    color: #cad7ef;
    border-color: rgba(147, 164, 255, 0.2);
    background: rgba(255, 255, 255, 0.035);
}

.hero-points {
    max-width: 850px;
    margin: 34px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.hero-points div {
    padding: 15px;
    border: 1px solid rgba(147, 164, 255, 0.14);
    border-radius: 16px;
    color: #b7c4dc;
    background: rgba(10, 17, 40, 0.62);
    font-size: 14px;
    line-height: 1.45;
}

.hero-points strong {
    display: block;
    margin-bottom: 4px;
    color: #f6f8ff;
    font-size: 16px;
}

.content-section {
    padding: 34px 0;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 28px;
}

.section-kicker {
    margin-bottom: 10px;
    color: #4edbf4;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-heading h2,
.seo-card h2,
.bottom-cta h2 {
    margin: 0;
    font-size: clamp(27px, 4vw, 42px);
    line-height: 1.14;
    letter-spacing: -0.025em;
}

.section-heading p,
.seo-card p,
.seo-card li,
.bottom-cta p {
    color: #a7b4cf;
    font-size: 16px;
    line-height: 1.7;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.cards-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.seo-card {
    padding: 26px;
    border: 1px solid rgba(147, 164, 255, 0.16);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(13, 22, 50, 0.92), rgba(8, 14, 33, 0.88));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 20px 54px rgba(0, 0, 0, 0.22);
}

.seo-card h2 {
    font-size: clamp(25px, 3vw, 34px);
}

.seo-card h3 {
    margin: 0 0 10px;
    font-size: 21px;
}

.seo-card p:last-child,
.seo-card ul:last-child,
.seo-card ol:last-child {
    margin-bottom: 0;
}

.card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(50, 210, 238, 0.24);
    border-radius: 15px;
    color: #69e4f7;
    background: rgba(34, 211, 238, 0.08);
    font-size: 20px;
    font-weight: 900;
}

.steps {
    counter-reset: seo-step;
    display: grid;
    gap: 14px;
}

.step {
    counter-increment: seo-step;
    padding: 20px;
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 16px;
    align-items: start;
    border: 1px solid rgba(147, 164, 255, 0.14);
    border-radius: 17px;
    background: rgba(5, 11, 29, 0.56);
}

.step::before {
    content: counter(seo-step);
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: #d9f9ff;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.34), rgba(34, 211, 238, 0.22));
    font-weight: 900;
}

.step strong {
    display: block;
    margin: 2px 0 4px;
    color: #f6f8ff;
    font-size: 18px;
}

.step p {
    margin: 0;
}

.notice {
    margin-top: 18px;
    padding: 18px 20px;
    border: 1px solid rgba(34, 211, 238, 0.22);
    border-radius: 16px;
    color: #c4d4ed;
    background: rgba(34, 211, 238, 0.065);
    line-height: 1.65;
}

.notice strong {
    color: #e8fbff;
}

.link-list {
    padding: 0;
    list-style: none;
}

.link-list li {
    position: relative;
    padding-left: 25px;
}

.link-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #41dfba;
    font-weight: 900;
}

.related-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.related-links a {
    padding: 10px 13px;
    border: 1px solid rgba(147, 164, 255, 0.16);
    border-radius: 12px;
    color: #bcd8ff;
    background: rgba(255, 255, 255, 0.03);
    text-decoration: none;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-list details {
    border: 1px solid rgba(147, 164, 255, 0.16);
    border-radius: 17px;
    background: rgba(9, 16, 37, 0.82);
}

.faq-list summary {
    padding: 20px 54px 20px 20px;
    position: relative;
    cursor: pointer;
    color: #f1f5ff;
    font-size: 17px;
    font-weight: 800;
    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 20px;
    translate: 0 -50%;
    color: #62ddf6;
    font-size: 26px;
    font-weight: 400;
}

.faq-list details[open] summary::after {
    content: "−";
}

.faq-answer {
    padding: 0 20px 20px;
    color: #aab7d2;
    line-height: 1.7;
}

.bottom-cta {
    margin: 52px 0 24px;
    padding: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    border: 1px solid rgba(64, 187, 255, 0.28);
    border-radius: 25px;
    background:
        radial-gradient(circle at 90% 20%, rgba(34, 211, 238, 0.12), transparent 35%),
        linear-gradient(135deg, rgba(21, 48, 99, 0.9), rgba(9, 18, 45, 0.92));
}

.bottom-cta p {
    margin: 10px 0 0;
}

.footer {
    min-height: 90px;
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: #7886a4;
    border-top: 1px solid rgba(147, 164, 255, 0.1);
    font-size: 14px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.footer a {
    color: #9eacc8;
    text-decoration: none;
}

@media (max-width: 920px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }

    .cards-grid.two,
    .hero-points {
        grid-template-columns: 1fr;
    }

    .site-header .nav {
        min-height: 58px;
    }

    .menu-toggle {
        display: grid;
    }

    .nav-links {
        position: fixed;
        top: 96px;
        left: 20px;
        right: 20px;
        z-index: 60;
        max-height: calc(100vh - 120px);
        padding: 14px;
        display: none;
        align-items: stretch;
        flex-direction: column;
        overflow-y: auto;
        border: 1px solid rgba(147, 164, 255, 0.2);
        border-radius: 20px;
        background: rgba(5, 10, 29, 0.98);
        box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links > a,
    .public-mobile-actions > a {
        display: block;
        padding: 13px 15px;
    }

    .nav-links .login {
        margin-left: 0;
    }

    .public-mobile-actions {
        display: grid;
        gap: 8px;
    }
}

@media (max-width: 680px) {
    .seo-shell,
    .site-header .nav {
        width: min(100% - 24px, 1160px);
    }

    .site-header {
        padding: 12px 0;
    }

    .nav-links {
        top: 82px;
        left: 12px;
        right: 12px;
    }

    .seo-hero {
        padding: 60px 0 46px;
    }

    .seo-hero h1 {
        font-size: clamp(38px, 12vw, 54px);
    }

    .hero-actions .btn {
        width: 100%;
    }

    .seo-card,
    .bottom-cta {
        padding: 22px;
    }

    .step {
        grid-template-columns: 38px 1fr;
        gap: 12px;
    }

    .step::before {
        width: 38px;
        height: 38px;
    }

    .bottom-cta,
    .footer {
        align-items: stretch;
        flex-direction: column;
    }

    .bottom-cta .btn {
        width: 100%;
    }
}
