/* WhatSales sign-in page (default.aspx). Self-contained: no Bootstrap, no master CSS. */

:root {
    --brand: #00a7e1;
    --brand-2: #38bdf8;
    --brand-deep: #0077b6;
    --navy: #0b1a2b;
    --navy-2: #06101c;
    --ink: #0f1b2d;
    --ink-2: #334155;
    --muted: #64748b;
    --line: #e2e8f0;
    --field: #f8fafc;
    --ok: #10b981;
    --bad: #ef4444;
    --warn: #f59e0b;
    --violet: #a78bfa;
    --radius: 14px;
    --ease: cubic-bezier(.22, .61, .36, 1);
    --spring: cubic-bezier(.34, 1.56, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body.ws-login {
    font-family: Lato, "Segoe UI", system-ui, -apple-system, sans-serif;
    color: var(--ink);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

.ws-login a { color: var(--brand-deep); text-decoration: none; }
.ws-login a:hover { text-decoration: underline; }
.ws-login button { font-family: inherit; }

.lg-shell {
    display: grid;
    grid-template-columns: minmax(440px, 44fr) 56fr;
    min-height: 100vh;
}

/* ------------------------------------------------------------------ form side */

.lg-form-side {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 28px clamp(24px, 4vw, 64px) 22px;
    background:
        radial-gradient(900px 420px at -10% -10%, rgba(0, 167, 225, .07), transparent 60%),
        radial-gradient(700px 380px at 110% 110%, rgba(167, 139, 250, .06), transparent 60%),
        #fff;
    z-index: 2;
}

.lg-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.lg-logo img { height: 30px; width: auto; display: block; }

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

.lg-trial {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink) !important;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none !important;
    transition: border-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.lg-trial i { color: var(--brand); transition: transform .25s var(--ease); }
.lg-trial:hover { border-color: var(--brand); box-shadow: 0 6px 20px -8px rgba(0, 167, 225, .5); transform: translateY(-1px); }
.lg-trial:hover i { transform: translateX(3px); }

.lg-center {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 36px 0;
}

.lg-card {
    width: 100%;
    max-width: 410px;
}

.lg-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--brand-deep);
    background: rgba(0, 167, 225, .08);
    border: 1px solid rgba(0, 167, 225, .18);
    padding: 6px 12px 6px 10px;
    border-radius: 999px;
    margin-bottom: 18px;
}
.lg-eyebrow i { font-size: 15px; color: var(--brand); }

.lg-title {
    font-size: clamp(32px, 3.2vw, 42px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -.035em;
    margin: 0 0 12px;
    color: var(--ink);
}

.lg-sub {
    margin: 0 0 28px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.55;
}
.lg-sub b { color: var(--ink-2); font-weight: 700; }

/* staged entrance for the form */
.lg-rise { opacity: 0; transform: translateY(14px); animation: lg-rise .7s var(--ease) forwards; }
.lg-rise.d1 { animation-delay: .05s; }
.lg-rise.d2 { animation-delay: .12s; }
.lg-rise.d3 { animation-delay: .19s; }
.lg-rise.d4 { animation-delay: .26s; }
.lg-rise.d5 { animation-delay: .33s; }
.lg-rise.d6 { animation-delay: .40s; }
.lg-rise.d7 { animation-delay: .47s; }
@keyframes lg-rise { to { opacity: 1; transform: none; } }

/* server message (email verification) - the code-behind writes inline-styled divs */
#divErr { width: auto !important; margin: 0 0 16px !important; }
#divErr > div {
    background: #fef2f2 !important;
    color: #b91c1c !important;
    border: 1px solid #fecaca;
    border-radius: 12px;
    padding: 12px 14px !important;
    text-align: left !important;
    font-size: 14px;
    font-weight: 700;
}
#divErr > div[style*="90EE90"] {
    background: #ecfdf5 !important;
    color: #047857 !important;
    border-color: #a7f3d0;
}

.lg-alert {
    display: none;
    align-items: flex-start;
    gap: 10px;
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.4;
}
.lg-alert i { font-size: 18px; margin-top: 0; flex: none; }
.lg-alert.is-on { display: flex; animation: lg-shake .45s var(--ease); }
@keyframes lg-shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-7px); }
    40% { transform: translateX(6px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(2px); }
}

