/* ==========================================================================
   IMSYN Event Landing Page - Playful SaaS, Soft Neo-Brutalism, Blue Theme
   ========================================================================== */

:root {
    /* Blue palette - playful */
    --imsyn-blue: #2563EB;
    --imsyn-blue-dark: #1D4ED8;
    --imsyn-blue-deep: #1E3A8A;
    --imsyn-blue-light: #DBEAFE;
    --imsyn-blue-bg: #EFF6FF;
    --imsyn-sky: #38BDF8;
    --imsyn-cyan: #06B6D4;

    /* Playful accents */
    --imsyn-yellow: #FACC15;
    --imsyn-pink: #EC4899;
    --imsyn-orange: #FB923C;
    --imsyn-green: #22C55E;
    --imsyn-violet: #8B5CF6;
    --imsyn-red: #EF4444;

    /* Neutrals */
    --ink: #0B1220;
    --ink-soft: #1E293B;
    --muted: #64748B;
    --muted-soft: #94A3B8;
    --paper: #FFFFFF;
    --paper-warm: #FFFBF0;
    --paper-cool: #F1F8FF;
    --line: rgba(11, 18, 32, .12);

    /* Shadow stops - signature neo-brutalist offset */
    --shadow-sm: 3px 3px 0 0 var(--ink);
    --shadow-md: 5px 5px 0 0 var(--ink);
    --shadow-lg: 8px 8px 0 0 var(--ink);
    --shadow-xl: 10px 10px 0 0 var(--ink);
    --shadow-blue: 5px 5px 0 0 var(--imsyn-blue-dark);

    /* Typography */
    --font-display: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
    --font-body: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;

    /* Layout */
    --container: 1200px;
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --pill: 9999px;

    /* Border weights */
    --bw: 2.5px;
    --bw-thick: 3px;
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--paper-cool);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Subtle dotted grid background */
    background-image:
        radial-gradient(circle, rgba(37, 99, 235, .07) 1.2px, transparent 1.2px),
        linear-gradient(180deg, #F1F8FF 0%, #FFFFFF 100%);
    background-size: 24px 24px, 100% 100%;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--imsyn-blue-dark); text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--ink);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 .5em;
    font-weight: 800;
}

p { margin: 0 0 1em; color: var(--ink-soft); }

mark.hl, .hl {
    background: var(--imsyn-yellow);
    color: var(--ink);
    padding: 2px 8px;
    border-radius: 8px;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    font-weight: 800;
    border: 2px solid var(--ink);
    box-shadow: 2px 2px 0 0 var(--ink);
    margin: 0 3px;
    display: inline-block;
    line-height: 1.3;
}

mark.hl--yellow { background: var(--imsyn-yellow); }

.stabilo {
    background: var(--imsyn-yellow);
    color: var(--ink);
    padding: 1px 6px;
    border-radius: 5px;
    font-weight: 800;
    border: 1.5px solid var(--ink);
}

/* ============ CONTAINER ============ */
.container, .section {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

.section { padding: 64px 20px; }
.section__title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    text-align: center;
    margin-bottom: 12px;
}
.section__sub {
    font-size: clamp(15px, 2vw, 18px);
    color: var(--muted);
    text-align: center;
    max-width: 640px;
    margin: 0 auto 40px;
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: var(--pill);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 15px;
    line-height: 1.2;
    text-decoration: none;
    border: var(--bw-thick) solid var(--ink);
    background: var(--paper);
    color: var(--ink);
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    box-shadow: var(--shadow-md);
    white-space: nowrap;
    position: relative;
}

.btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 7px 7px 0 0 var(--ink);
}
.btn:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 0 var(--ink);
}

.btn--green {
    background: var(--imsyn-blue);
    color: #fff;
}
.btn--green:hover { background: var(--imsyn-blue-dark); color: #fff; }

.btn--outline {
    background: var(--paper);
    color: var(--ink);
}

.btn--ghost {
    background: transparent;
    border-color: var(--ink);
    box-shadow: 3px 3px 0 0 var(--ink);
}

.btn--lg {
    padding: 16px 32px;
    font-size: 16px;
    box-shadow: var(--shadow-lg);
}
.btn--lg:hover { box-shadow: 10px 10px 0 0 var(--ink); }

.btn--sm {
    padding: 9px 18px;
    font-size: 13px;
    box-shadow: var(--shadow-sm);
}

/* ============ STICKY HEADER ============ */
.header {
    position: sticky;
    top: 0;
    z-index: 90;
    background: var(--paper);
    border-bottom: var(--bw-thick) solid var(--ink);
}
.header__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.header .header__logo,
.header__inner .header__logo {
    height: 52px !important;
    width: 200px !important;
    max-width: 60vw !important;
    display: block !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 8px;
}
.header__nav {
    display: flex;
    gap: 28px;
    align-items: center;
    margin-left: auto;
}
.header__link {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 14px;
    color: var(--ink);
    text-decoration: none;
    transition: color .15s ease;
    position: relative;
}
.header__link::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 3px;
    background: var(--imsyn-blue);
    border-radius: 3px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s ease;
}
.header__link:hover::after,
.header__link.is-active::after { transform: scaleX(1); }
.header__link:hover { color: var(--imsyn-blue); }
.header__actions { display: flex; gap: 10px; align-items: center; }
.header__toggler {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: var(--bw-thick) solid var(--ink);
    background: var(--imsyn-yellow);
    box-shadow: var(--shadow-sm);
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.header__cta-short { display: none; }

@media (max-width: 900px) {
    .header__nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--paper);
        border-bottom: var(--bw-thick) solid var(--ink);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 14px 20px 20px;
        display: none;
    }
    .header__nav--open { display: flex; }
    .header__link { padding: 12px 0; border-bottom: 1.5px solid var(--line); }
    .header__link:last-child { border-bottom: 0; }
    .header__toggler { display: inline-flex; }
    .header__actions { display: none; }
}

/* ============ HERO ============ */
.hero-wz {
    position: relative;
    padding: 56px 0 64px;
    overflow: hidden;
}
.hero-wz::before {
    content: '';
    position: absolute;
    top: 30px;
    left: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--imsyn-yellow);
    opacity: .35;
    z-index: 0;
    border: var(--bw-thick) solid var(--ink);
}
.hero-wz::after {
    content: '';
    position: absolute;
    top: 80px;
    right: -80px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: var(--imsyn-pink);
    opacity: .25;
    z-index: 0;
    border: var(--bw-thick) solid var(--ink);
}
.hero-wz__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* IMSYN banner image used in place of headline */
.imsyn-banner {
    display: block;
    max-width: 760px;
    width: 100%;
    margin: 0 auto 28px;
    border-radius: var(--radius-lg);
    border: var(--bw-thick) solid var(--ink);
    box-shadow: var(--shadow-xl);
    background: var(--paper);
}

.hero-wz__title {
    font-size: clamp(30px, 5.5vw, 56px);
    font-weight: 900;
    letter-spacing: -0.03em;
    margin: 0 0 18px;
    line-height: 1.1;
}
.hero-wz__title span { display: inline-block; }
.hero-wz__sub {
    font-size: clamp(15px, 2vw, 19px);
    color: var(--ink-soft);
    margin: 0 auto 28px;
    max-width: 640px;
    line-height: 1.6;
}
.hero-wz__ctas {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.hero-wz__trust {
    display: flex;
    gap: 22px;
    justify-content: center;
    flex-wrap: wrap;
}
.hero-wz__trust-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-soft);
    background: var(--paper);
    padding: 7px 14px;
    border-radius: var(--pill);
    border: 2px solid var(--ink);
    box-shadow: 2px 2px 0 0 var(--ink);
}
.hero-wz__trust-item i { color: var(--imsyn-green); }

/* ============ IMSYN EVENT BADGE ============ */
.imsyn-event-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--imsyn-yellow);
    color: var(--ink);
    padding: 8px 18px;
    border-radius: var(--pill);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
    border: var(--bw-thick) solid var(--ink);
    box-shadow: var(--shadow-sm);
    margin-bottom: 22px;
}
.imsyn-event-badge i { color: var(--imsyn-red); }

/* CRM demo widget styles live at the bottom of this file. */

/* ============ LOGOS MARQUEE ============ */
.logos-wz {
    padding: 48px 0 36px;
    background: var(--paper);
    border-top: var(--bw-thick) solid var(--ink);
    border-bottom: var(--bw-thick) solid var(--ink);
    overflow: hidden;
    position: relative;
}
.logos-wz__label {
    text-align: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--muted);
    margin-bottom: 24px;
}
.logos-wz__marquee {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.logos-wz__track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: marquee 32s linear infinite;
    padding: 6px 0 14px;
}
.logos-wz__group {
    display: flex;
    gap: 24px;
    align-items: center;
    padding-right: 24px;
}
.logos-wz__group img {
    height: 70px;
    width: auto;
    max-width: 180px;
    padding: 10px 18px;
    background: var(--paper);
    border: var(--bw-thick) solid var(--ink);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    object-fit: contain;
    transition: transform .2s ease, box-shadow .2s ease;
}
.logos-wz__group img:hover {
    transform: translate(-2px, -2px);
    box-shadow: 7px 7px 0 0 var(--ink);
}
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ============ WA CAPABILITIES ============ */
.wa-cap-wz {
    padding: 56px 20px;
}
.wa-cap-wz__inner {
    max-width: var(--container);
    margin: 0 auto;
}
.wa-cap-wz__head {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: end;
    margin-bottom: 44px;
}
.wa-cap-wz__title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 900;
    margin: 0 0 18px;
    letter-spacing: -0.025em;
}
.wa-cap-wz__sub {
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink-soft);
    margin: 0;
}
.wa-cap-wz__cta-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 16px;
}
.wa-cap-wz__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--imsyn-blue-dark);
    font-weight: 700;
    font-size: 15px;
}
.wa-cap-wz__cta:hover { text-decoration: underline; }
.wa-cap-wz__cta-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--imsyn-blue);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--ink);
}

