:root {
    --text: #f4f7ff;
    --muted: #d5defd;
    --panel: rgba(8, 12, 26, 0.78);
    --line: rgba(255, 255, 255, 0.15);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text);
    background: #0b1020;
}

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

.container {
    width: min(1100px, 92vw);
    margin: 0 auto;
}

.site-header {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 110;
    width: min(340px, calc(100vw - 24px));
    backdrop-filter: blur(10px);
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 12px;
}

.locale-switcher-wrap {
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 120;
}

.locale-switcher {
    min-width: 180px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--panel);
    backdrop-filter: blur(10px);
}

.locale-switcher summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    color: var(--text);
}

.locale-switcher summary::-webkit-details-marker {
    display: none;
}

.locale-switcher summary::after {
    content: '▾';
    margin-left: auto;
    font-size: 0.75rem;
}

.locale-switcher[open] summary::after {
    transform: rotate(180deg);
}

.locale-switcher ul {
    margin: 0;
    padding: 0 8px 8px;
    list-style: none;
    border-top: 1px solid var(--line);
}

.locale-switcher li {
    margin: 0;
}

.locale-switcher a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    border-radius: 8px;
    padding: 8px;
}

.locale-switcher a:hover,
.locale-switcher a.is-active {
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
}

.locale-flag {
    width: 1.25rem;
    text-align: center;
}

.nav-wrap {
    padding: 14px;
}

.brand {
    display: inline-block;
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.site-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.menu-link,
.menu-toggle {
    text-align: left;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.2;
    padding: 3px 0;
    cursor: pointer;
}

.menu-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 12px;
}

.menu-toggle::after {
    content: '▾';
    display: inline-block;
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1;
    transform: rotate(-90deg);
    transform-origin: center;
    transition: transform 0.2s ease, color 0.2s ease;
}

.menu-toggle[aria-expanded='true']::after {
    transform: rotate(0deg);
    color: var(--text);
}

.menu-link:hover,
.menu-toggle:hover,
.menu-link:focus,
.menu-toggle:focus {
    color: var(--text);
    outline: none;
}

.submenu {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-left: 14px;
    margin-top: -2px;
    margin-bottom: 2px;
    border-left: 1px solid var(--line);
}

.submenu[hidden] {
    display: none;
}

.submenu-link {
    font-size: 0.88rem;
}

.page-slide {
    position: relative;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(5, 9, 22, 0.76), rgba(6, 10, 24, 0.45));
}

.slide-content {
    position: relative;
    z-index: 1;
    padding-left: min(380px, 36vw);
    padding-right: 24px;
}

.slide-content h1 {
    margin: 0 0 12px;
    font-size: clamp(2rem, 4.8vw, 4rem);
    line-height: 1.08;
    max-width: 14ch;
}

.slide-content p {
    margin: 0;
    font-size: clamp(1rem, 2.2vw, 1.3rem);
    color: var(--muted);
    max-width: 58ch;
}

.feedback-intro {
    margin-bottom: 16px;
}

.feedback-form {
    margin-top: 14px;
    max-width: min(680px, 92vw);
    display: grid;
    gap: 10px;
}

.feedback-form label {
    font-size: 0.9rem;
    color: var(--muted);
}

.feedback-form input,
.feedback-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px 12px;
    color: var(--text);
    background: rgba(10, 14, 32, 0.85);
    font: inherit;
}

.feedback-form textarea {
    resize: vertical;
    min-height: 140px;
}

.feedback-form button {
    width: fit-content;
    border: 0;
    border-radius: 10px;
    padding: 10px 18px;
    font-weight: 600;
    background: #83a8ff;
    color: #0b1020;
    cursor: pointer;
}

.feedback-notice {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    max-width: min(680px, 92vw);
    border: 1px solid transparent;
}

.feedback-notice-success {
    background: rgba(45, 190, 120, 0.18);
    border-color: rgba(92, 226, 156, 0.35);
}

.feedback-notice-error {
    background: rgba(220, 72, 72, 0.18);
    border-color: rgba(238, 120, 120, 0.35);
}

.footer-logo-wrapper {
    position: fixed;
    bottom: 48px;
    right: 24px;
    z-index: 85;
    width: 12vw;
    max-width: 144px;
}

.footer-logo-image {
    width: 100%;
    height: auto;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.footer-logo-image:hover {
    opacity: 1;
}

.site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 90;
    border-top: 1px solid var(--line);
    background: rgba(8, 12, 26, 0.55);
    color: var(--muted);
}

.site-footer .container {
    padding: 8px 0;
}

.site-footer p {
    margin: 0;
    font-size: 0.8rem;
}

#fp-nav ul li a span,
.fp-slidesNav ul li a span {
    background: #ffffff;
}

@media (max-width: 900px) {
    .slide-content {
        padding-left: 28px;
        padding-top: 120px;
    }

    .site-header {
        width: calc(100vw - 24px);
    }

    .locale-switcher {
        min-width: 154px;
    }
}



