/* Intentionally matches Content/SignUp.css byte-for-byte - Book a Demo
   and Sign Up share the same cm-* card/form structure, and this keeps
   their colors/fonts/theme-token usage identical (see SignUp.css's own
   top comment for why it maps onto the shared landing.css tokens rather
   than a local hardcoded palette). Update both files together. */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --font: 'Outfit', sans-serif;
    --display: 'DM Sans', sans-serif;
}

/* ── Page wrapper ── */
.cm-root {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font);
    background: var(--bg-base);
    position: relative;
    overflow: hidden;
    padding: 32px 16px;
}

/* ── Background ── */
.cm-bg-mesh {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: radial-gradient(ellipse 70% 60% at 15% 50%, rgba(14,165,233,.22) 0%, transparent 60%), radial-gradient(ellipse 55% 70% at 85% 25%, rgba(14,165,233,.17) 0%, transparent 60%), radial-gradient(ellipse 50% 55% at 60% 85%, rgba(14,165,233,.14) 0%, transparent 60%);
}

.cm-bg-dots {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: radial-gradient(rgba(255,255,255,.055) 1px, transparent 1px);
    background-size: 24px 24px;
    animation: dotsScroll 25s linear infinite;
}

@keyframes dotsScroll {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 24px 24px;
    }
}

.cm-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.cm-orb1 {
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(14,165,233,.2), transparent 70%);
    top: -180px;
    left: -130px;
    animation: cmFloat1 14s ease-in-out infinite;
}

.cm-orb2 {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(14,165,233,.17), transparent 70%);
    bottom: -130px;
    right: -80px;
    animation: cmFloat2 18s ease-in-out infinite 2s;
}

.cm-orb3 {
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(14,165,233,.13), transparent 70%);
    top: 40%;
    right: 5%;
    animation: cmFloat1 12s ease-in-out infinite 4s;
}

@keyframes cmFloat1 {
    0%, 100% {
        transform: translate(0,0) scale(1);
    }

    33% {
        transform: translate(30px,-40px) scale(1.05);
    }

    66% {
        transform: translate(-20px,20px) scale(.97);
    }
}

@keyframes cmFloat2 {
    0%, 100% {
        transform: translate(0,0);
    }

    50% {
        transform: translate(-40px,-30px) scale(1.08);
    }
}

/* ── Card ── */
.cm-card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1040px;
    display: flex;
    overflow: hidden;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    box-shadow: 0 32px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.05) inset;
    animation: cardIn .7s cubic-bezier(.22,1,.36,1) both;
}
    .cm-card::before {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: 28px;
        z-index: 0;
        background: linear-gradient(135deg, rgba(14,165,233,.1) 0%, rgba(14,165,233,.06) 50%, rgba(14,165,233,.05) 100%);
        pointer-events: none;
    }

@keyframes cardIn {
    from {
        opacity: 0;
        transform: translateY(32px) scale(.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ── LEFT PANEL ── */
.cm-left {
    flex: 1;
    padding: 52px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid var(--border);
    position: relative;
    z-index: 1;
    animation: fadeUp .7s cubic-bezier(.22,1,.36,1) .1s both;
}

.cm-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 38px;
}

.cm-brand-name {
    font-family: var(--display);
    font-size: 21px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -.03em;
}

.cm-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(14,165,233,.12);
    border: 1px solid rgba(14,165,233,.25);
    border-radius: 30px;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 600;
    color: var(--cyan-hover);
    letter-spacing: .05em;
    margin-bottom: 20px;
    width: fit-content;
}

.cm-pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--cyan);
    animation: cmPulse 2.2s ease-in-out infinite;
}

@keyframes cmPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(14,165,233,.6);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(14,165,233,0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(14,165,233,0);
    }
}

.cm-headline {
    font-family: var(--display);
    font-size: clamp(28px, 3.2vw, 42px);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-primary);
    letter-spacing: -.04em;
    margin-bottom: 16px;
}

.cm-grad,
.cm-grad-move {
    background: linear-gradient(90deg, var(--cyan), var(--cyan-hover), var(--cyan));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradShift 4s linear infinite;
}

@keyframes gradShift {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

.cm-tagline {
    font-size: 14px;
    line-height: 1.75;
    color: var(--text-secondary);
    max-width: 380px;
    margin-bottom: 30px;
}

.cm-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 34px;
}

.cm-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 30px;
    padding: 6px 13px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid;
    transition: transform .2s, box-shadow .2s;
}

    .cm-pill:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(0,0,0,.2);
    }

