/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* =========================================
   PAGE
========================================= */

html,
body {
    width: 100%;
    height: 100%;
}


body {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    color: #ffffff;

    background:
        radial-gradient(
            circle at 15% 15%,
            rgba(255, 255, 255, 0.10),
            transparent 28%
        ),

        radial-gradient(
            circle at 85% 85%,
            rgba(255, 255, 255, 0.07),
            transparent 30%
        ),

        radial-gradient(
            circle at 50% 50%,
            rgba(255, 255, 255, 0.035),
            transparent 45%
        ),

        linear-gradient(
            135deg,
            #070707 0%,
            #121212 50%,
            #080808 100%
        );

    overflow: hidden;
}


/* =========================================
   MAIN PAGE
========================================= */

.page {
    width: 100%;
    max-width: 780px;

    display: flex;
    align-items: center;
    justify-content: center;
}


/* =========================================
   LANGUAGE SELECTOR
========================================= */

.language-selector {
    position: fixed;

    top: 22px;
    right: 22px;

    z-index: 100;
}


.language-button {
    display: flex;
    align-items: center;

    gap: 9px;

    padding: 11px 15px;

    border: 1px solid rgba(255, 255, 255, 0.18);

    border-radius: 13px;

    color: rgba(255, 255, 255, 0.92);

    background: rgba(255, 255, 255, 0.055);

    backdrop-filter: blur(22px) saturate(140%);
    -webkit-backdrop-filter: blur(22px) saturate(140%);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.10),
        0 8px 30px rgba(0, 0, 0, 0.18);

    font-family: inherit;

    font-size: 13px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}


.language-button:hover {
    background: rgba(255, 255, 255, 0.095);

    border-color: rgba(255, 255, 255, 0.28);

    transform: translateY(-1px);
}


.language-button:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.5);

    outline-offset: 3px;
}


.language-symbol {
    font-size: 15px;

    opacity: 0.7;
}


/* =========================================
   CSS CHEVRON
========================================= */

.arrow {
    width: 7px;
    height: 7px;

    margin-left: 2px;

    border-right: 1.5px solid rgba(255, 255, 255, 0.65);
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.65);

    transform:
        rotate(45deg)
        translateY(-2px);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease;
}


.language-button:hover .arrow {
    border-color: #ffffff;
}


.language-selector.open .arrow {
    transform:
        rotate(225deg)
        translateY(-2px);
}


/* =========================================
   LANGUAGE MENU
========================================= */

.language-menu {
    position: absolute;

    top: calc(100% + 8px);
    right: 0;

    width: 175px;

    padding: 7px;

    border: 1px solid rgba(255, 255, 255, 0.16);

    border-radius: 15px;

    background: rgba(18, 18, 18, 0.62);

    backdrop-filter: blur(25px) saturate(150%);
    -webkit-backdrop-filter: blur(25px) saturate(150%);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 20px 50px rgba(0, 0, 0, 0.35);

    opacity: 0;

    visibility: hidden;

    transform:
        translateY(-7px)
        scale(0.98);

    transform-origin: top right;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        visibility 0.2s ease;
}


.language-selector.open .language-menu {
    opacity: 1;

    visibility: visible;

    transform:
        translateY(0)
        scale(1);
}


.language-menu button {
    width: 100%;

    padding: 9px 12px;

    border: 1px solid transparent;

    border-radius: 9px;

    color: rgba(255, 255, 255, 0.82);

    background: transparent;

    font-family: inherit;

    font-size: 13px;

    text-align: left;

    cursor: pointer;

    transition:
        background 0.18s ease,
        color 0.18s ease,
        transform 0.18s ease;
}


.language-menu button:hover {
    color: #ffffff;

    background: rgba(255, 255, 255, 0.09);

    transform: translateX(2px);
}


/* =========================================
   GLASS CARD
========================================= */

.glass-card {
    --mouse-x: 50%;
    --mouse-y: 50%;

    position: relative;

    width: 100%;

    padding: 48px 58px 34px;

    border: 1px solid rgba(255, 255, 255, 0.16);

    border-radius: 30px;

    background:
        radial-gradient(
            circle at var(--mouse-x) var(--mouse-y),
            rgba(255, 255, 255, 0.13),
            transparent 28%
        ),

        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.105),
            rgba(255, 255, 255, 0.045)
        );

    backdrop-filter: blur(30px) saturate(140%);
    -webkit-backdrop-filter: blur(30px) saturate(140%);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.13),
        inset 0 -1px 0 rgba(255, 255, 255, 0.035),
        0 30px 90px rgba(0, 0, 0, 0.40);

    text-align: center;

    overflow: hidden;

    transition:
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}


/* Glass reflection */