.wa-cap-wz__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.wa-cap-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: var(--paper);
    border: var(--bw-thick) solid var(--ink);
    border-radius: var(--radius-lg);
    padding: 18px;
    box-shadow: var(--shadow-md);
    transition: transform .15s ease, box-shadow .15s ease;
}
.wa-cap-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: 8px 8px 0 0 var(--ink);
}
.wa-cap-card__img-wrap {
    background: var(--imsyn-blue-light);
    border-radius: var(--radius-md);
    border: 2px solid var(--ink);
    overflow: hidden;
}
.wa-cap-card:nth-child(2) .wa-cap-card__img-wrap { background: #FEF3C7; }
.wa-cap-card:nth-child(3) .wa-cap-card__img-wrap { background: #FCE7F3; }
.wa-cap-card:nth-child(4) .wa-cap-card__img-wrap { background: #DCFCE7; }
.wa-cap-card:nth-child(5) .wa-cap-card__img-wrap { background: #FED7AA; }
.wa-cap-card:nth-child(6) .wa-cap-card__img-wrap { background: #DDD6FE; }
.wa-cap-card:nth-child(7) .wa-cap-card__img-wrap { background: #CFFAFE; }
.wa-cap-card__img { display: block; width: 100%; height: auto; }
.wa-cap-card__title {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 800;
    margin: 0;
    color: var(--ink);
}

@media (max-width: 1024px) {
    .wa-cap-wz__head { grid-template-columns: 1fr; gap: 24px; }
    .wa-cap-wz__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============ FEATURE (split image/text) ============ */
.feat-wz {
    padding: 56px 20px;
    background: var(--paper);
}
.feat-wz[style*="f8f9fb"],
.feat-wz[style*="#f8f9fb"] {
    background: var(--paper-cool) !important;
}
.feat-wz__inner {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 52px;
    align-items: center;
}
.feat-wz__inner--reverse { direction: rtl; }
.feat-wz__inner--reverse > * { direction: ltr; }

.feat-wz__img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-lg);
    border: var(--bw-thick) solid var(--ink);
    box-shadow: var(--shadow-lg);
    transform: rotate(-1deg);
    transition: transform .25s ease;
}
.feat-wz__img:hover { transform: rotate(0); }
.feat-wz__inner--reverse .feat-wz__img { transform: rotate(1.5deg); }
.feat-wz__inner--reverse .feat-wz__img:hover { transform: rotate(0); }

.feat-wz__text { display: flex; flex-direction: column; gap: 16px; }
.feat-wz__eyebrow {
    display: inline-flex;
    align-self: flex-start;
    background: var(--imsyn-blue);
    color: #fff;
    padding: 6px 14px;
    border-radius: var(--pill);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    border: 2px solid var(--ink);
    box-shadow: 2px 2px 0 0 var(--ink);
}
.feat-wz__title {
    font-size: clamp(26px, 3.4vw, 38px);
    font-weight: 900;
    letter-spacing: -0.025em;
    margin: 0;
    line-height: 1.15;
}
.feat-wz__desc {
    color: var(--ink-soft);
    font-size: 17px;
    line-height: 1.6;
    margin: 0;
}
.feat-wz__list {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.feat-wz__list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--ink-soft);
}
.feat-wz__list i {
    color: var(--imsyn-green);
    font-size: 18px;
    margin-top: 1px;
    flex-shrink: 0;
}

.om-btn-pair {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.feat-wz__stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 28px;
    padding-top: 0;
    border-top: 0;
}
.feat-wz__stat {
    background: var(--paper);
    border: var(--bw-thick) solid var(--ink);
    border-radius: var(--radius-md);
    padding: 16px 14px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform .15s ease, box-shadow .15s ease;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    justify-content: center;
}
.feat-wz__stat:hover {
    transform: translate(-2px, -2px);
    box-shadow: 7px 7px 0 0 var(--ink);
}
.feat-wz__stat:nth-child(1) { background: var(--imsyn-yellow); }
.feat-wz__stat:nth-child(2) { background: var(--imsyn-blue-light); }
.feat-wz__stat:nth-child(3) { background: #FCE7F3; }
.feat-wz__stat-num {
    font-family: var(--font-display);
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 900;
    line-height: 1;
    color: var(--ink);
    letter-spacing: -.02em;
}
.feat-wz__stat-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--ink-soft);
    text-transform: uppercase;
    letter-spacing: .06em;
    line-height: 1.2;
}

@media (max-width: 900px) {
    .feat-wz__inner { grid-template-columns: 1fr; gap: 32px; }
    .feat-wz__inner--reverse { direction: ltr; }
    .feat-wz__img { transform: rotate(0); }
}
@media (max-width: 480px) {
    .feat-wz__stat-row { grid-template-columns: 1fr; }
}

/* ============ INLINE TESTIMONIAL ============ */
.inline-testi {
    padding: 56px 20px;
    background: var(--paper);
}
.inline-testi__inner {
    max-width: 760px;
    margin: 0 auto;
    background: var(--imsyn-yellow);
    border: var(--bw-thick) solid var(--ink);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: 36px 36px 30px;
    position: relative;
    transform: rotate(-0.5deg);
}
.inline-testi__mark {
    font-size: 84px;
    line-height: 0.7;
    color: var(--ink);
    font-family: serif;
    margin-bottom: 8px;
    font-weight: 900;
}
.inline-testi__text {
    font-size: clamp(18px, 2.4vw, 24px);
    font-weight: 700;
    line-height: 1.45;
    color: var(--ink);
    margin: 0 0 22px;
    font-family: var(--font-display);
}
.inline-testi__author {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.inline-testi__avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: var(--bw-thick) solid var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 20px;
    box-shadow: 2px 2px 0 0 var(--ink);
}
.inline-testi__info { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 140px; }
.inline-testi__name { font-weight: 800; font-size: 16px; color: var(--ink); }
.inline-testi__role { font-size: 13px; color: var(--ink-soft); font-weight: 600; }
.inline-testi__metric {
    background: var(--paper);
    border: var(--bw-thick) solid var(--ink);
    border-radius: var(--radius-md);
    padding: 8px 16px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    line-height: 1;
}
.inline-testi__metric-num {
    display: block;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 900;
    color: var(--imsyn-blue-dark);
}
.inline-testi__metric-label {
    font-size: 11px;
    color: var(--ink-soft);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.inline-testi__video-btn { margin-top: 18px; }

/* ============ CALL FLOW (WA Voice Call) ============ */
.callflow-wz {
    padding: 56px 20px;
    background: var(--paper-cool);
    position: relative;
    overflow: hidden;
}
.callflow-wz__inner {
    max-width: var(--container);
    margin: 0 auto;
    position: relative;
}
.callflow-wz__head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 44px;
}
.callflow-wz__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}
.callflow-wz__badge {
    background: var(--imsyn-pink);
    color: #fff;
    padding: 6px 12px;
    border-radius: var(--pill);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    border: 2px solid var(--ink);
    box-shadow: 2px 2px 0 0 var(--ink);
}
.callflow-wz__eyebrow-text {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--imsyn-blue-dark);
}
.callflow-wz__title {
    font-size: clamp(26px, 3.6vw, 40px);
    font-weight: 900;
    line-height: 1.15;
    margin: 0 0 16px;
    letter-spacing: -0.025em;
}
.callflow-wz__sub {
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink-soft);
    margin: 0;
}
.callflow-wz__sub strong { color: var(--ink); }

.callflow-wz__stages {
    display: grid;
    grid-template-columns: 1fr auto 1.15fr auto 1fr;
    gap: 16px;
    align-items: stretch;
    margin-bottom: 36px;
}
.callflow-stage {
    background: var(--paper);
    border: var(--bw-thick) solid var(--ink);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    transition: transform .15s ease, box-shadow .15s ease;
}
.callflow-stage:hover {
    transform: translate(-2px, -2px);
    box-shadow: var(--shadow-lg);
}
.callflow-stage--featured {
    background: var(--imsyn-blue-light);
    border-width: var(--bw-thick);
    box-shadow: var(--shadow-lg);
    transform: rotate(0.5deg);
}
.callflow-stage--featured:hover {
    transform: rotate(0.5deg) translate(-3px, -3px);
}
.callflow-stage__media {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 14px;
    border: 2px solid var(--ink);
    aspect-ratio: 4 / 5;
    background: var(--paper-cool);
}
.callflow-stage__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.callflow-stage__pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30%;
    height: 30%;
    border: 3px solid var(--imsyn-blue);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: callflow-pulse 2.4s ease-out infinite;
    pointer-events: none;
}
.callflow-stage__pulse--delay { animation-delay: 1.2s; }
@keyframes callflow-pulse {
    0% { opacity: .8; transform: translate(-50%, -50%) scale(.6); }
    80% { opacity: 0; transform: translate(-50%, -50%) scale(2.4); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(2.4); }
}
.callflow-stage__step {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 13px;
    color: #fff;
    background: var(--imsyn-blue);
    padding: 5px 12px;
    border-radius: var(--pill);
    margin-bottom: 10px;
    border: 2px solid var(--ink);
    letter-spacing: .12em;
}
.callflow-stage__title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 19px;
    margin: 0 0 8px;
    line-height: 1.3;
}
.callflow-stage__copy {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--ink-soft);
    margin: 0;
}
.callflow-stage__copy strong { color: var(--ink); }
.callflow-stage__copy em { color: var(--imsyn-blue-dark); font-style: normal; font-weight: 700; }
.callflow-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--imsyn-blue);
    font-size: 28px;
}
.callflow-wz__bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.callflow-wz__trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
}
.callflow-wz__trust-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--ink-soft);
    background: var(--paper);
    padding: 7px 14px;
    border-radius: var(--pill);
    border: 2px solid var(--ink);
    box-shadow: 2px 2px 0 0 var(--ink);
}
.callflow-wz__trust-item i { color: var(--imsyn-blue); }
.callflow-wz__ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

@media (max-width: 960px) {
    .callflow-wz__stages { grid-template-columns: 1fr; gap: 12px; }
    .callflow-stage--featured { transform: rotate(0); }
    .callflow-stage--featured:hover { transform: translate(-3px, -3px); }
    .callflow-connector { transform: rotate(90deg); padding: 4px 0; }
}

/* ============ BENTO GRID ============ */
.bento-wz {
    padding: 56px 20px;
    background: var(--paper);
}
.bento-wz__inner {
    max-width: var(--container);
    margin: 0 auto;
}
.bento-wz__title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    text-align: center;
    margin: 0 0 12px;
    letter-spacing: -0.025em;
}
.bento-wz__sub {
    text-align: center;
    color: var(--ink-soft);
    font-size: 16px;
    margin: 0 auto 40px;
    max-width: 580px;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(220px, auto);
    gap: 18px;
}
.bento-card {
    border: var(--bw-thick) solid var(--ink);
    border-radius: var(--radius-lg);
    padding: 24px;
    background: var(--paper);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    transition: transform .15s ease, box-shadow .15s ease;
    position: relative;
    overflow: hidden;
}
.bento-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: 8px 8px 0 0 var(--ink);
}
.bento-card--lg { grid-column: span 2; }
.bento-card--sm { grid-column: span 1; }
.bento-card--green { background: #DCFCE7; }
.bento-card--pink { background: #FCE7F3; }
.bento-card--blue { background: var(--imsyn-blue-light); }
.bento-card--purple { background: #EDE9FE; }
.bento-card--yellow { background: #FEF3C7; }
.bento-card--orange { background: #FED7AA; }
.bento-card__header {
    display: flex;
    align-items: center;
    gap: 12px;
}
.bento-card__header i {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--paper);
    border: var(--bw-thick) solid var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 2px 2px 0 0 var(--ink);
}
.bento-card--green .bento-card__header i { color: var(--imsyn-green); }
.bento-card--pink .bento-card__header i { color: var(--imsyn-pink); }
.bento-card--blue .bento-card__header i { color: var(--imsyn-blue-dark); }
.bento-card--purple .bento-card__header i { color: var(--imsyn-violet); }
.bento-card--yellow .bento-card__header i { color: #B45309; }
.bento-card--orange .bento-card__header i { color: var(--imsyn-orange); }
.bento-card__header h4 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 800;
    margin: 0;
    color: var(--ink);
}
.bento-card p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 14.5px;
    line-height: 1.55;
}
.bento-card__reveal {
    background: var(--paper);
    border: 2px solid var(--ink);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    margin-top: auto;
}
.bento-card__reveal ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.bento-card__reveal li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--ink-soft);
    font-weight: 600;
}
.bento-card__reveal i { color: var(--imsyn-green); font-size: 12px; }

@media (max-width: 1024px) {
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .bento-card--lg, .bento-card--sm { grid-column: span 1; }
}
@media (max-width: 600px) {
    .bento-grid { grid-template-columns: 1fr; }
}

/* ============ ENGAGE TABS ============ */
.engage-wz {
    padding: 56px 20px;
    background: var(--paper-cool);
}
.engage-wz__inner {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
}
.engage-wz__tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 28px;
}
.engage-wz__tab {
    background: var(--paper);
    border: var(--bw-thick) solid var(--ink);
    border-radius: var(--pill);
    padding: 11px 22px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 14px;
    color: var(--ink);
    cursor: pointer;
    box-shadow: 3px 3px 0 0 var(--ink);
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.engage-wz__tab:hover {
    transform: translate(-1px, -1px);
    box-shadow: 4px 4px 0 0 var(--ink);
}
.engage-wz__tab.is-active {
    background: var(--imsyn-blue);
    color: #fff;
}

.engage-wz__panel {
    display: none;
    background: var(--paper);
    border: var(--bw-thick) solid var(--ink);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-lg);
    text-align: left;
    flex-direction: column;
    gap: 14px;
}
.engage-wz__panel.is-active { display: flex; }
.engage-wz__panel h3 {
    font-family: var(--font-display);
    font-size: clamp(20px, 2.5vw, 26px);
    font-weight: 900;
    margin: 0;
    color: var(--ink);
}
.engage-wz__panel p {
    color: var(--ink-soft);
    font-size: 15.5px;
    line-height: 1.6;
    margin: 0;
}
.engage-wz__check-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.engage-wz__check-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14.5px;
    color: var(--ink-soft);
    line-height: 1.5;
}
.engage-wz__check-list i {
    color: var(--imsyn-green);
    font-size: 16px;
    margin-top: 2px;
}

