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

:root {
    --color-dark: #1a1a2e;
    --color-light: #f8fafc;
    --color-white: #ffffff;
    --color-text: #4a4a68;
    --color-accent: #6c63ff;
    --color-headings: #1a1a2e;
    --color-footer-bg: #1a1a2e;
    --color-footer-text: #94a3b8;
    --color-overlay: #1a1a2e;
    --overlay-opacity: 0.7;
    --btn1-bg: #6c63ff;
    --btn1-color: #ffffff;
    --btn2-bg: #ff6584;
    --btn2-color: #ffffff;
    --btn2-border: #ff6584;
    --rb1-bg: #6c63ff;
    --rb2-bg: #ff6584;
    --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    line-height: 1.7;
    font-size: 1.05rem;
    background: var(--color-white);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--color-accent);
    text-decoration: none;
}

a:hover {
    opacity: 0.8;
}

.site-header {
    position: relative;
    z-index: 100;
    padding: 15px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    font-size: 1.4rem;
    font-weight: 700;
}

.site-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.site-logo img {
    display: block;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.header-nav a {
    font-size: 0.95rem;
    font-weight: 500;
    transition: opacity 0.2s;
}

.header-nav a:hover {
    opacity: 0.8;
}

.lang-switcher {
    position: relative;
}

.lang-dropdown {
    position: relative;
}

.lang-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid currentColor;
    color: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.lang-dropdown-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lang-arrow {
    transition: transform 0.2s;
}

.lang-dropdown.open .lang-arrow {
    transform: rotate(180deg);
}

.lang-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    list-style: none;
    margin: 0;
    padding: 6px 0;
    min-width: 70px;
    z-index: 300;
    max-height: 240px;
    overflow-y: auto;
}

.lang-dropdown.open .lang-dropdown-menu {
    display: block;
}

.lang-dropdown-menu li a {
    display: block;
    padding: 6px 16px;
    color: var(--color-text);
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    transition: background 0.15s;
}

.lang-dropdown-menu li a:hover {
    background: var(--color-light);
    opacity: 1;
    color: var(--color-text);
}

.lang-dropdown-menu li a.active {
    color: var(--color-accent);
}

.mobile-nav .lang-dropdown-toggle {
    font-size: 1rem;
    padding: 8px 18px;
}

.mobile-nav .lang-dropdown-menu {
    position: static;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-top: 8px;
    max-height: 200px;
}

.mobile-nav .lang-dropdown-menu li a {
    color: inherit;
    font-size: 1rem;
}

.mobile-nav .lang-dropdown-menu li a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-nav .lang-dropdown-menu li a.active {
    color: var(--color-accent);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 210;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle span + span {
    margin-top: 5px;
}

.menu-toggle.is-active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 7px);
}

.menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -7px);
}

.mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.mobile-nav.is-open {
    display: flex;
}

.mobile-nav-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2.5rem;
    cursor: pointer;
    padding: 5px 12px;
    line-height: 1;
    z-index: 211;
}

.mobile-nav-close:hover {
    opacity: 0.7;
}

.mobile-nav a {
    font-size: 1.4rem;
    font-weight: 600;
    transition: opacity 0.2s;
}

.mobile-nav a:hover {
    opacity: 0.7;
}

.mobile-nav .lang-switcher {
    font-size: 1rem;
}

.mobile-nav .lang-switcher a {
    font-size: 1rem;
    padding: 5px 10px;
}

.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--color-dark);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: var(--hero-overlay-color, var(--color-overlay));
    opacity: var(--hero-overlay-opacity, var(--overlay-opacity));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    width: 100%;
    padding: 40px 20px;
}

.hero-title {
    color: var(--color-light);
    font-size: calc(1.6rem + 1.5vw);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 10px;
    display: block;
}

.hero-subtitle {
    color: rgba(248, 250, 252, 0.8);
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 35px;
    line-height: 1.5;
}

.hero-text-above {
    color: var(--color-light);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 25px;
}

.round-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 50px;
    margin-bottom: 25px;
}

a.round-btn,
.round-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.3s ease;
    width: auto;
    max-width: 120px;
}

.round-btn:hover {
    transform: scale(1.08);
    opacity: 1;
}

.round-btn-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    transition: box-shadow 0.3s ease;
}

.round-btn:nth-child(1) .round-btn-circle {
    background: var(--rb1-bg);
}

.round-btn:nth-child(2) .round-btn-circle {
    background: var(--rb2-bg);
}

.round-btn:hover .round-btn-circle {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.round-btn-circle img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 0;
}

.round-btn-emoji {
    font-size: 42px;
    line-height: 1;
}

.round-btn-label {
    color: var(--color-light);
    font-size: 0.95rem;
    font-weight: 600;
    display: block;
    text-align: center;
}

.hero-text-below {
    color: rgba(248, 250, 252, 0.7);
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.hero-btn {
    display: inline-block;
    padding: 16px 50px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.hero-btn:hover {
    transform: scale(1.05);
    filter: brightness(0.85);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.35);
}

.hero-btn--primary {
    background: var(--btn1-bg);
    color: var(--btn1-color);
    border-color: var(--btn1-bg);
}

.hero-btn--secondary {
    background: var(--btn2-bg);
    color: var(--btn2-color);
    border-color: var(--btn2-border);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-indicator svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: rgba(248, 250, 252, 0.6);
    stroke-width: 2;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

.page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 20px;
}

.page-content .page-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 30px;
    color: var(--color-headings);
}

.page-content h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 50px 0 20px;
    padding-left: 20px;
    border-left: 8px solid var(--color-accent);
    color: var(--color-headings);
}

.page-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 40px 0 15px;
    color: var(--color-headings);
}

.page-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.9;
}

.page-content ul, .page-content ol {
    margin: 0 0 20px 25px;
}

.page-content li {
    margin-bottom: 8px;
    line-height: 1.8;
}

.page-content blockquote {
    border-left: 4px solid var(--color-accent);
    padding: 15px 25px;
    margin: 30px 0;
    font-style: italic;
    background: #f0efff;
    border-radius: 0 8px 8px 0;
}

.page-content img {
    border-radius: 8px;
    margin: 20px 0;
}

.site-footer {
    text-align: center;
    padding: 40px 20px;
    font-size: 0.9rem;
    background: var(--color-footer-bg);
    color: var(--color-footer-text);
}

.site-footer a,
.footer-nav a {
    color: var(--color-footer-text);
}

.footer-nav {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 20px;
}

.footer-nav a {
    font-size: 0.8rem;
    transition: opacity 0.2s;
}

.footer-nav a:hover {
    opacity: 0.7;
}

@media (max-width: 768px) {
    .site-header {
        padding: 10px 15px !important;
    }

    .header-nav {
        display: none !important;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }

    .hero-text-above {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }

    .round-buttons {
        gap: 35px;
    }

    .round-btn-circle {
        width: 85px;
        height: 85px;
    }

    .round-btn-circle img {
        width: 40px;
        height: 40px;
    }

    .round-btn-emoji {
        font-size: 36px;
    }

    .hero-text-below {
        font-size: 0.85rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .hero-btn {
        display: block;
        width: 100%;
        max-width: 320px;
        padding: 14px 30px;
        font-size: 1rem;
        text-align: center;
    }

    .page-content {
        padding: 50px 15px;
    }

    .page-content h2 {
        font-size: 1.5rem;
    }

    .site-header .site-logo img {
        height: 35px !important;
        width: auto !important;
    }
}
