html {
    scroll-behavior: smooth;
}

body.seo-page {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at top, rgba(229, 0, 0, 0.16), transparent 34%),
        radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.06), transparent 28%),
        linear-gradient(180deg, #090909 0%, #050505 100%);
    color: var(--madness-text);
    font-family: 'Rajdhani', sans-serif;
}

body.seo-page::before,
body.seo-page::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
}

body.seo-page::before {
    background:
        linear-gradient(rgba(229, 0, 0, 0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(229, 0, 0, 0.028) 1px, transparent 1px);
    background-size: 44px 44px;
    opacity: 0.8;
}

body.seo-page::after {
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.68) 100%);
}

.seo-shell {
    position: relative;
    z-index: 1;
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 24px 0 56px;
}

.seo-topbar,
.seo-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.seo-topbar {
    padding: 14px 18px;
    background: rgba(17, 17, 19, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    backdrop-filter: blur(12px);
}

.seo-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--madness-text-bright);
    text-decoration: none;
    font-family: 'Share Tech Mono', monospace;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.seo-brand-mark {
    color: var(--madness-red);
    text-shadow: 0 0 18px var(--madness-red-glow);
    font-size: 1.2rem;
}

.seo-brand-subtitle,
.seo-footer-note,
.seo-meta {
    color: var(--madness-text-dim);
    font-family: 'Share Tech Mono', monospace;
    letter-spacing: 0.08em;
}

.seo-links,
.seo-lang-switch {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.seo-links a,
.seo-lang-switch a,
.seo-footer a,
.seo-inline-links a,
.seo-card a,
.seo-section a {
    color: var(--madness-text);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.seo-links a:hover,
.seo-lang-switch a:hover,
.seo-footer a:hover,
.seo-inline-links a:hover,
.seo-card a:hover,
.seo-section a:hover {
    color: var(--madness-text-bright);
    border-color: rgba(229, 0, 0, 0.55);
}

.seo-lang-switch a,
.seo-links a,
.seo-footer a,
.seo-mini-link {
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
}

.seo-lang-switch a.is-active {
    background: rgba(229, 0, 0, 0.14);
    border-color: rgba(229, 0, 0, 0.5);
    color: #fff;
}

.seo-hero {
    margin-top: 18px;
    padding: 34px;
    background: linear-gradient(180deg, rgba(17, 17, 19, 0.9), rgba(10, 10, 10, 0.82));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.38);
}

.seo-badge,
.seo-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(229, 0, 0, 0.12);
    border: 1px solid rgba(229, 0, 0, 0.34);
    color: #fff;
    font-family: 'Share Tech Mono', monospace;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.seo-title {
    margin: 16px 0 10px;
    color: #fff;
    font-family: 'Share Tech Mono', monospace;
    font-size: clamp(2rem, 5vw, 3.85rem);
    line-height: 1.04;
    letter-spacing: 0.04em;
}

.seo-subtitle,
.seo-lead,
.seo-section p,
.seo-card p,
.seo-faq-item p,
.seo-list li {
    color: rgba(240, 240, 245, 0.88);
    font-size: 1.08rem;
    line-height: 1.72;
}

.seo-meta {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 0.84rem;
}

.seo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.seo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid rgba(229, 0, 0, 0.6);
    background: linear-gradient(180deg, rgba(229, 0, 0, 0.92), rgba(170, 0, 0, 0.9));
    color: #fff;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.96rem;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.seo-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 24px rgba(229, 0, 0, 0.34);
}

.seo-btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.16);
}

.seo-btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: none;
}

.seo-main {
    display: grid;
    gap: 18px;
    margin-top: 18px;
}

.seo-grid,
.seo-card-grid,
.seo-columns {
    display: grid;
    gap: 18px;
}

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

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

.seo-section,
.seo-card,
.seo-highlight,
.seo-faq-item {
    background: rgba(17, 17, 19, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 24px;
    backdrop-filter: blur(12px);
}

.seo-section-title,
.seo-card h2,
.seo-card h3,
.seo-highlight-title,
.seo-faq-item h3 {
    margin: 0 0 14px;
    color: #fff;
    font-family: 'Share Tech Mono', monospace;
    font-size: 1.08rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.seo-list,
.seo-pills,
.seo-inline-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

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

.seo-list li {
    padding-left: 18px;
    position: relative;
}

.seo-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--madness-red);
    box-shadow: 0 0 14px var(--madness-red-glow);
}

.seo-pills,
.seo-inline-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.seo-pill,
.seo-inline-list li {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--madness-text-bright);
}

.seo-highlight {
    background: linear-gradient(135deg, rgba(229, 0, 0, 0.18), rgba(17, 17, 19, 0.88));
    border-color: rgba(229, 0, 0, 0.24);
}

.seo-inline-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.seo-faq {
    display: grid;
    gap: 14px;
}

.seo-footer {
    margin-top: 18px;
    padding: 18px;
    background: rgba(17, 17, 19, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
}

.seo-footer-note {
    font-size: 0.78rem;
}

.seo-spacer {
    flex: 1 1 auto;
}

.seo-eyebrow {
    color: rgba(255, 255, 255, 0.72);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.88rem;
}

.seo-mini {
    font-size: 0.95rem;
    color: rgba(240, 240, 245, 0.8);
}

a[aria-disabled="true"] {
    pointer-events: none;
    opacity: 0.55;
}

@media (max-width: 720px) {
    .seo-shell {
        width: min(100%, calc(100% - 20px));
        padding: 10px 0 40px;
    }

    .seo-topbar,
    .seo-section,
    .seo-card,
    .seo-highlight,
    .seo-faq-item,
    .seo-hero,
    .seo-footer {
        padding: 18px;
        border-radius: 20px;
    }

    .seo-title {
        letter-spacing: 0.02em;
    }

    .seo-subtitle,
    .seo-lead,
    .seo-section p,
    .seo-card p,
    .seo-faq-item p,
    .seo-list li {
        font-size: 1rem;
    }
}