.glass-card::before {
    content: "";

    position: absolute;

    top: -40%;
    left: -20%;

    width: 70%;
    height: 180%;

    background:
        linear-gradient(
            105deg,
            transparent 25%,
            rgba(255, 255, 255, 0.035) 45%,
            rgba(255, 255, 255, 0.075) 50%,
            rgba(255, 255, 255, 0.025) 55%,
            transparent 75%
        );

    transform: rotate(8deg);

    pointer-events: none;

    opacity: 0.7;
}


/* Mouse light */

.glass-card::after {
    content: "";

    position: absolute;

    inset: 0;

    border-radius: inherit;

    background:
        radial-gradient(
            circle at var(--mouse-x) var(--mouse-y),
            rgba(255, 255, 255, 0.08),
            transparent 22%
        );

    pointer-events: none;

    opacity: 0;

    transition: opacity 0.3s ease;
}


.glass-card.mouse-active::after {
    opacity: 1;
}


/* Keep content above effects */

.glass-card > * {
    position: relative;

    z-index: 2;
}


/* =========================================
   LOGO
========================================= */

.logo {
    margin-bottom: 27px;

    font-size: 40px;

    font-weight: 800;

    letter-spacing: -1.8px;
}


.logo span {
    opacity: 0.42;
}


/* =========================================
   TEXT
========================================= */

.eyebrow {
    margin-bottom: 11px;

    font-size: 12px;

    font-weight: 650;

    letter-spacing: 2.4px;

    text-transform: uppercase;

    color: rgba(255, 255, 255, 0.48);
}


h1 {
    margin-bottom: 21px;

    font-size: clamp(38px, 6vw, 58px);

    line-height: 1.04;

    letter-spacing: -2.8px;

    font-weight: 750;
}


.description {
    max-width: 630px;

    margin: 0 auto;

    font-size: 16px;

    line-height: 1.65;

    color: rgba(255, 255, 255, 0.70);
}


.description.second {
    margin-top: 12px;
}


.tagline {
    margin-top: 19px;

    font-size: 16px;

    font-weight: 650;

    color: rgba(255, 255, 255, 0.94);
}


/* =========================================
   CONTACT BUTTONS
========================================= */

.buttons {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    margin-top: 29px;
}


.button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 11px;

    min-width: 170px;

    padding: 13px 22px;

    border: 1px solid rgba(255, 255, 255, 0.16);

    border-radius: 13px;

    color: rgba(255, 255, 255, 0.94);

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(255, 255, 255, 0.08),
            transparent 60%
        ),

        rgba(255, 255, 255, 0.035);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.10),
        inset 0 -1px 0 rgba(255, 255, 255, 0.025),
        0 8px 25px rgba(0, 0, 0, 0.12);

    text-decoration: none;

    font-size: 14px;

    font-weight: 600;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}


.button:hover {
    transform: translateY(-3px);

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(255, 255, 255, 0.15),
            transparent 65%
        ),

        rgba(255, 255, 255, 0.06);

    border-color: rgba(255, 255, 255, 0.30);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        0 12px 35px rgba(0, 0, 0, 0.22);
}


.button:active {
    transform: translateY(-1px);
}


/* =========================================
   BUTTON LOGOS
========================================= */

.button-icon {
    width: 25px;
    height: 25px;

    display: block;

    object-fit: contain;

    flex-shrink: 0;

    opacity: 0.94;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}


.button:hover .button-icon {
    transform: scale(1.08);

    opacity: 1;
}


/* =========================================
   FOOTER
========================================= */

