:root {
    --bg: #07111e;
    --bg-2: #0b1726;
    --panel: #101d2d;
    --panel-2: #132237;

    --text: #f4f7fb;
    --text-soft: #a9b7c9;
    --text-muted: #74869d;

    --border: rgba(255,255,255,.09);
    --border-strong: rgba(91,141,222,.28);

    --blue: #4b87e8;
    --blue-2: #2c67c8;
    --blue-soft: rgba(75,135,232,.11);

    --green: #40c58a;
    --danger: #d85a63;

    --shadow: 0 25px 80px rgba(0,0,0,.22);
}


/* =========================================================
   BODY
========================================================= */

.application-body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;

    background:
        radial-gradient(
            circle at 12% 8%,
            rgba(62,116,206,.16),
            transparent 28%
        ),
        radial-gradient(
            circle at 88% 12%,
            rgba(38,83,151,.14),
            transparent 24%
        ),
        linear-gradient(
            180deg,
            #07111e 0%,
            #091522 42%,
            #0a1623 100%
        );

    overflow-x: hidden;
}


/* =========================================================
   HEADER
========================================================= */

.application-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(5,14,24,.88);
    border-bottom: 1px solid rgba(255,255,255,.07);
    backdrop-filter: blur(18px);
}

.application-header-inner {
    width: min(1120px, calc(100% - 34px));
    min-height: 72px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.application-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    color: white;
    text-decoration: none;
}

.application-logo {
    width: 42px;
    height: 42px;
    overflow: hidden;
    flex-shrink: 0;
    border-radius: 50%;
    background: white;
    box-shadow: 0 5px 20px rgba(0,0,0,.22);
}

.application-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.application-brand strong {
    display: block;
    font-size: 13px;
    font-weight: 800;
}

.application-brand span {
    display: block;
    margin-top: 3px;
    color: #7f91a7;
    font-size: 8px;
}

.back-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 38px;
    padding: 0 14px;

    border: 1px solid rgba(255,255,255,.10);
    border-radius: 10px;

    color: #cdd7e2;
    background: rgba(255,255,255,.035);

    font-size: 9px;
    text-decoration: none;

    transition: .2s ease;
}

.back-button:hover {
    color: white;
    background: rgba(255,255,255,.07);
    border-color: rgba(255,255,255,.15);
}


/* =========================================================
   MAIN
========================================================= */

.application-main {
    width: min(1040px, calc(100% - 28px));
    margin: 0 auto;
    padding: 52px 0 80px;
}


/* =========================================================
   HERO / INTRO
========================================================= */

.application-intro {
    position: relative;
    overflow: hidden;

    margin-bottom: 18px;
    padding: 32px 34px;

    border: 1px solid rgba(93,142,222,.19);
    border-radius: 22px;

    background:
        radial-gradient(
            circle at 92% 18%,
            rgba(75,135,232,.22),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #0b1a2d 0%,
            #102945 100%
        );

    box-shadow: var(--shadow);
}

.application-intro::before {
    content: "";
    position: absolute;
    left: -90px;
    bottom: -110px;

    width: 280px;
    height: 280px;

    border-radius: 50%;
    background: rgba(50,111,208,.07);
    filter: blur(18px);
}

.application-kicker {
    position: relative;
    z-index: 2;

    display: block;
    margin-bottom: 9px;

    color: #79a9ef;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .18em;
}

.application-intro h1 {
    position: relative;
    z-index: 2;

    margin: 0;

    color: #fff;
    font-size: 34px;
    line-height: 1.05;
    letter-spacing: -.045em;
}

.application-intro p {
    position: relative;
    z-index: 2;

    max-width: 700px;
    margin: 12px 0 0;

    color: #9eb0c5;
    font-size: 10px;
    line-height: 1.8;
}


/* =========================================================
   FORM
========================================================= */

.application-form {
    display: grid;
    gap: 16px;
}


/* =========================================================
   MAIN CARD
========================================================= */

