/* =====================================================
   LEGENDS ORDER
   APPLICATION PAGE
===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');


/* =====================================================
   RESET
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #09080d;
    color: #f5f3fa;
    font-family: 'Inter', Arial, sans-serif;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}


/* =====================================================
   VARIABLES
===================================================== */

:root {
    --bg: #09080d;
    --bg-soft: #0e0c14;
    --bg-card: #111019;

    --white: #f5f3fa;
    --muted: #8f8b99;

    --purple: #9b5cff;
    --purple-bright: #b77aff;
    --purple-dark: #6e35c7;

    --border: rgba(255,255,255,0.10);

    --max-width: 1500px;
}


/* =====================================================
   NAVBAR
===================================================== */

.navbar {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 82px;

    z-index: 1000;

    display: flex;
    align-items: center;

    padding: 0 42px;

    background: rgba(9,8,13,0.82);

    border-bottom: 1px solid rgba(255,255,255,0.07);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}


/* LOGO */

.logo {
    display: flex;
    align-items: center;

    gap: 12px;

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 0.08em;

    white-space: nowrap;
}

.logo-box {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #fff;
    color: #09080d;

    font-size: 18px;
    font-weight: 900;

    transform: skew(-8deg);

    transition: 0.25s ease;
}

.logo:hover .logo-box {
    background: var(--purple);
    color: #fff;

    transform: skew(-8deg) rotate(-5deg);
}


/* NAV LINKS */

.nav-links {
    display: flex;
    align-items: center;

    gap: 38px;

    margin-left: auto;
    margin-right: 35px;
}

.nav-links a {
    position: relative;

    color: #b7b3bf;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.14em;

    transition: color 0.25s ease;
}

.nav-links a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 0;
    height: 1px;

    background: var(--purple);

    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}


/* CONTACT BUTTON */

.nav-button {
    height: 42px;

    display: flex;
    align-items: center;

    gap: 18px;

    padding: 0 17px;

    background: #fff;
    color: #09080d;

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 0.13em;

    transition: 0.25s ease;
}

.nav-button span {
    font-size: 16px;
}

.nav-button:hover {
    background: var(--purple);

    color: #fff;

    transform: translateY(-2px);
}


/* =====================================================
   HERO
===================================================== */

.apply-hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #09080d;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        90deg,
        rgba(5, 4, 9, 0.85) 0%,
        rgba(5, 4, 9, 0.50) 45%,
        rgba(5, 4, 9, 0.18) 100%
    );
}

.hero-grid {
    z-index: 2;
}

.hero-glow {
    z-index: 3;
}

.hero-content,
.hero-meta {
    z-index: 5;
}


/* =====================================================
   APPLICATION SECTION
===================================================== */

.application-section {
    max-width: 1200px;

    margin: auto;

    padding: 130px 40px 180px;
}


/* INTRO */

.section-intro {
    display: grid;

    grid-template-columns: 80px 1fr;

    gap: 50px;

    margin-bottom: 90px;
}

.section-number {
    color: var(--purple);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 0.12em;
}

.small-heading {
    display: block;

    margin-bottom: 25px;

    color: var(--purple);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 0.16em;
}

.section-intro h2 {
    font-family: 'Space Grotesk', sans-serif;

    font-size: clamp(55px, 7vw, 100px);

    line-height: 0.85;

    letter-spacing: -0.07em;
}

.section-intro h2 span {
    color: transparent;

    -webkit-text-stroke:
        1px rgba(255,255,255,0.5);
}

.section-intro p {
    max-width: 600px;

    margin-top: 35px;

    color: #817d88;

    font-size: 13px;

    line-height: 1.8;
}


/* =====================================================
   FORM
===================================================== */

.application-form {
    width: 100%;
}


/* FORM SECTION */

.form-section {
    padding: 55px 0;

    border-top:
        1px solid rgba(255,255,255,0.10);
}

.form-section:last-child {
    border-bottom:
        1px solid rgba(255,255,255,0.10);
}


/* FORM HEADING */

.form-heading {
    display: flex;
    align-items: center;

    gap: 15px;

    margin-bottom: 40px;

    color: #fff;

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 0.16em;
}

.form-heading span {
    color: var(--purple);
}


/* FORM GRID */

.form-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 28px;
}


/* GROUP */

.form-group {
    display: flex;

    flex-direction: column;

    gap: 12px;

    margin-bottom: 28px;
}

