:root {
    --bg-50: #050514;
    --bg-100: #0a0a29;
    --bg-200: #141452;
    --bg-400: #2929a3;
    --bg-500: #3333cc;
    --bg-600: #5c5cd6;
    --pr-400: #458748;
    --pr-500: #57a859;
    --pr-600: #78ba7b;
    --pr-700: #9acb9c;
    --pr-800: #bcdcbd;
    --pr-50: #091109;
    --tx-700: #7e78ed;
    --tx-800: #a9a5f3;
    --tx-900: #d4d2f9;
    --tx-950: #eae9fc;
    --sc-500: #e77518;
    --surface: var(--bg-50);
    --card-bg: rgba(10, 10, 41, 0.68);
    --glass: rgba(5, 5, 20, 0.82);
    --text: var(--tx-950);
    --text-muted: var(--tx-800);
    --text-subtle: var(--tx-700);
    --border: rgba(92, 92, 214, 0.18);
    --border-mid: rgba(92, 92, 214, 0.30);
    --border-hi: rgba(92, 92, 214, 0.46);
    --border-green: rgba(120, 186, 123, 0.38);
    --r-xl: 26px;
    --r-lg: 18px;
    --r-md: 12px;
    --r-sm: 8px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

html::-webkit-scrollbar {
    display: none;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
}

html,
body {
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Manrope', sans-serif;
    color: var(--text);
    background:
        radial-gradient(ellipse 90% 55% at 8% 0%, rgba(31, 31, 122, 0.52), transparent),
        radial-gradient(ellipse 60% 40% at 92% 8%, rgba(52, 101, 54, 0.20), transparent),
        radial-gradient(ellipse 55% 65% at 50% 100%, rgba(41, 41, 163, 0.24), transparent),
        var(--bg-50);
    background-attachment: fixed;
}

.pf-glow {
    position: fixed;
    border-radius: 999px;
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
    animation: pfFloat 13s ease-in-out infinite;
}

.pf-glow-1 {
    width: 440px;
    height: 440px;
    top: -100px;
    left: -120px;
    background: rgba(41, 41, 163, 0.28);
}

.pf-glow-2 {
    width: 300px;
    height: 300px;
    bottom: 10%;
    right: -80px;
    background: rgba(52, 101, 54, 0.18);
    animation-delay: -5s;
}

@keyframes pfFloat {

    0%,
    100% {
        transform: translateY(0) translateX(0)
    }

    33% {
        transform: translateY(-22px) translateX(14px)
    }

    66% {
        transform: translateY(11px) translateX(-9px)
    }
}

.pf-page {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.pf-wrap {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 28px 60px;
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.pf-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    border: 1px solid var(--border-mid);
    border-radius: var(--r-lg);
    background: var(--glass);
    backdrop-filter: blur(18px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.28);
}

.pf-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 2.5px;
    color: var(--pr-600);
}

.pf-back {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color 0.18s;
}

.pf-back:hover {
    color: var(--pr-600);
}

.pf-back svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pf-doc {
    padding: 36px 44px;
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.pf-doc-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.pf-doc-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--pr-600);
    background: rgba(69, 135, 72, 0.10);
    border: 1px solid var(--border-green);
    border-radius: 99px;
    padding: 4px 12px;
    width: fit-content;
}

.pf-doc-header h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(22px, 4vw, 36px);
    font-weight: 900;
    letter-spacing: 0.5px;
    color: var(--pr-700);
    line-height: 1.15;
}

.pf-doc-meta {
    font-size: 12px;
    color: var(--text-subtle);
}

.pf-doc-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pf-doc-section h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--pr-600);
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.pf-doc-section h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--tx-900);
    margin-top: 8px;
}

.pf-doc-section p {
    font-size: 16px;
    line-height: 1.85;
    color: var(--text-muted);
}

.pf-doc-section ul {
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.pf-doc-section ul li {
    font-size: 14px;
    line-height: 1.75;
    color: var(--text-muted);
}

.pf-doc-section ul li strong {
    color: var(--tx-900);
    font-weight: 700;
}

.pf-doc-section a {
    color: var(--pr-600);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.18s;
}

.pf-doc-section a:hover {
    color: var(--pr-700);
}

.pf-doc-highlight {
    padding: 16px 20px;
    border-radius: var(--r-md);
    border: 1px solid var(--border-green);
    background: rgba(52, 101, 54, 0.07);
    font-size: 13.5px;
    line-height: 1.8;
    color: var(--tx-900);
}

.pf-doc-highlight strong {
    color: var(--pr-600);
}

.pf-region-tag {
    display: inline-block;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--tx-800);
    background: rgba(92, 92, 214, 0.12);
    border: 1px solid var(--border-mid);
    border-radius: 4px;
    padding: 2px 7px;
    margin-right: 6px;
    vertical-align: middle;
}

.pf-footer {
    padding: 16px 0 2px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.pf-footer p {
    font-size: 14px;
    color: var(--text-subtle);
}

.pf-footer-links {
    display: flex;
    gap: 16px;
}

.pf-footer-links a {
    font-size: 12px;
    color: var(--text-subtle);
    transition: color 0.18s;
}

.pf-footer-links a:hover {
    color: var(--pr-600);
}

@media (max-width: 700px) {
    .pf-wrap {
        padding: 14px 14px 40px;
    }

    .pf-doc {
        padding: 24px 18px;
        gap: 24px;
    }

    .pf-footer {
        flex-direction: column;
        gap: 7px;
    }
}