.form-card {
    position: relative;
    overflow: hidden;

    padding: 23px;

    border: 1px solid var(--border);
    border-radius: 20px;

    background:
        linear-gradient(
            180deg,
            rgba(18,34,53,.97),
            rgba(12,27,43,.97)
        );

    box-shadow:
        0 22px 55px rgba(0,0,0,.15);
}

.form-card::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;

    height: 2px;

    background:
        linear-gradient(
            90deg,
            #2f70d9,
            #5d96ed,
            transparent
        );
}


/* =========================================================
   CARD HEADER
========================================================= */

.form-card-heading {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 20px;
}

.form-number {
    width: 36px;
    height: 36px;

    display: grid;
    place-items: center;
    flex-shrink: 0;

    border-radius: 10px;

    color: #88b2f3;
    background: rgba(63,118,207,.14);
    border: 1px solid rgba(92,149,232,.16);

    font-size: 9px;
    font-weight: 800;
}

.form-card-heading span {
    display: block;

    color: #7690ae;
    font-size: 7px;
    font-weight: 800;
    letter-spacing: .17em;
}

.form-card-heading h2 {
    margin: 4px 0 0;

    color: white;
    font-size: 17px;
    line-height: 1.2;
    letter-spacing: -.025em;
}


/* =========================================================
   INPUT GRID
========================================================= */

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-field,
.question {
    display: grid;
    gap: 7px;
}

.form-field-full {
    grid-column: 1 / -1;
}

.form-field label,
.question label {
    color: #d3ddea;
    font-size: 9px;
    font-weight: 700;
}

.form-field input,
.question textarea {
    width: 100%;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 10px;
    outline: none;

    color: #eef4fa;
    background: #0b1827;

    font: inherit;
    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.form-field input {
    min-height: 43px;
    padding: 0 13px;
    font-size: 10px;
}

.question textarea {
    min-height: 125px;
    padding: 12px 13px;
    resize: vertical;
    line-height: 1.65;
    font-size: 10px;
}

.form-field input::placeholder,
.question textarea::placeholder {
    color: #5e7187;
}

.form-field input:hover,
.question textarea:hover {
    border-color: rgba(255,255,255,.15);
}

.form-field input:focus,
.question textarea:focus {
    border-color: rgba(82,139,228,.78);

    background: #0d1d30;

    box-shadow:
        0 0 0 4px rgba(57,117,214,.10);
}

.form-field small {
    color: #667b94;
    font-size: 8px;
}


/* =========================================================
   ASSESSMENT NOTICE
========================================================= */

.assessment-notice {
    position: relative;

    display: flex;
    gap: 11px;

    margin-bottom: 18px;
    padding: 14px 15px;

    border: 1px solid rgba(88,139,215,.15);
    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            rgba(48,93,154,.12),
            rgba(21,50,85,.18)
        );
}

.assessment-notice::before {
    content: "";

    width: 3px;
    flex-shrink: 0;

    border-radius: 999px;

    background: #4f8de9;
}

.assessment-notice strong {
    display: block;

    margin-bottom: 5px;

    color: #dce7f4;
    font-size: 9px;
}

.assessment-notice p {
    margin: 0;

    color: #8fa1b6;
    font-size: 8px;
    line-height: 1.7;
}


/* =========================================================
   QUESTIONS
========================================================= */

.question-list {
    display: grid;
    gap: 12px;
}

.question {
    position: relative;

    padding: 17px;

    border:
        1px solid
        rgba(255,255,255,.08);

    border-radius: 14px;

    background:
        linear-gradient(
            180deg,
            rgba(17,33,51,.98),
            rgba(13,28,44,.98)
        );

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.018);

    transition:
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}

.question:hover {
    transform: translateY(-1px);

    border-color:
        rgba(82,138,221,.24);

    box-shadow:
        0 12px 28px rgba(0,0,0,.10);
}