/* floating-label fields */
.lg-field {
    position: relative;
    margin-bottom: 14px;
}
.lg-field > i.lg-ico {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 19px;
    color: #94a3b8;
    pointer-events: none;
    transition: color .2s;
    z-index: 1;
}
.lg-field input.lg-input {
    width: 100%;
    height: 58px;
    padding: 22px 48px 6px 46px;
    border: 1.5px solid var(--line);
    border-radius: var(--radius);
    background: var(--field);
    font: 600 16px/1 Lato, system-ui, sans-serif;
    color: var(--ink);
    outline: none;
    transition: border-color .2s, box-shadow .2s, background .2s;
    -webkit-appearance: none;
    appearance: none;
}
.lg-field input.lg-input::placeholder { color: transparent; }
.lg-field label {
    position: absolute;
    left: 47px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    color: var(--muted);
    pointer-events: none;
    transition: top .2s var(--ease), font-size .2s var(--ease), color .2s;
}
.lg-field input.lg-input:focus,
.lg-field input.lg-input:not(:placeholder-shown) { background: #fff; }
.lg-field input.lg-input:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(0, 167, 225, .14);
}
.lg-field input.lg-input:focus + label,
.lg-field input.lg-input:not(:placeholder-shown) + label,
.lg-field input.lg-input:-webkit-autofill + label {
    top: 17px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .02em;
    color: var(--brand-deep);
}
.lg-field:focus-within > i.lg-ico { color: var(--brand); }
.lg-field input.lg-input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 40px #fff inset;
    -webkit-text-fill-color: var(--ink);
}
.lg-field.is-bad input.lg-input { border-color: #fca5a5; }

.lg-eye {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #94a3b8;
    font-size: 19px;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background .2s, color .2s;
}
.lg-eye:hover { background: #eef2f7; color: var(--ink-2); }
.lg-eye:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }

.lg-caps {
    display: none;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 700;
    color: #b45309;
    margin: -6px 0 12px 4px;
}
.lg-caps.is-on { display: flex; }

.lg-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 4px 0 22px;
    font-size: 14px;
}

.lg-check {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
    color: var(--ink-2);
    user-select: none;
}
.lg-check input {
    -webkit-appearance: none;
    appearance: none;
    width: 19px;
    height: 19px;
    margin: 0;
    border: 1.5px solid #cbd5e1;
    border-radius: 6px;
    background: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background .15s, border-color .15s;
}
.lg-check input::after {
    content: "";
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    margin-top: -2px;
    transition: transform .2s var(--spring);
}
.lg-check input:checked { background: var(--brand); border-color: var(--brand); }
.lg-check input:checked::after { transform: rotate(45deg) scale(1); }
.lg-check input:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

.lg-forgot { font-weight: 700; }