/* All three pills share one cyan accent (matches SignUp/Login's single-hue brand color). */
.p-i,
.p-p,
.p-c {
    background: rgba(14,165,233,.1);
    border-color: rgba(14,165,233,.25);
    color: var(--cyan-hover);
}

.cm-check {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: currentColor;
    flex-shrink: 0;
}

    .cm-check svg {
        stroke: var(--bg-base);
    }

.cm-avatars {
    display: flex;
    align-items: center;
    gap: 14px;
}

.cm-avs {
    display: flex;
}

.cm-av {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid var(--bg-base);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    margin-left: -10px;
    transition: margin .25s;
}

    .cm-av:first-child {
        margin-left: 0;
    }

.cm-avs:hover .cm-av {
    margin-left: -3px;
}

.cm-av-c {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.12);
    font-size: 10px;
    color: var(--text-secondary);
}

.cm-proof {
    font-size: 13px;
    color: var(--text-secondary);
}

    .cm-proof strong {
        color: var(--text-primary);
        font-weight: 700;
    }

/* ── RIGHT PANEL ── */
.cm-right {
    flex: 1;
    min-width: 0;
    padding: 52px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
    animation: slideIn .7s cubic-bezier(.22,1,.36,1) .15s both;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(28px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.cm-form-title,
.cm-form-title1 {
    font-family: var(--display);
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -.03em;
    margin-bottom: 4px;
}

.cm-form-sub {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 22px;
}

/* Social buttons */
.cm-socials {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.cm-soc-btn {
    width: 100%;
    padding: 11px 16px;
    background: rgba(255,255,255,.05);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: rgba(255,255,255,.72);
    font-family: var(--font);
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all .22s;
}

    .cm-soc-btn:hover {
        background: rgba(255,255,255,.09);
        border-color: var(--border-light);
        color: #fff;
        transform: translateY(-1px);
        box-shadow: 0 6px 20px rgba(0,0,0,.25);
    }

    .cm-soc-btn:active {
        transform: translateY(0);
    }

/* Divider */
.cm-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.cm-div-line {
    flex: 1;
    border: none;
    border-top: 1px solid var(--border);
}

.cm-div-text {
    font-size: 10px;
    color: var(--text-muted);
    white-space: nowrap;
}

/* Form */
.cm-form {
    display: flex;
    flex-direction: column;
}

.cm-field {
    margin-bottom: 13px;
}

.cm-lbl {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 7px;
    transition: color .2s;
}

.cm-field:focus-within .cm-lbl {
    color: var(--cyan-hover);
}

.cm-iw {
    position: relative;
}

.cm-ico {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    pointer-events: none;
    transition: color .2s;
}

.cm-field:focus-within .cm-ico {
    color: var(--cyan-hover);
}

.cm-inp {
    width: 100%;
    background: var(--input-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 14px 12px 40px;
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 13px;
    outline: none;
    transition: all .22s;
    padding-right: 20px;
}

    .cm-inp::placeholder {
        color: var(--text-muted);
    }

    .cm-inp:focus {
        border-color: rgba(14,165,233,.55);
        background: rgba(14,165,233,.07);
        box-shadow: 0 0 0 3px rgba(14,165,233,.14), 0 0 20px rgba(14,165,233,.07);
    }

    .cm-inp:hover:not(:focus) {
        border-color: var(--border-light);
        background: var(--input-bg-hover);
    }

.cm-inp-pw {
    padding-right: 42px;
}

.cm-glow {
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--cyan-hover), var(--cyan));
    border-radius: 2px;
    opacity: 0;
    transform: scaleX(0);
    transition: opacity .3s, transform .3s;
    pointer-events: none;
}

.cm-field:focus-within .cm-glow {
    opacity: 1;
    transform: scaleX(1);
}

.cm-pwtog {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    transition: color .2s, background .2s;
}

    .cm-pwtog:hover {
        color: var(--cyan-hover);
        background: rgba(14,165,233,.1);
    }

/* Strength meter */
.cm-str-wrap {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 7px;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: opacity .3s, height .3s;
}

    .cm-str-wrap.vis {
        opacity: 1;
        height: 18px;
    }

.cm-str-bar {
    flex: 1;
    height: 3px;
    background: var(--border);
    border-radius: 3px;
    overflow: hidden;
}

.cm-str-fill {
    height: 100%;
    width: 0;
    border-radius: 3px;
    transition: width .4s, background .4s;
}

.cm-str-lbl {
    font-size: 10px;
    color: var(--text-secondary);
    white-space: nowrap;
}

/* Submit button - solid var(--cyan)/var(--cyan-hover) on hover, same as Login's .pz-submit-btn. */
.cm-submit {
    width: 100%;
    padding: 13px;
    background: var(--cyan);
    border: none;
    border-radius: 11px;
    color: #fff;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all .3s;
    margin-top: 5px;
    box-shadow: 0 6px 22px rgba(14,165,233,.42);
    letter-spacing: .01em;
}

    .cm-submit:hover {
        background: var(--cyan-hover);
        transform: translateY(-2px);
        box-shadow: 0 12px 32px rgba(14,165,233,.52);
    }

    .cm-submit:active {
        transform: translateY(0);
    }

.cm-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.18) 50%, transparent 60%);
    transform: translateX(-100%);
}