.form-group:last-child {
    margin-bottom: 0;
}


/* LABEL */

.form-group label {
    color: #a19ca9;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 0.13em;
}

.form-group label span {
    color: var(--purple);
}


/* INPUTS */

.form-group input,
.form-group textarea,
.form-group select {

    width: 100%;

    border: 1px solid rgba(255,255,255,0.10);

    outline: none;

    background:
        rgba(255,255,255,0.025);

    color: #fff;

    padding: 18px;

    font-size: 13px;

    transition:
        border-color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #55515d;
}

.form-group textarea {
    resize: vertical;

    min-height: 130px;

    line-height: 1.6;
}

.form-group select {
    appearance: none;

    cursor: pointer;

    color: #77727f;
}

.form-group select option {
    background: #111019;

    color: #fff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {

    border-color: var(--purple);

    background:
        rgba(155,92,255,0.035);

    box-shadow:
        0 0 0 3px rgba(155,92,255,0.07);
}


/* HELP TEXT */

.form-group small {
    color: #5f5a67;

    font-size: 9px;

    line-height: 1.6;
}


/* =====================================================
   CHECKBOX
===================================================== */

.checkbox {

    display: flex;

    align-items: flex-start;

    gap: 14px;

    margin-top: 35px;

    cursor: pointer;

    color: #77727f;

    font-size: 10px;

    line-height: 1.7;
}

.checkbox input {
    appearance: none;

    flex-shrink: 0;

    width: 18px;
    height: 18px;

    border:
        1px solid rgba(255,255,255,0.2);

    background:
        rgba(255,255,255,0.025);

    cursor: pointer;

    position: relative;
}

.checkbox input:checked {
    background: var(--purple);

    border-color: var(--purple);
}

.checkbox input:checked::after {
    content: "✓";

    position: absolute;

    left: 4px;
    top: 0px;

    color: #fff;

    font-size: 12px;

    font-weight: 900;
}


/* =====================================================
   SUBMIT BUTTON
===================================================== */

.submit-button {

    width: 100%;

    min-height: 70px;

    margin-top: 45px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 25px;

    border: none;

    background: #fff;

    color: #09080d;

    cursor: pointer;

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 0.14em;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.submit-button strong {
    font-size: 22px;

    transition:
        transform 0.25s ease;
}

.submit-button:hover {
    background: var(--purple);

    color: #fff;

    transform: translateY(-3px);
}

.submit-button:hover strong {
    transform: translate(4px,-4px);
}


/* NOTE */

.form-note {
    margin-top: 20px;

    text-align: center;

    color: #55515d;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 0.14em;
}


/* =====================================================
   FOOTER
===================================================== */

.footer {
    max-width: 1500px;

    margin: auto;

    padding: 45px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    border-top:
        1px solid rgba(255,255,255,0.08);

    color: #55515d;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 0.13em;
}

.footer div {
    display: flex;

    flex-direction: column;

    gap: 8px;
}

.footer strong {
    color: #fff;

    font-size: 11px;
}

.footer span {
    color: #55515d;
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 800px) {

    .navbar {
        height: 70px;

        padding: 0 20px;
    }

    .nav-links {
        display: none;
    }

    .nav-button {
        margin-left: auto;
    }


    .apply-hero {
        min-height: 560px;
    }

    .hero-meta {
        top: 90px;

        left: 20px;
        right: 20px;

        font-size: 6px;
    }

    .hero-meta span:nth-child(2) {
        display: none;
    }

    .hero-content {
        padding:
            150px 20px 80px;
    }

    .hero-content h1 {
        font-size: 19vw;
    }

    .hero-content h1 span {
        -webkit-text-stroke-width: 1px;

        margin-left: 7vw;
    }

    .hero-content p {
        margin-top: 40px;

        font-size: 8px;
    }


    .application-section {
        padding:
            90px 20px 120px;
    }


    .section-intro {
        grid-template-columns: 1fr;

        gap: 20px;

        margin-bottom: 65px;
    }

    .section-intro h2 {
        font-size: 18vw;
    }


    .form-grid {
        grid-template-columns: 1fr;

        gap: 0;
    }


    .form-section {
        padding: 40px 0;
    }


    .form-heading {
        margin-bottom: 30px;
    }


    .footer {
        padding: 35px 20px;

        flex-direction: column;

        align-items: flex-start;

        gap: 20px;
    }

}