*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --red: #e8180d;
    --red-hover: #c41209;
    --dark: #0d0d0d;
    --white: #ffffff;
    --radius: 20px;
    --input-radius: 10px;
}

html,
body {
    height: 100%;
    font-family: 'Barlow', sans-serif;
    color: var(--dark);
}

/* ─── FULL-PAGE BG PLACEHOLDER ─── */
.page-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    background: #c8c8c8;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.page-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.42);
}

.bg-ph-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 1;
    pointer-events: none;
}

.bg-ph-icon svg {
    width: 64px;
    height: 64px;
    opacity: 0.22;
}

.bg-ph-icon span {
    font-size: 0.68rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #333;
    opacity: 0.38;
}

/* ─── PAGE LAYOUT ─── */
.page-content {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 60px 72px;
    gap: 48px;
}

/* ─── LEFT COLUMN ─── */
.left-col {
    display: flex;
    flex-direction: column;
    gap: 32px;
    animation: fadeUp 0.5s 0.1s ease both;
}

.logo-wrapper {
    display: flex;
    flex-direction: column;
    line-height: 1;
    text-decoration: none;
    width: fit-content;
}

.logo-mark {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2.6rem;
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--dark);
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.logo-mark .two {
    font-size: 3rem;
}

.logo-mark .fast {
    font-style: italic;
    letter-spacing: 3px;
    color: var(--red);
}

.logo-sub {
    font-size: 0.58rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #555;
    margin-top: 2px;
    padding-left: 2px;
}

.left-heading {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    font-style: italic;
    line-height: 1.1;
    color: var(--dark);
    max-width: 460px;
}

.left-body {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.7;
    color: #333;
    max-width: 420px;
}

.btn-signin-left {
    display: inline-block;
    background: var(--red);
    color: #fff;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-decoration: none;
    border-radius: 50px;
    padding: 16px 48px;
    width: fit-content;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 18px rgba(232, 24, 13, 0.28);
}

.btn-signin-left:hover {
    background: var(--red-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(232, 24, 13, 0.42);
}

/* ─── RIGHT COLUMN — SIGN UP CARD ─── */
.right-col {
    display: flex;
    justify-content: flex-end;
    animation: fadeUp 0.5s 0.2s ease both;
}

.signup-card {
    background: var(--dark);
    border-radius: var(--radius);
    padding: 28px 32px 30px;
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.32), 0 6px 18px rgba(0, 0, 0, 0.18);
}

/* Icon circle */
.signup-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(232, 24, 13, 0.15);
    border: 2px solid rgba(232, 24, 13, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.signup-icon svg {
    width: 22px;
    height: 22px;
}

.card-heading {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    font-style: italic;
    color: var(--white);
    line-height: 1.1;
}

.card-subtext {
    font-family: 'Barlow', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    color: #aaa;
    line-height: 1.5;
    margin-top: -8px;
}

/* Divider */
.divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

/* Fields */
.fields {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.fields input {
    width: 100%;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--input-radius);
    padding: 11px 14px;
    font-family: 'Barlow', sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--white);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.fields input::placeholder {
    color: #666;
}

.fields input:focus {
    border-color: rgba(232, 24, 13, 0.6);
    box-shadow: 0 0 0 3px rgba(232, 24, 13, 0.18);
}



/* Terms */
.terms-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.terms-row input[type="checkbox"] {
    width: 16px;
    height: 16px;
    min-width: 16px;
    accent-color: var(--red);
    margin-top: 2px;
    cursor: pointer;
}

.terms-row label {
    font-size: 0.82rem;
    font-weight: 500;
    color: #888;
    line-height: 1.5;
    cursor: pointer;
}

.terms-row label a {
    color: var(--red);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Buttons */
.card-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-create {
    background: var(--red);
    color: #fff;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 50px;
    padding: 13px 0;
    width: 100%;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(232, 24, 13, 0.32);
}

.btn-create:hover {
    background: var(--red-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232, 24, 13, 0.46);
}

.btn-back {
    background: transparent;
    color: #bbb;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 11px 0;
    width: 100%;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
    text-decoration: none;
    text-align: center;
    display: block;
}

.btn-back:hover {
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

/* Already have account */
.signin-prompt {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #777;
    text-align: center;
}

.signin-prompt a {
    color: var(--red);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    transition: color 0.2s;
}

.signin-prompt a:hover {
    color: #ff3b30;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
    .page-content {
        grid-template-columns: 1fr;
        padding: 48px 32px;
        gap: 40px;
    }

    .right-col {
        justify-content: center;
    }

    .signup-card {
        max-width: 100%;
    }
}

@media (max-width: 560px) {
    .page-content {
        padding: 36px 20px;
    }

    .left-heading {
        font-size: 2.2rem;
    }

    .signup-card {
        padding: 32px 22px;
    }

    .field-row {
        grid-template-columns: 1fr;
    }
}