:root {
    --primary: #5B4BFF;
    --primary-dark: #3426B7;
    --secondary: #00BFA6;
    --accent: #F9B934;
    --surface: #0F172A;
    --text-dark: #0F172A;
    --text-muted: #4B5563;
    --background: #F8FAFF;
    --border: #E2E8F0;
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --shadow-lg: 0 25px 60px rgba(15, 23, 42, 0.18);
    --shadow-md: 0 18px 40px rgba(15, 23, 42, 0.12);
    --shadow-sm: 0 8px 20px rgba(15, 23, 42, 0.08);
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--background);
}

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

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(18px);
    padding: 1.1rem 2.4rem;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-inner {
    width: min(1200px, 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    font-weight: 700;
    letter-spacing: 0.02em;
    font-size: 1.1rem;
}

.brand span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--gradient-primary);
    box-shadow: var(--shadow-sm);
    font-weight: 800;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    font-size: 0.96rem;
    position: relative;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.3rem;
    width: 100%;
    height: 2px;
    background: rgba(255,255,255,0.0);
    transition: background 0.3s ease;
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
    background: rgba(255,255,255,0.7);
}

.cta-btn {
    padding: 0.85rem 1.6rem;
    border-radius: 999px;
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 15px 30px rgba(91, 75, 255, 0.35);
}

.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.lang-button {
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.22);
    background: rgba(255,255,255,0.08);
    color: white;
    padding: 0.35rem 0.85rem;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-button.active,
.lang-button:hover {
    background: var(--gradient-primary);
    box-shadow: 0 10px 24px rgba(91,75,255,0.28);
}

main {
    width: min(1200px, 100%);
    margin: 0 auto;
    padding: 3rem 2.4rem 5rem;
}

.lang-block {
    display: none;
}

.lang-block.active {
    display: block;
}

footer.site-footer {
    margin-top: 5rem;
    background: var(--surface);
    color: rgba(241,245,249,0.85);
    padding: 3.5rem 2.4rem;
}

footer .footer-grid {
    width: min(1200px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.2rem;
}

footer .footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: white;
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.6rem;
}

footer a {
    color: rgba(241,245,249,0.85);
}

footer .bottom-bar {
    width: min(1200px, 100%);
    margin: 2.5rem auto 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.9rem;
    color: rgba(148,163,184,0.7);
}

@media (max-width: 960px) {
    .nav-links {
        display: none;
    }
    .navbar {
        padding: 1rem 1.5rem;
    }
    main {
        padding: 2.5rem 1.5rem 4rem;
    }
}

@media (max-width: 640px) {
    main {
        padding: 2.2rem 1.1rem 4rem;
    }
    .language-switcher {
        display: none;
    }
}