.cm-submit:hover .cm-shine {
    transform: translateX(100%);
    transition: transform .55s ease;
}

.cm-arr {
    display: flex;
    align-items: center;
    transition: transform .2s;
}

.cm-submit:hover .cm-arr {
    transform: translateX(3px);
}

.cm-terms {
    font-size: 10px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 11px;
    line-height: 1.65;
}

.cm-a {
    color: var(--cyan);
    text-decoration: none;
    transition: color .2s;
}

    .cm-a:hover {
        color: var(--cyan-hover);
    }

.cm-a-bold {
    font-weight: 700;
}

.cm-footer {
    text-align: center;
    margin-top: 18px;
    font-size: 13px;
    color: var(--text-secondary);
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

/* Stagger animations */
.cm-socials {
    animation: fadeUp .5s ease .32s both;
}

.cm-divider {
    animation: fadeUp .5s ease .40s both;
}

#f-name {
    animation: fadeUp .5s ease .46s both;
}

#f-email {
    animation: fadeUp .5s ease .52s both;
}

#f-pass {
    animation: fadeUp .5s ease .58s both;
}

.cm-submit {
    animation: fadeUp .5s ease .64s both;
}

.cm-terms {
    animation: fadeUp .5s ease .70s both;
}

.cm-footer {
    animation: fadeUp .5s ease .76s both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pz-logo-box {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 10px;
    overflow: hidden;
}

    .pz-logo-box img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

@media (max-width:1024px) {

    .cm-left,
    .cm-right {
        padding: 40px;
    }

    .cm-headline {
        font-size: 34px;
        line-height: 1.3;
    }
}

@media (max-width:768px) {
    .cm-card {
        flex-direction: column;
        max-width: 520px;
    }

    .cm-left {
        text-align: center;
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .cm-right {
        padding: 35px 25px;
    }

    .cm-brand {
        justify-content: center;
        flex-direction: column;
        gap: 10px;
    }

    .pz-logo-box img {
        height: 48px;
        margin: auto;
        display: block;
    }

    .cm-headline {
        font-size: 28px;
    }

    .cm-tagline {
        font-size: 14px;
        max-width: 420px;
        margin: auto;
    }

    .cm-pills {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .cm-pill {
        font-size: 12px;
        padding: 8px 12px;
    }

    .cm-form-title {
        text-align: center;
    }

    .cm-form-sub {
        text-align: center;
    }

    .cm-submit {
        width: 100%;
    }

    .cm-card {
        flex-direction: column;
        max-width: 480px;
    }

    .cm-left {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,.07);
        padding: 40px 32px 32px;
    }

    .cm-right {
        width: 100%;
        padding: 32px;
    }

    .cm-left-inner {
        max-width: 100%;
    }

    .cm-inp {
        font-size: 14px;
        padding: 30px 24px;
    }
}

@media (max-width:480px) {

    .cm-root {
        padding: 20px 12px;
    }

    .cm-left,
    .cm-right {
        padding: 25px 18px;
    }

    .cm-headline {
        font-size: 24px;
    }

    .cm-brand-name {
        font-size: 20px;
    }

    .cm-inp {
        font-size: 14px;
        padding: 12px 14px;
    }

    .cm-submit {
        height: 48px;
        font-size: 15px;
    }

    .cm-terms,
    .cm-footer {
        font-size: 12px;
        text-align: center;
    }

    .cm-inp {
        font-size: 14px;
        padding: 12px 34px;
    }
}

@media (max-width:360px) {

    .cm-headline {
        font-size: 22px;
    }

    .cm-pill {
        width: 100%;
        justify-content: center;
    }
}