/* ============ META BSP ============ */
.meta-bsp {
    padding: 64px 20px;
    background: var(--paper);
}
.meta-bsp__inner {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}
.meta-bsp__title {
    font-size: clamp(22px, 3.2vw, 34px);
    font-weight: 900;
    margin: 0 auto 14px;
    max-width: 680px;
    letter-spacing: -0.025em;
    line-height: 1.2;
}
.meta-bsp__sub {
    font-size: 16px;
    color: var(--ink-soft);
    max-width: 600px;
    line-height: 1.6;
    margin: 0 auto 28px;
}
.meta-bsp__sub strong { color: var(--ink); }
.meta-bsp__fig { margin: 0 auto 8px; max-width: 820px; }
.meta-bsp__img {
    width: 100%;
    display: block;
    border-radius: var(--radius-lg);
    border: var(--bw-thick) solid var(--ink);
    box-shadow: var(--shadow-lg);
}
.meta-bsp__credit {
    font-size: 13px;
    color: var(--muted);
    margin: 8px 0 24px;
}
.meta-bsp__credit a { color: var(--imsyn-blue-dark); text-decoration: underline; }

/* ============ PRICING ============ */
.pricing-wz {
    padding: 56px 20px;
    background: var(--paper-cool);
}
.pricing-wz__inner {
    max-width: var(--container);
    margin: 0 auto;
}
.pricing-wz__title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    text-align: center;
    margin: 0 auto 12px;
    max-width: 800px;
    letter-spacing: -0.025em;
    line-height: 1.2;
}
.pricing-wz__sub {
    text-align: center;
    font-size: 16px;
    color: var(--ink-soft);
    margin: 0 auto 44px;
    max-width: 580px;
}
.pricing__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    align-items: stretch;
}
.pricing-card {
    background: var(--paper);
    border: var(--bw-thick) solid var(--ink);
    border-radius: var(--radius-xl);
    padding: 32px 26px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    transition: transform .2s ease;
}
.pricing-card:hover { transform: translate(-2px, -3px); box-shadow: var(--shadow-lg); }
.pricing-card--pop {
    background: var(--imsyn-blue-light);
    box-shadow: var(--shadow-lg);
    transform: scale(1.02);
}
.pricing-card--pop:hover { transform: scale(1.02) translate(-2px, -3px); }
.pricing-card__badge {
    position: absolute;
    top: -16px;
    right: 22px;
    background: var(--imsyn-pink);
    color: #fff;
    padding: 6px 14px;
    border-radius: var(--pill);
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 11.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
    border: var(--bw) solid var(--ink);
    box-shadow: 3px 3px 0 0 var(--ink);
}
.pricing-card__name {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 900;
    color: var(--ink);
    line-height: 1.1;
}
.pricing-card__for {
    color: var(--ink-soft);
    font-size: 13.5px;
    line-height: 1.5;
    margin-top: -4px;
}
.pricing-card__price {
    display: flex;
    flex-direction: column;
    margin-top: 4px;
}
.pricing-card__strike {
    text-decoration: line-through;
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 2px;
}
.pricing-card__amount {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 900;
    color: var(--imsyn-blue-dark);
    line-height: 1;
}
.pricing-card__amount::before { content: 'Rp '; font-size: 18px; font-weight: 800; }
.pricing-card__period {
    font-size: 12.5px;
    color: var(--muted);
    margin-top: 4px;
    font-weight: 600;
}
.pricing-card__daily {
    margin-top: 10px;
    background: var(--imsyn-yellow);
    color: var(--ink);
    border: 2px solid var(--ink);
    border-radius: 10px;
    padding: 7px 12px;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.4;
    box-shadow: 2px 2px 0 0 var(--ink);
}
.pricing-card__daily strong {
    font-family: 'Courier New', monospace;
    font-weight: 800;
    letter-spacing: .04em;
    padding: 0 4px;
    background: var(--ink);
    color: var(--imsyn-yellow);
    border-radius: 4px;
}
.pricing-card--pop .pricing-card__daily {
    background: var(--paper);
}
.pricing-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}
.pricing-card__list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--ink-soft);
}
.pricing-card__list i {
    color: var(--imsyn-green);
    font-size: 13px;
    margin-top: 3px;
    flex-shrink: 0;
}
.pricing-card .btn { margin-top: auto; justify-content: center; width: 100%; }

.pricing__reducers {
    display: flex;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
    margin-top: 32px;
}
.pricing__reducer {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--paper);
    padding: 8px 14px;
    border-radius: var(--pill);
    border: 2px solid var(--ink);
    box-shadow: 2px 2px 0 0 var(--ink);
    font-size: 13px;
    font-weight: 700;
    color: var(--ink-soft);
}
.pricing__reducer i { color: var(--imsyn-blue); }

.pricing__crm-showcase {
    margin-top: 48px;
    background: var(--paper);
    border: var(--bw-thick) solid var(--ink);
    border-radius: var(--radius-xl);
    padding: 36px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}
.pricing__crm-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 900;
    color: var(--ink);
    margin: 0 0 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    letter-spacing: -.01em;
}
.pricing__crm-title i { color: var(--imsyn-pink); }
.pricing__crm-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.pricing__crm-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    background: var(--paper);
    padding: 18px;
    border-radius: var(--radius-md);
    border: var(--bw) solid var(--ink);
    box-shadow: 3px 3px 0 0 var(--ink);
    text-align: left;
    height: 100%;
    transition: transform .15s ease, box-shadow .15s ease;
}
.pricing__crm-item:hover {
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 0 var(--ink);
}
.pricing__crm-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--imsyn-blue-light);
    color: var(--imsyn-blue-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--ink);
    box-shadow: 2px 2px 0 0 var(--ink);
    font-size: 18px;
    flex-shrink: 0;
}
.pricing__crm-item:nth-child(1) .pricing__crm-icon { background: #FCE7F3; color: var(--imsyn-pink); }
.pricing__crm-item:nth-child(2) .pricing__crm-icon { background: #DCFCE7; color: var(--imsyn-green); }
.pricing__crm-item:nth-child(3) .pricing__crm-icon { background: #FEF3C7; color: #B45309; }
.pricing__crm-item:nth-child(4) .pricing__crm-icon { background: #EDE9FE; color: var(--imsyn-violet); }
.pricing__crm-item:nth-child(5) .pricing__crm-icon { background: #FED7AA; color: var(--imsyn-orange); }
.pricing__crm-item:nth-child(6) .pricing__crm-icon { background: #CFFAFE; color: var(--imsyn-cyan); }
.pricing__crm-item:nth-child(7) .pricing__crm-icon { background: var(--imsyn-blue-light); color: var(--imsyn-blue-dark); }
.pricing__crm-body { display: flex; flex-direction: column; gap: 4px; }
.pricing__crm-text {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.25;
}
.pricing__crm-desc {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.55;
    color: var(--ink-soft);
    font-weight: 500;
}
.pricing__crm-item--more {
    background: var(--imsyn-blue);
    color: #fff;
}
.pricing__crm-item--more .pricing__crm-icon {
    background: var(--imsyn-yellow);
    color: var(--ink);
}
.pricing__crm-item--more .pricing__crm-text { color: #fff; }
.pricing__crm-item--more .pricing__crm-desc { color: rgba(255,255,255,.85); }

@media (max-width: 1024px) {
    .pricing__grid { grid-template-columns: 1fr; }
    .pricing-card--pop { transform: scale(1); }
    .pricing__crm-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .pricing__crm-grid { grid-template-columns: 1fr; }
}

/* ============ VIDEO DEMO ============ */
.video-wz {
    padding: 56px 20px;
    background: var(--imsyn-blue-deep);
    color: #fff;
    text-align: center;
}
.video-wz__inner {
    max-width: 960px;
    margin: 0 auto;
}
.video-wz__title {
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 900;
    color: #fff;
    margin: 0 0 12px;
    letter-spacing: -0.025em;
}
.video-wz__title .hl { background: var(--imsyn-yellow); color: var(--ink); }
.video-wz__sub {
    color: rgba(255,255,255,.85);
    font-size: 17px;
    margin: 0 auto 28px;
    max-width: 600px;
}
.video-wz__frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: var(--bw-thick) solid var(--ink);
    box-shadow: var(--shadow-xl);
    background: #000;
    margin-bottom: 24px;
}
.wistia-facade__play {
    border: var(--bw-thick) solid var(--ink) !important;
    box-shadow: 4px 4px 0 0 var(--ink);
}

/* ============ INTEGRATION ============ */
.integ-wz {
    padding: 56px 20px;
    background: var(--paper);
}
.integ-wz__inner {
    max-width: var(--container);
    margin: 0 auto;
}
.integ-wz__title {
    font-size: clamp(26px, 3.8vw, 38px);
    font-weight: 900;
    text-align: center;
    margin: 0 0 12px;
    letter-spacing: -0.025em;
}
.integ-wz__sub {
    text-align: center;
    color: var(--ink-soft);
    font-size: 16px;
    margin: 0 auto 36px;
    max-width: 580px;
}
.integ-wz__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}
.integ-wz__item {
    background: var(--paper);
    border: var(--bw-thick) solid var(--ink);
    border-radius: var(--radius-md);
    padding: 22px 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.integ-wz__item:hover {
    transform: translate(-2px, -2px);
    box-shadow: var(--shadow-md);
}
.integ-wz__item span {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ink);
}
.integ-wz__item.is-active {
    background: var(--imsyn-blue);
    color: #fff;
}
.integ-wz__item.is-active span,
.integ-wz__item.is-active i { color: #fff !important; }
.integ-wz__detail {
    background: var(--paper-cool);
    border: var(--bw-thick) solid var(--ink);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-md);
}
.integ-wz__detail-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}
.integ-wz__detail-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--imsyn-blue);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border: var(--bw-thick) solid var(--ink);
    box-shadow: 2px 2px 0 0 var(--ink);
}
.integ-wz__detail-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 900;
    color: var(--ink);
}
.integ-wz__detail-sub {
    font-size: 14px;
    color: var(--ink-soft);
    font-weight: 600;
}
.integ-wz__detail-desc {
    color: var(--ink-soft);
    margin: 0 0 14px;
    line-height: 1.6;
}
.integ-wz__detail-bullets {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

@media (max-width: 768px) {
    .integ-wz__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
    .integ-wz__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============ TESTIMONIAL MARQUEE ============ */
.testi-wz {
    padding: 64px 0;
    background: var(--paper-cool);
    max-width: none;
    width: 100%;
    margin: 0;
    border-top: var(--bw-thick) solid var(--ink);
    border-bottom: var(--bw-thick) solid var(--ink);
}
.testi-wz .container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}
.testi-marquee {
    margin-top: 32px;
    overflow: hidden;
    padding: 16px 0;
    mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.testi-marquee__track {
    display: flex;
    gap: 22px;
    width: max-content;
    animation: marquee 60s linear infinite;
    will-change: transform;
}
.testi-marquee:hover .testi-marquee__track,
.testi-marquee.is-paused .testi-marquee__track {
    animation-play-state: paused;
}
.testi-marquee__group {
    display: flex;
    gap: 22px;
    padding-right: 22px;
}
.testi-card {
    background: var(--paper);
    border: var(--bw-thick) solid var(--ink);
    border-radius: var(--radius-lg);
    padding: 14px;
    width: 320px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex-shrink: 0;
}
.testi-card:nth-child(3n) { transform: rotate(-1deg); }
.testi-card:nth-child(3n+1) { transform: rotate(0.8deg); }
.testi-card__thumb {
    position: relative;
    aspect-ratio: 16/10;
    border: 0;
    background: var(--ink);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    padding: 0;
}
.testi-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.testi-card__thumb-play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 42px;
    transform: translate(-50%, -50%);
}
.testi-card__stars {
    color: var(--ink);
    font-size: 13px;
    letter-spacing: 2px;
    padding: 0 14px;
}
.testi-card__quote {
    padding: 0 14px;
    margin: 0;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--ink-soft);
    font-weight: 500;
}
.testi-card__author {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
}
.testi-card__avatar { display: none; }
.testi-card__name {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 14px;
    color: var(--ink);
    line-height: 1.2;
}
.testi-card__role {
    font-size: 12px;
    color: var(--muted);
    font-weight: 600;
    margin-top: 2px;
}
.testi-card__result {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 14px 8px;
    padding: 6px 12px;
    background: var(--imsyn-yellow);
    border: 2px solid var(--ink);
    border-radius: var(--pill);
    font-size: 12px;
    font-weight: 700;
    color: var(--ink);
    box-shadow: 2px 2px 0 0 var(--ink);
    align-self: flex-start;
}
.testi-card__result i { color: var(--imsyn-green); }
.testi-card .btn--ghost {
    margin: 0 14px 14px;
    align-self: flex-start;
}

/* ============ FAQ ============ */
.faq-wz {
    padding: 80px 0;
    background: var(--paper);
}
.faq__list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.faq__item {
    background: var(--paper);
    border: var(--bw-thick) solid var(--ink);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform .15s ease, box-shadow .15s ease;
}
.faq__item:hover {
    transform: translate(-1px, -1px);
    box-shadow: 6px 6px 0 0 var(--ink);
}
.faq__question {
    width: 100%;
    background: var(--paper);
    border: 0;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 16px;
    text-align: left;
    color: var(--ink);
    cursor: pointer;
    transition: background .15s ease;
}
.faq__question:hover { background: var(--paper-cool); }
.faq__question i {
    color: var(--imsyn-blue);
    transition: transform .25s ease;
    font-size: 16px;
}
.faq__item--open .faq__question i { transform: rotate(180deg); }
.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
    background: var(--paper-cool);
    border-top: 2px solid var(--ink);
}
.faq__item--open .faq__answer { max-height: 500px; }
.faq__answer-inner {
    padding: 18px 22px;
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.6;
}

