@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;700&family=IBM+Plex+Sans+JP:wght@400;500;600;700&display=swap');

@font-face {
    font-family: 'IBM Plex Mono';
    font-style: normal;
    font-display: swap;
    font-weight: 400;
    src: url(/_astro/ibm-plex-mono-cyrillic-ext-400-normal.B3hZxag_.woff2) format("woff2"), url(/_astro/ibm-plex-mono-cyrillic-ext-400-normal.ZyMXPjaT.woff) format("woff");
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

:root {
    --bg: #000000;
    --text: #ffffff;
    --muted: rgba(255, 255, 255, 0.78);
    --border: rgba(255, 255, 255, 0.2);
}

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

html,
body {
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
    background: var(--bg);
    color: var(--text);
}

body {
    font-family: 'IBM Plex Sans', 'Segoe UI', Arial, sans-serif;
    line-height: 1.5;
    letter-spacing: 0.02em;
}

body.is-loading {
    overflow: hidden;
}

#bg-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    display: block;
    pointer-events: none;
}

.page-shell {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    background: transparent;
}

.Loading__container,
.loading-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 999999 !important;
    background-color: #000000 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s ease;
}

.Loading__container.is-hidden,
.loading-overlay.is-hidden,
.Loading__container[data-hidden] {
    opacity: 0 !important;
    visibility: hidden;
    pointer-events: none;
}

.Loading__lottieContainer {
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    left: 50%;
    transform: translate(-50%);
    mask: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%)
}

@media not screen and (min-width: 769px) {
    .Loading__lottieContainer {
        width: 100%;
        mask: unset;
        -webkit-mask: unset
    }
}

.Loading__lottie {
    position: absolute;
    inset: 0;
    width: 100%;
    height: auto;
}

.Loading__logo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.Loading__logo svg path {
    stroke: #bbb !important;
}

/* Language Toggle Visibility */
html[lang="en"] .he-text,
html:not([lang="he"]) .he-text {
    display: none !important;
}

html[lang="he"] .en-text {
    display: none !important;
}


.Loading__text {
    position: relative;
    z-index: 10;
    color: #fff !important;
    text-align: center;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 0.95rem;
    line-height: 1.7;
    letter-spacing: 0.04em;
    margin-top: 220px;
}

.Header__container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 120;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 50px;
    pointer-events: none;
    overflow: hidden;
}

.Header__logo,
.Header__nav,
.Header__right_controls,
.Header__lang_btn,
.Header__contact,
.HamburgerIcon__hamburger {
    pointer-events: auto;
}

.Header__logo a {
    display: inline-flex;
    align-items: center;
    color: var(--text);
    text-decoration: none;
}

.Header__logo img {
    height: 60px;
    width: auto;
    display: block;
    vertical-align: middle;
    padding-top: 5px;
}

.Header__nav {
    display: flex;
    gap: 40px;
    align-items: center;
}

.Header__nav a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.875rem;
    letter-spacing: 0.1rem;
    font-family: 'IBM Plex Sans JP', 'Noto Sans JP', sans-serif;
    transition: opacity 0.25s ease;
}

.Header__nav a:hover,
.Header__lang_btn:hover,
.Header__contact:hover {
    opacity: 0.7;
}

.Header__right_controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.Header__lang_btn {
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.14em;
    font-family: 'IBM Plex Mono', monospace;
}

.Header__contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 999px;
    color: var(--text);
    text-decoration: none;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: 'IBM Plex Mono', monospace;
    transition: all 0.25s ease;
}

.Header__contact:hover {
    background: #fff;
    color: #000;
}

