
/* ============================= */
/* RESET */
/* ============================= */

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    color: #172033;
    background:
        radial-gradient(
            circle at 15% 10%,
            rgba(99, 102, 241, 0.12),
            transparent 30%
        ),
        #f7f9fc;
}

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

button,
input {
    font: inherit;
}


/* ============================= */
/* NAVBAR */
/* ============================= */

.navbar {
    width: 100%;
    max-width: 1200px;
    margin: auto;

    padding: 28px 32px;

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

.logo {
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: -1px;

    color: #5b5cf0;
}

.back__link {
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;

    transition: 0.2s ease;
}

.back__link:hover {
    color: #5b5cf0;
}


/* ============================= */
/* MAIN LAYOUT */
/* ============================= */

.signup__page {
    width: min(1150px, calc(100% - 64px));
    min-height: calc(100vh - 150px);

    margin: 20px auto 50px;

    display: grid;
    grid-template-columns: 1fr 460px;

    gap: 80px;
    align-items: center;
}


/* ============================= */
/* INTRO */
/* ============================= */

.signup__intro {
    padding: 30px 0;
}

.intro__content {
    max-width: 570px;
}

.intro__tag {
    display: inline-block;

    margin-bottom: 20px;

    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 2px;

    color: #5b5cf0;
}

.signup__intro h1 {
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 0.98;
    letter-spacing: -4px;

    margin-bottom: 25px;
}

.signup__intro h1 span {
    display: block;
    color: #5b5cf0;
}

.signup__intro p {
    max-width: 500px;

    font-size: 1.08rem;
    line-height: 1.75;

    color: #64748b;
}


/* ============================= */
/* MINI DASHBOARD */
/* ============================= */

.mini__dashboard {
    margin-top: 45px;

    width: min(100%, 510px);

    padding: 22px;

    border: 1px solid #e2e8f0;
    border-radius: 20px;

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

    box-shadow:
        0 25px 60px rgba(30, 41, 59, 0.10),
        0 5px 15px rgba(30, 41, 59, 0.04);
}

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

    padding-bottom: 20px;

    border-bottom: 1px solid #edf1f5;
}

.mini__top > div {
    display: flex;
    align-items: center;
    gap: 9px;
}

.dot {
    width: 9px;
    height: 9px;

    border-radius: 50%;

    background: #5b5cf0;

    box-shadow: 0 0 0 5px rgba(91, 92, 240, 0.1);
}

.mini__top strong {
    font-size: 0.9rem;
}

.mini__date {
    font-size: 0.75rem;
    color: #94a3b8;
}

.progress__area {
    padding: 20px 0;
}

.progress__text {
    display: flex;
    justify-content: space-between;

    margin-bottom: 9px;

    font-size: 0.75rem;
    color: #64748b;
}

.progress__text strong {
    color: #5b5cf0;
}

.progress__bar {
    width: 100%;
    height: 7px;

    overflow: hidden;

    border-radius: 20px;
    background: #eef0f7;
}

.progress {
    width: 75%;
    height: 100%;

    border-radius: inherit;

    background: linear-gradient(
        90deg,
        #6366f1,
        #8b5cf6
    );
}

.mini__tasks {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.mini__task {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 10px 12px;

    border-radius: 10px;

    background: #f8fafc;

    font-size: 0.78rem;
    color: #475569;
}

.mini__task > span {
    width: 18px;
    height: 18px;

    display: grid;
    place-items: center;

    border: 1px solid #cbd5e1;
    border-radius: 50%;

    font-size: 0.65rem;
}

.mini__task.completed {
    color: #94a3b8;
    text-decoration: line-through;
}

.mini__task.completed > span {
    color: white;
    border-color: #6366f1;
    background: #6366f1;
}


/* ============================= */
/* SIGNUP CARD */
/* ============================= */

.signup__card {
    padding: 42px;

    border: 1px solid #e5e7eb;
    border-radius: 24px;

    background: white;

    box-shadow:
        0 30px 80px rgba(15, 23, 42, 0.10),
        0 5px 20px rgba(15, 23, 42, 0.04);
}

.form__header {
    margin-bottom: 30px;
}

.form__header h2 {
    margin-bottom: 8px;

    font-size: 1.8rem;
    letter-spacing: -0.8px;
}

.form__header p {
    color: #64748b;
    font-size: 0.9rem;
}

.mobile__logo {
    display: none;
}


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

form {
    display: flex;
    flex-direction: column;
    gap: 19px;
}

.form__group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form__group label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #334155;
}

