/** @format */

/* Header + footer tokens (original look, unchanged) */
:root {
    --chat-ink: #111412;
    --chat-muted: #5d655f;
    --chat-line: #d9dfda;
    --chat-paper: #fbfcfa;
    --chat-accent: #5b773b;
    --chat-display: "Space Grotesk", sans-serif;

    /* Page body tokens */
    --cb-bg: #f4f5fa;
    --cb-ink: #12152b;
    --cb-ink-2: #1a1d33;
    --cb-text: #474c69;
    --cb-muted: #5a5f7a;
    --cb-line: #dde1ee;
    --cb-line-2: #e3e6f0;
    --cb-line-3: #eceef6;
    --cb-surface: #f8f9fc;
    --cb-panel: #e9ecf7;
    --cb-blue: #2f43e0;
    --cb-blue-dark: #1f2fb8;
    --cb-blue-soft: #c9cffb;
    --cb-blue-pale: #dfe4ff;
    --cb-navy: #141a3a;
    --cb-on-navy: #c3c8e6;
    --cb-yellow: #ffc93c;
    --cb-orange: #b8460a;
    --cb-red: #e8590c;
    --cb-hand: "Caveat", cursive;
    --cb-mono: "DM Mono", monospace;
    --cb-shadow-paper:
        0 1px 0 #d3d8e8, 0 22px 34px -22px rgba(20, 28, 80, 0.45);
}
html {
    scroll-behavior: smooth;
}
.ai-chatbot-page {
    margin: 0;
    background: var(--cb-bg);
    color: var(--cb-ink);
    font-family: var(--chat-display);
    -webkit-font-smoothing: antialiased;
}
.ai-chatbot-page *,
.ai-chatbot-page *::before,
.ai-chatbot-page *::after {
    box-sizing: border-box;
}

/* ============================================================
   SHARED
   ============================================================ */
.cb-main {
    overflow-x: clip;
}
.cb-main section[id] {
    scroll-margin-top: 96px;
}
.cb-main a:focus-visible,
.cb-main button:focus-visible,
.cb-main summary:focus-visible,
.cb-main input:focus-visible {
    outline: 3px solid #8f9bff;
    outline-offset: 3px;
}
.cb-wrap {
    max-width: 1200px;
    margin: 0 auto;
}
.cb-h2 {
    margin: 0;
    color: var(--cb-ink);
    font-size: clamp(34px, 4.4vw, 56px);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.04;
}
.cb-lead {
    margin: 0;
    color: var(--cb-text);
    font-size: 17px;
    line-height: 1.65;
}
.cb-split {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px 64px;
}
.cb-split > .cb-h2 {
    flex: 1 1 560px;
    min-width: 0;
}
.cb-split > .cb-lead {
    flex: 1 1 340px;
    max-width: 460px;
}
.cb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 28px;
    border: 0;
    border-radius: 14px;
    background: var(--cb-blue);
    color: #fff;
    font: 600 16px/1.2 var(--chat-display);
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s ease;
}
.cb-btn:hover,
.cb-btn:focus-visible {
    background: var(--cb-blue-dark);
    color: #fff;
}
.cb-btn--block {
    display: flex;
    width: 100%;
    min-height: 52px;
    margin-top: 28px;
    border-radius: 12px;
}
.cb-link {
    color: var(--cb-blue);
    font-size: 16px;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 5px;
}
.cb-link:hover {
    color: var(--cb-blue-dark);
}
.cb-hand {
    position: absolute;
    font-family: var(--cb-hand);
    line-height: 1;
    transform: rotate(-4deg);
}

/* ============================================================
   HERO
   ============================================================ */
.cb-hero {
    /* glavni meni sajta je fixed (stil.css), pa hero počinje ispod njega */
    padding: 150px 20px 110px;
}
.cb-hero__grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 64px;
}
.cb-hero__copy {
    flex: 1 1 440px;
    min-width: 0;
}
.cb-kicker {
    margin: 0 0 22px;
    color: var(--cb-blue);
    font-size: 16px;
    font-weight: 600;
}
.cb-hero__title {
    max-width: 560px;
    margin: 0;
    color: var(--cb-ink);
    font-size: clamp(46px, 6.2vw, 82px);
    font-weight: 700;
    letter-spacing: -0.048em;
    line-height: 0.98;
}
.cb-hero__lead {
    max-width: 500px;
    margin: 28px 0 0;
    color: var(--cb-text);
    font-size: 19px;
    line-height: 1.6;
}
.cb-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 28px;
    margin-top: 36px;
}
.cb-hero__fine {
    max-width: 460px;
    margin: 32px 0 0;
    color: var(--cb-muted);
    font-size: 14.5px;
    line-height: 1.6;
}
.cb-hero__visual {
    flex: 1 1 520px;
    min-width: 0;
}
.cb-scene {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    padding-bottom: 40px;
}
.cb-browser {
    overflow: hidden;
    border: 1px solid var(--cb-line);
    border-radius: 16px;
    background: #fff;
    box-shadow:
        0 1px 0 #d3d8e8,
        0 40px 60px -40px rgba(20, 28, 80, 0.45);
}
.cb-browser__bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--cb-line-3);
    background: var(--cb-surface);
}
.cb-browser__dots {
    display: flex;
    gap: 6px;
}
.cb-browser__dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #d5d9e8;
}
.cb-browser__url {
    flex: 1;
    padding: 5px 12px;
    border: 1px solid var(--cb-line-2);
    border-radius: 7px;
    background: #fff;
    color: var(--cb-muted);
    font-size: 12px;
}
.cb-browser__page {
    position: relative;
    padding: 22px 26px 120px;
}
.cb-site-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.cb-site-nav strong {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.cb-site-nav > span {
    display: flex;
    gap: 14px;
    color: var(--cb-muted);
    font-size: 12px;
}
.cb-site-title {
    max-width: 300px;
    margin-top: 30px;
    color: var(--cb-ink-2);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
}
.cb-skel {
    display: grid;
    gap: 7px;
    max-width: 260px;
    margin-top: 14px;
}
.cb-skel span {
    height: 7px;
    border-radius: 4px;
    background: #e6e8f2;
}
.cb-skel span:nth-child(2) {
    width: 80%;
}
.cb-site-img {
    max-width: 300px;
    height: 120px;
    margin-top: 22px;
    border-radius: 10px;
    background-color: #eef0f7;
    background-image: repeating-linear-gradient(
        135deg,
        #e2e5f0 0 2px,
        transparent 2px 12px
    );
}
.cb-site-hours {
    margin-top: 16px;
    color: var(--cb-muted);
    font-size: 12px;
}
/* Chat u heru: izgled kao Herc Agents demo (agents.studioherc.com/demo) */
.cb-widget {
    position: absolute;
    right: -14px;
    bottom: 0;
    overflow: hidden;
    width: 310px;
    max-width: 92%;
    border: 1px solid rgba(22, 23, 29, 0.08);
    border-radius: 24px;
    background: #fff;
    box-shadow:
        0 1px 2px rgba(16, 24, 40, 0.04),
        0 28px 70px -24px rgba(20, 28, 80, 0.4);
}
.cb-widget__head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 14px 12px 15px;
    border-bottom: 1px solid rgba(22, 23, 29, 0.08);
}
.cb-widget__avatar {
    display: grid;
    flex: none;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: var(--cb-blue);
    color: #fff;
    font-family: var(--cb-mono);
    font-size: 11.5px;
    font-weight: 500;
}
.cb-widget__avatar--sm {
    width: 24px;
    height: 24px;
    margin-top: 2px;
    border-radius: 8px;
    font-size: 9px;
}
.cb-widget__heading {
    flex: 1;
    min-width: 0;
}
.cb-widget__title {
    overflow: hidden;
    color: var(--cb-ink);
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.cb-widget__ready {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
    color: var(--cb-muted);
    font-size: 11.5px;
}
.cb-widget__dot {
    position: relative;
    flex: 0 0 6px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
}
.cb-widget__dot::after {
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.35);
    content: "";
    animation: cb-pulse 2.4s ease-out infinite;
}
@keyframes cb-pulse {
    0% {
        opacity: 1;
        transform: scale(0.6);
    }
    100% {
        opacity: 0;
        transform: scale(1.8);
    }
}
.cb-widget__lang {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--cb-muted);
    font-size: 11.5px;
    font-weight: 500;
}
.cb-widget__lang svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}
.cb-widget__body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 14px 6px;
    font-size: 13px;
    line-height: 1.5;
}
.cb-msg {
    padding: 9px 13px;
}
.cb-msg--out {
    align-self: flex-end;
    max-width: 82%;
    border-radius: 18px 18px 6px 18px;
    background: var(--cb-blue);
    color: #fff;
}
.cb-msg-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.cb-msg-row__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
}
.cb-msg--in {
    border-radius: 6px 18px 18px 18px;
    background: #f0f2fa;
    color: var(--cb-ink);
}
.cb-msg__src {
    margin-top: 6px;
    color: var(--cb-muted);
    font-size: 11px;
}
.cb-widget__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.cb-widget__actions span {
    padding: 6px 12px;
    border: 1px solid rgba(22, 23, 29, 0.1);
    border-radius: 999px;
    background: #fff;
    color: var(--cb-ink);
    font-size: 12px;
    font-weight: 500;
}
.cb-widget__actions .is-primary {
    border-color: var(--cb-blue);
    background: var(--cb-blue);
    color: #fff;
}
.cb-widget__compose {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 12px 12px;
    padding: 5px 5px 5px 16px;
    border: 1px solid rgba(22, 23, 29, 0.08);
    border-radius: 999px;
    box-shadow:
        0 1px 2px rgba(16, 24, 40, 0.04),
        0 8px 24px -12px rgba(16, 24, 40, 0.12);
}
.cb-widget__input {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    color: #a3a7b3;
    font-size: 12.5px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.cb-widget__send {
    display: grid;
    flex: 0 0 32px;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--cb-blue);
    color: #fff;
}
.cb-widget__send svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.2;
}
.cb-note {
    position: absolute;
    top: 92px;
    left: 330px;
    width: 190px;
    color: var(--cb-orange);
    font-family: var(--cb-hand);
    font-size: 24px;
    line-height: 1.05;
    transform: rotate(-4deg);
}
.cb-note-arrow {
    position: absolute;
    top: 160px;
    left: 400px;
}