.HamburgerIcon__hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.HamburgerIcon__line {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.HamburgerIcon__hamburger[aria-expanded="true"] .HamburgerIcon__line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.HamburgerIcon__hamburger[aria-expanded="true"] .HamburgerIcon__line:nth-child(2) {
    opacity: 0;
}

.HamburgerIcon__hamburger[aria-expanded="true"] .HamburgerIcon__line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.SideMenu__overlay {
    position: fixed;
    inset: 0;
    z-index: 140;
    pointer-events: none;
}

.SideMenu__overlay[data-open="true"] {
    pointer-events: auto;
}

.SideMenu__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.SideMenu__overlay[data-open="true"] .SideMenu__backdrop {
    opacity: 1;
}

.SideMenu__menu {
    position: absolute;
    top: 0;
    right: 0;
    width: min(86vw, 340px);
    height: 100vh;
    padding: 88px 24px 32px;
    background: rgba(0, 0, 0, 0.96);
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    transform: translateX(100%);
    transition: transform 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.SideMenu__overlay[data-open="true"] .SideMenu__menu {
    transform: translateX(0);
}

.SideMenu__menu a {
    color: var(--text);
    text-decoration: none;
    font-size: 1.05rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 8px 0;
}

.Layout__main {
    position: relative;
    z-index: 1;
}

.PageContact__container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 127px 0 127px;
}

.PageContact__inner {
    width: min(90%, 1800px);
    margin: 0 auto;
    padding-top: 113px;
    letter-spacing: 0.08em;
}

.PageContact__head {
    font-size: 80px;
    font-weight: 600;
    line-height: 0.865;
    letter-spacing: 0;
}

.PageContact__content {
    margin-top: 128px;
    margin-left: 36%;
    max-width: 580px;
}

.PageContact__textSection {
    margin-bottom: 50px;
}

.PageContact__textSection_jp {
    font-family: 'IBM Plex Sans JP', 'Noto Sans JP', sans-serif;
    font-size: 18px;
    line-height: 2;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

.PageContact__textSection_en {
    color: var(--muted);
    font-family: 'Google Sans Code', monospace;
    font-size: 14px;
    line-height: 1.6;
}

.PageContact__button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 400px;
    max-width: 100%;
    padding: 20px 0;
    border-bottom: 1px solid #fff;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s ease;
    margin-bottom: 24px;
}

.PageContact__button:hover {
    opacity: 0.75;
}

.PageContact__button_main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.PageContact__button_en {
    font-size: 28px;
    font-family: 'IBM Plex Sans JP', 'Noto Sans JP', sans-serif;
    line-height: 1;
    letter-spacing: 0.05em;
}

.PageContact__button_jp {
    color: var(--muted);
    font-size: 14px;
    line-height: 1;
    font-family: 'IBM Plex Sans JP', 'Noto Sans JP', sans-serif;
    margin-top: 3px;
    letter-spacing: 0.05em;
}

.PageContact__button_arrow {
    width: 40px;
    height: 40px;
    border: 1px solid #fff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    padding: 10px;
    transition: background-color 0.25s ease;
}

.PageContact__button:hover .PageContact__button_arrow {
    background-color: #fff;
}

.PageContact__button_arrow svg {
    width: 12px;
    height: 12px;
}

.PageContact__button:hover .PageContact__button_arrow svg path {
    fill: #000;
}

/* Contact Form Styling */
.PageContact__formContainer {
    margin-bottom: 40px;
}

.PageContact__form {
    background: transparent;
    border: none;
    padding: 0;
}

.PageContact__formRow {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 28px;
}

.PageContact__fieldGroup {
    display: flex;
    flex-direction: column;
}

.PageContact__fieldGroup--full {
    grid-column: 1 / -1;
}

.PageContact__label {
    display: block;
    font-family: 'IBM Plex Sans JP', 'Noto Sans JP', sans-serif;
    font-size: 13px;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin-bottom: 8px;
}

.PageContact__input,
.PageContact__textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 0;
    padding: 12px 0 14px;
    color: #fff;
    font-family: 'Google Sans Code', monospace;
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.PageContact__input::placeholder,
.PageContact__textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.PageContact__input:focus,
.PageContact__textarea:focus {
    border-bottom-color: #fff;
}

.PageContact__textarea {
    resize: vertical;
    min-height: 90px;
}

.PageContact__submitBtn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 0;
    border: none;
    border-bottom: 1px solid #fff;
    background: transparent;
    color: var(--text);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.PageContact__submitBtn:hover {
    opacity: 0.75;
}

.PageContact__submitBtn:hover .PageContact__button_arrow {
    background-color: #fff;
}

.PageContact__submitBtn:hover .PageContact__button_arrow svg path {
    fill: #000;
}

.PageContact__submitText {
    font-size: 28px;
    font-family: 'IBM Plex Sans JP', 'Noto Sans JP', sans-serif;
    line-height: 1;
    letter-spacing: 0.05em;
    text-align: left;
}

html[lang="he"] .PageContact__submitText {
    text-align: right;
}

.PageContact__submitBtn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

.PageContact__status {
    margin-top: 24px;
    padding: 16px 20px;
    border-radius: 8px;
    font-size: 16px;
    line-height: 1.5;
    display: none;
    transition: all 0.3s ease;
}

.PageContact__status--success {
    display: block;
    background: rgba(18, 180, 110, 0.12);
    border: 1px solid rgba(18, 180, 110, 0.35);
    color: #4ae39f;
}

.PageContact__status--error {
    display: block;
    background: rgba(255, 60, 80, 0.12);
    border: 1px solid rgba(255, 60, 80, 0.35);
    color: #ff6b7c;
}

.PageContact__divider {

    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin: 48px 0 28px;
    padding-top: 28px;
    font-family: 'IBM Plex Sans JP', 'Noto Sans JP', sans-serif;
    font-size: 14px;
    letter-spacing: 0.06em;
    color: var(--muted);
}

.Footer__footer {
    position: relative;
    z-index: 1;
    padding: 80px 50px 40px;
}

.Footer__inner {
    /* width: min(90%, 1800px); */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.Footer__top {
    display: flex;
    justify-content: space-between;
    gap: 32px;
}

.Footer__top_links {
    display: flex;
    gap: 40px;
}

.Footer__column {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.Footer__pageLink,
.Footer__privacyLicense_link {
    color: rgba(255, 255, 255, 0.86);
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    transition: opacity 0.25s ease;
}

.Footer__pageLink:hover,
.Footer__privacyLicense_link:hover,
.Footer__contact_button:hover {
    opacity: 0.7;
}

.Footer__top_contact {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-end;
}

.Footer__contact_button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    text-decoration: none;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    transition: opacity 0.25s ease;
}

.Footer__contact_button_text {
    font-size: 1.15rem;
    letter-spacing: 0.03em;
}

.Footer__contact_button_icon {
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 50%;
    display: grid;
    place-items: center;
}

.Footer__contact_button_icon svg {
    width: 12px;
    height: 12px;
}

.Footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 36px;
    border-top: none;
}

.Footer__copyright {
    color: #ffffff;
    font-size: clamp(1.5rem, 2.2vw, 2rem);
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.2;
    text-align: right;
}

.Footer__logo {
    display: flex;
    align-items: center;
}

.Footer__logo img {
    height: 40px;
    width: auto;
    display: block;
}

@media (max-width: 900px) {
    .PageContact__content {
        margin-left: 0;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .Header__container {
        padding: 30px 10px;
    }

    .Header__nav {
        display: none;
    }

    .Header__right_controls {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-left: auto;
    }

    .Header__right_controls .Header__contact {
        display: none;
    }

    .Header__lang_btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 42px;
        height: 42px;
        padding: 0 10px;
        border: 1px solid rgba(255, 255, 255, 0.5);
        border-radius: 999px;
        font-size: 0.75rem;
    }

    .HamburgerIcon__hamburger {
        display: flex;
        margin-left: 10px;
    }

    .PageContact__container {
        padding: 80px 0 150px;
    }

    .PageContact__inner {
        width: calc(100% - 50px);
        padding-top: 56px;
    }

    .PageContact__head {
        font-size: 56px;
    }

    .PageContact__content {
        margin-top: 64px;
        margin-left: 0;
    }

    .PageContact__textSection {
        margin-bottom: 40px;
    }

    .PageContact__button {
        width: 100%;
        padding: 20px 0;
    }

    .PageContact__button_en {
        font-size: 24px;
        letter-spacing: 0.01em;
    }

    .PageContact__button_jp {
        font-size: 14px;
        font-weight: 500;
    }

    .PageContact__button_arrow {
        width: 35px;
        height: 35px;
        padding: 10px;
    }

    .PageContact__formRow {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-bottom: 18px;
    }
    
    .PageContact__submitText {
        font-size: 24px;
    }

    .Footer__footer {
        padding: 64px 20px 30px;
    }

    .Footer__inner {
        width: calc(100% - 40px);
    }

    .Footer__top {
        flex-direction: column;
        gap: 24px;
    }

    .Footer__top_links {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .Footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .Footer__copyright {
        font-size: 1.5rem;
        text-align: left;
    }
}

html[lang="he"] body {
    direction: rtl;
}

html[lang="he"] .SideMenu__menu {
    right: auto;
    left: 0;
    transform: translateX(-100%);
    border-left: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

html[lang="he"] .SideMenu__overlay[data-open="true"] .SideMenu__menu {
    transform: translateX(0);
}

html[lang="he"] .PageContact__content {
    margin-left: 0;
    margin-right: 36%;
    max-width: 580px;
}

@media (max-width: 900px) {
    html[lang="he"] .PageContact__content {
        margin-right: 0;
    }
}