:root {
    --navy-dark: #020b1f;
    --navy: #04132f;
    --navy-light: #071c45;
    --green: #35d267;
    --green-hover: #48df76;
    --purple: #9368ed;
    --white: #ffffff;
    --muted: #aebbd2;
    --border: rgba(255, 255, 255, 0.13);
}

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

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--white);
    background: var(--navy);
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

/* =========================================================
   PAGE
========================================================= */

.signup-page {
    width: 100%;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 54% 46%;
}

/* =========================================================
   LEFT SIDE
========================================================= */

.brand-panel {
    position: relative;
    min-width: 0;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 42px clamp(44px, 5vw, 86px) 38px;
}

.brand-background,
.brand-overlay {
    position: absolute;
    inset: 0;
}

.brand-background img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.brand-overlay {
    background:
        linear-gradient(
            90deg,
            rgba(2, 11, 31, 0.98) 0%,
            rgba(4, 19, 47, 0.92) 48%,
            rgba(4, 19, 47, 0.68) 100%
        ),
        linear-gradient(
            180deg,
            rgba(2, 11, 31, 0.1),
            rgba(2, 11, 31, 0.58)
        );
}

.signup-header,
.brand-content,
.brand-slogan {
    position: relative;
    z-index: 2;
}

.signup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.signup-logo {
    display: inline-flex;
    align-items: center;
}

.signup-logo img {
    width: 205px;
    max-width: 205px;
    height: auto;
    display: block;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    font-weight: 700;
}

.back-link:hover {
    color: var(--white);
}

.brand-content {
    width: min(610px, 100%);
    margin: auto 0;
    padding: 42px 0;
}