/* ============ DARK CTA ============ */
.dcta-wz {
    padding: 56px 20px;
    background: var(--ink);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.dcta-wz::before {
    content: '';
    position: absolute;
    top: -60px;
    left: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: var(--imsyn-blue);
    opacity: .35;
    border: 3px solid #fff;
}
.dcta-wz::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: var(--imsyn-pink);
    opacity: .3;
    border: 3px solid #fff;
}
.dcta-wz__inner {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}
.dcta-wz__title {
    font-size: clamp(26px, 4vw, 42px);
    font-weight: 900;
    color: #fff;
    margin: 0 0 14px;
    letter-spacing: -0.025em;
    line-height: 1.15;
}
.dcta-wz__title .hl { background: var(--imsyn-yellow); color: var(--ink); border-color: #fff; }
.dcta-wz__sub {
    color: rgba(255,255,255,.85);
    font-size: 17px;
    margin: 0 auto 28px;
    max-width: 580px;
}
.dcta-wz__ctas {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 26px;
}
.dcta-wz .btn { border-color: #fff; box-shadow: 5px 5px 0 0 #fff; color: var(--ink); }
.dcta-wz .btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 0 #fff; }
.dcta-wz .btn--green { background: var(--imsyn-yellow); color: var(--ink); }
.dcta-wz .btn--outline { background: transparent; color: #fff; }
.dcta-wz__trust {
    display: flex;
    gap: 22px;
    justify-content: center;
    flex-wrap: wrap;
}
.dcta-wz__trust-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: rgba(255,255,255,.9);
}
.dcta-wz__trust-item i { color: var(--imsyn-yellow); }

/* ============ FOOTER ============ */
.footer-wz {
    background: var(--paper);
    border-top: var(--bw-thick) solid var(--ink);
    padding: 56px 20px 28px;
}
.footer-wz__inner {
    max-width: var(--container);
    margin: 0 auto;
}
.footer-wz__top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 36px;
    padding-bottom: 32px;
}
.footer-wz__logo,
.footer-wz .footer-wz__logo {
    height: 56px !important;
    width: 200px !important;
    display: block !important;
    margin-bottom: 12px;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 8px;
}
.footer-wz__brand-desc {
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.6;
    max-width: 320px;
}
.footer-wz__col-title {
    font-family: var(--font-display);
    font-weight: 900;
    color: var(--ink);
    font-size: 14px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.footer-wz__col { display: flex; flex-direction: column; gap: 8px; }
.footer-wz__col a {
    color: var(--ink-soft);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color .15s ease;
}
.footer-wz__col a:hover { color: var(--imsyn-blue-dark); }
.footer-wz__bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 24px;
    border-top: 2px solid var(--ink);
    color: var(--muted);
    font-size: 13px;
}
.footer-wz__bottom a { color: var(--ink-soft); text-decoration: none; }
.footer-wz__bottom a:hover { color: var(--imsyn-blue-dark); }

.footer-wz__store-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    padding: 10px 18px;
    border-radius: var(--pill);
    background: var(--ink);
    color: #fff !important;
    text-decoration: none !important;
    font: 800 14px/1.2 var(--font-display);
    border: var(--bw-thick) solid var(--ink);
    box-shadow: 3px 3px 0 0 var(--imsyn-blue);
    transition: transform .15s ease, box-shadow .15s ease;
}
.footer-wz__store-link:hover {
    transform: translate(-1px, -1px);
    box-shadow: 5px 5px 0 0 var(--imsyn-blue);
}
.footer-wz__store-icon { width: 28px; height: 28px; flex-shrink: 0; }
.footer-wz__store-copy { display: flex; flex-direction: column; }
.footer-wz__store-copy small {
    font-size: 9px;
    letter-spacing: .12em;
    color: rgba(255,255,255,.7);
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .footer-wz__top { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 540px) {
    .footer-wz__top { grid-template-columns: 1fr; }
}

/* ============ MOBILE BAR ============ */
.mobile-bar-wz {
    display: none;
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    z-index: 80;
    padding: 8px;
    background: var(--paper);
    border: var(--bw-thick) solid var(--ink);
    border-radius: var(--pill);
    box-shadow: var(--shadow-md);
}
.mobile-bar-wz .btn { width: 100%; }
@media (max-width: 768px) {
    .mobile-bar-wz { display: block; }
    body { padding-bottom: 84px; }
}

/* ============ MODAL OVERLAYS ============ */
.video-modal-overlay,
.coupon-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11, 18, 32, .65);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.video-modal-overlay--active,
.coupon-modal-overlay--active { display: flex; }
.video-modal,
.coupon-modal {
    background: var(--paper);
    border: var(--bw-thick) solid var(--ink);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 28px;
    max-width: 520px;
    width: 100%;
    position: relative;
}
.video-modal__close,
.coupon-modal__close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: var(--imsyn-yellow);
    border: 2.5px solid var(--ink);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 2px 2px 0 0 var(--ink);
}
.video-modal__title,
.coupon-modal__title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 22px;
    color: var(--ink);
    margin: 0 0 12px;
    line-height: 1.25;
}
.coupon-modal__sub {
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 18px;
}
.coupon-code-inline {
    display: flex;
    gap: 8px;
    align-items: center;
    background: var(--paper-cool);
    border: var(--bw) solid var(--ink);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    margin-bottom: 16px;
}
.coupon-code-inline__value {
    font-family: 'Courier New', monospace;
    font-weight: 800;
    font-size: 18px;
    color: var(--ink);
    letter-spacing: .1em;
    flex: 1;
}
.coupon-code-inline__copy {
    background: var(--imsyn-blue);
    color: #fff;
    border: 2px solid var(--ink);
    border-radius: var(--pill);
    padding: 6px 14px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.coupon-modal__cta {
    display: flex;
    justify-content: center;
    width: 100%;
}
.coupon-modal__dismiss {
    background: transparent;
    border: 0;
    color: var(--muted);
    text-decoration: underline;
    margin: 14px auto 0;
    display: block;
    font-size: 13px;
    cursor: pointer;
}
.video-modal__frame-wrapper {
    aspect-ratio: 16/9;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 2px solid var(--ink);
}
.video-modal__frame-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ============ MOBILE FIXES ============ */
@media (max-width: 768px) {
    html { scroll-padding-top: 84px; }
    section[id] { scroll-margin-top: 84px; }
    .hero-wz { padding: 36px 0 48px; }
    .hero-wz__ctas { flex-direction: column; align-items: stretch; }
    .hero-wz__ctas .btn { width: 100%; }
    .om-btn-pair { flex-direction: column; align-items: stretch; }
    .om-btn-pair .btn { width: 100%; }
    .dcta-wz__ctas .btn { width: 100%; }
    .callflow-wz__ctas .btn { width: 100%; }
    .section, .feat-wz, .pricing-wz, .callflow-wz, .bento-wz, .engage-wz, .integ-wz, .video-wz, .dcta-wz, .meta-bsp, .testi-wz, .faq-wz, .wa-cap-wz, .inline-testi {
        padding-left: 16px;
        padding-right: 16px;
        padding-top: 56px;
        padding-bottom: 56px;
    }
    .feat-wz__inner { gap: 24px; }
    .imsyn-banner { box-shadow: var(--shadow-md); }
    .inline-testi__inner { padding: 26px 22px 22px; transform: rotate(0); }
    .pricing-card { padding: 26px 20px; }
    .footer-wz__brand-desc { max-width: 100%; }
}

@media (max-width: 480px) {
    .hero-wz__title { font-size: clamp(26px, 7vw, 32px); }
    .header__logo { height: 32px; }
    .imsyn-event-badge { font-size: 11px; padding: 6px 14px; }
    .footer-wz__bottom { flex-direction: column; }
}

/* ============ REVEAL ANIMATIONS ============ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible, .feat-wz, .engage-wz, .bento-wz, .pricing-wz, .video-wz, .callflow-wz, .dcta-wz, .integ-wz, .faq-wz {
    /* JS handles reveal */
}

/* ============ HEADER SCROLL STATE ============ */
.header.is-scrolled {
    box-shadow: 0 4px 0 0 var(--ink);
}

/* CRM demo widget styles below — extracted from v2support.css (CRM-only) */