/* primary button: the asp:Button is the real control, the icon and spinner sit on top of it */
.lg-btn-wrap {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    isolation: isolate;
}
.lg-btn-wrap input[type=submit],
.lg-btn-wrap button.lg-btn {
    width: 100%;
    height: 56px;
    border: 0;
    border-radius: var(--radius);
    color: #fff;
    font: 800 16.5px/1 Lato, system-ui, sans-serif;
    letter-spacing: .01em;
    cursor: pointer;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
    box-shadow: 0 14px 30px -12px rgba(0, 119, 182, .65), inset 0 1px 0 rgba(255, 255, 255, .25);
    transition: transform .2s var(--ease), box-shadow .2s, filter .2s;
    -webkit-appearance: none;
    appearance: none;
    padding: 0 48px;
}
.lg-btn-wrap:hover input[type=submit],
.lg-btn-wrap:hover button.lg-btn { filter: brightness(1.06); box-shadow: 0 18px 36px -12px rgba(0, 119, 182, .75), inset 0 1px 0 rgba(255, 255, 255, .25); }
.lg-btn-wrap input[type=submit]:active,
.lg-btn-wrap button.lg-btn:active { transform: scale(.985); }
.lg-btn-wrap input[type=submit]:focus-visible,
.lg-btn-wrap button.lg-btn:focus-visible { outline: 3px solid rgba(0, 167, 225, .45); outline-offset: 2px; }
.lg-btn-wrap .lg-btn-ico {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 19px;
    pointer-events: none;
    transition: transform .25s var(--ease), opacity .2s;
}
.lg-btn-wrap:hover .lg-btn-ico { transform: translate(4px, -50%); }
.lg-btn-wrap::after {
    /* sheen sweep */
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
    transform: skewX(-20deg);
    pointer-events: none;
    animation: lg-sheen 4.5s 1.4s infinite;
}
@keyframes lg-sheen {
    0% { left: -60%; }
    22% { left: 130%; }
    100% { left: 130%; }
}
.lg-spin {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 22px;
    height: 22px;
    margin: -11px 0 0 -11px;
    border-radius: 50%;
    border: 2.5px solid rgba(255, 255, 255, .35);
    border-top-color: #fff;
    opacity: 0;
    pointer-events: none;
    animation: lg-rot .7s linear infinite;
}
@keyframes lg-rot { to { transform: rotate(360deg); } }
.lg-btn-wrap.is-busy input[type=submit],
.lg-btn-wrap.is-busy button.lg-btn { color: transparent !important; cursor: wait; }
.lg-btn-wrap.is-busy .lg-spin { opacity: 1; }
.lg-btn-wrap.is-busy .lg-btn-ico { opacity: 0; }
.lg-btn-wrap.is-busy::after { animation: none; opacity: 0; }
.lg-btn-wrap.is-done input[type=submit],
.lg-btn-wrap.is-done button.lg-btn { background: linear-gradient(135deg, #10b981, #059669); color: transparent !important; }
.lg-btn-wrap.is-done .lg-spin { opacity: 0; }
.lg-btn-wrap .lg-done {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    font-weight: 800;
    font-size: 16px;
    opacity: 0;
    transform: scale(.9);
    pointer-events: none;
    transition: opacity .25s, transform .35s var(--spring);
}
.lg-btn-wrap.is-done .lg-done { opacity: 1; transform: none; }
.lg-btn-wrap.is-done .lg-btn-ico { opacity: 0; }

/* two-factor step */
#div2FALogin {
    display: none;
    text-align: left;
}
#div2FALogin.is-on { display: block; animation: lg-rise .5s var(--ease); }
.lg-2fa-badge {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 26px;
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--brand-deep));
    box-shadow: 0 12px 26px -10px rgba(0, 119, 182, .7);
    margin-bottom: 18px;
}
#div2FALogin h5 {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -.02em;
    margin: 0 0 6px;
    color: var(--ink);
}
#div2FALogin p { margin: 0 0 18px; color: var(--muted); font-size: 15px; line-height: 1.5; }
#txt2FACode {
    width: 100%;
    height: 64px;
    border: 1.5px solid var(--line);
    border-radius: var(--radius);
    background: var(--field);
    text-align: center;
    font: 800 28px/1 "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    letter-spacing: .45em;
    padding-left: .45em;
    color: var(--ink);
    outline: none;
    transition: border-color .2s, box-shadow .2s, background .2s;
    margin-bottom: 14px;
    text-transform: uppercase;
}
#txt2FACode::placeholder { color: #cbd5e1; }
#txt2FACode:focus { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(0, 167, 225, .14); }
.lg-2fa-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
    font-size: 13.5px;
    font-weight: 700;
}
.lg-2fa-links a { display: inline-flex; align-items: center; gap: 6px; }
.lg-2fa-links a.lg-back { color: var(--muted); }
#login2FAErr {
    color: #b91c1c;
    font-weight: 700;
    font-size: 14px;
    margin-top: 12px;
    min-height: 20px;
    visibility: hidden;
    opacity: 0;
    transition: opacity .2s;
}
.verify_button_wrapper { margin-top: 2px; }

/* trust row + footer */
.lg-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 26px;
    padding-top: 20px;
    border-top: 1px dashed var(--line);
    font-size: 12.5px;
    font-weight: 700;
    color: var(--muted);
}
.lg-trust span { display: inline-flex; align-items: center; gap: 6px; }
.lg-trust i { color: var(--ok); font-size: 15px; }