.question-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 34px;
    height: 24px;

    margin-bottom: 9px;
    padding: 0 9px;

    border-radius: 7px;

    color: #a8c9f6;

    background:
        rgba(50,108,201,.18);

    border:
        1px solid
        rgba(91,146,231,.12);

    font-size: 7px;
    font-weight: 800;
    letter-spacing: .08em;
}

.question label {
    color: #e3eaf3;
    line-height: 1.55;
}


/* =========================================================
   SECTION C
========================================================= */

.checkbox-line {
    display: flex;
    align-items: flex-start;
    gap: 9px;

    cursor: pointer;

    color: #9aabc0;
    font-size: 9px;
    line-height: 1.6;
}

.checkbox-line input {
    width: 15px;
    height: 15px;

    margin-top: 1px;
    flex-shrink: 0;

    accent-color: #4a87e6;
}


/* =========================================================
   WARNING
========================================================= */

.application-warning {
    display: flex;
    gap: 11px;

    padding: 14px;

    border: 1px solid rgba(83,136,217,.12);
    border-radius: 12px;

    background:
        rgba(34,66,104,.15);
}

.warning-icon {
    width: 27px;
    height: 27px;

    display: grid;
    place-items: center;
    flex-shrink: 0;

    border-radius: 8px;

    color: #8db7f4;
    background: rgba(64,119,212,.13);

    font-size: 10px;
    font-weight: 800;
}

.application-warning strong {
    display: block;

    color: #d9e4f0;
    font-size: 9px;
}

.application-warning p {
    margin: 5px 0 0;

    color: #8194ab;
    font-size: 8px;
    line-height: 1.65;
}


/* =========================================================
   SUBMIT BUTTON
========================================================= */

.submit-application {
    width: 100%;
    min-height: 48px;

    margin-top: 14px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 16px;

    border: 0;
    border-radius: 11px;

    color: white;

    background:
        linear-gradient(
            135deg,
            #2c6bd0,
            #4a87e6
        );

    cursor: pointer;

    box-shadow:
        0 12px 30px rgba(40,105,216,.20);

    font-size: 9px;
    font-weight: 800;

    transition: .2s ease;
}

.submit-application:hover {
    transform: translateY(-2px);

    box-shadow:
        0 17px 34px rgba(40,105,216,.25);
}

.submit-application:disabled {
    opacity: .55;
    cursor: not-allowed;
    transform: none;
}

.submit-application strong {
    font-size: 15px;
}


/* =========================================================
   MESSAGE
========================================================= */

.application-message {
    margin-top: 12px;
    padding: 12px 13px;

    border-radius: 10px;

    color: #9aabc0;
    background: rgba(255,255,255,.035);

    font-size: 8px;
    line-height: 1.6;
}

.application-message.success {
    color: #77d4a7;
    background: rgba(50,166,111,.09);
    border: 1px solid rgba(57,187,123,.15);
}

.application-message.error {
    color: #ef9a9f;
    background: rgba(185,62,71,.09);
    border: 1px solid rgba(208,86,95,.15);
}


/* =========================================================
   FOOTER
========================================================= */

.application-footer {
    width: min(1040px, calc(100% - 28px));

    margin: 0 auto;

    padding:
        18px 0
        28px;

    display: flex;
    justify-content: space-between;
    gap: 20px;

    border-top:
        1px solid
        rgba(255,255,255,.07);

    color: #64778d;
    font-size: 8px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 760px) {

    .application-main {
        padding-top: 32px;
    }

    .application-intro {
        padding: 27px 23px;
    }

    .application-intro h1 {
        font-size: 30px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-field-full {
        grid-column: auto;
    }
}


@media (max-width: 520px) {

    .application-header-inner {
        width: calc(100% - 22px);
    }

    .application-brand span {
        display: none;
    }

    .application-main {
        width: calc(100% - 18px);
    }

    .form-card {
        padding: 17px;
    }

    .application-footer {
        width: calc(100% - 18px);
        flex-direction: column;
    }

}