/* ============================================================
   PROBLEM CARDS
   ============================================================ */
.cb-problem {
    padding: 40px 20px;
}
.cb-problems {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
    gap: 20px;
    margin-top: 56px;
}
.cb-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--cb-line);
    border-radius: 28px;
    background: #fff;
}
.cb-card__art {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;
    overflow: hidden;
}
.cb-art-svg {
    display: block;
    max-width: 92%;
    height: auto;
}
.cb-card__body {
    padding: 28px 30px 32px;
}
.cb-card__body h3 {
    margin: 0 0 10px;
    color: var(--cb-ink);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
}
.cb-card__body p {
    max-width: 520px;
    margin: 0;
    color: var(--cb-text);
    font-size: 15.5px;
    line-height: 1.6;
}
.cb-card__art--night {
    align-items: flex-start;
    background: var(--cb-navy);
}
.cb-night__time {
    position: absolute;
    top: 20px;
    right: 28px;
    color: rgba(143, 155, 255, 0.22);
    font-size: 64px;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.2;
}
.cb-night__moon {
    position: absolute;
    top: 26px;
    left: 26px;
}
.cb-night__nail {
    position: absolute;
    top: 34px;
    left: 50%;
    width: 10px;
    height: 10px;
    margin-left: -5px;
    border-radius: 50%;
    background: #8a93b8;
}
.cb-night__string {
    position: absolute;
    top: 38px;
    left: 50%;
    margin-left: -100px;
}
.cb-night__sign {
    position: relative;
    width: 230px;
    margin-top: 102px;
    padding: 22px 20px 20px;
    border-radius: 6px;
    background: #fff;
    text-align: center;
    transform: rotate(-3deg);
    box-shadow: 0 26px 40px -18px rgba(0, 0, 0, 0.6);
}
.cb-night__sign::before,
.cb-night__sign::after {
    content: "";
    position: absolute;
    top: 10px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #d5d9e8;
}
.cb-night__sign::before {
    left: 28px;
}
.cb-night__sign::after {
    right: 28px;
}
.cb-night__sign strong {
    display: block;
    color: var(--cb-navy);
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
}
.cb-night__sign span {
    display: block;
    margin-top: 8px;
    color: var(--cb-text);
    font-size: 13px;
    line-height: 1.5;
}
.cb-card__art--maze {
    background-color: var(--cb-blue);
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 26px 26px;
}
.cb-hand--maze {
    right: 18px;
    bottom: 14px;
    color: var(--cb-yellow);
    font-size: 24px;
}
.cb-card__art--sign {
    background: var(--cb-blue-soft);
}
.cb-hand--sign {
    bottom: 16px;
    left: 20px;
    color: var(--cb-ink);
    font-size: 26px;
}
.cb-card__art--shelf {
    background: var(--cb-yellow);
}

/* ============================================================
   KNOWLEDGE BINDER
   ============================================================ */