.lg-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 16px;
    font-size: 12px;
    color: #94a3b8;
}
.lg-foot nav { display: flex; gap: 16px; }
.lg-foot a { color: #64748b; font-weight: 700; }
.lg-foot small { display: block; font-size: 11px; color: #a3aebd; margin-top: 2px; }

/* ------------------------------------------------------------------ showcase side */

.lg-show {
    position: relative;
    overflow: hidden;
    color: #e6eef8;
    background: radial-gradient(1200px 700px at 80% -10%, #0f2a47 0%, transparent 60%), linear-gradient(160deg, #0c1d31 0%, var(--navy) 45%, var(--navy-2) 100%);
    display: flex;
    flex-direction: column;
    padding: clamp(26px, 3.4vh, 44px) clamp(28px, 3.6vw, 60px) clamp(20px, 2.6vh, 32px);
    gap: clamp(16px, 2.6vh, 28px);
    isolation: isolate;
}

/* aurora */
.lg-aurora { position: absolute; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.lg-aurora span {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: .55;
    will-change: transform;
}
.lg-aurora .a1 { width: 520px; height: 520px; background: #0091c7; top: -160px; right: -120px; animation: lg-drift1 18s ease-in-out infinite alternate; }
.lg-aurora .a2 { width: 420px; height: 420px; background: #5b4bd6; bottom: -160px; left: -120px; opacity: .35; animation: lg-drift2 22s ease-in-out infinite alternate; }
.lg-aurora .a3 { width: 300px; height: 300px; background: #10b9a5; top: 38%; left: 46%; opacity: .18; animation: lg-drift3 26s ease-in-out infinite alternate; }
@keyframes lg-drift1 { to { transform: translate(-140px, 120px) scale(1.15); } }
@keyframes lg-drift2 { to { transform: translate(160px, -90px) scale(1.2); } }
@keyframes lg-drift3 { to { transform: translate(-180px, -120px) scale(.85); } }

.lg-grid {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 20%, transparent 75%);
}
.lg-spot {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(420px circle at var(--mx, 70%) var(--my, 30%), rgba(56, 189, 248, .12), transparent 60%);
    transition: opacity .3s;
}

.lg-show-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.lg-new-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 5px 14px 5px 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    font-size: 13px;
    color: #cbd8e8;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.lg-new-pill b {
    font-size: 10.5px;
    letter-spacing: .08em;
    font-weight: 900;
    color: #04121f;
    background: linear-gradient(135deg, #7dd3fc, var(--brand));
    padding: 4px 9px;
    border-radius: 999px;
}

.lg-mark { height: 26px; opacity: .9; filter: brightness(0) invert(1); }

.lg-hero h2 {
    margin: 0 0 12px;
    font-weight: 900;
    font-size: clamp(30px, 2.9vw, 46px);
    line-height: 1.04;
    letter-spacing: -.035em;
    color: #fff;
    max-width: 640px;
}
.lg-grad {
    background: linear-gradient(92deg, #7dd3fc 0%, var(--brand) 35%, #a78bfa 70%, #7dd3fc 100%);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: lg-grad 8s linear infinite;
}
@keyframes lg-grad { to { background-position: -220% 0; } }
.lg-hero p {
    margin: 0;
    max-width: 560px;
    font-size: clamp(14.5px, 1.05vw, 16.5px);
    line-height: 1.55;
    color: #a9bbd0;
}
.lg-hero p b { color: #e6eef8; font-weight: 700; }

/* module tabs + stage */
.lg-tabs {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 6px;
    padding: 5px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    margin-bottom: 12px;
}
.lg-tab {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 40px;
    padding: 0 6px;
    border: 0;
    border-radius: 11px;
    background: transparent;
    color: #8ea3bb;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    overflow: hidden;
    transition: color .25s, background .25s;
    white-space: nowrap;
}
.lg-tab i { font-size: 16px; transition: color .25s; }
.lg-tab:hover { color: #e6eef8; background: rgba(255, 255, 255, .04); }
.lg-tab.is-active { color: #fff; background: rgba(255, 255, 255, .1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
.lg-tab.is-active i { color: var(--c, var(--brand-2)); }
.lg-tab .bar {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 4px;
    height: 2px;
    border-radius: 2px;
    background: rgba(255, 255, 255, .08);
    overflow: hidden;
    opacity: 0;
}
.lg-tab.is-active .bar { opacity: 1; }
.lg-tab .bar::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--c, var(--brand-2));
    transform-origin: left;
    transform: scaleX(0);
}
.lg-tab.is-active .bar::after { animation: lg-progress var(--dur, 6500ms) linear forwards; }
.lg-stage.is-paused ~ * .lg-tab .bar::after,
.lg-tabs.is-paused .lg-tab.is-active .bar::after { animation-play-state: paused; }
@keyframes lg-progress { to { transform: scaleX(1); } }

.lg-stage {
    position: relative;
    height: clamp(196px, 23vh, 240px);
    perspective: 1400px;
}
.lg-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 1fr 1.08fr;
    gap: 22px;
    align-items: center;
    padding: 16px 22px;
    border-radius: 20px;
    background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03));
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) rotateX(6deg) scale(.98);
    transition: opacity .55s var(--ease), transform .7s var(--ease), visibility 0s .55s;
    transform-style: preserve-3d;
}
.lg-slide.is-on {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .55s var(--ease), transform .7s var(--ease), visibility 0s;
}
.lg-slide-copy .k {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 11.5px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--c, var(--brand-2));
    margin-bottom: 8px;
}
.lg-slide-copy h3 {
    margin: 0 0 8px;
    font-size: clamp(17px, 1.35vw, 21px);
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: -.015em;
    color: #fff;
}
.lg-slide-copy p { margin: 0 0 12px; font-size: 13.5px; line-height: 1.5; color: #9fb2c8; }
.lg-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.lg-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 700;
    color: #d6e3f1;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .1);
}
.lg-chip i { color: var(--c, var(--brand-2)); }

.lg-vis {
    position: relative;
    height: 100%;
    min-height: 160px;
    border-radius: 14px;
    background: rgba(4, 14, 26, .55);
    border: 1px solid rgba(255, 255, 255, .08);
    padding: 12px 12px 10px;
    overflow: hidden;
}
.lg-vis-h {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11.5px;
    font-weight: 700;
    color: #8ea3bb;
    margin-bottom: 8px;
}
.lg-vis-h .tag {
    font-size: 10.5px;
    font-weight: 900;
    letter-spacing: .04em;
    padding: 3px 8px;
    border-radius: 999px;
}
.tag.ok { color: #6ee7b7; background: rgba(16, 185, 129, .14); }
.tag.bad { color: #fca5a5; background: rgba(239, 68, 68, .15); }
.tag.warn { color: #fcd34d; background: rgba(245, 158, 11, .15); }
.tag.info { color: #7dd3fc; background: rgba(56, 189, 248, .14); }

/* 1 profitability: waterfall */
.v-fall {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    align-items: end;
    height: calc(100% - 46px);
    position: relative;
}
.v-fall .col { position: relative; height: 100%; }
.v-fall .b {
    position: absolute;
    left: 0;
    right: 0;
    border-radius: 5px;
    transform: scaleY(0);
    transform-origin: bottom;
}
.v-fall .b.neg { transform-origin: top; }
.v-fall .lbl {
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    color: #7f93aa;
    font-weight: 700;
    white-space: nowrap;
}
.lg-slide.is-on .v-fall .b { animation: lg-grow .7s var(--ease) forwards; }
@keyframes lg-grow { to { transform: scaleY(1); } }

/* 2 performance: ring + rows */
.v-perf { display: grid; grid-template-columns: 112px 1fr; gap: 14px; align-items: center; height: calc(100% - 30px); }
.v-ring { position: relative; width: 112px; height: 112px; }
.v-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.v-ring .trk { fill: none; stroke: rgba(255, 255, 255, .08); stroke-width: 10; }
.v-ring .val { fill: none; stroke: url(#lgRingGrad); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 289; stroke-dashoffset: 289; }
.lg-slide.is-on .v-ring .val { animation: lg-ring 1.4s .2s var(--ease) forwards; }
@keyframes lg-ring { to { stroke-dashoffset: 176; } }
.v-ring .mid { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.v-ring .mid b { font-size: 24px; font-weight: 900; color: #fff; line-height: 1; }
.v-ring .mid span { font-size: 10.5px; color: #8ea3bb; font-weight: 700; margin-top: 3px; }
.v-rows { display: grid; gap: 9px; }
.v-row { display: grid; grid-template-columns: 56px 1fr; gap: 8px; align-items: center; font-size: 11px; color: #9fb2c8; font-weight: 700; }
.v-row .t { height: 8px; border-radius: 6px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.v-row .t i { display: block; height: 100%; border-radius: 6px; transform: scaleX(0); transform-origin: left; }
.lg-slide.is-on .v-row .t i { animation: lg-growx .9s var(--ease) forwards; }
@keyframes lg-growx { to { transform: scaleX(1); } }

/* 3 inventory: line + reorder */
.v-inv { position: relative; height: calc(100% - 30px); }
.v-inv svg { width: 100%; height: 100%; overflow: visible; }
.v-inv .ln { fill: none; stroke: var(--brand-2); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 600; stroke-dashoffset: 600; }
.v-inv .ar { fill: url(#lgInvGrad); opacity: 0; }
.v-inv .rp { stroke: #fbbf24; stroke-width: 1.5; stroke-dasharray: 4 5; opacity: .8; }
.v-inv .fc { fill: none; stroke: #a78bfa; stroke-width: 2; stroke-dasharray: 3 5; opacity: 0; }
.v-inv .dot { fill: #fbbf24; opacity: 0; }
.v-inv .ring { fill: none; stroke: #fbbf24; stroke-width: 2; opacity: 0; transform-origin: center; transform-box: fill-box; }
.lg-slide.is-on .v-inv .ln { animation: lg-draw 1.6s var(--ease) forwards; }
.lg-slide.is-on .v-inv .ar { animation: lg-fade .8s .9s forwards; }
.lg-slide.is-on .v-inv .fc { animation: lg-fade .6s 1.5s forwards; }
.lg-slide.is-on .v-inv .dot { animation: lg-fade .3s 1.5s forwards; }
.lg-slide.is-on .v-inv .ring { animation: lg-ping 1.8s 1.6s infinite; }
@keyframes lg-draw { to { stroke-dashoffset: 0; } }
@keyframes lg-fade { to { opacity: 1; } }
@keyframes lg-ping { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(3); } }
.v-po {
    position: absolute;
    right: 0;
    bottom: 2px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 900;
    color: #04121f;
    background: #fbbf24;
    border-radius: 999px;
    padding: 6px 11px;
    opacity: 0;
    transform: translateY(8px);
    box-shadow: 0 8px 20px -8px rgba(251, 191, 36, .7);
}
.lg-slide.is-on .v-po { animation: lg-pop .5s 1.9s var(--spring) forwards; }
@keyframes lg-pop { to { opacity: 1; transform: none; } }

/* 4 engage: tickets flipping to answered */
.v-tix { display: grid; gap: 5px; }
.v-tk {
    display: grid;
    grid-template-columns: 24px 1fr auto;
    gap: 9px;
    align-items: center;
    padding: 4px 8px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .06);
    opacity: 0;
    transform: translateX(14px);
}
.lg-slide.is-on .v-tk { animation: lg-slidein .5s var(--ease) forwards; }
.lg-slide.is-on .v-tk:nth-child(2) { animation-delay: .15s; }
.lg-slide.is-on .v-tk:nth-child(3) { animation-delay: .3s; }
@keyframes lg-slidein { to { opacity: 1; transform: none; } }
.v-tk .av { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; font-size: 13px; color: #fff; }
.v-tk .tx { font-size: 12px; font-weight: 700; color: #dbe6f2; line-height: 1.2; min-width: 0; }
.v-tk .tx small { display: block; font-size: 10.5px; color: #7f93aa; font-weight: 700; }
.v-tk .st { position: relative; width: 80px; height: 20px; }
.v-tk .st span {
    position: absolute;
    inset: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 10.5px;
    font-weight: 900;
    border-radius: 999px;
    transition: opacity .3s, transform .4s var(--spring);
}
.v-tk .st .o { color: #fcd34d; background: rgba(245, 158, 11, .15); }
.v-tk .st .d { color: #6ee7b7; background: rgba(16, 185, 129, .15); opacity: 0; transform: scale(.6); }
.lg-slide.is-on .v-tk .st .o { animation: lg-out .3s forwards; }
.lg-slide.is-on .v-tk .st .d { animation: lg-in .45s var(--spring) forwards; }
.lg-slide.is-on .v-tk:nth-child(1) .st span { animation-delay: 1.0s; }
.lg-slide.is-on .v-tk:nth-child(2) .st span { animation-delay: 1.6s; }
.lg-slide.is-on .v-tk:nth-child(3) .st span { animation-delay: 2.2s; }
@keyframes lg-out { to { opacity: 0; transform: scale(.6); } }
@keyframes lg-in { to { opacity: 1; transform: none; } }

/* 5 flow: hub + marketplaces */
.v-flow { position: relative; height: calc(100% - 26px); }
.v-flow svg.lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.v-flow svg.lines path { fill: none; stroke: rgba(125, 211, 252, .5); stroke-width: 1.5; stroke-dasharray: 160; stroke-dashoffset: 160; }
.lg-slide.is-on .v-flow svg.lines path { animation: lg-draw .7s var(--ease) forwards; }
.v-hub {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 58px;
    height: 58px;
    margin: -29px 0 0 -29px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--brand), #5b4bd6);
    box-shadow: 0 0 0 6px rgba(0, 167, 225, .12), 0 14px 30px -10px rgba(0, 167, 225, .8);
    color: #fff;
    font-size: 26px;
    z-index: 2;
}
.v-mk {
    position: absolute;
    transform: translate(-50%, -50%) scale(.6);
    font-size: 10.5px;
    font-weight: 900;
    color: #cfe0f1;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    white-space: nowrap;
    opacity: 0;
    z-index: 2;
}
.v-mk i { color: #6ee7b7; margin-right: 3px; opacity: 0; }
.lg-slide.is-on .v-mk { animation: lg-mk .5s var(--spring) forwards; }
.lg-slide.is-on .v-mk i { animation: lg-fade .2s forwards; }
@keyframes lg-mk {
    to { opacity: 1; transform: translate(-50%, -50%) scale(1); background: rgba(16, 185, 129, .14); border-color: rgba(16, 185, 129, .35); }
}

/* 6 workspace: tasks */
.v-tasks { display: grid; gap: 6px; }
.v-task {
    display: grid;
    grid-template-columns: 20px 1fr auto;
    gap: 9px;
    align-items: center;
    padding: 6px 8px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .06);
    font-size: 12px;
    font-weight: 700;
    color: #dbe6f2;
}
.v-task .cb { width: 18px; height: 18px; border-radius: 6px; border: 1.5px solid #4b6582; display: grid; place-items: center; transition: background .3s, border-color .3s; }
.v-task .cb i { font-size: 12px; color: #04121f; transform: scale(0); transition: transform .35s var(--spring); }
.v-task .who { display: flex; }
.v-task .who b {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 9.5px;
    font-weight: 900;
    color: #04121f;
    border: 2px solid #0b1a2b;
    margin-left: -6px;
}
.v-task .tx s { text-decoration-color: transparent; transition: text-decoration-color .4s, color .4s; }
.lg-slide.is-on .v-task.done .cb { animation: lg-cb .3s forwards; }
.lg-slide.is-on .v-task.done .cb i { animation: lg-in .35s var(--spring) forwards; }
.lg-slide.is-on .v-task.done .tx s { animation: lg-strike .4s forwards; }
.lg-slide.is-on .v-task:nth-child(1) * { animation-delay: .8s; }
.lg-slide.is-on .v-task:nth-child(2) * { animation-delay: 1.5s; }
@keyframes lg-cb { to { background: #6ee7b7; border-color: #6ee7b7; } }
@keyframes lg-strike { to { text-decoration-color: #7f93aa; color: #7f93aa; } }
.v-ai {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10.5px;
    font-weight: 900;
    color: #c4b5fd;
    background: rgba(167, 139, 250, .14);
    padding: 3px 8px;
    border-radius: 999px;
}
.v-ai i { animation: lg-twinkle 1.6s ease-in-out infinite; }
@keyframes lg-twinkle { 50% { opacity: .35; transform: scale(.8); } }

/* proof row: testimonial + stats */
.lg-proof {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 14px;
}
.lg-quote {
    position: relative;
    padding: 16px 18px 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    display: flex;
    flex-direction: column;
}
.lg-quote > i.q { position: absolute; right: 16px; top: 12px; font-size: 34px; color: rgba(56, 189, 248, .25); }
.lg-quote-body { position: relative; flex: none; height: 126px; }
.lg-q {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .5s var(--ease), transform .6s var(--ease);
    pointer-events: none;
}
.lg-q.is-on { opacity: 1; transform: none; pointer-events: auto; }
.lg-q blockquote {
    margin: 0 0 10px;
    font-size: 13.5px;
    line-height: 1.5;
    color: #dbe6f2;
    padding-right: 26px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.lg-q figcaption { display: flex; align-items: center; gap: 10px; }
.lg-av {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 900;
    color: #04121f;
    flex: none;
}
.lg-q figcaption b { display: block; font-size: 13px; color: #fff; }
.lg-q figcaption span { font-size: 12px; color: #8ea3bb; font-weight: 700; }
.lg-dots { position: absolute; right: 18px; bottom: 26px; display: flex; gap: 5px; }
.lg-dots button {
    width: 6px;
    height: 6px;
    border-radius: 6px;
    border: 0;
    padding: 0;
    background: rgba(255, 255, 255, .2);
    cursor: pointer;
    transition: width .3s var(--ease), background .3s;
}
.lg-dots button.is-on { width: 18px; background: var(--brand-2); }

.lg-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.lg-stat {
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    transition: transform .3s var(--ease), border-color .3s, background .3s;
}
.lg-stat:hover { transform: translateY(-2px); border-color: rgba(56, 189, 248, .35); background: rgba(56, 189, 248, .06); }
.lg-stat b {
    display: block;
    font-size: clamp(20px, 1.7vw, 26px);
    font-weight: 900;
    letter-spacing: -.02em;
    color: #fff;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}
.lg-stat span { font-size: 12px; color: #8ea3bb; font-weight: 700; }

/* client marquee */
.lg-clients { margin-top: auto; }
.lg-clients-h {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
    color: #8ea3bb;
    margin-bottom: 10px;
}
.lg-clients-h::before,
.lg-clients-h::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .14), transparent); }
.lg-marquee {
    position: relative;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    padding: 6px 0;
}
.lg-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: lg-marq 46s linear infinite;
}
.lg-track.rev { animation-direction: reverse; animation-duration: 52s; }
.lg-marquee:hover .lg-track { animation-play-state: paused; }
.lg-track img {
    height: 30px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    margin: 0 26px;
    filter: brightness(0) invert(1);
    opacity: .5;
    transition: opacity .3s, transform .3s var(--ease);
}
.lg-track img.tall { height: 40px; }
.lg-track img:hover { opacity: 1; transform: scale(1.08); }
@keyframes lg-marq { to { transform: translateX(-50%); } }

/* partner (grey label) content */
.lg-partner {
    border-radius: 20px;
    background: #fff;
    color: var(--ink);
    padding: 22px 24px;
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
    overflow: hidden;
}
.lg-partner img { max-width: 100%; height: auto; }
.lg-partner iframe { max-width: 100%; border-radius: 12px; }
.lg-partner button { border: 0; border-radius: 10px; padding: 10px 16px; color: #fff; font-weight: 800; background: var(--brand); }
.lg-partner .lg-partner-media { text-align: center; margin-top: 14px; }

/* ------------------------------------------------------------------ responsive */

@media (min-width: 1024px) and (max-height: 860px) {
    .lg-track.rev { display: none; }
    .lg-marquee.second { display: none; }
}
@media (min-width: 1024px) and (max-height: 800px) {
    .lg-hero p { display: none; }
}
@media (min-width: 1024px) and (max-height: 700px) {
    .lg-proof { grid-template-columns: 1fr; }
    .lg-quote { display: none; }
    .lg-stats { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1279px) {
    .lg-tab span { display: none; }
    .lg-tab i { font-size: 18px; }
    .lg-slide { grid-template-columns: 1fr 1fr; padding: 18px; gap: 16px; }
}

@media (max-width: 1023px) {
    .lg-shell { grid-template-columns: 1fr; }
    .lg-form-side { min-height: 100svh; min-height: 100vh; }
    .lg-show { padding: 40px 24px 32px; }
    .lg-tab span { display: inline; }
    .lg-stage { height: 250px; }
}

@media (max-width: 700px) {
    .lg-form-side { padding: 20px 16px 18px; }
    .lg-new > span { display: none; }
    .lg-logo img { height: 26px; }
    .lg-center { padding: 28px 0; align-items: flex-start; }
    .lg-show { padding: 32px 16px 26px; }
    .lg-tabs { grid-template-columns: repeat(3, 1fr); }
    .lg-tab span { display: inline; font-size: 12px; }
    .lg-stage { height: 420px; }
    .lg-slide { grid-template-columns: 1fr; align-content: start; }
    .lg-vis { min-height: 190px; }
    .lg-proof { grid-template-columns: 1fr; }
    .lg-foot { justify-content: center; text-align: center; }
    .lg-show-top .lg-mark { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
    .lg-track { animation: none !important; }
    .lg-aurora span { animation: none !important; }
}
