:root {
    --bg: #07111f;
    --bg-soft: #0a1626;
    --surface: #101e31;
    --surface-2: #14253a;
    --border: #263950;
    --border-soft: rgba(255, 255, 255, 0.07);
    --text: #f8fafc;
    --muted: #91a3ba;
    --muted-dark: #6f829b;
    --green: #38d99d;
    --green-hover: #4ce7ae;
    --blue: #5c92ff;
    --danger: #ff7070;
    --max-width: 1180px;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--bg);
}

body {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(
            circle at top right,
            rgba(92, 146, 255, 0.08),
            transparent 32%
        ),
        var(--bg);
    color: var(--text);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

a {
    color: inherit;
}

button,
input {
    font: inherit;
}

button,
a,
input {
    -webkit-tap-highlight-color: transparent;
}

.auth-header {
    border-bottom: 1px solid var(--border-soft);
    background: rgba(7, 17, 31, 0.94);
    backdrop-filter: blur(14px);
}

.auth-header-inner {
    width: min(
        calc(100% - 32px),
        var(--max-width)
    );
    min-height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background:
        linear-gradient(
            135deg,
            var(--green),
            var(--blue)
        );
    color: #041510;
    font-size: 13px;
    font-weight: 900;
}

.brand-text strong,
.brand-text small {
    display: block;
}

.brand-text strong {
    font-size: 17px;
}

.brand-text small {
    margin-top: 2px;
    color: var(--green);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.header-login {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--muted);
    font-size: 14px;
}

.header-login a {
    color: var(--green);
    font-weight: 800;
    text-decoration: none;
}

.header-login a:hover {
    color: var(--green-hover);
}

.auth-page {
    width: min(
        calc(100% - 32px),
        var(--max-width)
    );
    margin: 0 auto;
    padding: 72px 0 80px;
    display: grid;
    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(360px, 0.95fr);
    gap: 56px;
    align-items: start;
}

.auth-intro {
    padding-top: 26px;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    color: var(--green);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.auth-intro h1 {
    max-width: 720px;
    margin: 0;
    font-size: clamp(
        2.4rem,
        6vw,
        4.6rem
    );
    line-height: 1.03;
    letter-spacing: -0.04em;
}

.auth-intro > p {
    max-width: 660px;
    margin-top: 24px;
    color: var(--muted);
    font-size: clamp(
        1rem,
        1.8vw,
        1.16rem
    );
    line-height: 1.75;
}

.benefits {
    display: grid;
    gap: 18px;
    margin-top: 38px;
}

.benefit {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 14px;
    align-items: start;
}

.check {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(56, 217, 157, 0.12);
    color: var(--green);
    font-size: 14px;
    font-weight: 900;
}

.benefit strong {
    display: block;
    font-size: 1rem;
}

.benefit p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.auth-card {
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background:
        linear-gradient(
            180deg,
            rgba(56, 217, 157, 0.035),
            rgba(16, 30, 49, 0.9)
        );
    box-shadow: var(--shadow);
}

.auth-card-header h2 {
    margin: 0;
    font-size: clamp(
        2rem,
        4vw,
        2.8rem
    );
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.auth-card-header > p {
    margin: 14px 0 0;
    color: var(--muted);
    line-height: 1.6;
}

.selected-plan {
    margin-top: 20px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(7, 17, 31, 0.45);
}

.selected-plan.featured-plan {
    border-color: rgba(56, 217, 157, 0.35);
    background: rgba(56, 217, 157, 0.06);
}

.selected-plan div > span,
.selected-plan div > strong {
    display: block;
}

.selected-plan div > span {
    color: var(--muted-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.selected-plan div > strong {
    margin-top: 4px;
    font-size: 1.15rem;
}

.selected-price {
    white-space: nowrap;
    font-size: 1.55rem;
}

.selected-price small {
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 700;
}

.form-error {
    margin-top: 20px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 112, 112, 0.35);
    border-radius: 10px;
    background: rgba(255, 112, 112, 0.08);
    color: #ffd0d0;
    font-size: 14px;
    line-height: 1.5;
}

.auth-form {
    display: grid;
    gap: 18px;
    margin-top: 24px;
}

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

.field {
    display: grid;
    gap: 8px;
}

.field label {
    color: var(--text);
    font-size: 13px;
    font-weight: 800;
}

.field input {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    outline: none;
    background: rgba(7, 17, 31, 0.72);
    color: var(--text);
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease;
}

.field input::placeholder {
    color: var(--muted-dark);
}

.field input:focus {
    border-color: rgba(56, 217, 157, 0.55);
    box-shadow:
        0 0 0 3px
        rgba(56, 217, 157, 0.10);
    background: rgba(7, 17, 31, 0.9);
}

.field small {
    color: var(--muted-dark);
    font-size: 12px;
}

.submit-button {
    min-height: 50px;
    margin-top: 2px;
    border: 0;
    border-radius: 11px;
    background: var(--green);
    color: #041510;
    font-weight: 900;
    cursor: pointer;
    transition:
        background 0.18s ease,
        transform 0.18s ease;
}

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

.form-note {
    margin: 0;
    color: var(--muted-dark);
    font-size: 12px;
    line-height: 1.6;
    text-align: center;
}

.auth-card-footer {
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid var(--border-soft);
    color: var(--muted);
    font-size: 14px;
    text-align: center;
}

.auth-card-footer a {
    color: var(--green);
    font-weight: 800;
    text-decoration: none;
}

.auth-card-footer a:hover {
    color: var(--green-hover);
}

.auth-footer {
    width: min(
        calc(100% - 32px),
        var(--max-width)
    );
    margin: 0 auto;
    padding: 0 0 30px;
    color: var(--muted-dark);
    font-size: 12px;
    text-align: center;
}

@media (max-width: 900px) {
    .auth-page {
        grid-template-columns: 1fr;
        gap: 36px;
        padding-top: 54px;
    }

    .auth-intro {
        padding-top: 0;
    }

    .auth-intro h1,
    .auth-intro > p {
        max-width: none;
    }

    .auth-card {
        max-width: 680px;
        width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .auth-header-inner {
        width: calc(100% - 20px);
        min-height: 64px;
    }

    .brand-text small {
        display: none;
    }

    .header-login span {
        display: none;
    }

    .auth-page {
        width: calc(100% - 20px);
        padding: 42px 0 56px;
        gap: 28px;
    }

    .auth-intro h1 {
        font-size: clamp(
            2.2rem,
            11vw,
            3.6rem
        );
    }

    .name-grid {
        grid-template-columns: 1fr;
    }

    .auth-card {
        padding: 24px;
        border-radius: 16px;
    }

    .selected-plan {
        align-items: flex-start;
    }

    .auth-footer {
        width: calc(100% - 20px);
    }
}

@media (max-width: 420px) {
    .brand-mark {
        width: 38px;
        height: 38px;
    }

    .brand-text strong {
        font-size: 15px;
    }

    .auth-card {
        padding: 20px;
    }

    .selected-plan {
        padding: 14px;
    }

    .selected-price {
        font-size: 1.3rem;
    }
}
/* =========================================================
   PROFESSIONAL LIGHT THEME
========================================================= */

:root {
    --bg: #f7f9fb;
    --bg-soft: #f1f4f7;

    --surface: #ffffff;
    --surface-2: #f8fafc;

    --border: #dfe5eb;
    --border-soft: rgba(15, 23, 42, 0.08);

    --text: #17202a;
    --muted: #667085;
    --muted-dark: #98a2b3;

    --green: #159663;
    --green-hover: #117d53;

    --blue: #315fba;
    --danger: #d92d20;

    --shadow:
        0 18px 40px
        rgba(16, 24, 40, 0.10);
}

html {
    background: #f7f9fb;
}

body {
    background: #f7f9fb;
    color: #17202a;
}

/* HEADER */

.auth-header {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #e3e8ee;

    box-shadow:
        0 1px 0
        rgba(16, 24, 40, 0.02);
}

.brand-mark {
    background: #159663;
    color: #ffffff;

    border-radius: 10px;

    box-shadow:
        0 4px 12px
        rgba(21, 150, 99, 0.16);
}

.brand-text strong {
    color: #17202a;
}

.brand-text small {
    color: #159663;
}

.header-login {
    color: #667085;
}

.header-login a {
    color: #159663;
}

.header-login a:hover {
    color: #117d53;
}


/* INTRO */

.eyebrow {
    color: #159663;
}

.auth-intro h1 {
    color: #101828;
}

.auth-intro > p {
    color: #667085;
}

.check {
    background: #eaf7f1;
    color: #159663;
}

.benefit strong {
    color: #101828;
}

.benefit p {
    color: #667085;
}


/* AUTH CARD */

.auth-card {
    background: #ffffff;

    border:
        1px solid
        #dfe5eb;

    box-shadow:
        0 18px 40px
        rgba(16, 24, 40, 0.10);
}

.auth-card-header h2 {
    color: #101828;
}

.auth-card-header > p {
    color: #667085;
}


/* SELECTED PLAN */

.selected-plan {
    background: #f8fafc;

    border:
        1px solid
        #dfe5eb;
}

.selected-plan.featured-plan {
    background: #f7fcf9;

    border-color:
        #bfe0d2;
}

.selected-plan div > span {
    color: #98a2b3;
}

.selected-plan div > strong,
.selected-price {
    color: #101828;
}

.selected-price small {
    color: #667085;
}


/* FORM ERROR */

.form-error {
    background: #fef3f2;

    border:
        1px solid
        #fecdca;

    color: #b42318;
}


/* FORM */

.field label {
    color: #344054;
}

.field input {
    background: #ffffff;

    color: #17202a;

    border:
        1px solid
        #d0d5dd;

    box-shadow:
        0 1px 2px
        rgba(16, 24, 40, 0.04);
}

.field input::placeholder {
    color: #98a2b3;
}

.field input:focus {
    background: #ffffff;

    border-color: #66b997;

    box-shadow:
        0 0 0 3px
        rgba(21, 150, 99, 0.10);
}

.field small {
    color: #98a2b3;
}


/* SUBMIT */

.submit-button {
    background: #159663;
    color: #ffffff;

    box-shadow:
        0 1px 2px
        rgba(16, 24, 40, 0.06);
}

.submit-button:hover {
    background: #117d53;
    color: #ffffff;
}


/* FOOTER */

.form-note {
    color: #98a2b3;
}

.auth-card-footer {
    border-top-color:
        #edf0f3;

    color: #667085;
}

.auth-card-footer a {
    color: #159663;
}

.auth-card-footer a:hover {
    color: #117d53;
}

.auth-footer {
    color: #98a2b3;
}