.cb-knowledge {
    padding: 110px 20px 40px;
}
.cb-binder-card {
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    border: 1px solid var(--cb-line);
    border-radius: 32px;
    background: #fff;
}
.cb-binder-card__copy {
    display: flex;
    flex: 1 1 400px;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    min-width: 0;
    padding: clamp(32px, 5vw, 64px);
}
.cb-binder-card__copy .cb-h2 {
    max-width: 480px;
    font-size: clamp(34px, 4.2vw, 54px);
}
.cb-binder-card__copy .cb-lead {
    max-width: 440px;
}
.cb-rows {
    display: grid;
    max-width: 440px;
    margin-top: 8px;
    font-size: 15px;
}
.cb-rows > div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-top: 1px solid var(--cb-line-2);
}
.cb-rows > div:last-child {
    border-bottom: 1px solid var(--cb-line-2);
}
.cb-rows span:first-child {
    font-weight: 600;
}
.cb-rows span:last-child {
    color: var(--cb-muted);
}
.cb-binder-card__art {
    display: flex;
    flex: 1 1 520px;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 520px;
    padding: 32px;
    background: var(--cb-panel);
}
.cb-desk {
    position: relative;
    width: 460px;
    max-width: 100%;
    height: 440px;
}
.cb-sheet {
    position: absolute;
    width: 150px;
    height: 190px;
    padding: 14px;
    border-radius: 4px;
    background: #fff;
    box-shadow:
        0 1px 0 #d3d8e8,
        0 18px 28px -20px rgba(20, 28, 80, 0.45);
}
.cb-sheet--1 {
    top: 0;
    left: 0;
    transform: rotate(-8deg);
}
.cb-sheet--2 {
    top: -8px;
    left: 155px;
    transform: rotate(2deg);
}
.cb-sheet--3 {
    top: 4px;
    right: 0;
    transform: rotate(7deg);
}
.cb-sheet__title {
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.3;
}
.cb-sheet__img {
    height: 46px;
    margin-top: 10px;
    border-radius: 4px;
    background: #eef0f7;
}
.cb-sheet__lines {
    display: grid;
    gap: 6px;
    margin-top: 10px;
}
.cb-sheet__lines span {
    height: 5px;
    border-radius: 3px;
    background: #e6e8f2;
}
.cb-sheet__lines span:nth-child(2) {
    width: 80%;
}
.cb-sheet__lines span:nth-child(3) {
    width: 90%;
}
.cb-sheet__list {
    display: grid;
    gap: 9px;
    margin-top: 12px;
    color: var(--cb-text);
    font-size: 9.5px;
}
.cb-sheet__list div {
    display: flex;
    gap: 4px;
}
.cb-sheet__list i,
.cb-pricelist__rows i,
.cb-pricecard__line i {
    flex: 1;
    border-bottom: 1px dotted #b8bdd3;
}
.cb-sheet__rules {
    display: grid;
    gap: 8px;
    margin-top: 12px;
    color: var(--cb-text);
    font-size: 9.5px;
    line-height: 1.35;
}
.cb-sheet__rules .is-warn {
    color: var(--cb-orange);
}
.cb-desk__flow {
    position: absolute;
    top: 196px;
    left: 0;
    max-width: 100%;
}
.cb-binder {
    position: absolute;
    bottom: 0;
    left: 50%;
    display: flex;
    align-items: center;
    width: 280px;
    height: 150px;
    margin-left: -140px;
    padding: 0 26px 0 64px;
    border-radius: 10px;
    background: var(--cb-blue);
    color: #fff;
    box-shadow: 0 30px 40px -24px rgba(23, 32, 130, 0.7);
}
.cb-binder__spine {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 40px;
    border-radius: 10px 0 0 10px;
    background: #2536c4;
}
.cb-binder__ring {
    position: absolute;
    left: 14px;
    width: 12px;
    height: 12px;
    border: 2.5px solid var(--cb-blue-soft);
    border-radius: 50%;
}
.cb-binder__ring--top {
    top: 34px;
}
.cb-binder__ring--bottom {
    bottom: 34px;
}
.cb-binder__label {
    padding: 14px 16px;
    border-radius: 4px;
    background: #fff;
    color: var(--cb-ink);
}
.cb-binder__label strong {
    display: block;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.cb-binder__label span {
    display: block;
    margin-top: 2px;
    color: var(--cb-text);
    font-size: 12.5px;
}

/* ============================================================
   INTERACTIVE EXAMPLE
   ============================================================ */
.cb-example {
    padding: 80px 20px 100px;
}
.cb-example__grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 56px;
}
.cb-example__copy {
    flex: 1 1 420px;
    min-width: 0;
}
.cb-example__copy .cb-h2 {
    max-width: 520px;
}
.cb-example__copy .cb-lead {
    max-width: 460px;
    margin-top: 22px;
}
.cb-choices {
    display: flex;
    flex-direction: column;
    max-width: 480px;
    margin-top: 32px;
    border-top: 1px solid var(--cb-line);
}
.cb-choices button {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 60px;
    padding: 0 4px 0 18px;
    border: 0;
    border-bottom: 1px solid var(--cb-line);
    border-radius: 0;
    background: transparent;
    color: var(--cb-ink);
    font: 500 17px/1.3 var(--chat-display);
    text-align: left;
    cursor: pointer;
    transition:
        background-color 0.15s ease,
        color 0.15s ease;
}
.cb-choices button:hover {
    background: rgba(255, 255, 255, 0.6);
}
.cb-choices button[aria-pressed="true"] {
    background: #fff;
    color: var(--cb-blue);
    font-weight: 700;
    box-shadow: inset 3px 0 0 var(--cb-blue);
}
.cb-example__demo {
    flex: 1 1 460px;
    min-width: 0;
}
.cb-demo {
    max-width: 500px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid var(--cb-line);
    border-radius: 22px;
    background: #fff;
    box-shadow:
        0 1px 0 #d3d8e8,
        0 40px 60px -44px rgba(20, 28, 80, 0.45);
}
.cb-demo__head {
    padding: 14px 18px;
    border-bottom: 1px solid var(--cb-line-3);
}
.cb-demo__head-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px 12px;
}
.cb-demo__head-row strong {
    font-size: 15px;
    font-weight: 600;
}
.cb-demo__head-row span {
    color: var(--cb-muted);
    font-size: 12.5px;
}
.cb-demo__langs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}
.cb-demo__langs button,
.cb-demo__more {
    display: flex;
    flex: 1 1 64px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 64px;
    border-radius: 12px;
    font: 600 12px/1.2 var(--chat-display);
    text-align: center;
}
.cb-demo__langs button {
    gap: 6px;
    padding: 8px 6px;
    border: 2px solid transparent;
    background: var(--cb-bg);
    color: var(--cb-ink);
    cursor: pointer;
    transition:
        background-color 0.15s ease,
        border-color 0.15s ease;
}
.cb-demo__langs button[aria-pressed="true"] {
    border-color: var(--cb-blue);
    background: #eef0ff;
    color: var(--cb-blue);
}
.cb-flag {
    display: block;
    width: 38px;
    height: 26px;
    overflow: hidden;
    border-radius: 5px;
    outline: 1px solid rgba(18, 21, 43, 0.12);
}
.cb-flag svg {
    display: block;
}
.cb-demo__more {
    gap: 4px;
    border: 1.5px dashed #b8bfdc;
    color: var(--cb-text);
}
.cb-demo__more span:first-child {
    font-size: 18px;
    line-height: 1;
}
.cb-demo__chat {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 320px;
    padding: 26px 22px;
    background: var(--cb-surface);
}
.cb-demo__q {
    align-self: flex-end;
    max-width: 78%;
    padding: 12px 15px;
    border-radius: 16px 16px 4px 16px;
    background: var(--cb-blue);
    color: #fff;
    font-size: 15px;
    line-height: 1.5;
}
.cb-demo__a {
    align-self: flex-start;
    max-width: 88%;
    padding: 14px 16px;
    border: 1px solid var(--cb-line-2);
    border-radius: 16px 16px 16px 4px;
    background: #fff;
    font-size: 15px;
    line-height: 1.55;
}
.cb-demo__src {
    margin-top: 10px;
    padding-top: 9px;
    border-top: 1px solid var(--cb-line-3);
    color: var(--cb-muted);
    font-size: 12px;
}
.cb-demo__actions {
    display: flex;
    flex-wrap: wrap;
    align-self: flex-start;
    gap: 8px;
}
.cb-demo__actions span {
    padding: 10px 14px;
    border: 1px solid var(--cb-blue-soft);
    border-radius: 10px;
    background: #fff;
    color: var(--cb-blue);
    font-size: 13px;
    font-weight: 600;
}
.cb-demo__actions .is-primary {
    border-color: var(--cb-blue);
    background: var(--cb-blue);
    color: #fff;
}
.cb-demo__caption {
    max-width: 500px;
    margin: 14px auto 0;
    color: var(--cb-muted);
    font-size: 13px;
    line-height: 1.55;
}

/* ============================================================
   CAPABILITIES (stacked feature cards)
   ============================================================ */
.cb-capabilities {
    padding: 20px 20px 110px;
}
.cb-capabilities__intro {
    max-width: 760px;
}
.cb-capabilities__intro .cb-lead {
    max-width: 560px;
    margin-top: 20px;
}
.cb-stack {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 64px;
}
.cb-feature {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    border: 1px solid var(--cb-line);
    border-radius: 28px;
    background: #fff;
}
.cb-feature--reverse {
    flex-direction: row-reverse;
}
@media (min-width: 900px) and (min-height: 760px) {
    .cb-feature {
        position: sticky;
    }
    .cb-feature:nth-child(1) {
        top: 96px;
    }
    .cb-feature:nth-child(2) {
        top: 112px;
    }
    .cb-feature:nth-child(3) {
        top: 128px;
    }
    .cb-feature:nth-child(4) {
        top: 144px;
    }
    .cb-feature:nth-child(5) {
        top: 160px;
    }
}
.cb-feature__copy {
    display: flex;
    flex: 1 1 360px;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    min-width: 0;
    padding: clamp(32px, 4.5vw, 60px);
}
.cb-feature__copy h3 {
    max-width: 440px;
    margin: 0;
    color: var(--cb-ink);
    font-size: clamp(30px, 3.2vw, 44px);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.04;
}
.cb-feature__copy p {
    max-width: 420px;
    margin: 0;
    color: var(--cb-text);
    font-size: 17px;
    line-height: 1.65;
}
.cb-feature__art {
    position: relative;
    display: flex;
    flex: 1 1 560px;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 480px;
    padding: 28px;
    overflow: hidden;
    background: var(--cb-panel);
}