.form__group input {
    width: 100%;

    padding: 14px 15px;

    border: 1px solid #dbe1ea;
    border-radius: 10px;

    outline: none;

    background: #fbfcfe;

    color: #172033;

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

.form__group input::placeholder {
    color: #a0a9b8;
}

.form__group input:focus {
    border-color: #6366f1;

    background: white;

    box-shadow:
        0 0 0 4px rgba(99, 102, 241, 0.1);
}

.form__group small {
    font-size: 0.7rem;
    color: #94a3b8;
}


/* ============================= */
/* TERMS */
/* ============================= */

.terms {
    display: flex;
    align-items: flex-start;
    gap: 9px;

    font-size: 0.72rem;
    line-height: 1.5;

    color: #64748b;
}

.terms input {
    width: 15px;
    height: 15px;

    margin-top: 2px;

    flex-shrink: 0;

    accent-color: #6366f1;
}

.terms a {
    color: #5b5cf0;
    font-weight: 600;
}


/* ============================= */
/* SIGNUP BUTTON */
/* ============================= */

.signup__button {
    width: 100%;

    padding: 15px;

    border: none;
    border-radius: 10px;

    cursor: pointer;

    color: white;
    background: #5b5cf0;

    font-weight: 700;
    font-size: 0.88rem;

    box-shadow:
        0 8px 20px rgba(91, 92, 240, 0.2);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.signup__button span {
    margin-left: 8px;

    transition: transform 0.2s ease;
}

.signup__button:hover {
    background: #4f46e5;

    transform: translateY(-2px);

    box-shadow:
        0 12px 25px rgba(91, 92, 240, 0.28);
}

.signup__button:hover span {
    display: inline-block;
    transform: translateX(4px);
}


/* ============================= */
/* DIVIDER */
/* ============================= */

.divider {
    display: flex;
    align-items: center;
    gap: 12px;

    color: #a1a9b6;

    font-size: 0.7rem;
}

.divider::before,
.divider::after {
    content: "";

    height: 1px;
    flex: 1;

    background: #e8ecf1;
}


/* ============================= */
/* GOOGLE BUTTON */
/* ============================= */

.google__button {
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;

    padding: 13px;

    border: 1px solid #dbe1ea;
    border-radius: 10px;

    background: white;

    cursor: pointer;

    color: #334155;

    font-size: 0.82rem;
    font-weight: 600;

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

.google__button:hover {
    background: #f8fafc;
    border-color: #cbd5e1;

    transform: translateY(-1px);
}

.google__icon {
    font-weight: 800;
    color: #4285f4;
}


/* ============================= */
/* SIGN IN */
/* ============================= */

.signin__text {
    text-align: center;

    font-size: 0.76rem;

    color: #64748b;
}

.signin__text a {
    color: #5b5cf0;
    font-weight: 700;
}

.signin__text a:hover {
    text-decoration: underline;
}


/* ============================= */
/* MOCK NOTICE */
/* ============================= */

.mock__notice {
    display: flex;
    align-items: flex-start;
    gap: 8px;

    margin-top: 25px;
    padding: 12px;

    border-radius: 10px;

    background: #f5f7ff;

    color: #64748b;

    font-size: 0.67rem;
    line-height: 1.5;
}

.mock__notice span {
    color: #6366f1;
    font-size: 0.8rem;
}


/* ============================= */
/* FOOTER */
/* ============================= */

footer {
    width: min(1150px, calc(100% - 64px));

    margin: 0 auto;

    padding: 25px 0 35px;

    display: flex;
    justify-content: space-between;
    gap: 20px;

    border-top: 1px solid #e8ecf1;

    color: #94a3b8;

    font-size: 0.7rem;
}


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

@media (max-width: 950px) {

    .signup__page {
        grid-template-columns: 1fr 420px;
        gap: 45px;
    }

    .signup__intro h1 {
        font-size: 3.5rem;
    }

    .mini__dashboard {
        margin-top: 30px;
    }

    .signup__card {
        padding: 32px;
    }
}


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

@media (max-width: 760px) {

    body {
        background:
            radial-gradient(
                circle at 50% 0%,
                rgba(99, 102, 241, 0.13),
                transparent 35%
            ),
            #f7f9fc;
    }

    .navbar {
        padding: 22px 20px;
    }

    .logo {
        font-size: 1.45rem;
    }

    .back__link {
        padding: 9px 0;
        font-size: 0.78rem;
    }


    /* Main becomes one column */

    .signup__page {
        width: calc(100% - 32px);

        min-height: auto;

        margin: 15px auto 35px;

        display: flex;
        flex-direction: column;

        gap: 30px;
    }


    /* Intro */

    .signup__intro {
        width: 100%;
        padding: 10px 4px 0;
        text-align: center;
    }

    .intro__content {
        max-width: none;
    }

    .intro__tag {
        margin-bottom: 14px;

        font-size: 0.65rem;
    }

    .signup__intro h1 {
        margin-bottom: 16px;

        font-size: clamp(2.7rem, 13vw, 4rem);

        line-height: 0.98;
        letter-spacing: -2.5px;
    }

    .signup__intro p {
        margin: 0 auto;

        max-width: 500px;

        font-size: 0.93rem;
        line-height: 1.65;
    }


    /* Smaller dashboard */

    .mini__dashboard {
        width: 100%;

        margin-top: 25px;

        padding: 17px;

        border-radius: 16px;

        text-align: left;

        box-shadow:
            0 18px 40px rgba(30, 41, 59, 0.08);
    }

    .mini__top {
        padding-bottom: 15px;
    }

    .mini__top strong {
        font-size: 0.78rem;
    }

    .mini__date {
        font-size: 0.67rem;
    }

    .progress__area {
        padding: 16px 0;
    }

    .mini__task {
        padding: 9px;

        font-size: 0.72rem;
    }


    /* Signup card */

    .signup__card {
        width: 100%;

        padding: 25px 20px;

        border-radius: 18px;

        box-shadow:
            0 20px 50px rgba(15, 23, 42, 0.08);
    }

    .form__header {
        margin-bottom: 25px;
    }

    .mobile__logo {
        display: block;

        margin-bottom: 20px;

        font-size: 0.9rem;
        font-weight: 800;

        color: #5b5cf0;
    }

    .form__header h2 {
        font-size: 1.5rem;
    }

    .form__header p {
        font-size: 0.8rem;
    }

    form {
        gap: 17px;
    }

    .form__group input {
        min-height: 49px;

        padding: 13px;
    }

    .signup__button {
        min-height: 50px;

        font-size: 0.82rem;
    }

    .google__button {
        min-height: 48px;
    }


    /* Footer */

    footer {
        width: calc(100% - 40px);

        padding: 20px 0 30px;

        flex-direction: column;
        align-items: center;

        text-align: center;

        gap: 7px;

        font-size: 0.65rem;
    }
}


/* ============================= */
/* SMALL PHONES */
/* ============================= */

@media (max-width: 400px) {

    .navbar {
        padding: 18px 16px;
    }

    .back__link {
        font-size: 0.7rem;
    }

    .signup__page {
        width: calc(100% - 24px);
    }

    .signup__intro h1 {
        font-size: 2.65rem;
    }

    .signup__intro p {
        font-size: 0.86rem;
    }

    .signup__card {
        padding: 23px 17px;
    }

    .mini__dashboard {
        padding: 14px;
    }

    .mini__task {
        font-size: 0.68rem;
    }

    .terms {
        font-size: 0.67rem;
    }
}


/* ============================= */
/* REDUCED MOTION */
/* ============================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}

