﻿
/* =====================================================
   PORTAZ — BOOK DEMO PAGE (CM DESIGN SYSTEM)
===================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ================= ROOT VARIABLES ================= */

:root {
    --indigo: #6366f1;
    --indigo-l: #818cf8;
    --pink: #ec4899;
    --pink-l: #f472b6;
    --cyan: #06b6d4;
    --cyan-l: #67e8f9;
    --bg: #0d0d1a;
    --border: rgba(255,255,255,.07);
    --border-h: rgba(255,255,255,.14);
    --text: #f1f5f9;
    --dim: rgba(255,255,255,.45);
    --dim2: rgba(255,255,255,.25);
    --font: 'Plus Jakarta Sans', sans-serif;
    --display: 'Syne', sans-serif;
}

/* ================= PAGE WRAPPER ================= */

.cm-root {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font);
    background: var(--bg);
    position: relative;
    overflow: hidden;
    padding: 32px 16px;
}

/* ================= BACKGROUND ================= */

.cm-bg-mesh {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 15% 50%, rgba(99,102,241,.22), transparent 60%), radial-gradient(ellipse 55% 70% at 85% 25%, rgba(236,72,153,.17), transparent 60%), radial-gradient(ellipse 50% 55% at 60% 85%, rgba(6,182,212,.14), transparent 60%);
}

.cm-bg-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 24px 24px;
    animation: dotsScroll 25s linear infinite;
}

@keyframes dotsScroll {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 24px 24px;
    }
}

/* Floating Orbs */

.cm-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.cm-orb1 {
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(99,102,241,.2), transparent 70%);
    top: -180px;
    left: -130px;
}

.cm-orb2 {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(236,72,153,.17), transparent 70%);
    bottom: -130px;
    right: -80px;
}

.cm-orb3 {
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(6,182,212,.13), transparent 70%);
    top: 40%;
    right: 5%;
}

/* ================= CARD ================= */

.cm-card {
    width: 100%;
    max-width: 1040px;
    display: flex;
    overflow: hidden;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 20px;
    backdrop-filter: blur(28px);
    box-shadow: 0 32px 80px rgba(0,0,0,.55);
    animation: cardIn .6s ease;
}

@keyframes cardIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================= LEFT PANEL ================= */

.cm-left {
    flex: 1;
    padding: 52px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid rgba(255,255,255,.07);
}

/*.cm-brand-name {
    font-family: var(--display);
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 28px;
}*/


/* BRAND */
.cm-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.pz-logo-box img {
    height: 42px;
}

.cm-brand-name {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
}

.cm-eyebrow {
    background: rgba(99,102,241,.12);
    border: 1px solid rgba(99,102,241,.25);
    border-radius: 30px;
    padding: 6px 14px;
    font-size: 11px;
    color: var(--indigo-l);
    margin-bottom: 20px;
    width: fit-content;
}

.cm-headline {
    font-family: var(--display);
    /*font-size: clamp(28px,3vw,42px);*/
    font-size: 35px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 16px;
}

.cm-grad {
    background: linear-gradient(90deg,var(--indigo-l),var(--pink-l),var(--cyan-l));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cm-tagline {
    font-size: 14px;
    line-height: 1.7;
    color: var(--dim);
    max-width: 420px;
    margin-bottom: 28px;
}

/* Pills */

.cm-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cm-pill {
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 12px;
    border: 1px solid var(--border);
}

.p-i {
    color: var(--indigo-l);
}

.p-p {
    color: var(--pink-l);
}

.p-c {
    color: var(--cyan-l);
}

/* ================= RIGHT PANEL ================= */

.cm-right {
    width: 370px;
    padding: 48px 38px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cm-form-title {
    font-family: var(--display);
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
}

.cm-form-title1 {
    font-family: var(--display);
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
    background: linear-gradient(90deg,var(--indigo-l),var(--pink-l),var(--cyan-l));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}



.cm-form-sub {
    font-size: 13px;
    color: var(--dim);
    margin-bottom: 22px;
}

/* ================= FORM ================= */

.cm-field {
    margin-bottom: 14px;
}

.cm-lbl {
    font-size: 10px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--dim);
    margin-bottom: 6px;
    display: block;
}

.cm-iw {
    position: relative;
}

.cm-ico {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--dim2);
}