/* Price list + clipped answer */
.cb-pricelist {
    position: relative;
    width: 470px;
    max-width: 100%;
    height: 410px;
}
.cb-pricelist__sheet {
    position: absolute;
    top: 4px;
    left: 0;
    width: 310px;
    max-width: 78%;
    height: 396px;
    padding: 30px 26px;
    border-radius: 3px;
    background: #fff;
    color: var(--cb-ink-2);
    box-shadow: var(--cb-shadow-paper);
    transform: rotate(-2deg);
}
.cb-pricelist__fold {
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    background: linear-gradient(
        225deg,
        var(--cb-panel) 50%,
        var(--cb-line) 50%
    );
}
.cb-pricelist__title {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.cb-pricelist__date {
    margin-top: 4px;
    color: var(--cb-muted);
    font-size: 11.5px;
}
.cb-pricelist__rows {
    display: grid;
    gap: 15px;
    margin-top: 22px;
    font-size: 13px;
}
.cb-pricelist__rows > div {
    position: relative;
    display: flex;
    align-items: baseline;
    gap: 6px;
}
.cb-pricelist__rows i {
    border-bottom-width: 1.5px;
}
.cb-pricelist__rows b {
    font-weight: 600;
}
.cb-pricelist__rows .is-marked > * {
    position: relative;
}
.cb-pricelist__rows .is-marked b {
    font-weight: 700;
}
.cb-pricelist__rows .is-marked i {
    border-bottom-color: #8e97c8;
}
.cb-pricelist__rows .is-marked > .cb-pricelist__marker {
    position: absolute;
    top: -5px;
    right: -10px;
    bottom: -6px;
    left: -8px;
    border-radius: 3px 10px 4px 12px;
    background: rgba(47, 67, 224, 0.24);
    transform: rotate(-1.2deg);
}
.cb-pricelist__note {
    margin-top: 26px;
    color: var(--cb-muted);
    font-size: 11.5px;
    line-height: 1.55;
}
.cb-pricelist__reply {
    position: absolute;
    right: 0;
    bottom: 18px;
    width: 236px;
    max-width: 62%;
    transform: rotate(2.5deg);
}
.cb-pricelist__clip {
    position: absolute;
    top: -30px;
    left: 22px;
    z-index: 2;
}
.cb-pricelist__bubble {
    padding: 20px 18px 16px;
    border-radius: 18px 18px 18px 4px;
    background: #fff;
    box-shadow:
        0 1px 0 #d3d8e8,
        0 24px 36px -22px rgba(20, 28, 80, 0.5);
}
.cb-pricelist__who {
    color: var(--cb-blue);
    font-size: 12px;
    font-weight: 600;
}
.cb-pricelist__text {
    margin-top: 6px;
    color: var(--cb-ink-2);
    font-size: 14px;
    line-height: 1.5;
}
.cb-pricelist__src {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid var(--cb-line-3);
    color: var(--cb-muted);
    font-size: 11.5px;
}

/* Printer + receipt */
.cb-feature__art--printer {
    align-items: stretch;
    padding: 0 28px;
}
.cb-printer {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 340px;
    max-width: 100%;
}
.cb-printer__body {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 58px;
    margin-top: 46px;
    border-radius: 14px;
    background: #1c2340;
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.35);
}
.cb-printer__led {
    position: absolute;
    top: 22px;
    left: 22px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #8f9bff;
    box-shadow: 0 0 8px #8f9bff;
}
.cb-printer__slot {
    position: absolute;
    bottom: 12px;
    left: 50%;
    width: 286px;
    max-width: 84%;
    height: 5px;
    border-radius: 3px;
    background: #080b1c;
    transform: translateX(-50%);
}
.cb-receipt {
    position: relative;
    z-index: 1;
    width: 272px;
    max-width: 80%;
    margin-top: -14px;
    transform: rotate(1.2deg);
    transform-origin: top center;
}
.cb-receipt__paper {
    padding: 30px 22px 18px;
    background: #fff;
    color: var(--cb-ink-2);
    font-family: var(--cb-mono);
    font-size: 12px;
    line-height: 1.7;
}
.cb-receipt__title {
    font-size: 13px;
    font-weight: 500;
}
.cb-receipt__muted {
    color: var(--cb-muted);
}
.cb-receipt__rule {
    margin: 12px 0;
    border-top: 1.5px dashed #c3c8dc;
}
.cb-receipt__grid {
    display: grid;
    grid-template-columns: 70px 1fr;
    row-gap: 3px;
}
.cb-receipt__grid span:nth-child(odd) {
    color: var(--cb-muted);
}
.cb-receipt__summary {
    color: #3a3f5c;
}
.cb-receipt__sent {
    margin-top: 12px;
    color: var(--cb-blue);
    overflow-wrap: anywhere;
}
.cb-receipt__edge {
    height: 10px;
    background:
        linear-gradient(-45deg, transparent 7px, #fff 0) 0 0 / 14px 14px
            repeat-x,
        linear-gradient(45deg, transparent 7px, #fff 0) 0 0 / 14px 14px repeat-x;
}

/* Handoff chat + ramp */
.cb-feature__art--handoff {
    padding: 36px 28px;
}
.cb-handoff {
    width: 360px;
    max-width: 100%;
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    color: var(--cb-ink);
    font-size: 13.5px;
    line-height: 1.45;
    box-shadow: var(--cb-shadow-paper);
    transform: rotate(-2deg);
}
.cb-handoff__head {
    padding: 13px 18px;
    border-bottom: 1px solid var(--cb-line-3);
    color: var(--cb-text);
    font-size: 12.5px;
    font-weight: 600;
}
.cb-handoff__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px 16px 20px;
    background: var(--cb-surface);
}
.cb-handoff__visitor {
    align-self: flex-end;
    max-width: 80%;
    padding: 9px 12px;
    border-radius: 14px 14px 4px 14px;
    background: var(--cb-blue-pale);
}
.cb-handoff__bot {
    display: flex;
    align-items: flex-end;
    align-self: flex-start;
    gap: 8px;
    max-width: 88%;
}
.cb-handoff__bot > span:last-child {
    padding: 9px 12px;
    border-radius: 14px 14px 14px 4px;
    background: var(--cb-blue);
    color: #fff;
}
.cb-avatar-bot {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--cb-blue);
}
.cb-ramp {
    margin: 14px -4px 4px;
}
.cb-ramp__bar {
    position: relative;
    height: 18px;
    padding-left: 22px;
}
.cb-ramp__post {
    position: absolute;
    top: -8px;
    left: 0;
    width: 16px;
    height: 34px;
    border-radius: 4px;
    background: var(--cb-ink);
}
.cb-ramp__light {
    position: absolute;
    top: 1px;
    left: 4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cb-yellow);
}
.cb-ramp__arm {
    display: block;
    height: 100%;
    border-radius: 0 6px 6px 0;
    background: repeating-linear-gradient(
        -45deg,
        var(--cb-yellow) 0 11px,
        var(--cb-ink) 11px 22px
    );
}
.cb-ramp__label {
    margin-top: 10px;
    color: var(--cb-text);
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}
.cb-agent {
    align-self: stretch;
    padding: 12px;
    border: 1px solid var(--cb-line-2);
    border-radius: 14px;
    background: #fff;
}
.cb-agent__row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.cb-agent__avatar {
    flex: none;
    border-radius: 50%;
}
.cb-agent__who {
    flex: 1;
    min-width: 0;
}
.cb-agent__who strong {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
}
.cb-agent__who span {
    display: block;
    color: var(--cb-muted);
    font-size: 11.5px;
}
.cb-agent__status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #1d7a4f;
    font-size: 11px;
    font-weight: 600;
}
.cb-agent__status::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22a565;
}
.cb-agent__msg {
    margin-top: 10px;
    padding: 9px 12px;
    border-radius: 12px;
    background: var(--cb-bg);
}

/* Notebook tally */
.cb-notebook {
    position: relative;
    width: 440px;
    max-width: 100%;
    padding: 26px 26px 30px 58px;
    border-radius: 4px;
    background-color: #fff;
    background-image:
        linear-gradient(rgba(47, 67, 224, 0.09) 1px, transparent 1px),
        linear-gradient(90deg, rgba(47, 67, 224, 0.09) 1px, transparent 1px);
    background-size: 20px 20px;
    box-shadow: var(--cb-shadow-paper);
    transform: rotate(-1.5deg);
}
.cb-notebook__margin {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 40px;
    border-left: 1.5px solid rgba(47, 67, 224, 0.45);
}
.cb-notebook__title {
    color: var(--cb-blue);
    font-family: var(--cb-hand);
    font-size: 30px;
    line-height: 1;
}
.cb-notebook__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px 16px;
    margin-top: 22px;
    color: var(--cb-ink-2);
    font-size: 14px;
}
.cb-tally {
    display: flex;
    gap: 6px;
}
.cb-tally path {
    fill: none;
    stroke: var(--cb-blue);
    stroke-width: 2;
    stroke-linecap: round;
}
.cb-notebook__circled {
    position: relative;
    justify-self: start;
}
.cb-notebook__circled svg {
    position: absolute;
    top: -13px;
    left: -14px;
    width: calc(100% + 28px);
    height: 46px;
    overflow: visible;
}
.cb-notebook__note {
    margin-top: 16px;
    color: var(--cb-orange);
    font-family: var(--cb-hand);
    font-size: 22px;
    line-height: 1.1;
}

/* ============================================================
   PROCESS
   ============================================================ */