.brand-eyebrow,
.form-eyebrow {
    color: var(--green);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.brand-content h1 {
    max-width: 620px;
    margin-top: 17px;
    color: var(--white);
    font-size: clamp(46px, 4.7vw, 72px);
    line-height: 0.99;
    letter-spacing: -0.055em;
}

.brand-content h1 span {
    color: var(--green);
}

.brand-description {
    max-width: 560px;
    margin-top: 24px;
    color: rgba(226, 234, 247, 0.77);
    font-size: 15px;
    line-height: 1.68;
}

/* =========================================================
   LEFT-SIDE STEPS
========================================================= */

.signup-steps {
    max-width: 520px;
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.signup-step {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;
    background: rgba(6, 28, 65, 0.5);
    backdrop-filter: blur(12px);
}

.signup-step > span {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    display: grid;
    place-items: center;
    color: var(--navy-dark);
    border-radius: 8px;
    background: var(--green);
    font-size: 9px;
    font-weight: 900;
}

.signup-step strong {
    color: var(--white);
    font-size: 10px;
    line-height: 1.25;
}

.brand-slogan {
    color: var(--white);
    font-size: 18px;
    font-weight: 800;
}

.brand-slogan span {
    color: var(--green);
}

.brand-slogan em {
    color: var(--purple);
    font-style: normal;
}

/* =========================================================
   RIGHT SIDE
========================================================= */

.form-panel {
    position: relative;
    min-width: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 38px clamp(46px, 6vw, 92px) 28px;
    background:
        radial-gradient(
            circle at 85% 8%,
            rgba(53, 210, 103, 0.09),
            transparent 29%
        ),
        linear-gradient(
            145deg,
            #071c45,
            #04132f
        );
}

.mobile-header {
    display: none;
}

.signup-card {
    width: min(440px, 100%);
    margin: auto;
    padding: 0;
    color: var(--white);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.signup-introduction {
    margin-bottom: 27px;
}

.signup-introduction h2 {
    margin-top: 10px;
    color: var(--white);
    font-size: clamp(40px, 3.5vw, 52px);
    line-height: 1;
    letter-spacing: -0.048em;
}

.signup-introduction > p:last-child {
    margin-top: 13px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

/* =========================================================
   FORM
========================================================= */

.signup-form {
    display: grid;
    gap: 16px;
}
.name-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.form-group {
    display: grid;
    gap: 8px;
}

.form-group label {
    color: #f1f5fb;
    font-size: 11px;
    font-weight: 750;
}

.label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.password-requirement {
    color: #8392aa;
    font-size: 9px;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 17px;
    top: 50%;
    z-index: 2;
    color: #8797b1;
    font-size: 11px;
    font-weight: 900;
    transform: translateY(-50%);
    pointer-events: none;
}

.password-icon {
    font-size: 7px;
}

.input-wrapper input {
    width: 100%;
    height: 53px;
    margin: 0;
    padding: 0 68px 0 47px;
    color: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    outline: none;
    background: rgba(255, 255, 255, 0.065);
    box-shadow: 0 13px 32px rgba(0, 0, 0, 0.13);
    font-size: 13px;
}

.input-wrapper input::placeholder {
    color: #8493aa;
}

.input-wrapper input:focus {
    border-color: var(--green);
    background: rgba(255, 255, 255, 0.09);
    box-shadow: 0 0 0 4px rgba(53, 210, 103, 0.12);
}

.password-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    padding: 6px;
    color: #a9b6c9;
    border: 0;
    background: transparent;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
    transform: translateY(-50%);
}

.signup-button {
    width: 100%;
    min-height: 53px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    margin: 1px 0 0;
    padding: 0 22px;
    color: var(--navy-dark);
    border: 0;
    border-radius: 12px;
    background: var(--green);
    box-shadow: 0 17px 36px rgba(53, 210, 103, 0.22);
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}

.signup-button:hover {
    background: var(--green-hover);
    transform: translateY(-2px);
}

/* =========================================================
   ACCOUNT AREA
========================================================= */

.account-prompt {
    margin-top: 23px;
    padding-top: 21px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 12px;
}

.account-prompt span {
    color: #96a5bc;
}

.account-prompt a {
    margin-left: 5px;
    color: var(--green);
    font-weight: 850;
}

.secure-message {
    margin-top: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #8190a8;
    font-size: 10px;
}

.secure-icon {
    width: 19px;
    height: 19px;
    display: grid;
    place-items: center;
    color: var(--green);
    border-radius: 50%;
    background: rgba(53, 210, 103, 0.12);
    font-size: 9px;
    font-weight: 900;
}

.form-footer {
    width: min(440px, 100%);
    margin: 35px auto 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #72819a;
    font-size: 10px;
}

.form-footer div {
    display: flex;
    gap: 18px;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {
    .signup-page {
        grid-template-columns: 48% 52%;
    }

    .brand-panel,
    .form-panel {
        padding-left: 38px;
        padding-right: 38px;
    }

    .brand-content h1 {
        font-size: clamp(43px, 5vw, 59px);
    }

    .signup-logo img {
        width: 205px;
        max-width: 205px;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 820px) {
    .signup-page {
        display: block;
    }

    .brand-panel {
        display: none;
    }

    .form-panel {
        min-height: 100vh;
        justify-content: flex-start;
        padding: 24px 24px 30px;
    }

    .mobile-header {
        width: min(480px, 100%);
        margin: 0 auto 45px;
        display: block;
    }

    .mobile-logo img {
        width: 165px;
        max-width: 165px;
        height: auto;
        display: block;
    }

    .signup-card,
    .form-footer {
        width: min(480px, 100%);
    }

    .signup-introduction h2 {
        font-size: 44px;
    }
}

@media (max-width: 500px) {
    .form-panel {
        padding: 20px;
    }

    .mobile-header {
        margin-bottom: 38px;
    }

    .mobile-logo img {
        width: 150px;
        max-width: 150px;
    }

    .signup-introduction h2 {
        font-size: 38px;
    }

    .label-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .form-footer {
        margin-top: 34px;
    }
    .name-row {
    grid-template-columns: 1fr;
}

.signup-steps {
    flex-direction: column;
    align-items: stretch;
}
}

/* =========================================================
   SHORT DESKTOP SCREENS
========================================================= */

@media (max-height: 800px) and (min-width: 821px) {
    .brand-panel,
    .form-panel {
        padding-top: 25px;
        padding-bottom: 22px;
    }

    .brand-content {
        padding: 26px 0;
    }

    .brand-content h1 {
        font-size: clamp(41px, 4vw, 56px);
    }

    .brand-description {
        margin-top: 17px;
    }

    .signup-steps {
        margin-top: 21px;
        gap: 7px;
    }

    .signup-step {
        padding-top: 9px;
        padding-bottom: 9px;
    }

    .signup-introduction {
        margin-bottom: 20px;
    }

    .signup-introduction h2 {
        font-size: 41px;
    }

    .signup-form {
        gap: 12px;
    }

    .input-wrapper input,
    .signup-button {
        height: 49px;
        min-height: 49px;
    }

    .account-prompt {
        margin-top: 18px;
        padding-top: 17px;
    }

    .secure-message {
        margin-top: 13px;
    }

    .form-footer {
        margin-top: 24px;
    }
}