* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0a0a0a;
    color: #e0e0e0;
    line-height: 1.6;
}
/* Для Firefox */
/*div {
    scrollbar-width: thin;
    scrollbar-color: #ffffff44 #ffffff00;
}

/* Для WebKit */
/*div::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

div::-webkit-scrollbar-track {
    background: #cc1919;
    border-radius: 10px;
}

div::-webkit-scrollbar-thumb {
    background: #38a70c;
    border-radius: 10px;
}

div::-webkit-scrollbar-thumb:hover {
    background: #b11b91;
}*/

canvas#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

header, section, footer, .lang-switch {
    position: relative;
    z-index: 2;
}

header {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #2a2a2a;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    max-width: 1300px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}
.logo-img {
    height: 40px;
    width: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.logo-text {
    font-size: 1.7rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff, #b3b3b3);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.main-text {
    font-size: 20px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    flex-wrap: wrap;
}

nav ul li a {
    color: #ccc;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #ffffff;
}

section a {
    color: #cccccc;
    text-decoration: none;
}

.nav-btn {
    background: #ffffff;
    color: #0a0a0a;
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: 0.2s;
    display: inline-block;
}

.nav-btn-secondary {
    background: transparent;
    border: 1px solid #777777;
    color: #ffffff;
}

.nav-btn:hover {
    background: #d0d0d0;
    transform: translateY(-2px);
}

.nav-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

h2 {
    font-size: 2rem;
    border-left: 5px solid #e0e0e0;
    padding-left: 1rem;
    margin-bottom: 1.5rem;
    margin-top: 1rem;
}

h3 {
    color: #d4d4d4;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.trust-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 1.5rem 0;
}

.trust-badges img {
    height: 20px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.quickstart {
    background: #111;
    border-radius: 24px;
    padding: 1rem 1.5rem;
    margin-top: 2rem;
    border: 1px solid #2a2a2a;
}

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

.quickstart-title {
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

pre {
    background: #0f0f12;
    padding: 1rem;
    border-radius: 12px;
    overflow-x: auto;
    font-family: monospace;
    border-left: 3px solid #ffffff;
    margin: 1rem 0;
}


.feature-card {
    background: #111;
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid #2a2a2a;
    transition: 0.2s;
}

.feature-card:hover {
    border-color: #ffffff;
    transform: translateY(-3px);
}

.feature-card h3 {
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.feature-card p {
    color: #aaa;
    font-size: 0.95rem;
}

.checklist {
    list-style: none;
    padding-left: 0;
}

.checklist li {
    margin: 0.8rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.checklist li::before {
    content: "✓";
    color: #ffffff;
    position: absolute;
    left: 0;
}

ul {
    padding-left: 2rem;
    margin: 1rem 0;
}

li {
    margin: 0.5rem 0;
}

footer {
    background: #050505;
    text-align: center;
    padding: 2rem;
    border-top: 1px solid #1f1f1f;
}

footer a {
    color: #ffffff;
    text-decoration: none;
}

.lang-switch {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 8px 16px;
    border: 1px solid #ffffff;
}

.lang-switch button {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 5px 12px;
    margin: 0 4px;
    border-radius: 20px;
    transition: 0.2s;
}

.lang-switch button.active {
    background: #ffffff;
    color: #0a0a0a;
}

.lang-switch button:hover {
    background: #d0d0d0;
}

img {
    max-width: 100%;
    border-radius: 12px;
    margin: 1rem 0;
}

@media (max-width: 800px) {
    nav ul {
        display: none;
    }
    h2 {
        font-size: 1.5rem;
    }
    section {
        padding: 2rem 1rem;
    }
}

@media (max-width: 500px) {
    nav {
        padding: 3.2vw 6.4vw;
        gap: 3.2vw;
    }
    .nav-btn {
        padding: 1.6vw 3.84vw;
        border-radius: 8vw;
        font-size: 2.8vw;
    }
    .logo-img {
        height: 8vw;
        width: 8vw;
        border-radius: 2vw;
    }
    .logo-text {
        font-size: 5.44vw;
    }
    h2 {
        font-size: 4.8vw;
        border-left: 1vw solid #ffffff;
        padding-left: 3.2vw;
        margin-bottom: 4.8vw;
        margin-top: 3.2vw;
    }
    section {
        padding: 6.4vw 3.2vw;
    }
    img {
        border-radius: 2.4vw;
        margin: 3.2vw 0;
    }
    .trust-badges img {
        height: 4vw;
    }
    .trust-badges {
        gap: 3.2vw;
        margin: 4.8vw 0;
    }
    .feature-card {
        width: calc(100vw - 6.4vw);
        border-radius: 4vw;
        padding: 4.8vw;
    }
    .feature-card h3 {
        margin-bottom: 2.56vw;
        font-size: 3.84vw;
    }
    h3 {
        margin-bottom: 2.4vw;
        font-size: 3.2vw;
    }
    .quickstart {
        border-radius: 4.8vw;
        padding: 3.2vw 4.8vw;
        margin-top: 6.4vw;
    }
    .quickstart-title {
        font-weight: bold;
        margin-bottom: 1.6vw;
        font-size: 3.52vw;
    }
    .lang-switch {
        bottom: 4vw;
        right: 4vw;
        border-radius: 8vw;
        padding: 1.6vw 3.2vw;
    }
    .main-text {
        font-size: 4vw;
    }
    .feature-card p {
        font-size: 4vw;
    }
    code {
        font-size: 2.8vw;
    }
    li {
        font-size: 4vw;
        margin: 1.6vw 0;
    }
    .checklist li {
        margin: 2.56vw 0;
        padding-left: 4.8vw;
    }
    ul {
        padding-left: 6.4vw;
        margin: 3.2vw 0;
    }
    pre {
        /*line-height: 0.5;*/
        padding: 3.2vw;
        border-radius: 2.4vw;
        border-left: 0.96vw solid #ffffff;
        margin: 3.2vw 0;
    }
    .lang-switch button {
        font-size: 3vw;
        padding: 1vw 2.4vw;
        margin: 0 0.8vw;
        border-radius: 4vw;
    }
    .hero-actions {
        gap: 3.2vw;
        margin: 6.4vw 0;
    }
    footer {
        padding: 6.4vw;
    }
    
}
html.light,
body.light {
    background: #f4f4f5;
    color: #1a1a1a;

    header {
        background: rgba(255, 255, 255, 0.92);
        border-bottom-color: #e4e4e7;
    }

    .logo-text {
        background: linear-gradient(135deg, #111111, #525252);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

    nav ul li a {
        color: #3f3f46;
    }

    nav ul li a:hover {
        color: #111111;
    }

    section a {
        color: #3f3f46;
    }

    .nav-btn {
        background: #111111;
        color: #ffffff;
    }

    .nav-btn:hover {
        background: #333333;
    }

    .nav-btn-secondary {
        background: transparent;
        border-color: #a1a1aa;
        color: #18181b;
    }

    .nav-btn-secondary:hover {
        background: rgba(0, 0, 0, 0.06);
        color: #111111;
    }

    h2 {
        border-left-color: #18181b;
        color: #18181b;
    }

    h3 {
        color: #27272a;
    }

    .quickstart {
        background: #ffffff;
        border-color: #e4e4e7;
    }

    pre {
        background: #f4f4f5;
        border-left-color: #18181b;
        color: #18181b;
    }

    .feature-card {
        background: #ffffff;
        border-color: #e4e4e7;
    }

    .feature-card:hover {
        border-color: #18181b;
    }

    .feature-card p {
        color: #52525b;
    }

    .checklist li::before {
        color: #18181b;
    }

    footer {
        background: #ffffff;
        border-top-color: #e4e4e7;
    }

    footer a {
        color: #18181b;
    }

    .lang-switch {
        background: #ffffff;
        border-color: #18181b;
    }

    .lang-switch button {
        color: #18181b;
    }

    .lang-switch button.active {
        background: #18181b;
        color: #ffffff;
    }

    .lang-switch button:hover {
        background: #e4e4e7;
    }
}