.cb-process-section {
    padding: 0 20px 110px;
}
.cb-process {
    position: relative;
    overflow: hidden;
    padding: clamp(36px, 5vw, 72px) clamp(24px, 5vw, 64px)
        clamp(40px, 5vw, 64px);
    border-radius: 32px;
    background: var(--cb-navy);
    color: #fff;
}
.cb-process__dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(
        rgba(255, 255, 255, 0.08) 1px,
        transparent 1px
    );
    background-size: 24px 24px;
    pointer-events: none;
}
.cb-process__head {
    position: relative;
    gap: 20px 64px;
}
.cb-process__head .cb-h2 {
    flex-basis: 520px;
    max-width: 620px;
    color: #fff;
}
.cb-process__head .cb-lead {
    flex-basis: 320px;
    max-width: 420px;
    color: var(--cb-on-navy);
}
.cb-quick-form {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 860px;
    margin-top: 36px;
    padding: 10px;
    border-radius: 18px;
    background: #fff;
}
.cb-quick-form input[type="text"],
.cb-quick-form input[type="email"] {
    flex: 2 1 240px;
    min-width: 0;
    min-height: 54px;
    padding: 0 16px;
    border: 1px solid var(--cb-line);
    border-radius: 12px;
    background: #f7f8fc;
    color: var(--cb-ink);
    font: 16px var(--chat-display);
}
.cb-quick-form input[type="email"] {
    flex-basis: 220px;
}
.cb-quick-form input::placeholder {
    color: var(--cb-muted);
}
.cb-quick-form button {
    flex: 1 1 200px;
    min-height: 54px;
    padding: 0 22px;
    border: 0;
    border-radius: 12px;
    background: var(--cb-yellow);
    color: var(--cb-ink);
    font: 700 16px var(--chat-display);
    cursor: pointer;
    transition: background-color 0.15s ease;
}
.cb-quick-form button:hover {
    background: #ffd666;
}
.cb-process__fine {
    position: relative;
    margin: 12px 0 0;
    color: var(--cb-on-navy);
    font-size: 13.5px;
}
.cb-steps {
    position: relative;
    margin-top: 64px;
}
.cb-steps__line {
    position: absolute;
    top: 131px;
    height: 8px;
}
.cb-steps__line--yellow {
    left: 0;
    width: 50%;
    border-radius: 8px 0 0 8px;
    background: var(--cb-yellow);
}
.cb-steps__line--blue {
    right: 0;
    left: 50%;
    border-radius: 0 8px 8px 0;
    background: var(--cb-blue);
}
.cb-steps__line--fade {
    right: -40px;
    width: 80px;
    background: linear-gradient(90deg, var(--cb-blue), rgba(47, 67, 224, 0));
}
.cb-steps__pill {
    top: 121px;
    left: 50%;
    z-index: 1;
    height: auto;
    padding: 6px 14px;
    border-radius: 999px;
    background: #fff;
    color: var(--cb-ink);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 0 0 5px var(--cb-navy);
    transform: translateX(-50%);
}
.cb-steps ol {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.cb-steps li {
    position: relative;
}
.cb-steps li > svg {
    display: block;
}
.cb-step__num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-top: 15px;
    border-radius: 50%;
    background: #fff;
    color: var(--cb-navy);
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 0 0 6px var(--cb-navy);
}
.cb-step__num--yellow {
    background: var(--cb-yellow);
}
.cb-step__num--big {
    width: 52px;
    height: 52px;
    margin-top: 9px;
    margin-left: -6px;
    font-size: 18px;
    box-shadow:
        0 0 0 6px var(--cb-navy),
        0 0 0 10px rgba(255, 201, 60, 0.35);
}
.cb-steps h3 {
    margin: 22px 0 8px;
    color: #fff;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.cb-steps h3.cb-step__title--tight {
    margin-top: 16px;
}
.cb-steps p {
    max-width: 260px;
    margin: 0;
    color: var(--cb-on-navy);
    font-size: 15.5px;
    line-height: 1.6;
}
.cb-step__hand {
    margin-top: 10px;
    color: var(--cb-yellow);
    font-family: var(--cb-hand);
    font-size: 23px;
    line-height: 1.1;
}

/* ============================================================
   TRUST
   ============================================================ */
.cb-trust-section {
    padding: 0 20px 110px;
}
.cb-trust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px 64px;
    padding: clamp(32px, 5vw, 64px);
    border: 1px solid var(--cb-line);
    border-radius: 32px;
    background: #fff;
}
.cb-trust__copy {
    flex: 1 1 480px;
    min-width: 0;
}
.cb-trust__copy .cb-h2 {
    max-width: 460px;
    font-size: clamp(32px, 4vw, 50px);
    line-height: 1.05;
}
.cb-trust__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 28px;
    max-width: 560px;
    margin-top: 32px;
}
.cb-trust__icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 14px;
    border-radius: 13px;
    background: var(--cb-blue-pale);
    color: var(--cb-blue);
}
.cb-trust__icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
}
.cb-trust__list h3 {
    margin: 0 0 6px;
    font-size: 17px;
    font-weight: 700;
}
.cb-trust__list p {
    margin: 0;
    color: var(--cb-text);
    font-size: 14.5px;
    line-height: 1.6;
}
.cb-trust__art {
    display: flex;
    flex: 1 1 420px;
    justify-content: center;
    min-width: 0;
    padding: 20px 0;
}
.cb-approval {
    position: relative;
    width: 360px;
    max-width: 100%;
    padding: 32px 30px 36px;
    border-radius: 4px;
    background: #fff;
    box-shadow:
        0 1px 0 #d3d8e8,
        0 0 0 1px var(--cb-line-2),
        0 30px 44px -28px rgba(20, 28, 80, 0.45);
    transform: rotate(1.5deg);
}
.cb-approval__title,
.cb-pricecard__title {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.cb-approval__sub,
.cb-pricecard__sub {
    margin-top: 4px;
    color: var(--cb-muted);
    font-size: 12px;
}
.cb-approval__list {
    display: grid;
    gap: 12px;
    margin-top: 20px;
    font-size: 13.5px;
}
.cb-approval__list > div {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.cb-approval__list svg {
    flex: none;
    margin-top: 2px;
}
.cb-approval__foot {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-top: 30px;
}
.cb-approval__sign {
    flex: 1;
}
.cb-approval__name {
    color: var(--cb-ink);
    font-family: var(--cb-hand);
    font-size: 30px;
    line-height: 1;
}
.cb-approval__label {
    margin-top: 4px;
    padding-top: 4px;
    border-top: 1px solid var(--cb-ink);
    color: var(--cb-muted);
    font-size: 11px;
}
.cb-approval__stamp {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 92px;
    height: 92px;
    border: 3px solid var(--cb-blue);
    border-radius: 50%;
    color: var(--cb-blue);
    font-size: 15px;
    font-weight: 700;
    opacity: 0.9;
    box-shadow:
        inset 0 0 0 4px #fff,
        inset 0 0 0 5.5px var(--cb-blue);
    transform: rotate(-12deg);
}

/* ============================================================
   PRICE
   ============================================================ */
.cb-price-section {
    padding: 0 20px 110px;
}
.cb-price {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px 64px;
}
.cb-price__copy {
    flex: 1 1 360px;
    min-width: 0;
}
.cb-price__copy .cb-h2 {
    max-width: 440px;
}
.cb-price__copy .cb-lead {
    max-width: 420px;
    margin-top: 22px;
}
.cb-price__card-wrap {
    display: flex;
    flex: 1 1 480px;
    justify-content: center;
    min-width: 0;
}
.cb-pricecard {
    width: 520px;
    max-width: 100%;
    padding: 34px 32px 30px;
    border-radius: 4px;
    background: #fff;
    box-shadow:
        0 1px 0 #d3d8e8,
        0 0 0 1px var(--cb-line-2),
        0 30px 44px -30px rgba(20, 28, 80, 0.45);
}
.cb-pricecard__rows {
    display: grid;
    gap: 18px;
    margin-top: 24px;
    font-size: 15px;
}
.cb-pricecard__line {
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.cb-pricecard__line span {
    font-weight: 600;
}
.cb-pricecard__line i {
    border-bottom-width: 1.5px;
}
.cb-pricecard__line b {
    font-weight: 700;
    white-space: nowrap;
}
.cb-pricecard__line .is-free {
    color: var(--cb-blue);
}
.cb-pricecard__desc {
    margin-top: 5px;
    color: var(--cb-muted);
    font-size: 13.5px;
    line-height: 1.5;
}

/* ============================================================
   FAQ
   ============================================================ */
.cb-faq-section {
    padding: 0 20px 110px;
}
.cb-faq-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px 64px;
}
.cb-faq-grid__intro {
    flex: 1 1 320px;
    min-width: 0;
}
.cb-faq-grid__intro .cb-h2 {
    max-width: 380px;
}
.cb-faq-grid__intro p {
    margin: 22px 0 0;
    color: var(--cb-text);
    font-size: 16px;
    line-height: 1.6;
}
.cb-faq-grid__intro p a {
    color: var(--cb-blue);
    font-weight: 600;
}
.cb-faq-grid__intro p a:hover {
    color: var(--cb-blue-dark);
}
.cb-faq-grid__intro svg {
    display: block;
    max-width: 100%;
    height: auto;
    margin-top: 40px;
}
.cb-faq {
    flex: 1 1 560px;
    min-width: 0;
    border-top: 1px solid #cfd4e6;
}
.cb-faq details {
    border-bottom: 1px solid #cfd4e6;
}
.cb-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 64px;
    padding: 10px 0;
    color: var(--cb-ink);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    list-style: none;
    cursor: pointer;
}
.cb-faq summary::-webkit-details-marker {
    display: none;
}
.cb-faq__icon {
    flex: none;
    color: var(--cb-blue);
    font-size: 26px;
    font-weight: 400;
}
.cb-faq__minus,
.cb-faq details[open] .cb-faq__plus {
    display: none;
}
.cb-faq details[open] .cb-faq__minus {
    display: inline;
}
.cb-faq details p {
    max-width: 600px;
    margin: 0 0 22px;
    color: var(--cb-text);
    font-size: 16px;
    line-height: 1.65;
}

/* ============================================================
   DEMO CTA + FORM
   ============================================================ */
.cb-demo-section {
    padding: 0 20px 80px;
}
.cb-demo-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 48px;
    padding: clamp(32px, 6vw, 72px);
    border-radius: 32px;
    background: var(--cb-blue);
    color: #fff;
}
.cb-demo-cta__copy {
    flex: 1 1 400px;
    min-width: 0;
}
.cb-demo-cta__copy h2 {
    max-width: 480px;
    margin: 0;
    color: #fff;
    font-size: clamp(36px, 4.8vw, 62px);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.02;
}
.cb-demo-cta__copy p {
    max-width: 440px;
    margin: 22px 0 0;
    color: #e3e7ff;
    font-size: 17px;
    line-height: 1.65;
}
.cb-demo-form {
    display: grid;
    flex: 1 1 400px;
    gap: 14px;
    min-width: 0;
    padding: 28px;
    border-radius: 22px;
    background: #fff;
    color: var(--cb-ink);
}
.cb-demo-form label {
    display: grid;
    gap: 7px;
    margin: 0;
    font-size: 14px;
    font-weight: 600;
}
.cb-demo-form__row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
}
.cb-demo-form input {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid #cfd4e6;
    border-radius: 10px;
    background: #fff;
    color: var(--cb-ink);
    font: 400 16px var(--chat-display);
}
.cb-demo-form input:focus {
    border-color: var(--cb-blue);
}
.cb-demo-form input::placeholder {
    color: #8a8fa8;
}
.cb-demo-form .cb-btn {
    border-radius: 12px;
}
.cb-form-message {
    padding: 14px 16px;
    border-radius: 12px;
    background: #eef0ff;
    color: var(--cb-ink);
    font-size: 15px;
    line-height: 1.5;
}
.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1020px) {
    .cb-steps__line {
        display: none;
    }
}
@media (max-width: 760px) {
    .cb-widget {
        position: relative;
        right: auto;
        bottom: auto;
        margin: -60px 0 0 auto;
    }
    .cb-note,
    .cb-note-arrow {
        display: none;
    }
    .cb-hero {
        padding: 112px 16px 80px;
    }
    .cb-problem,
    .cb-knowledge,
    .cb-example,
    .cb-capabilities,
    .cb-process-section,
    .cb-trust-section,
    .cb-price-section,
    .cb-faq-section,
    .cb-demo-section {
        padding-right: 16px;
        padding-left: 16px;
    }
    .cb-binder-card__art,
    .cb-feature__art {
        padding: 24px 16px;
    }
    .cb-feature__art--printer {
        padding-top: 0;
    }
    .cb-binder-card__art {
        min-height: 480px;
    }
    .cb-faq summary {
        font-size: 16.5px;
    }
}
/* Registrator na telefonu: uži raspored (340px) da sva tri papira budu vidljiva,
   a na najmanjim ekranima ceo crtež se umanjuje preko zoom-a (menja i visinu bloka). */