/* =============================================================
   CRM INTERACTIVE DEMO WIDGET
   Extracted (CRM-only) from v2support.css so the play button,
   chat sim, guided tour, and CRM screenshot fallback all work
   without dragging in the green design system.
   ============================================================= */

/* ===== CRM DEMO SECTION (standalone, not nested in hero) ===== */
.crm-demo-wz {
    padding: 64px 20px 80px;
    background: var(--paper);
    border-top: var(--bw-thick) solid var(--ink);
    border-bottom: var(--bw-thick) solid var(--ink);
    position: relative;
    overflow: hidden;
}
.crm-demo-wz::before {
    content: '';
    position: absolute;
    top: 40px;
    left: -80px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: var(--imsyn-yellow);
    opacity: .25;
    border: var(--bw-thick) solid var(--ink);
    pointer-events: none;
}
.crm-demo-wz::after {
    content: '';
    position: absolute;
    bottom: 40px;
    right: -80px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: var(--imsyn-pink);
    opacity: .2;
    border: var(--bw-thick) solid var(--ink);
    pointer-events: none;
}
.crm-demo-wz__inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.crm-demo-wz__head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 36px;
}
.crm-demo-wz__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--imsyn-yellow);
    color: var(--ink);
    padding: 7px 16px;
    border-radius: var(--pill);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    border: var(--bw-thick) solid var(--ink);
    box-shadow: var(--shadow-sm);
    margin-bottom: 18px;
}
.crm-demo-wz__eyebrow i { color: var(--imsyn-red); }
.crm-demo-wz__title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    letter-spacing: -0.025em;
    line-height: 1.15;
    margin: 0 0 14px;
    color: var(--ink);
}
.crm-demo-wz__sub {
    color: var(--ink-soft);
    font-size: 16px;
    line-height: 1.65;
    margin: 0 auto;
    max-width: 600px;
}

.crm-demo-wz .crm-wrap-container,
.hero-wz .crm-wrap-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px;
}

.crm-wrap {
    max-width: 1180px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    position: relative;
    border: var(--bw-thick) solid var(--ink);
    box-shadow: var(--shadow-xl);
    background: var(--paper);
    overflow: hidden;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.crm-wrap-container { position: relative; }

.crm-chrome {
    background: linear-gradient(to bottom, #3a3a3a, #2d2d2d);
    padding: 11px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: var(--bw-thick) solid var(--ink);
    border-radius: calc(var(--radius-lg) - 2px) calc(var(--radius-lg) - 2px) 0 0;
    overflow: hidden;
}
.crm-dots { display: flex; gap: 6px; }
.crm-dots span { width: 10px; height: 10px; border-radius: 50%; }
.crm-url {
    flex: 1;
    background: #1a1a1a;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 11px;
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: 6px;
}
.crm-url__status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    font-size: 9px;
    font-weight: 700;
    color: #22c55e;
    text-transform: uppercase;
    letter-spacing: .4px;
}
.crm-url__pulse { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; position: relative; }
.crm-url__pulse::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #22c55e;
    animation: crmConnPulse 1.6s ease-out infinite;
    animation-play-state: paused;
}
.crm-wrap-container.is-playing .crm-url__pulse::after { animation-play-state: running; }
@keyframes crmConnPulse {
    0%   { transform: scale(1); opacity: .6; }
    70%  { transform: scale(2.8); opacity: 0; }
    100% { transform: scale(1); opacity: 0; }
}

.crm-body {
    display: flex;
    height: 600px;
    background: #f8fafc;
    overflow: hidden;
    border-radius: 0 0 calc(var(--radius-lg) - 2px) calc(var(--radius-lg) - 2px);
    position: relative;
}

