/* =========================================================
   Base
   ========================================================= */

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
}

body {
    font-family:
            -apple-system,
            BlinkMacSystemFont,
            "Segoe UI",
            Roboto,
            Helvetica,
            Arial,
            sans-serif;

    color: #ffffff;
    background: #111111;

    overflow: hidden;
}


/* =========================================================
   Background
   ========================================================= */

body::before {
    content: "";

    position: fixed;
    inset: 0;

    z-index: -3;

    background-image: url("assets/background.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    transform: scale(1.02);
}


/* Dark overlay */

body::after {
    content: "";

    position: fixed;
    inset: 0;

    z-index: -2;

    background:
            linear-gradient(
                    90deg,
                    rgba(0, 0, 0, 0.72) 0%,
                    rgba(0, 0, 0, 0.45) 50%,
                    rgba(0, 0, 0, 0.62) 100%
            );
}


/* =========================================================
   Navigation
   ========================================================= */

.navbar {
    position: fixed;

    top: 0;
    left: 0;
    right: 0;

    height: 80px;

    padding: 0 48px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    z-index: 10;

    border-bottom: 1px solid rgba(255, 255, 255, 0.12);

    background: rgba(0, 0, 0, 0.12);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}


/* Logo */

.logo {
    color: white;

    text-decoration: none;

    font-size: 24px;
    font-weight: 800;

    letter-spacing: -0.8px;

    transition: opacity 0.2s ease;
}

.logo span {
    font-weight: 400;
    opacity: 0.65;
}

.logo:hover {
    opacity: 0.75;
}


/* =========================================================
   Language selector
   ========================================================= */

.nav-right {
    position: relative;
}

.language-button {
    border: 1px solid rgba(255, 255, 255, 0.35);

    background: rgba(0, 0, 0, 0.25);

    color: white;

    padding: 10px 15px;

    min-width: 115px;

    font-size: 14px;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    transition:
            background 0.2s ease,
            border-color 0.2s ease;
}

.language-button:hover {
    background: rgba(255, 255, 255, 0.12);

    border-color: rgba(255, 255, 255, 0.65);
}

.arrow {
    width: 6px;
    height: 6px;

    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;

    transform: rotate(45deg);
    transform-origin: center;

    transition: transform 0.2s ease;
}

.language-button.open .arrow {
    transform: rotate(225deg);
}


/* Dropdown */

.language-menu {
    position: absolute;

    top: calc(100% + 8px);
    right: 0;

    width: 115px;

    padding: 5px;

    background: rgba(25, 25, 25, 0.95);

    border: 1px solid rgba(255, 255, 255, 0.2);

    box-shadow:
            0 12px 30px rgba(0, 0, 0, 0.35);

    opacity: 0;
    visibility: hidden;

    transform: translateY(-5px);

    transition:
            opacity 0.2s ease,
            transform 0.2s ease,
            visibility 0.2s ease;
}

.language-menu.open {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}

.language-menu button {
    width: 100%;

    border: 0;

    background: transparent;

    color: white;

    padding: 10px;

    text-align: left;

    font-size: 14px;

    cursor: pointer;
}

.language-menu button:hover {
    background: rgba(255, 255, 255, 0.12);
}


/* =========================================================
   Hero
   ========================================================= */

.hero {
    width: 100%;
    height: 100vh;

    display: flex;
    align-items: center;

    padding: 80px 10% 60px;
}


/* Content */

.hero-content {
    max-width: 760px;
}


/* Small heading */

.eyebrow {
    margin: 0 0 20px;

    font-size: 13px;
    font-weight: 600;

    letter-spacing: 3px;

    color: rgba(255, 255, 255, 0.68);
}


/* Main title */

h1 {
    margin: 0;

    font-size: clamp(64px, 9vw, 140px);

    line-height: 0.9;

    font-weight: 800;

    letter-spacing: -5px;

    text-shadow:
            0 5px 30px rgba(0, 0, 0, 0.35);
}


/* Subtitle */

.subtitle {
    margin: 30px 0 0;

    font-size: clamp(26px, 3vw, 42px);

    font-weight: 300;

    letter-spacing: -1px;
}


/* Description */

.description {
    max-width: 600px;

    margin: 22px 0 0;

    font-size: 17px;

    line-height: 1.7;

    color: rgba(255, 255, 255, 0.72);
}


/* =========================================================
   Buttons
   ========================================================= */

.buttons {
    display: flex;

    gap: 12px;

    margin-top: 35px;
}

.button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 120px;

    padding: 13px 24px;

    text-decoration: none;

    font-size: 14px;
    font-weight: 600;

    transition:
            background 0.2s ease,
            border-color 0.2s ease,
            transform 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}


/* Primary */

.button.primary {
    color: #111111;

    background: white;

    border: 1px solid white;
}

.button.primary:hover {
    background: rgba(255, 255, 255, 0.82);
}


/* Secondary */

.button.secondary {
    color: white;

    background: rgba(255, 255, 255, 0.08);

    border: 1px solid rgba(255, 255, 255, 0.35);
}

.button.secondary:hover {
    background: rgba(255, 255, 255, 0.16);

    border-color: rgba(255, 255, 255, 0.6);
}


/* =========================================================
   Footer
   ========================================================= */

.footer {
    position: fixed;

    left: 48px;
    bottom: 28px;

    color: rgba(255, 255, 255, 0.45);

    font-size: 12px;

    letter-spacing: 0.5px;
}


/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 700px) {

    .navbar {
        height: 68px;

        padding: 0 22px;
    }

    .logo {
        font-size: 20px;
    }

    .hero {
        padding:
                90px
                24px
                60px;
    }

    .hero-content {
        max-width: 100%;
    }

    .eyebrow {
        font-size: 10px;

        letter-spacing: 2px;

        line-height: 1.6;
    }

    h1 {
        font-size: clamp(52px, 17vw, 90px);

        letter-spacing: -3px;
    }

    .subtitle {
        font-size: 26px;
    }

    .description {
        font-size: 15px;

        line-height: 1.6;
    }

    .buttons {
        flex-wrap: wrap;
    }

    .button {
        min-width: 105px;
    }

    .footer {
        left: 22px;
        bottom: 20px;
    }
}