@media (max-width: 560px) {
    .cb-binder-card__art {
        min-height: 0;
        padding: 28px 12px;
    }
    .cb-desk {
        flex: none;
        width: 340px;
        max-width: none;
        height: 392px;
    }
    .cb-sheet {
        width: 118px;
        height: 172px;
        padding: 11px;
    }
    .cb-sheet--1 {
        left: 6px;
    }
    .cb-sheet--2 {
        top: -6px;
        left: 50%;
        margin-left: -59px;
    }
    .cb-sheet--3 {
        right: 6px;
    }
    .cb-sheet__title {
        font-size: 10.5px;
    }
    .cb-sheet__img {
        height: 34px;
        margin-top: 8px;
    }
    .cb-sheet__list {
        gap: 8px;
        margin-top: 10px;
        font-size: 9px;
    }
    .cb-sheet__rules {
        gap: 6px;
        margin-top: 10px;
        font-size: 9px;
    }
    .cb-desk__flow {
        top: 176px;
        width: 100%;
        height: auto;
    }
    .cb-binder {
        width: 250px;
        height: 136px;
        margin-left: -125px;
        padding: 0 18px 0 54px;
    }
    .cb-binder__ring--top {
        top: 30px;
    }
    .cb-binder__ring--bottom {
        bottom: 30px;
    }
    .cb-binder__label {
        padding: 12px 14px;
    }
    .cb-binder__label strong {
        font-size: 16px;
    }
    .cb-binder__label span {
        font-size: 11.5px;
    }
}
@media (max-width: 400px) {
    .cb-desk {
        zoom: 0.88;
    }
}
@media (max-width: 360px) {
    .cb-desk {
        zoom: 0.76;
    }
}
@media (max-width: 480px) {
    .cb-pricelist {
        height: 470px;
    }
    .cb-pricelist__sheet {
        max-width: 92%;
    }
    .cb-pricelist__reply {
        bottom: 0;
        max-width: 80%;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .cb-widget__dot::after {
        animation: none;
    }
    .cb-btn,
    .cb-choices button,
    .cb-demo__langs button,
    .cb-quick-form button {
        transition: none;
    }
}

/* ============================================================
   NICHES (Pravimo ga za vašu delatnost)
   ============================================================ */
.cb-niches-section {
    padding: 0 20px 110px;
}
.cb-niches__head {
    gap: 20px 64px;
}
.cb-niches__head .cb-h2 {
    flex-basis: 520px;
    max-width: 620px;
}
.cb-niches__head .cb-lead {
    flex-basis: 320px;
    max-width: 430px;
}
.cb-niches {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 14px;
    margin-top: 52px;
}
.cb-niche {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 12px 12px 20px;
    border: 1px solid var(--cb-line);
    border-radius: 22px;
    background: #fff;
}
.cb-niche__art {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
    background: var(--cb-blue-soft);
}
.cb-niche h3 {
    /* uvek mesto za 2 reda naslova, da se oblačići sa pitanjem poravnaju u redu */
    min-height: 2.5em;
    margin: 0 8px;
    color: var(--cb-ink);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.25;
}
.cb-niche__q {
    align-self: flex-start;
    margin: 0 8px;
    padding: 10px 13px;
    border-radius: 14px 14px 14px 4px;
    background: #f1f3f9;
    color: #2a2e4a;
    font-size: 14px;
    line-height: 1.45;
}
.cb-niche--yours {
    justify-content: center;
    gap: 10px;
    padding: 22px;
    border: 2px dashed #b8bfdc;
    border-radius: 20px;
    background: transparent;
    color: var(--cb-ink);
    text-decoration: none;
    transition:
        border-color 0.15s ease,
        background-color 0.15s ease;
}
.cb-niche--yours:hover {
    border-color: var(--cb-blue);
    background: #fff;
    color: var(--cb-ink);
}
.cb-niche__plus {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--cb-line);
    border-radius: 14px;
    background: #fff;
    color: var(--cb-blue);
}
.cb-niche__title {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.cb-niche__text {
    color: var(--cb-text);
    font-size: 14px;
    line-height: 1.5;
}
@media (max-width: 760px) {
    .cb-niches-section {
        padding-right: 16px;
        padding-left: 16px;
    }
}
/* Telefon: dve kartice u redu (11 delatnosti + "Vaša delatnost?" = 6 punih redova). */
@media (max-width: 560px) {
    .cb-niches {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-top: 36px;
    }
    .cb-niche {
        gap: 10px;
        padding: 8px 8px 14px;
        border-radius: 18px;
    }
    .cb-niche__art {
        border-radius: 12px;
    }
    .cb-niche h3 {
        margin: 0 4px;
        font-size: 15px;
        overflow-wrap: anywhere;
        hyphens: auto;
    }
    .cb-niche__q {
        margin: 0 4px;
        padding: 8px 10px;
        border-radius: 12px 12px 12px 4px;
        font-size: 12.5px;
        line-height: 1.4;
    }
    .cb-niche--yours {
        padding: 16px 12px;
        border-radius: 18px;
    }
    .cb-niche__plus {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }
    .cb-niche__title {
        font-size: 15px;
    }
    .cb-niche__text {
        font-size: 12.5px;
    }
}

/* ============================================================
   RESEARCH — 3 broja iz istraživanja, sa ilustracijom
   ============================================================ */
.cb-research-section {
    padding: 70px 20px 40px;
}
.cb-research {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 20px;
    margin-top: 56px;
}
.cb-stat {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 12px 12px 22px;
    border: 1px solid var(--cb-line);
    border-radius: 26px;
    background: #fff;
}
.cb-stat__art {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 18px;
    background: var(--cb-blue-soft);
}
.cb-stat__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px 14px 0;
}
.cb-stat__big {
    color: var(--cb-ink);
    font-size: clamp(52px, 5.6vw, 68px);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 0.95;
}
.cb-stat h3 {
    margin: 8px 0 10px;
    color: var(--cb-ink);
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.25;
}
.cb-stat__body > p:not([class]) {
    margin: 0;
    color: var(--cb-text);
    font-size: 15px;
    line-height: 1.6;
}
.cb-stat__src {
    margin: auto 0 0;
    padding-top: 16px;
    color: var(--cb-muted);
    font-size: 12px;
    line-height: 1.5;
}
.cb-stat__src a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.cb-stat__src a:hover {
    color: var(--cb-blue);
}
@media (max-width: 760px) {
    .cb-research-section {
        padding: 56px 16px 32px;
    }
    .cb-research {
        margin-top: 36px;
    }
    .cb-stat {
        border-radius: 22px;
    }
    .cb-stat__body {
        padding: 18px 8px 0;
    }
}