.cm-inp {
    width: 100%;
    background: rgba(255,255,255,.05);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 14px 12px 40px;
    color: var(--text);
    font-size: 13px;
    outline: none;
    transition: .25s;
}

    .cm-inp:focus {
        border-color: rgba(99,102,241,.6);
        background: rgba(99,102,241,.08);
        box-shadow: 0 0 0 3px rgba(99,102,241,.14);
    }

/* ================= BUTTON ================= */

.cm-soc-btn {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg,#6366f1,#ec4899);
    color: #fff;
    font-weight: 600;
    transition: .25s;
}

    .cm-soc-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(0,0,0,.35);
    }



/*heading animation css */
/* ======================================
   MOVING GRADIENT TEXT (WORKING VERSION)
====================================== */

.cm-grad-move {
    background: linear-gradient( 90deg, #6366f1, #ec4899, #06b6d4, #6366f1 );
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block; /* ⭐ REQUIRED */
    animation: gradientMoveLR 4s linear infinite;
}


/* Razor-safe keyframes */
@keyframes gradientMoveLR {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 300% 50%;
    }
}





/* ================= RESPONSIVE ================= */
@media (max-width:1200px) {

    .cm-card {
        max-width: 95%;
    }

    .cm-left {
        padding: 48px 34px;
    }

    .cm-right {
        width: 420px;
    }
}


/* ---------- Small Laptop / Tablet Landscape ---------- */
@media (max-width:1024px) {

    .cm-card {
        flex-direction: column;
        max-width: 720px;
        margin: auto;
    }

    .cm-left {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,.07);
        text-align: center;
        align-items: center;
        padding: 42px 28px;
    }

    .cm-right {
        width: 100%;
        padding: 40px 28px;
    }

    .cm-tagline {
        max-width: 100%;
    }

    .cm-pills {
        justify-content: center;
    }

    .cm-brand {
        justify-content: center;
        flex-direction: column;
        gap: 10px;
    }
}


/* ---------- Tablet Portrait ---------- */
@media (max-width:768px) {

    .cm-root {
        padding: 20px 12px;
    }

    .cm-headline {
        font-size: 26px;
        line-height: 1.3;
    }

    .cm-tagline {
        font-size: 13px;
    }

    .cm-card {
        border-radius: 16px;
    }

    .cm-left,
    .cm-right {
        padding: 32px 22px;
    }
    /*.pz-logo-box img{
        height:36px;
    }

    .cm-brand-name{
        font-size:20px;
    }*/
    .cm-pill {
        font-size: 11px;
        padding: 6px 12px;
    }

    .cm-brand {
        flex-direction: column; /* stack vertically */
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 8px;
    }

    .pz-logo-box {
        display: flex;
        justify-content: center;
    }

        .pz-logo-box img {
            height: 42px;
            width: auto;
            display: block;
            margin: auto;
        }

    .cm-brand-name {
        display: block;
        font-size: 22px;
        margin-top: 2px;
    }
}


/* ---------- Mobile Large (≤600px) ---------- */
@media (max-width:600px) {

    .cm-root {
        align-items: flex-start;
        padding-top: 30px;
    }

    .cm-card {
        box-shadow: 0 18px 45px rgba(0,0,0,.45);
    }

    .cm-left {
        padding: 28px 18px;
    }

    .cm-right {
        padding: 28px 18px;
    }

    .cm-headline {
        font-size: 24px;
    }

    .cm-form-title {
        text-align: center;
    }

    .cm-form-sub {
        text-align: center;
    }

    .cm-pills {
        gap: 8px;
    }

    .cm-pill {
        font-size: 10px;
    }
}


/* ---------- Small Mobile (≤420px) ---------- */
@media (max-width:420px) {

    .cm-root {
        padding: 16px 10px;
    }

    .cm-card {
        border-radius: 14px;
    }

    .cm-headline {
        font-size: 22px;
    }

    .cm-inp {
        font-size: 12px;
        padding: 11px 12px 11px 36px;
    }

    .cm-ico {
        left: 10px;
        font-size: 12px;
    }

    .cm-soc-btn {
        padding: 11px;
        font-size: 14px;
    }

    .pz-logo-box img {
        height: 32px;
    }

    .cm-brand {
        gap: 8px;
    }
}


/* ---------- Extra Small Devices (≤360px) ---------- */
@media (max-width:360px) {

    .cm-headline {
        font-size: 20px;
    }

    .cm-tagline {
        font-size: 12px;
    }

    .cm-pill {
        width: 100%;
        text-align: center;
    }

    .cm-pills {
        flex-direction: column;
        align-items: center;
    }
}