footer {
    margin-top: 31px;

    font-size: 12px;

    color: rgba(255, 255, 255, 0.32);
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    html,
    body {
        width: 100%;
        height: 100%;

        overflow: hidden;
    }


    body {
        min-height: 100dvh;

        padding:
            max(14px, env(safe-area-inset-top))
            14px
            max(14px, env(safe-area-inset-bottom))
            14px;

        align-items: center;
        justify-content: center;
    }


    .page {
        width: 100%;

        max-width: 100%;

        min-height: 100%;

        display: flex;

        align-items: center;

        justify-content: center;
    }


    /* Language selector */

    .language-selector {
        top:
            max(12px, env(safe-area-inset-top));

        right: 12px;
    }


    .language-button {
        min-height: 40px;

        padding: 9px 12px;

        gap: 8px;

        border-radius: 12px;

        font-size: 12px;
    }


    .language-symbol {
        font-size: 14px;
    }


    .arrow {
        width: 6px;
        height: 6px;
    }


    .language-menu {
        width: 165px;

        max-height: 60vh;

        overflow-y: auto;

        padding: 6px;

        border-radius: 14px;
    }


    .language-menu button {
        padding: 10px 11px;

        font-size: 13px;
    }


    /* Glass card */

    .glass-card {
        width: 100%;

        max-height: calc(100dvh - 30px);

        padding:
            32px
            20px
            24px;

        border-radius: 24px;

        display: flex;

        flex-direction: column;

        align-items: center;

        justify-content: center;
    }


    /* Logo */

    .logo {
        margin-bottom: 18px;

        font-size: 32px;

        line-height: 1;

        letter-spacing: -1.4px;
    }


    /* Eyebrow */

    .eyebrow {
        margin-bottom: 9px;

        font-size: 9px;

        letter-spacing: 1.8px;
    }


    /* Title */

    h1 {
        width: 100%;

        margin-bottom: 15px;

        font-size: clamp(
            31px,
            10vw,
            43px
        );

        line-height: 1.04;

        letter-spacing: -1.9px;
    }


    /* Description */

    .description {
        width: 100%;

        max-width: 500px;

        font-size: 13.5px;

        line-height: 1.52;

        color:
            rgba(255, 255, 255, 0.70);
    }


    .description.second {
        margin-top: 9px;
    }


    /* Tagline */

    .tagline {
        margin-top: 14px;

        font-size: 14px;

        line-height: 1.4;
    }


    /* Buttons */

    .buttons {
        width: 100%;

        display: flex;

        flex-direction: row;

        align-items: stretch;

        justify-content: center;

        gap: 9px;

        margin-top: 21px;
    }


    .button {
        min-width: 0;

        flex: 1;

        min-height: 48px;

        padding: 10px 11px;

        gap: 8px;

        border-radius: 12px;

        font-size: 12px;
    }


    .button-icon {
        width: 23px;

        height: 23px;
    }


    /* Footer */

    footer {
        margin-top: 21px;

        font-size: 10px;

        line-height: 1.4;
    }
}


/* =========================================
   SMALL PHONES
========================================= */

@media (max-width: 390px) {

    body {
        padding-left: 10px;
        padding-right: 10px;
    }


    .glass-card {
        padding:
            27px
            16px
            20px;

        border-radius: 21px;
    }


    .logo {
        margin-bottom: 15px;

        font-size: 29px;
    }


    .eyebrow {
        margin-bottom: 7px;

        font-size: 8px;

        letter-spacing: 1.5px;
    }


    h1 {
        margin-bottom: 13px;

        font-size: 30px;

        letter-spacing: -1.5px;
    }


    .description {
        font-size: 12px;

        line-height: 1.48;
    }


    .description.second {
        margin-top: 7px;
    }


    .tagline {
        margin-top: 11px;

        font-size: 13px;
    }


    .buttons {
        margin-top: 17px;

        gap: 7px;
    }


    .button {
        min-height: 45px;

        padding:
            8px
            9px;

        gap: 6px;

        font-size: 11px;
    }


    .button-icon {
        width: 21px;
        height: 21px;
    }


    footer {
        margin-top: 17px;

        font-size: 9px;
    }
}


/* =========================================
   VERY SHORT MOBILE SCREENS
========================================= */

@media (
    max-width: 600px
) and (
    max-height: 700px
) {

    .glass-card {
        padding:
            23px
            18px
            18px;
    }


    .logo {
        margin-bottom: 13px;

        font-size: 28px;
    }


    .eyebrow {
        margin-bottom: 6px;
    }


    h1 {
        margin-bottom: 10px;

        font-size: 29px;
    }


    .description {
        font-size: 11.5px;

        line-height: 1.42;
    }


    .description.second {
        margin-top: 6px;
    }


    .tagline {
        margin-top: 8px;

        font-size: 12px;
    }


    .buttons {
        margin-top: 13px;
    }


    .button {
        min-height: 42px;

        padding: 7px 8px;
    }


    .button-icon {
        width: 20px;
        height: 20px;
    }


    footer {
        margin-top: 13px;
    }
}


/* =========================================
   LANDSCAPE PHONES
========================================= */

@media (
    max-width: 900px
) and (
    max-height: 500px
) {

    body {
        overflow-y: auto;

        align-items: flex-start;

        padding-top: 70px;
    }


    .glass-card {
        margin-bottom: 20px;

        padding:
            25px
            30px;
    }


    .logo {
        margin-bottom: 12px;

        font-size: 28px;
    }


    h1 {
        margin-bottom: 10px;

        font-size: 31px;
    }


    .description {
        font-size: 12px;

        line-height: 1.45;
    }


    .description.second {
        margin-top: 6px;
    }


    .tagline {
        margin-top: 9px;

        font-size: 13px;
    }


    .buttons {
        margin-top: 14px;
    }


    footer {
        margin-top: 14px;
    }
}


/* =========================================
   TOUCH DEVICES
========================================= */

@media (hover: none) and (pointer: coarse) {

    .button:hover {
        transform: none;
    }


    .language-button:hover {
        transform: none;
    }


    .language-menu button:hover {
        transform: none;
    }


    .button:active {
        transform: scale(0.98);

        background:
            rgba(255, 255, 255, 0.10);
    }


    .language-button:active {
        transform: scale(0.98);
    }

}


/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        transition: none !important;
    }
}