/* CTA ispod istraživanja: demo + "pre konkurencije" */
.cb-research-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px 40px;
    margin-top: 20px;
    padding: 32px 36px;
    border-radius: 28px;
    background: var(--cb-navy);
    color: #fff;
}
.cb-research-cta__copy {
    flex: 1 1 420px;
    min-width: 0;
}
.cb-research-cta h3 {
    margin: 0 0 8px;
    color: #fff;
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.cb-research-cta p {
    max-width: 560px;
    margin: 0;
    color: var(--cb-on-navy);
    font-size: 15.5px;
    line-height: 1.6;
}
.cb-research-cta__btn {
    flex: none;
    background: var(--cb-yellow);
    color: var(--cb-ink);
}
.cb-research-cta__btn:hover,
.cb-research-cta__btn:focus-visible {
    background: #ffd766;
    color: var(--cb-ink);
}
@media (max-width: 760px) {
    .cb-research-cta {
        padding: 26px 20px;
        border-radius: 22px;
    }
    .cb-research-cta__btn {
        width: 100%;
    }
}

/* Demo forma: naglasak "pre konkurencije" */
.cb-demo-cta__copy .cb-demo-cta__badge {
    display: inline-block;
    margin: 0 0 18px;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--cb-yellow);
    color: var(--cb-ink);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}
.cb-demo-cta__first {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 460px;
    margin-top: 26px;
    padding: 16px 20px 16px 16px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
}
.cb-demo-cta__first-icon {
    display: grid;
    flex: none;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--cb-yellow);
    color: var(--cb-ink);
    transform: rotate(-6deg);
}
.cb-demo-cta__first-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.2;
}
.cb-demo-cta__first strong {
    display: block;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.3;
}
.cb-demo-cta__first span:not(.cb-demo-cta__first-icon) {
    display: block;
    margin-top: 3px;
    color: #e3e7ff;
    font-size: 14.5px;
    line-height: 1.5;
}

/* Kartica "Vaša delatnost?": poziv da budu prvi u branši */
.cb-niche__first {
    color: var(--cb-blue);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}
@media (max-width: 560px) {
    .cb-niche__first {
        font-size: 12.5px;
    }
}

/* ============================================================
   Kartica "Javlja se prvi": poruka koja iskače, česta pitanja, dugmad
   ============================================================ */
.cb-proactive {
    position: relative;
    width: 460px;
    max-width: 100%;
    padding-bottom: 112px;
}
.cb-proactive__panel {
    width: 340px;
    max-width: 86%;
    overflow: hidden;
    border: 1px solid rgba(22, 23, 29, 0.08);
    border-radius: 22px;
    background: #fff;
    box-shadow:
        0 1px 2px rgba(16, 24, 40, 0.04),
        0 28px 60px -28px rgba(20, 28, 80, 0.35);
}
/* Boje i logo kao u pravom demou ordinacije Osmeh (agents.studioherc.com/demo) */
.cb-proactive--osmeh {
    --os-primary: #33c9cc;
    --os-heading: #16171d;
    --os-assistant: #eef6f8;
    --os-assistant-text: #0f2a33;
    --os-line: rgba(22, 23, 29, 0.08);
}
.cb-proactive__top {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--os-line);
}
.cb-proactive__logo {
    flex: none;
    border: 1px solid var(--os-line);
    border-radius: 10px;
    background: #fff;
    object-fit: contain;
}
.cb-proactive__logo--lg {
    border-radius: 16px;
}
.cb-proactive__heading {
    flex: 1;
    min-width: 0;
}
.cb-proactive__heading strong {
    display: block;
    overflow: hidden;
    color: var(--os-heading);
    font-size: 12.5px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.cb-proactive__heading span {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
    color: #6f7380;
    font-size: 11px;
}
.cb-proactive__lang {
    color: #6f7380;
    font-size: 11px;
    font-weight: 500;
}
.cb-proactive__welcome {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 16px 16px 6px;
    text-align: center;
}
.cb-proactive__welcome p {
    margin: 0;
    color: var(--os-heading);
    font-size: 12.5px;
    line-height: 1.5;
}
.cb-proactive__langs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
}
.cb-proactive__langs span {
    padding: 3px 9px;
    border: 1px solid var(--os-line);
    border-radius: 999px;
    color: #6f7380;
    font-size: 10.5px;
}
.cb-proactive__langs .is-on {
    border-color: var(--os-heading);
    color: var(--os-heading);
    font-weight: 600;
}
.cb-proactive__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 6px 14px 0;
    padding: 8px 12px;
    border: 1px solid var(--os-line);
    border-radius: 12px;
    color: var(--os-heading);
    font-size: 12.5px;
}
.cb-proactive svg {
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.cb-proactive__q svg {
    width: 13px;
    height: 13px;
    color: #a3a7b3;
    stroke-width: 1.8;
}
.cb-proactive__compose {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px;
    padding: 4px 4px 4px 14px;
    border: 1px solid var(--os-line);
    border-radius: 999px;
    box-shadow: 0 8px 24px -12px rgba(16, 24, 40, 0.12);
}
.cb-proactive__compose span {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    color: #a3a7b3;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.cb-proactive__compose i {
    display: grid;
    flex: none;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--os-primary);
    color: #fff;
}
.cb-proactive__compose svg {
    width: 14px;
    height: 14px;
    stroke-width: 2.2;
}
.cb-proactive__tag {
    position: absolute;
    bottom: 12px;
    left: 0;
    max-width: calc(100% - 70px);
    color: var(--cb-muted);
    font-size: 12px;
    font-weight: 600;
}
.cb-proactive__teaser {
    position: absolute;
    right: 62px;
    bottom: 40px;
    max-width: 220px;
    border-left: 3px solid var(--os-primary, var(--cb-blue));
    padding: 12px 30px 12px 14px;
    border-radius: 16px 16px 4px 16px;
    background: #fff;
    color: var(--cb-ink);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    box-shadow:
        0 1px 2px rgba(16, 24, 40, 0.06),
        0 18px 40px -18px rgba(20, 28, 80, 0.45);
    animation: cb-pop 4s ease-in-out infinite;
}
.cb-proactive__close {
    position: absolute;
    top: 6px;
    right: 10px;
    color: #a3a7b3;
    font-size: 15px;
    font-weight: 400;
}
.cb-proactive__launcher {
    position: absolute;
    right: 0;
    bottom: 0;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--os-primary, var(--cb-blue));
    color: #fff;
    box-shadow: 0 14px 30px -10px rgba(51, 201, 204, 0.8);
}
.cb-proactive__launcher svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}
.cb-proactive__badge {
    position: absolute;
    top: -2px;
    right: -2px;
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border: 2px solid var(--cb-panel);
    border-radius: 50%;
    background: #e5484d;
    font-size: 10.5px;
    font-weight: 700;
}
.cb-proactive__note {
    position: absolute;
    top: 6px;
    right: -4px;
    color: var(--cb-orange);
    font-family: var(--cb-hand);
    font-size: 23px;
    line-height: 1.05;
    text-align: right;
    transform: rotate(5deg);
}
@keyframes cb-pop {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

/* Ocene odgovora u svesci */
.cb-notebook__ratings {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}
.cb-notebook__ratings span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
}
.cb-notebook__ratings svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}
.cb-notebook__ratings .is-up {
    background: #e3f5ea;
    color: #1a7f45;
}
.cb-notebook__ratings .is-down {
    background: #fde8e8;
    color: #c4302b;
}
.cb-notebook__ratings .is-down svg {
    transform: rotate(180deg);
}