.crm-nav {
    width: 60px;
    min-width: 60px;
    background: #fff;
    border-right: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 0 8px;
    gap: 4px;
    flex-shrink: 0;
    overflow: hidden;
}
.crm-nav__avatar {
    width: 32px; height: 32px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700; color: #fff;
    background: #3b82f6;
    margin-bottom: 8px;
    box-shadow: 0 0 0 2px rgba(229, 231, 235, .8);
}
.crm-nav__btn {
    width: 36px; height: 36px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: #9ca3af; font-size: 15px;
    cursor: default;
    transition: all .2s cubic-bezier(.4, 0, .2, 1);
}
.crm-nav__btn:hover { background: rgba(243, 244, 246, .8); color: #4b5563; }
.crm-nav__btn--active { color: #2563eb; background: #dbeafe; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.crm-nav__spacer { flex: 1; }

.crm-tree {
    width: 144px; min-width: 144px;
    background: #fff;
    border-right: 1px solid #f3f4f6;
    padding: 10px 0;
    flex-shrink: 0;
    overflow-y: auto; overflow-x: hidden;
    font-size: 13px;
}
.crm-tree__item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 8px 14px;
    color: #374151;
    cursor: default;
    border-radius: 8px;
    margin: 0 6px;
    transition: background .2s;
}
.crm-tree__item:hover { background: #f9fafb; }
.crm-tree__item--active { background: #eff6ff; color: #2563eb; font-weight: 600; }
.crm-tree__count {
    font-size: 11px; font-weight: 600;
    color: #9ca3af; background: #f3f4f6;
    padding: 1px 7px; border-radius: 999px;
}
.crm-tree__item--active .crm-tree__count { background: #dbeafe; color: #2563eb; }
.crm-tree__sep {
    font-size: 9px; font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase; letter-spacing: .6px;
    padding: 10px 12px 4px;
}

.crm-chatlist {
    width: 320px; min-width: 320px;
    background: #fff;
    border-right: 1px solid #e5e7eb;
    display: flex; flex-direction: column;
    overflow: hidden;
    flex-shrink: 0;
}
.crm-cl__topbar {
    display: flex; align-items: center; justify-content: space-between;
    padding: 8px 12px 4px;
    font-size: 11px; color: #374151;
    flex-shrink: 0;
}
.crm-cl__sort { font-weight: 600; display: flex; align-items: center; gap: 3px; }
.crm-cl__topactions { display: flex; gap: 6px; color: #9ca3af; font-size: 13px; }
.crm-cl__tabs {
    display: flex; align-items: center; gap: 0;
    padding: 0 12px;
    border-bottom: 1px solid #f3f4f6;
    flex-shrink: 0;
}
.crm-cl__tab {
    padding: 7px 10px 6px;
    font-size: 11px; font-weight: 500;
    color: #6b7280;
    cursor: default;
    border-bottom: 2px solid transparent;
}
.crm-cl__tab--active { color: #111827; font-weight: 600; border-bottom-color: #111827; }
.crm-cl__search {
    margin: 6px 12px;
    padding: 5px 10px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 11px; color: #9ca3af;
    display: flex; align-items: center; gap: 6px;
    flex-shrink: 0;
}
.crm-cl__filters {
    display: flex; align-items: center; justify-content: space-between;
    padding: 2px 12px 6px;
    font-size: 11px; color: #6b7280;
    flex-shrink: 0;
}
.crm-cl__datesep {
    padding: 7px 14px 3px;
    font-size: 9.5px; font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase; letter-spacing: .4px;
    background: #f9fafb;
    border-bottom: 1px solid #f3f4f6;
}
.crm-cl__list { flex: 1; overflow-y: auto; }

.crm-ci {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 10px 16px;
    border-bottom: 1px solid #f3f4f6;
    border-left: 3px solid transparent;
    cursor: pointer;
    position: relative;
    min-height: 68px;
    transition: background .25s ease, border-left-color .2s ease, transform .2s ease, box-shadow .25s ease;
}
.crm-ci:hover:not(.crm-ci--active) {
    background: #f0f7ff;
    border-left-color: #93c5fd;
    transform: translateX(1px);
}
.crm-ci--active {
    background: #eff6ff;
    border-left-color: #2563eb;
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.08);
}
.crm-ci__avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; font-weight: 700; color: #fff;
    flex-shrink: 0; position: relative;
    box-shadow: 0 0 0 2px #fff, 0 1px 2px rgba(0, 0, 0, 0.05);
}
.crm-ci__ch {
    position: absolute;
    bottom: -2px; right: -2px;
    width: 20px; height: 20px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: #fff !important;
    border: 1.5px solid #e5e7eb;
    z-index: 3;
    overflow: hidden;
}
.crm-ci__ch i { font-size: 11px !important; line-height: 1; }
.crm-ci__ch .fa-whatsapp { color: #22c55e; }
.crm-ci__ch .fa-instagram { color: #ec4899; }
.crm-ci__body { flex: 1; min-width: 0; overflow: hidden; }
.crm-ci__row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.crm-ci__row + .crm-ci__row { margin-top: 3px; }
.crm-ci__name {
    font-size: 15px; font-weight: 600; color: #1a1a2e;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    line-height: 1.3;
}
.crm-ci__time { font-size: 11px; color: #9ca3af; white-space: nowrap; flex-shrink: 0; }
.crm-ci__dots { font-size: 11px; color: #d1d5db; flex-shrink: 0; display: none; }
.crm-ci__preview {
    font-size: 13px; color: #6b7280;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    line-height: 1.3;
}
.crm-ci__preview--unread { color: #374151; font-weight: 500; }
.crm-ci__badge {
    min-width: 20px; height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    font-size: 11px; font-weight: 700; color: #fff;
    background: #2563eb;
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0; line-height: 1;
    transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
}
.crm-ci__badge.is-bump { animation: crmBadgeBump .4s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes crmBadgeBump {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.35); background: #16a34a; }
    100% { transform: scale(1); }
}
.crm-ci__labels { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.crm-ci__label {
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 999px;
    font-weight: 500;
    display: inline-flex; align-items: center; gap: 3px;
}
.crm-ci__ai-tag { font-size: 8px; margin-left: 2px; opacity: .8; }
.crm-ci__collision {
    margin-top: 3px;
    font-size: 9px; font-weight: 600;
    color: #7c3aed;
    background: rgba(139, 92, 246, .1);
    padding: 2px 6px;
    border-radius: 6px;
    display: inline-block;
    animation: crmSlideIn .3s ease-out;
}
.crm-ci--incoming { animation: crmSlideIn .4s ease-out, crmPulseGlow 2.4s ease-out; }
@keyframes crmSlideIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes crmPulseGlow {
    0%   { box-shadow: inset 3px 0 0 #22c55e, 0 0 0 0 rgba(34, 197, 94, .45); }
    50%  { box-shadow: inset 3px 0 0 #22c55e, 0 0 0 6px rgba(34, 197, 94, 0); }
    100% { box-shadow: inset 3px 0 0 transparent, 0 0 0 0 rgba(34, 197, 94, 0); }
}

.crm-thread {
    flex: 1;
    display: flex; flex-direction: column;
    background: #f0f2f5;
    overflow: hidden;
    min-width: 0;
}
.crm-th__header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 10px 16px;
    display: flex; align-items: center; gap: 12px;
    flex-shrink: 0;
    overflow: hidden;
}
.crm-th__hav {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 700; color: #fff;
    flex-shrink: 0;
    box-shadow: 0 0 0 2px rgba(229, 231, 235, .6);
}
.crm-th__hinfo { min-width: 0; overflow: hidden; }
.crm-th__hname {
    font-size: 15px; font-weight: 600; color: #111827;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    line-height: 1.3;
}
.crm-th__hphone {
    font-size: 12px; color: #6b7280;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    margin-top: 2px;
}
.crm-th__hactions { margin-left: auto; display: flex; gap: 6px; align-items: center; flex-shrink: 0; }
.crm-th__hbtn {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 6px 10px;
    color: #6b7280;
    font-size: 12px; font-weight: 500;
    cursor: default;
    display: flex; align-items: center; gap: 4px;
    white-space: nowrap;
    transition: all .2s;
}
.crm-th__hbtn:hover { background: #f3f4f6; color: #374151; }
.crm-th__hbtn--green {
    background: #16a34a; border-color: #16a34a; color: #fff;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(22, 163, 74, .2);
}
.crm-th__hbtn--green:hover { background: #15803d; color: #fff; }

.crm-msgs {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
    display: flex; flex-direction: column;
    gap: 4px;
    position: relative;
    background-color: #f0f2f5;
    /* contain removed to allow screenshot capture */
}
.crm-msgs__datesep { text-align: center; margin: 12px 0; }
.crm-msgs__datesep span {
    background: rgba(255, 255, 255, .95);
    border: 1px solid rgba(209, 213, 219, .8);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 12px; font-weight: 500;
    color: #4b5563;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .06), 0 1px 3px rgba(0, 0, 0, .04);
}
.crm-msgs__ai {
    position: absolute;
    top: 12px; right: 16px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    padding: 5px 10px;
    font-size: 11px; font-weight: 600;
    color: #2563eb;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(37, 99, 235, .1);
    line-height: 1.4;
    white-space: nowrap;
}
.crm-msgs__ai.is-expanded {
    position: relative;
    top: auto; right: auto; left: auto;
    max-width: none;
    padding: 8px 12px;
    white-space: normal;
    margin: 0 0 12px;
    align-self: stretch;
    order: -1;
}

.crm-msg {
    display: flex;
    max-width: 65%;
    animation: crmBubblePop .2s cubic-bezier(.175, .885, .32, 1.275) forwards;
}
@keyframes crmBubblePop {
    0%   { transform: scale(.95) translateY(10px); opacity: 0; }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}
.crm-msg--in  { align-self: flex-start; }
.crm-msg--out { align-self: flex-end; }
.crm-msg--gap { margin-top: 10px; }

.crm-bub {
    padding: 8px 12px 6px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}
.crm-bub--in {
    background: #fff; color: #1f2937;
    border-top-left-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .12), 0 0 0 1px rgba(0, 0, 0, .04);
}
.crm-bub--out {
    background: #d9fdd3; color: #1f2937;
    border-top-right-radius: 4px;
    box-shadow: 0 1px 0.5px rgba(11, 20, 38, .13);
}
.crm-bub__text {
    font-size: 14px; line-height: 1.45;
    white-space: pre-wrap; word-break: break-word;
}
.crm-bub__meta {
    display: flex; align-items: center; justify-content: flex-end;
    gap: 4px; margin-top: 3px;
}
.crm-bub__time { font-size: 11px; color: #8696a0; }
.crm-bub__tick {
    font-size: 13px; color: #8696a0;
    display: inline-flex; align-items: center; line-height: 1;
    transition: color .3s;
}
.crm-bub__tick i { font-size: 13px; }
.crm-bub__tick[data-read-tick="1"] { color: #16a34a; }
.crm-bub--in .crm-bub__tick { display: none; }
.crm-bub__reactions { display: flex; gap: 4px; margin-top: 4px; }
.crm-bub__react {
    background: rgba(255, 255, 255, .85);
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    padding: 1px 6px;
    font-size: 10px; font-weight: 600;
    color: #374151;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .06);
}

.crm-typing {
    display: flex; gap: 4px;
    padding: 10px 12px;
    align-self: flex-start;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .06);
}
.crm-typing span {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #9ca3af;
    animation: crmTyping 1.4s infinite;
    animation-play-state: paused;
}
.crm-wrap-container.is-playing .crm-typing span { animation-play-state: running; }
.crm-typing span:nth-child(2) { animation-delay: .2s; }
.crm-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes crmTyping {
    0%, 60%, 100% { opacity: .3; transform: translateY(0); }
    30%           { opacity: 1;  transform: translateY(-4px); }
}
.crm-typing-row {
    display: flex; align-items: center; gap: 8px;
    margin-top: 8px;
    padding: 4px 8px;
    font-size: 10px; color: #6b7280;
}
.crm-typing-row__name { font-weight: 500; }

.crm-stream-caret[hidden],
.crm-ai-caret[hidden] { display: none !important; }
.crm-stream-caret {
    display: inline-block;
    width: 2px; height: 13px;
    background: #2563eb;
    margin-left: 2px; vertical-align: middle;
    animation: crmCaret .8s step-end infinite;
    animation-play-state: paused;
}
.crm-ai-caret {
    display: inline-block;
    width: 2px; height: 10px;
    background: currentColor;
    margin-left: 3px; vertical-align: middle;
    animation: crmCaret .8s step-end infinite;
    animation-play-state: paused;
}
.crm-wrap-container.is-playing .crm-stream-caret,
.crm-wrap-container.is-playing .crm-ai-caret { animation-play-state: running; }
@keyframes crmCaret {
    0%, 50%   { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.crm-composer {
    border-top: 1px solid #e5e7eb;
    background: #fff;
    flex-shrink: 0;
    padding: 12px;
    position: relative;
    z-index: 50;
    overflow: visible;
}
.crm-comp__channel {
    display: flex; align-items: center; gap: 6px;
    padding: 0 8px 8px;
    border-bottom: 1px solid #f3f4f6;
    margin-bottom: 8px;
    font-size: 14px; color: #374151; font-weight: 500;
}
.crm-comp__channel i { font-size: 16px; color: #22c55e; flex-shrink: 0; }
.crm-comp__modetabs { display: flex; align-items: center; gap: 4px; margin-bottom: 4px; }
.crm-comp__modetab {
    padding: 4px 12px;
    font-size: 12px; font-weight: 500;
    color: #9ca3af;
    background: transparent;
    border: 0; border-radius: 8px;
    cursor: pointer; font-family: inherit;
    transition: all .2s;
}
.crm-comp__modetab:hover { color: #4b5563; }
.crm-comp__modetab--active { color: #374151; background: #f3f4f6; }
.crm-comp__row { display: flex; gap: 10px; align-items: flex-end; }
.crm-comp__inputwrap {
    flex: 1; min-width: 0;
    position: relative;
    border: 1px solid #d1d5db;
    border-radius: 16px;
    background: #fff;
    display: flex; align-items: center;
    overflow: visible;
    transition: all .2s;
    min-height: 44px;
}
.crm-comp__inputwrap:focus-within { border-color: #60a5fa; box-shadow: 0 0 0 2px rgba(219, 234, 254, 1); }
.crm-comp__input {
    display: block;
    flex: 1; min-width: 0;
    padding: 10px 40px 10px 16px;
    font-size: 14px; color: #9ca3af;
    background: transparent;
    border: none; outline: none;
    text-align: left; line-height: 1.45;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    font-family: inherit;
}
.crm-comp__emoji {
    position: absolute;
    right: 8px; top: 50%;
    transform: translateY(-50%);
    width: 28px; height: 28px;
    border-radius: 999px;
    background: transparent; border: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; color: #9ca3af;
    cursor: pointer; transition: all .2s;
    font-family: inherit;
}
.crm-comp__emoji:hover { background: #f3f4f6; color: #4b5563; }
.crm-comp__send {
    width: 40px; height: 40px; min-width: 40px;
    border-radius: 999px;
    background: #2563eb; color: #fff;
    border: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
    cursor: pointer;
    transition: all .2s;
    font-family: inherit;
}
.crm-comp__send:hover { background: #1d4ed8; }
.crm-comp__toolbar { display: flex; align-items: center; gap: 2px; padding-top: 4px; }
.crm-comp__tbtn {
    display: inline-flex; align-items: center; gap: 6px;
    height: 28px; padding: 0 10px;
    border-radius: 6px;
    font-size: 12px; font-weight: 400;
    color: #6b7280;
    background: transparent; border: 0;
    white-space: nowrap;
    cursor: pointer; transition: all .15s;
    font-family: inherit;
}
.crm-comp__tbtn:hover { background: #f3f4f6; color: #374151; }
.crm-comp__tbtn--ai:hover { color: #f59e0b; }
.crm-comp__tbtn--indigo:hover { color: #6366f1; }
.crm-comp__tbtn i { font-size: 13px; flex-shrink: 0; }
@media (max-width: 1540px) { .crm-comp__tbtn span { display: none; } }

.crm-inline-suggestions {
    display: flex; align-items: center; gap: 6px;
    margin: 8px 0 0 0;
    flex-wrap: nowrap; overflow: hidden;
}
.crm-inline-chip {
    display: inline-block;
    padding: 3px 9px;
    font-size: 11px; font-weight: 500;
    color: #92400e;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 999px;
    white-space: nowrap;
    cursor: pointer;
    font-family: inherit;
    transition: background .15s, border-color .15s, color .15s;
    animation: crmChipIn .2s cubic-bezier(.16, 1, .3, 1) both;
    flex-shrink: 0;
}
.crm-inline-chip:hover { background: #fef3c7; border-color: #fcd34d; }
.crm-inline-chip.is-active { background: #f59e0b; border-color: #f59e0b; color: #fff; }
@keyframes crmChipIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.crm-right {
    width: 280px; min-width: 280px;
    background: #fff;
    border-left: 1px solid #e5e7eb;
    display: flex; flex-direction: column;
    overflow-y: auto; overflow-x: hidden;
    flex-shrink: 0;
}
.crm-rp__profile { padding: 20px 16px 14px; border-bottom: 1px solid #f3f4f6; text-align: center; }
.crm-rp__avatar {
    width: 56px; height: 56px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; font-weight: 700; color: #fff;
    margin: 0 auto 8px;
    box-shadow: 0 0 0 2px rgba(229, 231, 235, .6), 0 2px 6px rgba(0, 0, 0, .08);
}
.crm-rp__name {
    font-size: 16px; font-weight: 700; color: #111827;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.crm-rp__phone { font-size: 12px; color: #6b7280; margin-top: 3px; }
.crm-rp__fields { padding: 10px 16px 12px; border-bottom: 1px solid #f3f4f6; }
.crm-rp__field {
    display: flex; justify-content: space-between; align-items: center;
    padding: 6px 0;
    font-size: 13px; gap: 10px;
}
.crm-rp__field-label {
    color: #6b7280; flex-shrink: 0; font-weight: 500;
    display: inline-flex; align-items: center; gap: 6px;
}
.crm-rp__field-label i { font-size: 11px; color: #9ca3af; width: 14px; text-align: center; }
.crm-rp__field-val {
    color: #111827; font-weight: 500;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    text-align: right;
    font-variant-numeric: tabular-nums;
}
.crm-rp__field-val--empty { color: #d1d5db; font-style: italic; font-weight: 400; }
.crm-rp__dropdown {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 16px;
    border-bottom: 1px solid #f3f4f6;
    font-size: 13px; color: #374151; font-weight: 500;
    gap: 8px;
    transition: background .2s;
    cursor: default;
}
.crm-rp__dropdown:hover { background: #f9fafb; }
.crm-rp__dd-label {
    display: inline-flex; align-items: center; gap: 8px;
    min-width: 0; flex: 1;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.crm-rp__dd-label > i { font-size: 13px; color: #6b7280; width: 16px; text-align: center; flex-shrink: 0; }
.crm-rp__dd-label > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crm-rp__dd-chev { font-size: 10px; color: #9ca3af; flex-shrink: 0; }
.crm-rp__tabs { display: flex; border-bottom: 1px solid #f3f4f6; padding: 0 8px; }
.crm-rp__tab {
    flex: 1; text-align: center;
    padding: 10px 4px;
    font-size: 12px; font-weight: 500;
    color: #6b7280;
    border-bottom: 2px solid transparent;
    cursor: default;
    white-space: nowrap;
    transition: color .2s, border-color .2s;
}
.crm-rp__tab:hover:not(.crm-rp__tab--active) { color: #374151; }
.crm-rp__tab--active { color: #2563eb; font-weight: 600; border-bottom-color: #2563eb; }
.crm-rp__stats { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid #f3f4f6; }
.crm-rp__stat {
    text-align: center;
    padding: 14px 6px;
    border-right: 1px solid #f3f4f6;
    border-bottom: 1px solid #f3f4f6;
}
.crm-rp__stat:nth-child(2n) { border-right: none; }
.crm-rp__stat:nth-last-child(-n+2) { border-bottom: none; }
.crm-rp__stat-val {
    font-size: 22px; font-weight: 700;
    color: #111827;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.crm-rp__stat-lbl { font-size: 11px; color: #9ca3af; margin-top: 4px; font-weight: 500; }
.crm-rp__section { padding: 12px 16px; border-bottom: 1px solid #f3f4f6; transition: background .2s; }
.crm-rp__section:hover { background: rgba(249, 250, 251, .4); }
.crm-rp__stitle {
    display: flex; align-items: center; justify-content: space-between;
    font-size: 13px; font-weight: 600; color: #374151;
    gap: 6px;
}
.crm-rp__stitle span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Pipeline & lead score cards */
.crm-pipeline-card {
    margin: 8px 10px;
    padding: 10px 12px;
    background: linear-gradient(135deg, #eff6ff, #f5f3ff);
    border: 1px solid #dbeafe;
    border-radius: 10px;
}
.crm-pipeline-card__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.crm-pipeline-card__title { font-size: 10px; font-weight: 700; color: #1e40af; letter-spacing: .3px; }
.crm-pipeline-card__stage {
    font-size: 10px; font-weight: 700; color: #fff;
    background: #2563eb;
    padding: 2px 8px; border-radius: 999px;
}
.crm-pipeline-card__track { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; position: relative; }
.crm-pipeline-card__step {
    height: 5px;
    border-radius: 3px;
    background: #e5e7eb;
    transition: background .5s, box-shadow .5s;
    position: relative;
}
.crm-pipeline-card__step.is-done { background: linear-gradient(90deg, #22c55e, #16a34a); }
.crm-pipeline-card__step.is-current {
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, .25);
    animation: crmStageBlink 2s ease-in-out infinite;
    animation-play-state: paused;
}
.crm-wrap-container.is-playing .crm-pipeline-card__step.is-current { animation-play-state: running; }
@keyframes crmStageBlink {
    0%, 100% { opacity: 1; }
    50%      { opacity: .55; }
}
.crm-pipeline-card__labels { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; margin-top: 4px; }
.crm-pipeline-card__labels span {
    font-size: 8px; color: #6b7280;
    text-align: center;
    text-transform: uppercase; letter-spacing: .3px;
    overflow: hidden; text-overflow: ellipsis;
}

.crm-leadscore-card {
    margin: 8px 10px;
    padding: 10px 12px;
    background: linear-gradient(135deg, #fef3c7, #fed7aa);
    border: 1px solid #fcd34d;
    border-radius: 10px;
}
.crm-leadscore-card__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.crm-leadscore-card__title { font-size: 10px; font-weight: 700; color: #9a3412; letter-spacing: .3px; }
.crm-leadscore-card__score { font-size: 10px; color: #78350f; font-weight: 600; }
.crm-leadscore-card__score strong { font-size: 14px; color: #c2410c; font-weight: 800; }
.crm-leadscore-card__tag {
    background: #c2410c; color: #fff;
    padding: 1px 6px; border-radius: 999px;
    font-size: 9px; font-weight: 700;
    margin-left: 2px;
    text-transform: uppercase; letter-spacing: .3px;
}
.crm-leadscore-card__rows { display: flex; flex-direction: column; gap: 4px; }
.crm-leadscore-card__row { display: grid; grid-template-columns: 54px 1fr 22px; align-items: center; gap: 6px; }
.crm-leadscore-card__label { font-size: 9px; font-weight: 600; color: #78350f; }
.crm-leadscore-card__bar {
    height: 5px;
    background: rgba(255, 255, 255, .6);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}
.crm-leadscore-card__fill {
    display: block; height: 100%; width: 0;
    background: linear-gradient(90deg, #f59e0b, #ea580c);
    border-radius: 3px;
    transition: width 1.2s cubic-bezier(.2, .8, .2, 1);
}
.crm-leadscore-card__val {
    font-size: 9px; font-weight: 700;
    color: #c2410c;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

/* Toast & event log */
.crm-toast {
    position: absolute;
    top: 12px; left: 50%;
    transform: translate(-50%, -16px);
    z-index: 12;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    color: #fff;
    padding: 9px 18px;
    border-radius: 999px;
    font-size: 12px; font-weight: 700;
    box-shadow: 0 12px 32px rgba(139, 92, 246, .4);
    opacity: 0; pointer-events: none;
    transition: opacity .35s, transform .35s cubic-bezier(.2, .8, .2, 1);
}
.crm-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.crm-event-log {
    position: absolute;
    bottom: 16px; left: 14px;
    z-index: 11;
    display: flex; flex-direction: column;
    gap: 6px;
    pointer-events: none;
    max-width: 260px;
}
.crm-event-log__item {
    background: rgba(15, 23, 42, .92);
    color: #fff;
    padding: 7px 12px;
    border-radius: 10px;
    font-size: 11px; font-weight: 600;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
    opacity: 0; transform: translateX(-12px);
    animation: crmEventIn .3s ease-out forwards, crmEventOut .3s ease-in 2.4s forwards;
    display: flex; align-items: center; gap: 6px;
}
.crm-event-log__item--wa { background: linear-gradient(135deg, #16a34a, #22c55e); }
.crm-event-log__item--ig { background: linear-gradient(135deg, #e1306c, #c026d3); }
.crm-event-log__item--ai { background: linear-gradient(135deg, #2563eb, #7c3aed); }
@keyframes crmEventIn {
    from { opacity: 0; transform: translateX(-12px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes crmEventOut {
    from { opacity: 1; transform: translateX(0); }
    to   { opacity: 0; transform: translateX(-8px); }
}

/* Before/After overlay */
.crm-before-overlay {
    position: absolute;
    inset: 0;
    z-index: 9;
    background: rgba(15, 23, 42, .55);
    backdrop-filter: blur(4px);
    padding: 40px;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    color: #fff;
    text-align: center;
    opacity: 0; pointer-events: none;
    transition: opacity .4s;
}
.crm-wrap.crm-mode--before .crm-before-overlay { opacity: 1; }
.crm-before-overlay__title { font-size: 18px; font-weight: 800; margin-bottom: 14px; color: #fca5a5; }
.crm-before-overlay__list {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 6px;
    font-size: 14px; font-weight: 600;
}
.crm-before-overlay__list li::before { content: "✗ "; color: #ef4444; font-weight: 900; }
.crm-wrap.crm-mode--before .crm-msgs__ai,
.crm-wrap.crm-mode--before .crm-pipeline-card,
.crm-wrap.crm-mode--good .crm-leadscore-card,
.crm-wrap.crm-mode--before .crm-leadscore-card,
.crm-wrap.crm-mode--before .crm-ci__ai-tag,
.crm-wrap.crm-mode--before .crm-tone-selector,
.crm-wrap.crm-mode--before .crm-bub__reactions,
.crm-wrap.crm-mode--before .crm-ci__collision,
.crm-wrap.crm-mode--before .crm-ci__labels { filter: grayscale(1) opacity(.35); }

/* Ripple */
.ripple { position: relative; overflow: hidden; }
.ripple::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .7);
    transform: translate(-50%, -50%) scale(0);
    pointer-events: none;
    opacity: 0;
}
.ripple.is-rippling::after { animation: crmRipple .6s ease-out; }
@keyframes crmRipple {
    from { transform: translate(-50%, -50%) scale(0); opacity: .7; }
    to   { transform: translate(-50%, -50%) scale(40); opacity: 0; }
}

/* Confetti & reward badge */
.crm-confetti {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 20;
}
.crm-reward-badge {
    position: absolute;
    top: 80px; right: 30px;
    z-index: 15;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    padding: 12px 20px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 16px 40px rgba(34, 197, 94, .45);
    opacity: 0; transform: scale(0);
    pointer-events: none;
}
.crm-reward-badge.is-visible { animation: crmBadgePop 2.6s cubic-bezier(.34, 1.56, .64, 1) forwards; }
.crm-reward-badge span { display: block; font-size: 28px; font-weight: 900; line-height: 1; }
.crm-reward-badge small {
    display: block;
    font-size: 10px; font-weight: 600;
    text-transform: uppercase; letter-spacing: .8px;
    margin-top: 2px;
    opacity: .95;
}
@keyframes crmBadgePop {
    0%   { opacity: 0; transform: scale(0) rotate(-15deg); }
    20%  { opacity: 1; transform: scale(1.2) rotate(5deg); }
    40%  { transform: scale(1) rotate(-2deg); }
    60%  { transform: scale(1.05) rotate(0deg); }
    85%  { opacity: 1; transform: scale(1) rotate(0deg); }
    100% { opacity: 0; transform: scale(.95) rotate(0deg); }
}

/* Fallback static image (hidden on desktop, shown on mobile) */
.crm-fallback-img {
    display: none;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, .12);
}

@media (max-width: 1100px) { .crm-right { display: none; } }
@media (max-width: 1024px) {
    .crm-tree { display: none; }
    .crm-body { height: 500px; }
    .crm-chatlist { width: 300px; min-width: 300px; }
    .crm-wrap { transform: none; }
}
@media (max-width: 768px) {
    .crm-fallback-img { display: block; }
    .crm-wrap,
    .crm-tour-progress,
    .crm-tour-nav,
    .crm-topbar,
    .crm-confetti,
    .crm-reward-badge,
    .crm-trophy { display: none !important; }
}

/* ===== PLAY GATE OVERLAY ===== */
.crm-play-gate {
    position: absolute;
    inset: 0;
    z-index: 25;
    background: rgba(15, 23, 42, .38);
    border-radius: var(--radius-lg);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    opacity: 1; visibility: visible;
    transition: opacity .3s ease, visibility .3s ease, background .25s ease;
    /* contain removed to allow screenshot capture */
    margin: 0 20px;
}
.crm-play-gate:hover { background: rgba(15, 23, 42, .3); }
.crm-play-gate.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.crm-play-gate__pill {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 8px 18px 8px 8px;
    background: #fff;
    color: #0f172a;
    border: var(--bw-thick) solid var(--ink);
    border-radius: 999px;
    box-shadow: var(--shadow-md);
    font-family: inherit;
    transition: transform .2s ease, box-shadow .2s ease;
    position: relative;
}
.crm-play-gate:hover .crm-play-gate__pill {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0 0 var(--ink);
}
.crm-play-gate__pill-icon {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--imsyn-blue);
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    position: relative;
    border: 2px solid var(--ink);
}
.crm-play-gate__pill-icon svg { margin-left: 2px; }
.crm-play-gate__pill-icon::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 1.5px solid transparent;
    border-top-color: rgba(15, 23, 42, .25);
    animation: crmGateSpin 2.4s linear infinite;
}
@keyframes crmGateSpin { to { transform: rotate(360deg); } }
.crm-play-gate__pill-text {
    display: flex; flex-direction: column;
    line-height: 1.2;
    text-align: left;
    padding-right: 4px;
}
.crm-play-gate__pill-text b {
    font-size: 14px; font-weight: 800;
    color: #0f172a;
    font-family: var(--font-display);
}
.crm-play-gate__pill-text i {
    font-size: 11.5px; font-weight: 500; font-style: normal;
    color: #64748b;
    margin-top: 1px;
}
.crm-play-gate:focus-visible .crm-play-gate__pill {
    outline: 2px solid #60a5fa;
    outline-offset: 3px;
}
@media (max-width: 768px) { .crm-play-gate { display: none !important; } }
@media (prefers-reduced-motion: reduce) {
    .crm-play-gate__pill-icon::after { animation: none; opacity: .35; }
}

/* ===== CRM GUIDED TOUR ===== */
.crm-tour-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .45);
    z-index: 5;
    pointer-events: none;
    opacity: 0;
    transition: opacity .4s ease;
}
.crm-tour-overlay.is-active { opacity: 1; }
.crm-tour-highlight {
    position: relative;
    z-index: 6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .5), 0 0 24px rgba(59, 130, 246, .18) !important;
    transition: box-shadow .4s ease;
}
.crm-tour-tooltip {
    position: absolute;
    z-index: 8;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px 14px;
    box-shadow: 0 6px 20px rgba(15, 23, 42, .1), 0 0 0 1px rgba(0, 0, 0, .03);
    width: 240px;
    pointer-events: auto;
    opacity: 0; transform: translateY(6px);
    transition: opacity .35s ease, transform .35s ease;
}
.crm-tour-tooltip.is-visible { opacity: 1; transform: translateY(0); }
.crm-tour-tooltip__step { font-size: 11px; font-weight: 500; color: #9ca3af; margin-bottom: 3px; }
.crm-tour-tooltip__title { font-size: 13px; font-weight: 600; color: #111827; margin-bottom: 4px; line-height: 1.35; letter-spacing: -0.005em; }
.crm-tour-tooltip__desc { font-size: 12px; color: #4b5563; line-height: 1.5; margin-bottom: 6px; }
.crm-tour-tooltip__benefit { font-size: 11px; color: #6b7280; font-weight: 400; line-height: 1.45; margin-bottom: 10px; border-top: 1px solid #f3f4f6; padding-top: 6px; }
.crm-tour-tooltip__nav {
    display: flex; align-items: center; justify-content: space-between;
    gap: 6px; padding-top: 8px;
    border-top: 1px solid #f3f4f6;
}
.crm-tour-tooltip__btn {
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 11px; font-weight: 600;
    cursor: pointer; border: none;
    transition: all .15s;
}
.crm-tour-tooltip__btn--prev { background: #f3f4f6; color: #6b7280; }
.crm-tour-tooltip__btn--prev:hover { background: #e5e7eb; }
.crm-tour-tooltip__btn--next { background: var(--imsyn-blue); color: #fff; }
.crm-tour-tooltip__btn--next:hover { background: var(--imsyn-blue-dark); }
.crm-tour-tooltip__counter { font-size: 10px; color: #9ca3af; font-weight: 500; }
.crm-tour-tooltip::before {
    content: '';
    position: absolute;
    width: 8px; height: 8px;
    background: #fff;
    border: 1px solid #e2e8f0;
    transform: rotate(45deg);
}
.crm-tour-tooltip--right::before  { left: -5px;   top: 20px; border-right: 0; border-top: 0; }
.crm-tour-tooltip--left::before   { right: -5px;  top: 20px; border-left: 0; border-bottom: 0; }
.crm-tour-tooltip--bottom::before { top: -5px;    left: 24px; border-bottom: 0; border-right: 0; }
.crm-tour-tooltip--top::before    { bottom: -5px; left: 24px; border-top: 0; border-left: 0; }
.crm-tour-nav { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; }
.crm-tour-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: all .25s ease;
}
.crm-tour-dot.is-active { background: var(--imsyn-blue); width: 22px; border-radius: 4px; }
.crm-tour-playpause {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; color: #6b7280;
    cursor: pointer;
    margin-left: 8px;
    transition: all .2s;
}
.crm-tour-playpause:hover { background: #e5e7eb; }
.crm-tour-progress {
    height: 3px;
    background: #e5e7eb;
    border-radius: 0 0 calc(var(--radius-lg) - 2px) calc(var(--radius-lg) - 2px);
    overflow: hidden;
    margin-top: -3px;
    position: relative;
    z-index: 1;
}
.crm-tour-progress__bar {
    height: 100%;
    background: var(--imsyn-blue);
    border-radius: 2px;
    transition: width .3s ease;
}

@media (prefers-reduced-motion: reduce) {
    .crm-wrap, .crm-ci, .crm-bub__tick, .crm-leadscore-card__fill { transition: none !important; }
    .crm-url__pulse,
    .crm-pipeline-card__step.is-current,
    .crm-stream-caret,
    .crm-ai-caret,
    .crm-typing span,
    .crm-ci--incoming,
    .crm-ci__badge.is-bump,
    .ripple.is-rippling::after { animation: none !important; }
}

/* =============================================================
   FLOATING SHAPES + ICONS — animated background decor
   Used in hero-wz, dcta-wz, footer-wz
   ============================================================= */

.hero-wz__shapes,
.dcta-wz__shapes,
.footer-wz__shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.hero-wz,
.dcta-wz,
.footer-wz {
    position: relative;
}
.hero-wz > *:not(.hero-wz__shapes),
.dcta-wz > *:not(.dcta-wz__shapes),
.footer-wz > *:not(.footer-wz__shapes) {
    position: relative;
    z-index: 2;
}

.float-shape {
    position: absolute;
    border: var(--bw-thick) solid var(--ink);
    box-shadow: var(--shadow-md);
    will-change: transform;
}
.float-shape--blob1 {
    top: 10%; left: -60px;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: var(--imsyn-yellow);
    opacity: .85;
    animation: floatY 9s ease-in-out infinite;
}
.float-shape--blob2 {
    top: 5%; right: -80px;
    width: 240px; height: 240px;
    border-radius: 50%;
    background: var(--imsyn-pink);
    opacity: .55;
    animation: floatY 11s ease-in-out infinite reverse;
    animation-delay: -2s;
}
.float-shape--blob3 {
    bottom: 8%; left: 8%;
    width: 110px; height: 110px;
    border-radius: 50%;
    background: var(--imsyn-blue-light);
    animation: floatXY 13s ease-in-out infinite;
    animation-delay: -4s;
}
.float-shape--square {
    top: 60%; right: 12%;
    width: 70px; height: 70px;
    border-radius: 12px;
    background: var(--imsyn-green);
    transform: rotate(15deg);
    animation: spinSlow 18s linear infinite, floatY 7s ease-in-out infinite;
}
.float-shape--tri {
    bottom: 18%; right: 6%;
    width: 0; height: 0;
    border: 0;
    box-shadow: none;
    border-left: 36px solid transparent;
    border-right: 36px solid transparent;
    border-bottom: 60px solid var(--imsyn-violet);
    filter: drop-shadow(3px 3px 0 var(--ink));
    transform: rotate(-20deg);
    animation: floatY 8s ease-in-out infinite, spinSlow 22s linear infinite;
    animation-delay: -3s;
}

/* Floating business-themed icons */
.float-icon {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--paper);
    border: var(--bw-thick) solid var(--ink);
    box-shadow: var(--shadow-md);
    font-size: 22px;
    will-change: transform;
    color: var(--ink);
}
.float-icon i { line-height: 1; }
.float-icon--chat {
    top: 18%; left: 12%;
    background: #DCFCE7; color: var(--imsyn-green);
    animation: floatY 6s ease-in-out infinite;
}
.float-icon--rocket {
    top: 8%; left: 42%;
    background: var(--imsyn-blue); color: #fff;
    animation: rocketDrift 7s ease-in-out infinite;
    animation-delay: -1s;
}
.float-icon--bolt {
    top: 40%; left: 6%;
    background: var(--imsyn-yellow); color: var(--ink);
    animation: floatY 5s ease-in-out infinite;
    animation-delay: -2.5s;
}
.float-icon--money {
    bottom: 14%; right: 14%;
    background: #DCFCE7; color: #047857;
    animation: floatY 7.5s ease-in-out infinite;
    animation-delay: -1.5s;
}
.float-icon--trend {
    top: 30%; right: 8%;
    background: var(--imsyn-blue-light); color: var(--imsyn-blue-dark);
    animation: floatXY 9s ease-in-out infinite;
}
.float-icon--ig {
    bottom: 28%; left: 18%;
    background: #FCE7F3; color: var(--imsyn-pink);
    animation: floatY 6.5s ease-in-out infinite;
    animation-delay: -2s;
}
.float-icon--star {
    bottom: 8%; right: 26%;
    background: var(--imsyn-yellow); color: var(--ink);
    width: 44px; height: 44px;
    font-size: 18px;
    animation: spinSlow 12s linear infinite, floatY 5s ease-in-out infinite;
}

/* Dark CTA — invert colors for visibility on dark bg */
.dcta-wz .float-shape--blob1 { background: var(--imsyn-blue); border-color: #fff; opacity: .35; }
.dcta-wz .float-shape--blob2 { background: var(--imsyn-pink); border-color: #fff; opacity: .3; }
.dcta-wz .float-shape--blob3 { background: var(--imsyn-yellow); border-color: #fff; opacity: .4; }
.dcta-wz .float-icon { border-color: #fff; box-shadow: 4px 4px 0 0 #fff; }
.dcta-wz .float-icon--chat { top: 14%; right: 8%; left: auto; }
.dcta-wz .float-icon--rocket { top: 50%; left: 6%; }
.dcta-wz .float-icon--bolt { bottom: 12%; right: 18%; }
.dcta-wz .float-icon--money { bottom: 18%; left: 14%; }
.dcta-wz .float-icon--trend { top: 22%; left: 18%; right: auto; }
.dcta-wz .float-icon--star { top: 32%; right: 24%; }

/* Footer — smaller, more subtle */
.footer-wz .float-shape--blob1 {
    top: 12%; left: -40px;
    width: 140px; height: 140px;
    background: var(--imsyn-yellow); opacity: .35;
}
.footer-wz .float-shape--blob2 {
    bottom: 10%; right: -60px;
    width: 160px; height: 160px;
    background: var(--imsyn-pink); opacity: .25;
}
.footer-wz .float-icon {
    width: 44px; height: 44px; font-size: 18px;
}
.footer-wz .float-icon--chat { top: 18%; right: 10%; left: auto; }
.footer-wz .float-icon--bolt { bottom: 20%; left: 8%; }
.footer-wz .float-icon--star { top: 60%; right: 25%; }

/* Make existing pseudo-element circles fade — replaced by .float-shape now */
.hero-wz::before,
.hero-wz::after,
.dcta-wz::before,
.dcta-wz::after { display: none; }

/* ============ ANIMATIONS ============ */
@keyframes floatY {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%      { transform: translateY(-22px) rotate(3deg); }
}
@keyframes floatXY {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33%      { transform: translate(14px, -18px) rotate(-4deg); }
    66%      { transform: translate(-12px, -10px) rotate(4deg); }
}
@keyframes rocketDrift {
    0%, 100% { transform: translateY(0) rotate(-15deg); }
    50%      { transform: translateY(-18px) rotate(0deg); }
}
@keyframes spinSlow {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ============ RESPECT REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
    .float-shape,
    .float-icon { animation: none !important; }
}

/* ============ HIDE SOME FLOATS ON MOBILE TO AVOID CLUTTER ============ */
@media (max-width: 768px) {
    .float-icon--rocket,
    .float-icon--money,
    .float-icon--trend,
    .float-icon--ig,
    .float-shape--square,
    .float-shape--tri { display: none; }
    .float-shape--blob1, .float-shape--blob2 { transform: scale(.7); }
}