@media (max-width: 760px) {
    .cb-proactive__note {
        display: none;
    }
}
@media (max-width: 560px) {
    .cb-trust__list {
        grid-template-columns: 1fr;
    }
    .cb-proactive__panel {
        max-width: 100%;
    }
    .cb-proactive {
        padding-bottom: 128px;
    }
    .cb-proactive__teaser {
        bottom: 50px;
        max-width: 190px;
    }
    .cb-proactive__tag {
        position: static;
        max-width: none;
        margin-top: 12px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .cb-proactive__teaser {
        animation: none;
    }
}

/* ============================================================
   BRAND — interaktivni pregled chata u bojama firme
   ============================================================ */
.cb-brand-section {
    padding: 0 20px 110px;
}
.cb-brand {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 52px;
}
.cb-brand__controls {
    display: flex;
    flex: 1 1 300px;
    flex-direction: column;
    gap: 26px;
    min-width: 0;
    padding: 30px 28px;
    border: 1px solid var(--cb-line);
    border-radius: 28px;
    background: #fff;
}
.cb-brand__group {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}
.cb-brand__group legend {
    float: none;
    width: auto;
    margin: 0 0 12px;
    padding: 0;
    color: var(--cb-muted);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.cb-brand__firms {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.cb-brand__firms button,
.cb-brand__seg button {
    padding: 9px 15px;
    border: 1px solid var(--cb-line);
    border-radius: 999px;
    background: #fff;
    color: var(--cb-ink);
    font: 600 14px/1.2 var(--chat-display);
    cursor: pointer;
    transition:
        background-color 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease;
}
.cb-brand__firms button:hover,
.cb-brand__seg button:hover {
    border-color: var(--cb-ink);
}
.cb-brand__firms button[aria-pressed="true"],
.cb-brand__seg button[aria-pressed="true"] {
    border-color: var(--cb-ink);
    background: var(--cb-ink);
    color: #fff;
}
.cb-brand__swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.cb-brand__swatches button,
.cb-brand__custom {
    position: relative;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--sw);
    cursor: pointer;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
    transition: transform 0.15s ease;
}
.cb-brand__swatches button:hover {
    transform: scale(1.08);
}
.cb-brand__swatches button[aria-pressed="true"] {
    box-shadow:
        0 0 0 3px #fff,
        0 0 0 5px var(--cb-ink);
}
.cb-brand__custom {
    display: grid;
    place-items: center;
    overflow: hidden;
    background: conic-gradient(
        #f43f5e,
        #f59e0b,
        #22c55e,
        #06b6d4,
        #6366f1,
        #d946ef,
        #f43f5e
    );
}
.cb-brand__custom input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
.cb-brand__custom span {
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    color: var(--cb-ink);
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
}
.cb-brand__seg {
    display: inline-flex;
    gap: 6px;
}
.cb-brand__note {
    margin: auto 0 0;
    padding-top: 6px;
    color: var(--cb-muted);
    font-size: 13.5px;
    line-height: 1.55;
}

/* Pregled */
.cb-brand__preview {
    --pv: #33c9cc;
    --pv-text: #fff;
    --pv-soft: #eef6f8;
    --pv-tint: #d6f4f5;
    position: relative;
    flex: 1 1 560px;
    min-width: 0;
    min-height: 560px;
    overflow: hidden;
    border: 1px solid var(--cb-line);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 40px 60px -48px rgba(20, 28, 80, 0.5);
}
.cb-brand__site {
    padding: 22px 26px;
}
.cb-brand__nav {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--cb-ink);
    font-size: 14px;
}
.cb-brand__mark {
    display: grid;
    flex: none;
    place-items: center;
    width: 32px;
    height: 32px;
    overflow: hidden;
    border-radius: 10px;
    background: var(--pv);
    color: var(--pv-text);
    font-family: var(--cb-mono);
    font-size: 11px;
    font-weight: 500;
    transition: background-color 0.25s ease;
}
.cb-brand__mark.has-logo {
    border: 1px solid rgba(22, 23, 29, 0.08);
    background: #fff;
}
.cb-brand__mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.cb-brand__hero {
    max-width: 320px;
    margin-top: 34px;
}
.cb-brand__title {
    color: var(--cb-ink);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
}
.cb-brand__cta {
    display: inline-block;
    margin-top: 18px;
    padding: 9px 18px;
    border-radius: 999px;
    background: var(--pv);
    color: var(--pv-text);
    font-size: 13px;
    font-weight: 600;
    transition: background-color 0.25s ease;
}
.cb-brand__img {
    max-width: 300px;
    height: 120px;
    margin-top: 24px;
    border-radius: 14px;
    background-color: var(--pv-soft);
    background-image: repeating-linear-gradient(
        135deg,
        var(--pv-tint) 0 2px,
        transparent 2px 12px
    );
    transition: background-color 0.25s ease;
}
.cb-brand__chat {
    position: absolute;
    right: 20px;
    bottom: 88px;
    width: 300px;
    max-width: calc(100% - 40px);
    overflow: hidden;
    border: 1px solid rgba(22, 23, 29, 0.08);
    border-radius: 22px;
    background: #fff;
    box-shadow:
        0 1px 2px rgba(16, 24, 40, 0.04),
        0 30px 60px -24px rgba(20, 28, 80, 0.45);
    transition:
        left 0.3s ease,
        right 0.3s ease;
}
.cb-brand__launcher {
    position: absolute;
    right: 20px;
    bottom: 20px;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--pv);
    color: var(--pv-text);
    box-shadow: 0 14px 30px -12px rgba(16, 24, 40, 0.55);
    transition: background-color 0.25s ease;
}
.cb-brand__preview[data-side="left"] .cb-brand__chat,
.cb-brand__preview[data-side="left"] .cb-brand__launcher {
    right: auto;
    left: 20px;
}
/* Kad je chat levo, sadržaj sajta se pomeri udesno da se vidi */
@media (min-width: 761px) {
    .cb-brand__hero,
    .cb-brand__img {
        transition: margin 0.3s ease;
    }
    .cb-brand__preview[data-side="left"] .cb-brand__hero,
    .cb-brand__preview[data-side="left"] .cb-brand__img {
        margin-left: auto;
    }
}
.cb-brand__launcher svg,
.cb-brand__compose svg,
.cb-brand__q svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.cb-brand__launcher svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}
.cb-brand__chat-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(22, 23, 29, 0.08);
}
.cb-brand__chat-head strong {
    display: block;
    color: var(--cb-ink);
    font-size: 12.5px;
    font-weight: 600;
}
.cb-brand__chat-head div > span {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
    color: #6f7380;
    font-size: 11px;
}
.cb-brand__chat-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px;
}
.cb-brand__greet {
    margin: 0 0 6px;
    padding: 10px 12px;
    border-radius: 6px 16px 16px 16px;
    background: var(--pv-soft);
    color: var(--cb-ink);
    font-size: 12.5px;
    line-height: 1.5;
    transition: background-color 0.25s ease;
}
.cb-brand__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 12px;
    border: 1px solid rgba(22, 23, 29, 0.09);
    border-radius: 12px;
    color: var(--cb-ink);
    font-size: 12.5px;
}
.cb-brand__q svg {
    flex: none;
    width: 13px;
    height: 13px;
    color: #a3a7b3;
    stroke-width: 1.8;
}
.cb-brand__compose {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 4px 4px 4px 14px;
    border: 1px solid rgba(22, 23, 29, 0.08);
    border-radius: 999px;
}
.cb-brand__compose span {
    flex: 1;
    color: #a3a7b3;
    font-size: 12px;
}
.cb-brand__compose i {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--pv);
    color: var(--pv-text);
    transition: background-color 0.25s ease;
}
.cb-brand__compose svg {
    width: 14px;
    height: 14px;
    stroke-width: 2.2;
}
@media (max-width: 760px) {
    .cb-brand-section {
        padding: 0 16px 80px;
    }
    .cb-brand {
        margin-top: 36px;
    }
    .cb-brand__controls {
        padding: 24px 20px;
        border-radius: 22px;
    }
    .cb-brand__preview {
        min-height: 620px;
        border-radius: 22px;
    }
    .cb-brand__site {
        padding: 18px;
    }
    .cb-brand__img {
        display: none;
    }
}
@media (prefers-reduced-motion: reduce) {
    .cb-brand__chat,
    .cb-brand__mark,
    .cb-brand__cta,
    .cb-brand__img,
    .cb-brand__launcher,
    .cb-brand__greet,
    .cb-brand__compose i {
        transition: none;
    }
}

/* Popup posle uspešno poslate forme */
.cb-success {
    width: min(440px, calc(100% - 32px));
    padding: 36px 32px 30px;
    border: 0;
    border-radius: 28px;
    background: #fff;
    color: var(--cb-ink);
    text-align: center;
    box-shadow: 0 40px 90px -30px rgba(20, 28, 80, 0.55);
}
.cb-success[open] {
    animation: cb-success-in 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.cb-success::backdrop {
    background: rgba(18, 21, 43, 0.55);
    backdrop-filter: blur(3px);
}
.cb-success__icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #e3f5ea;
    color: #1a7f45;
}
.cb-success__icon svg {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.6;
}
.cb-success h2 {
    margin: 0 0 10px;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.cb-success p {
    margin: 0;
    color: var(--cb-text);
    font-size: 16px;
    line-height: 1.6;
}
.cb-success .cb-success__note {
    margin-top: 12px;
    color: var(--cb-muted);
    font-size: 14px;
}
.cb-success form {
    margin-top: 24px;
}
.cb-success .cb-btn {
    width: 100%;
}
@keyframes cb-success-in {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
@media (prefers-reduced-motion: reduce) {
    .cb-success[open] {
        animation: none;
    }
}
.cb-success .cb-btn:focus-visible {
    outline: 3px solid #8f9bff;
    outline-offset: 3px;
}
