/* =============================================
   Kliento / FbAds theme layer

   Loaded by Views/Kliento/_Layout.cshtml and Views/FbAds/_FbAdsLayout.cshtml only.
   Everything below the token block is scoped to body.kliento-page, so /fbads inherits
   nothing from this sheet except the handful of unqualified button rules directly below
   (the class intersection between fbads markup and this sheet is empty).

   Chrome 74 (Datecs BlueCash-50) is the floor: no :is()/:where(), color-mix(), @layer or
   logical properties.
   ============================================= */

a:hover,
.btn:hover {
    color: var(--kl-accent);
}

/* The theme reserves a 1px transparent border across the whole button family
   (style.2.07.css:6683-6697) so a variant swap cannot resize the box. These rules keep that
   reservation intact through the interactions the theme does not restate. */
.btn-dark {
    border: 1px solid transparent;
}

.btn-thm:hover {
    border: 1px solid transparent;
}

.btn-white:hover,
.btn-white2:hover {
    border: 1px solid transparent;
}

.btn-light-gray:hover,
.btn-transparent:hover {
    border: 1px solid transparent;
}

/* .menu-btn is outside the theme's brand family, so its hover is still the retired coral
   (style.2.07.css:7005-7008) unless overridden here. */
.menu-btn:hover {
    background: var(--kl-btn-gradient-interaction);
    border: 1px solid #ffffff;
}

/* =============================================
   Kliento landing — design tokens

   Declared on body.kliento-page rather than :root: a custom property resolves at the nearest
   declaring ancestor, so these win for the whole Kliento subtree by inheritance — no
   specificity contest, no load-order dependency — while the five admin/POS/dashboard/login
   layouts that share style.2.07.css keep the theme defaults.

   --kl-accent, --kl-accent-strong, --kl-accent-rgb, --kl-btn-gradient,
   --kl-btn-gradient-interaction and --kl-btn-gradient-wash are inherited from
   style.2.07.css:66-74 and are ALREADY the fbads values. They are deliberately not redeclared.
   ============================================= */
body.kliento-page {
    --title-font-family: 'Geist','Inter',-apple-system,BlinkMacSystemFont,'Segoe UI','Helvetica Neue',Arial,sans-serif;
    --body-font-family: 'Geist','Inter',-apple-system,BlinkMacSystemFont,'Segoe UI','Helvetica Neue',Arial,sans-serif;
    /* The theme paints both headings AND <p> from --headings-color. Retuning it here moves both
       onto the fbads near-black at the theme's own specificity, so .text-white / .text-gray in
       the footer still win by source order. An element-level heading colour rule would not. */
    --headings-color: #0F0C1E;
    --kl-surface: #FFFFFF;
    --kl-surface-alt: #FAFAF7;
    --kl-surface-sunken: #F4F2EC;
    --kl-text-heading: #0F0C1E;
    --kl-text-body: #29253A;
    --kl-text-muted: #6B6680;
    --kl-text-subtle: #9A95AC;
    --kl-hairline: rgba(15,12,30,0.06);
    --kl-border: rgba(15,12,30,0.10);
    --kl-tint-wash: rgba(139,92,246,0.04);
    --kl-tint-soft: rgba(139,92,246,0.08);
    --kl-radius-sm: 6px;
    --kl-radius-md: 12px;
    --kl-radius-lg: 16px;
    --kl-radius-xl: 24px;
    --kl-radius-full: 9999px;
    --kl-shadow-sm: 0 1px 2px rgba(15,12,30,.04), 0 2px 6px rgba(15,12,30,.04);
    --kl-shadow-md: 0 4px 12px rgba(15,12,30,.06), 0 12px 32px rgba(15,12,30,.06);
    --kl-shadow-lg: 0 12px 24px rgba(15,12,30,.08), 0 24px 64px rgba(15,12,30,.08);
    --kl-dur-base: 250ms;
    --kl-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ===== Kliento landing — base typography ===== */
/* Theme base is 14px/26px. The .fzNN utilities carry per-element author intent and are left
   alone; only the base moves. */
body.kliento-page {
    font-size: 16px;
    line-height: 1.5;
    color: var(--kl-text-body);
}

/* font-weight is set on h1-h3 only: no Kliento view puts an .fwNNN utility on h1-h3, but 66
   h4-h6 elements carry one and that intent is preserved. */
body.kliento-page h1,
body.kliento-page h2,
body.kliento-page h3,
body.kliento-page h4,
body.kliento-page h5,
body.kliento-page h6 {
    line-height: 1.2;
    letter-spacing: -0.01em;
}

body.kliento-page h1,
body.kliento-page h2,
body.kliento-page h3 {
    font-weight: 700;
}

/* .text-thm resolves to --kl-accent, which is 3.6:1 on --kl-surface-alt and fails AA. */
body.kliento-page .text-thm {
    color: var(--kl-accent-strong);
}

body.kliento-page .bgc-f7 {
    background-color: var(--kl-surface-alt);
}

/* Replaces the inline style="font-size:14px !important; font-weight:normal" on 71 <li>
   elements. The !important is load-bearing: those <li>s carry mb10-family utilities from
   ud-custom-spacing.css, which is 96KB of !important. */
body.kliento-page .kl-li-sm {
    font-size: 14px !important;
    font-weight: 400;
}

/* --- Kliento header: ensure menu stays above hero content --- */
/* Left unscoped at their original specificity: the theme's
   header.nav-homepage-style.stricky.stricky-fixed rules must keep winning on scroll. */
.header-nav.main-menu {
    z-index: 9999;
}

/* --- Kliento menu overrides: wider dropdowns for longer translations --- */
header.nav-homepage-style .ace-responsive-menu .sub-menu {
    width: 420px;
}

header.nav-homepage-style .ace-responsive-menu .sub-menu li {
    width: 420px;
}

header.nav-homepage-style .ace-responsive-menu .sub-menu a {
    line-height: normal;
    padding: 10px 0;
    white-space: normal;
    font-weight: normal !important;
}

header.nav-homepage-style .ace-responsive-menu a {
    color: var(--kl-text-body);
    text-transform: none;
}

header.nav-homepage-style .ace-responsive-menu .megamenu_style .mega_menu_list {
    width: 50%;
}

header.nav-homepage-style .ace-responsive-menu .megamenu_style:hover .dropdown-megamenu {
    max-width: 700px;
}

/* ===== Kliento landing — hero ===== */
/* 60vh is the default because 23 of the 24 hero pages want it; /Kliento opts back up to full
   height with .hero-section-full. */
body.kliento-page .hero-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

body.kliento-page .hero-section.hero-section-full {
    min-height: 100vh;
}

body.kliento-page .hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--kl-btn-gradient-wash);
    -webkit-mask-image: linear-gradient(to bottom, black 30%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 30%, transparent 100%);
    z-index: -1;
    height: 460px;
}

body.kliento-page .hero-title {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--kl-text-heading);
}

@media (min-width: 1024px) {
    body.kliento-page .hero-title {
        font-size: 2.75rem;
    }
}

body.kliento-page .hero-text {
    font-size: 1.125rem;
    line-height: 1.5;
    color: var(--kl-text-muted);
    max-width: 560px;
}

body.kliento-page .header-line {
    background-image: var(--kl-btn-gradient);
    height: 3px;
    display: block;
    width: 56px;
    border-radius: var(--kl-radius-full);
    margin-bottom: 20px;
}

/* ===== Kliento landing — shared page components (promoted from view <style> blocks) ===== */
/* Where a selector existed both here and in a view <style> block, the view definition is the
   one that was rendering (view blocks sit in the body and win on source order), so its
   geometry is the survivor and this sheet's Index-era copy is dropped. Every such Index usage
   is inside the commented-out region at Index.cshtml:1312-1841 and paints nothing today. */

body.kliento-page .sys-diagram {
    text-align: center;
    padding: 40px 0;
}

body.kliento-page .sys-center {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-image: var(--kl-btn-gradient);
    color: #FFFFFF;
    padding: 20px 40px;
    border-radius: var(--kl-radius-lg);
    font-size: 20px;
    font-weight: 700;
    box-shadow: 0 8px 32px rgba(var(--kl-accent-rgb), 0.3);
}

body.kliento-page .sys-center i {
    font-size: 28px;
}

/* Connectors are structure, not brand. */
body.kliento-page .sys-arrows {
    padding: 16px 0;
    color: var(--kl-text-subtle);
    font-size: 18px;
}

body.kliento-page .sys-arrows i {
    font-size: 20px;
    color: var(--kl-text-subtle);
    opacity: 1;
    animation: sys-pulse 2s ease-in-out infinite;
}

body.kliento-page .sys-arrows i:nth-child(2) {
    animation-delay: 0.3s;
}

body.kliento-page .sys-arrows i:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes sys-pulse {
    0%, 100% {
        opacity: 0.3;
        transform: translateY(0);
    }

    50% {
        opacity: 0.8;
        transform: translateY(4px);
    }
}

body.kliento-page .sys-channels {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 8px;
}

body.kliento-page .sys-channel {
    background: var(--kl-surface);
    border: 1px solid var(--kl-hairline);
    border-radius: var(--kl-radius-lg);
    box-shadow: var(--kl-shadow-sm);
    padding: 16px 24px;
    text-align: center;
    min-width: 120px;
    transition: border-color var(--kl-dur-base) var(--kl-ease-out), transform var(--kl-dur-base) var(--kl-ease-out), box-shadow var(--kl-dur-base) var(--kl-ease-out);
}

body.kliento-page .sys-channel:hover {
    border-color: var(--kl-accent);
    transform: translateY(-2px);
    box-shadow: var(--kl-shadow-md);
}

body.kliento-page .sys-channel i {
    display: block;
    font-size: 24px;
    color: var(--kl-accent);
    margin-bottom: 8px;
}

body.kliento-page .sys-channel span {
    font-size: 14px;
    font-weight: 600;
    color: var(--kl-text-body);
}

body.kliento-page .sys-caption {
    margin-top: 24px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--kl-text-muted);
}

body.kliento-page .story-section {
    padding: 60px 0;
}

body.kliento-page .story-section:nth-child(even) {
    background: var(--kl-surface-alt);
}

body.kliento-page .story-block {
    padding: 48px 0;
}

body.kliento-page .story-block + .story-block {
    border-top: 1px solid var(--kl-hairline);
}

body.kliento-page .story-block-text h3 {
    font-size: 26px;
    font-weight: 700;
    color: var(--kl-text-heading);
    margin-bottom: 16px;
}

body.kliento-page .story-block-text p,
body.kliento-page .story-block-text li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--kl-text-muted);
}

body.kliento-page .story-block-text ul {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
}

body.kliento-page .story-block-text ul li {
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Higher specificity than the pair above, exactly as in the view blocks these came from. */
body.kliento-page .story-section .story-block-text h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--kl-text-heading);
}

body.kliento-page .story-section .story-block-text p {
    font-size: 15px;
    color: var(--kl-text-muted);
    line-height: 1.7;
}

body.kliento-page .story-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
    background-image: var(--kl-btn-gradient);
}

body.kliento-page .mini-flow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 30px 0;
}

body.kliento-page .mini-flow-node {
    background: var(--kl-surface);
    border: 1px solid var(--kl-hairline);
    border-radius: var(--kl-radius-lg);
    box-shadow: var(--kl-shadow-sm);
    padding: 16px 20px;
    text-align: center;
    min-width: 90px;
    transition: border-color var(--kl-dur-base) var(--kl-ease-out), transform var(--kl-dur-base) var(--kl-ease-out), box-shadow var(--kl-dur-base) var(--kl-ease-out);
}

body.kliento-page .mini-flow-node:hover {
    border-color: var(--kl-accent);
    transform: translateY(-2px);
    box-shadow: var(--kl-shadow-md);
}

body.kliento-page .mini-flow-node i {
    display: block;
    font-size: 22px;
    color: var(--kl-accent);
    margin-bottom: 6px;
}

body.kliento-page .mini-flow-node span {
    font-size: 13px;
    font-weight: 600;
    color: var(--kl-text-body);
}

body.kliento-page .mini-flow-node.mini-flow-start,
body.kliento-page .mini-flow-start {
    background-image: var(--kl-btn-gradient);
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(var(--kl-accent-rgb), 0.25);
}

body.kliento-page .mini-flow-node.mini-flow-start i,
body.kliento-page .mini-flow-node.mini-flow-start span,
body.kliento-page .mini-flow-start i,
body.kliento-page .mini-flow-start span {
    color: #FFFFFF;
}

body.kliento-page .mini-flow-arrow {
    color: var(--kl-text-subtle);
    font-size: 18px;
    opacity: 1;
}

body.kliento-page .why-cta-box {
    background: rgba(255,255,255,0.72);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid var(--kl-hairline);
    border-radius: var(--kl-radius-xl);
    box-shadow: var(--kl-shadow-md);
    padding: 40px;
}

body.kliento-page .highlight-box {
    background: rgba(255,255,255,0.72);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid var(--kl-hairline);
    border-radius: var(--kl-radius-xl);
    box-shadow: var(--kl-shadow-md);
}

body.kliento-page .why-common-row {
    border-top: 2px solid rgba(var(--kl-accent-rgb), 0.12);
    padding-top: 40px;
    margin-top: 20px;
}

body.kliento-page .why-common-card {
    text-align: center;
    padding: 20px 16px;
}

body.kliento-page .why-common-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 12px;
    background: rgba(var(--kl-accent-rgb), 0.08);
    color: var(--kl-accent-strong);
}

/* ===== Kliento landing — module grid ===== */
body.kliento-page .module-card {
    background-color: var(--kl-surface);
    border: 1px solid var(--kl-hairline);
    border-radius: var(--kl-radius-lg);
    box-shadow: var(--kl-shadow-sm);
    margin-bottom: 30px;
    padding: 30px;
    position: relative;
    height: 100%;
    transition: border-color var(--kl-dur-base) var(--kl-ease-out), transform var(--kl-dur-base) var(--kl-ease-out), box-shadow var(--kl-dur-base) var(--kl-ease-out);
}

body.kliento-page .module-card:hover {
    border-color: var(--kl-accent);
    transform: translateY(-2px);
    box-shadow: var(--kl-shadow-md);
}

body.kliento-page .module-card p {
    color: var(--kl-text-muted);
}

body.kliento-page .module-card ul {
    padding-left: 20px;
}

body.kliento-page .module-card li {
    align-items: center;
    display: flex;
    list-style-type: none;
    font-size: 12px;
}

body.kliento-page .module-card li > i {
    border-radius: 50%;
    font-size: 8px;
    height: 14px;
    left: 0;
    line-height: 16px;
    position: absolute;
    text-align: center;
    width: 14px;
    background-color: var(--headings-color);
    color: #FFFFFF;
}

/* Gradient ring: an opaque inner layer clipped to the padding box over the brand gradient
   clipped to the border box, with a 1.5px transparent border supplying the ring. Same
   technique as style.2.07.css:6776-6790, which is the Chrome 74-safe form (the `background:
   … padding-box, … border-box` shorthand is not usable in background-image). Renders as a
   block <i>, so line-height carries the vertical centring. */
body.kliento-page .module-card-icon {
    background-color: transparent;
    background-image: linear-gradient(var(--kl-surface), var(--kl-surface)), var(--kl-btn-gradient);
    background-origin: padding-box, border-box;
    background-clip: padding-box, border-box;
    border: 1.5px solid transparent;
    border-radius: 50%;
    color: var(--kl-accent-strong);
    display: block;
    font-size: 20px;
    height: 48px;
    line-height: 45px;
    margin-bottom: 24px;
    text-align: center;
    width: 48px;
    transition: color var(--kl-dur-base) var(--kl-ease-out);
}

body.kliento-page .module-card.text-center .module-card-icon {
    margin-left: auto;
    margin-right: auto;
}

/* ===== Kliento landing — onboarding timeline ===== */
body.kliento-page .onboarding-timeline {
    position: relative;
}

body.kliento-page .onboarding-card {
    background: var(--kl-surface);
    border: 1px solid var(--kl-hairline);
    border-radius: var(--kl-radius-lg);
    box-shadow: var(--kl-shadow-sm);
    padding: 32px 20px 24px;
    text-align: center;
    transition: border-color var(--kl-dur-base) var(--kl-ease-out), transform var(--kl-dur-base) var(--kl-ease-out), box-shadow var(--kl-dur-base) var(--kl-ease-out);
    height: 100%;
    position: relative;
    z-index: 1;
}

body.kliento-page .onboarding-card:hover {
    border-color: var(--kl-accent);
    transform: translateY(-2px);
    box-shadow: var(--kl-shadow-md);
}

body.kliento-page .onboarding-step-number {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    color: var(--kl-text-body);
    font-size: 30px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.28);
    z-index: 2;
}

body.kliento-page .onboarding-list {
    position: relative;
    padding-left: 20px;
    text-align: left;
}

body.kliento-page .onboarding-list li {
    align-items: baseline;
    display: flex;
    list-style-type: none;
    font-size: 12px;
    line-height: normal;
    margin-bottom: 10px;
}

body.kliento-page .onboarding-list li > i {
    border-radius: 50%;
    font-size: 8px;
    height: 14px;
    left: 0;
    line-height: 16px;
    position: absolute;
    text-align: center;
    width: 14px;
    background-color: var(--headings-color);
    color: #FFFFFF;
}

body.kliento-page .onboarding-final-message {
    display: inline-block;
    background-image: var(--kl-btn-gradient);
    border-radius: var(--kl-radius-full);
    padding: 14px 36px;
    font-size: 17px;
    font-weight: 600;
    color: #FFFFFF;
}

/* ===== Kliento landing — venue selector and key benefits ===== */
body.kliento-page .venue-selector-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

body.kliento-page .venue-type-card {
    background: var(--kl-surface);
    border: 1px solid var(--kl-hairline);
    border-radius: var(--kl-radius-lg);
    box-shadow: var(--kl-shadow-sm);
    padding: 32px 20px;
    text-align: center;
    cursor: pointer;
    transition: border-color var(--kl-dur-base) var(--kl-ease-out), transform var(--kl-dur-base) var(--kl-ease-out), box-shadow var(--kl-dur-base) var(--kl-ease-out);
}

body.kliento-page .venue-type-card:hover {
    border-color: var(--kl-accent);
    transform: translateY(-2px);
    box-shadow: var(--kl-shadow-md);
}

body.kliento-page .venue-type-card.active {
    border-color: var(--kl-accent);
    box-shadow: 0 8px 24px rgba(var(--kl-accent-rgb), 0.15);
    background: rgba(var(--kl-accent-rgb), 0.03);
}

body.kliento-page .venue-type-card i {
    font-size: 36px;
    color: var(--kl-accent-strong);
    display: block;
    margin-bottom: 10px;
}

body.kliento-page .venue-type-card span {
    font-size: 16px;
    font-weight: 600;
    color: var(--kl-text-body);
}

body.kliento-page .key-benefit {
    text-align: center;
    padding: 0 20px;
}

body.kliento-page .key-benefit-check {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    background-image: var(--kl-btn-gradient);
    color: #FFFFFF;
    margin-bottom: 20px;
}

body.kliento-page .key-benefit h5 {
    font-size: 20px;
    font-weight: 700;
    color: var(--kl-text-heading);
    margin-bottom: 10px;
}

body.kliento-page .key-benefit p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--kl-text-muted);
    max-width: 320px;
    margin: 0 auto;
}

/* ===== Kliento landing — digital brain and operation tags ===== */
body.kliento-page .brain-col {
    background: var(--kl-surface);
    border: 1px solid var(--kl-hairline);
    border-radius: var(--kl-radius-lg);
    box-shadow: var(--kl-shadow-sm);
    transition: border-color var(--kl-dur-base) var(--kl-ease-out), transform var(--kl-dur-base) var(--kl-ease-out), box-shadow var(--kl-dur-base) var(--kl-ease-out);
}

body.kliento-page .brain-col:hover {
    border-color: var(--kl-accent);
    transform: translateY(-2px);
    box-shadow: var(--kl-shadow-md);
}

body.kliento-page .brain-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 12px;
    background-color: rgba(var(--kl-accent-rgb), 0.07);
    color: var(--kl-accent);
}

body.kliento-page .operation-tag {
    background-image: var(--kl-btn-gradient);
    color: #FFFFFF;
    box-shadow: 0px 1px 4px rgba(15, 12, 30, 0.07);
    padding: 10px;
    border-radius: var(--kl-radius-md);
    font-weight: 600;
    font-size: 12px;
}

/* ===== Kliento landing — shared responsive ===== */
@media (max-width: 767px) {
    body.kliento-page .venue-type-card {
        padding: 20px 14px;
    }

    body.kliento-page .venue-type-card i {
        font-size: 28px;
    }

    body.kliento-page .venue-type-card span {
        font-size: 14px;
    }

    body.kliento-page .sys-channel {
        min-width: 100px;
        padding: 12px 14px;
    }

    body.kliento-page .mini-flow-node {
        min-width: 70px;
        padding: 10px 12px;
    }

    body.kliento-page .mini-flow-node i {
        font-size: 18px;
    }

    body.kliento-page .mini-flow-node span {
        font-size: 11px;
    }

    body.kliento-page .why-cta-box {
        padding: 24px 20px;
    }
}

/* ===== Kliento landing — hero flow diagram (rectangular circuit) =====
   Index.cshtml:103-330 is an animation engine that measures 11 of these selectors with
   getBoundingClientRect() and writes back --half-ch and inline paddings. Colour, shadow and
   radius only below — no width, height, min-*, padding, gap, font-size, line-height, flex-*,
   grid-* or --half-ch may move. */
body.kliento-page .rflow {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto 20px auto;
    max-width: 580px;
    margin: 0 auto;
    --half-ch: 24px;
    position: relative;
    pointer-events: none;
}

/* Col 1: Customers card with fan-out + vertical connector to return line */
body.kliento-page .rflow-customers-col {
    grid-column: 1;
    grid-row: 1 / 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-right: 10px;
}

body.kliento-page .rflow-customers-spacer {
    flex-grow: 1;
}

body.kliento-page .rflow-customers {
    flex-shrink: 0;
    background: var(--kl-surface);
    border-radius: var(--kl-radius-sm);
    padding: 7px 6px;
    text-align: center;
    box-shadow: 0 5px 10px rgba(15,12,30,0.4);
    font-size: 11px;
    font-weight: 600;
    color: var(--kl-text-muted);
    position: relative;
    z-index: 6;
}

body.kliento-page .rflow-customers::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    width: 10px;
    height: 1px;
    background: #EC4899;
    transform: translateY(-1px);
}

body.kliento-page .rflow-customers i {
    font-size: 16px;
    color: var(--kl-accent);
    display: block;
    margin-bottom: 2px;
}

body.kliento-page .rflow-customers-vconn {
    flex-grow: 1;
    min-height: 10px;
    width: 1px;
    background: #EC4899;
}

/* Col 2: channel rows with left+right wires + merge bus */
body.kliento-page .rflow-rows {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

body.kliento-page .rflow-rows::before {
    content: '';
    position: absolute;
    left: 0;
    top: var(--half-ch);
    bottom: var(--half-ch);
    width: 1px;
    background: #EC4899;
}

body.kliento-page .rflow-rows::after {
    content: '';
    position: absolute;
    right: 0;
    top: var(--half-ch);
    bottom: var(--half-ch);
    width: 1px;
    background: #EC4899;
}

body.kliento-page .rflow-row {
    display: flex;
    align-items: center;
}

body.kliento-page .rflow-wire-left {
    flex-shrink: 0;
    width: 24px;
    height: 1px;
    background: #EC4899;
    position: relative;
    overflow: hidden;
}

body.kliento-page .rflow-ch {
    flex-shrink: 0;
    width: 95px;
    background: var(--kl-surface);
    border-radius: var(--kl-radius-sm);
    padding: 6px 5px;
    text-align: center;
    box-shadow: 0 5px 10px rgba(15,12,30,0.4);
    font-size: 9px;
    font-weight: 600;
    color: var(--kl-text-muted);
    line-height: 1.25;
    z-index: 6;
}

body.kliento-page .rflow-ch i {
    font-size: 16px;
    color: var(--kl-accent);
    display: block;
    margin-bottom: 2px;
}

body.kliento-page .rflow-wire {
    flex-grow: 1;
    min-width: 10px;
    height: 1px;
    background: #EC4899;
    position: relative;
    overflow: hidden;
}

/* Col 3: CRM -> Marketing hubs (horizontal layout) */
body.kliento-page .rflow-hubs {
    grid-column: 3;
    grid-row: 1 / 3;
    display: flex;
    align-items: stretch;
    padding-left: 10px;
    gap: 0;
}

body.kliento-page .rflow-crm-col {
    display: flex;
    align-items: center;
}

body.kliento-page .rflow-crm {
    background: var(--kl-surface);
    border-radius: var(--kl-radius-sm);
    padding: 7px 6px;
    text-align: center;
    box-shadow: 0 5px 10px rgba(15,12,30,0.4);
    font-size: 11px;
    font-weight: 600;
    color: var(--kl-text-muted);
    position: relative;
    z-index: 6;
}

body.kliento-page .rflow-crm::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    width: 10px;
    height: 1px;
    background: #EC4899;
    transform: translateY(-1px);
}

body.kliento-page .rflow-crm i {
    font-size: 16px;
    color: var(--kl-accent);
    display: block;
    margin-bottom: 2px;
}

body.kliento-page .rflow-crm strong {
    font-size: 11px;
    display: block;
}

body.kliento-page .rflow-hconn {
    width: 10px;
    display: flex;
    align-items: center;
}

body.kliento-page .rflow-hconn::before {
    content: '';
    width: 100%;
    height: 1px;
    background: #EC4899;
}

body.kliento-page .rflow-mkt-col {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

body.kliento-page .rflow-mkt-col-spacer {
    flex-grow: 1;
}

body.kliento-page .rflow-mkt {
    background: var(--kl-surface);
    border-radius: var(--kl-radius-sm);
    padding: 7px 6px;
    text-align: center;
    box-shadow: 0 5px 10px rgba(15,12,30,0.4);
    font-size: 11px;
    font-weight: 600;
    color: var(--kl-text-muted);
    z-index: 6;
}

body.kliento-page .rflow-mkt i {
    font-size: 16px;
    color: var(--kl-accent);
    display: block;
    margin-bottom: 2px;
}

body.kliento-page .rflow-mkt strong {
    font-size: 11px;
    display: block;
    margin-bottom: 4px;
}

body.kliento-page .rflow-mkt-chs {
    display: flex;
    gap: 4px;
    justify-content: center;
    flex-wrap: wrap;
}

body.kliento-page .rflow-mkt-chs span {
    font-size: 9px;
    font-weight: 600;
    color: var(--kl-text-muted);
}

body.kliento-page .rflow-mkt-chs span i {
    font-size: 10px;
    margin-right: 1px;
    color: var(--kl-accent);
}

/* Vertical connector from Marketing down to return line */
body.kliento-page .rflow-vconn-down {
    flex-grow: 1;
    min-height: 10px;
    position: relative;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

body.kliento-page .rflow-vconn-down::before {
    content: '';
    width: 1px;
    height: 100%;
    background: #EC4899;
}

/* Row 3: bottom return line */
body.kliento-page .rflow-return {
    grid-column: 1 / 4;
    grid-row: 3;
    margin-top: 0;
    text-align: center;
}

body.kliento-page .rflow-return-line {
    height: 1px;
    background: #EC4899;
    position: relative;
    overflow: hidden;
    margin-bottom: 6px;
}

/* Mobile: shrink everything so lines don't overlap cards */
@media (max-width: 575px) {
    body.kliento-page .rflow {
        max-width: 100%;
    }

    body.kliento-page .rflow-rows {
        gap: 5px;
    }

    body.kliento-page .rflow-wire-left {
        width: 10px;
    }

    body.kliento-page .rflow-ch {
        width: 62px;
        font-size: 8px;
        padding: 5px 3px;
    }

    body.kliento-page .rflow-ch i {
        font-size: 13px;
    }

    body.kliento-page .rflow-customers-col {
        padding-right: 5px;
    }

    body.kliento-page .rflow-customers {
        padding: 5px 3px;
        font-size: 9px;
    }

    body.kliento-page .rflow-customers::after {
        right: -5px;
        width: 5px;
    }

    body.kliento-page .rflow-customers i {
        font-size: 13px;
    }

    body.kliento-page .rflow-customers-vconn {
        min-height: 6px;
    }

    body.kliento-page .rflow-hubs {
        padding-left: 5px;
    }

    body.kliento-page .rflow-crm {
        padding: 5px 3px;
    }

    body.kliento-page .rflow-crm::before {
        left: -5px;
        width: 5px;
    }

    body.kliento-page .rflow-crm i {
        font-size: 13px;
    }

    body.kliento-page .rflow-crm strong {
        font-size: 9px;
    }

    body.kliento-page .rflow-mkt {
        padding: 5px 3px;
    }

    body.kliento-page .rflow-mkt i {
        font-size: 13px;
    }

    body.kliento-page .rflow-mkt strong {
        font-size: 9px;
        margin-bottom: 2px;
    }

    body.kliento-page .rflow-mkt-chs {
        gap: 3px;
    }

    body.kliento-page .rflow-mkt-chs span {
        font-size: 7px;
    }

    body.kliento-page .rflow-mkt-chs span i {
        font-size: 8px;
    }

    body.kliento-page .rflow-hconn {
        width: 5px;
    }

    body.kliento-page .rflow-return {
        margin-top: 0;
    }

    body.kliento-page .rflow-return-line {
        margin-bottom: 4px;
    }
}

/* ===== Kliento landing — V2 venue cards comparison ===== */
body.kliento-page .v2-section {
    padding: 100px 0 80px;
    background: linear-gradient(170deg, var(--kl-surface-alt) 0%, var(--kl-surface) 50%, var(--kl-tint-wash) 100%);
    position: relative;
}

body.kliento-page .v2-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background-image: var(--kl-btn-gradient);
    background-size: 200% 100%;
}

@media (prefers-reduced-motion: no-preference) {
    body.kliento-page .v2-section::before {
        animation: v2-gradient-slide 4s ease infinite;
    }
}

@keyframes v2-gradient-slide {
    0%, 100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

body.kliento-page .v2-section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--kl-text-heading);
    margin-bottom: 12px;
}

body.kliento-page .v2-section-sub {
    font-size: 17px;
    color: var(--kl-text-muted);
    margin-bottom: 48px;
}

/* Venue pills */
body.kliento-page .v2-pills {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

body.kliento-page .v2-pill {
    border: 2px solid var(--kl-border);
    background: var(--kl-surface);
    border-radius: var(--kl-radius-full);
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    color: var(--kl-text-muted);
    cursor: pointer;
    transition: all var(--kl-dur-base) var(--kl-ease-out);
    outline: none;
    white-space: nowrap;
}

body.kliento-page .v2-pill i {
    margin-right: 8px;
    font-size: 16px;
}

body.kliento-page .v2-pill:hover {
    border-color: var(--kl-accent);
    color: var(--kl-accent-strong);
    transform: translateY(-2px);
}

body.kliento-page .v2-pill.active {
    background-image: var(--kl-btn-gradient);
    border-color: transparent;
    color: #FFFFFF;
    box-shadow: 0 6px 20px rgba(var(--kl-accent-rgb), 0.3);
}

/* Card grid */
body.kliento-page .v2-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    align-items: start;
}

body.kliento-page .v2-card {
    background: var(--kl-surface);
    border: 1px solid var(--kl-hairline);
    border-radius: var(--kl-radius-lg);
    padding: 36px 28px 28px;
    position: relative;
    box-shadow: var(--kl-shadow-sm);
    transition: border-color var(--kl-dur-base) var(--kl-ease-out), transform var(--kl-dur-base) var(--kl-ease-out), box-shadow var(--kl-dur-base) var(--kl-ease-out);
    overflow: hidden;
}

body.kliento-page .v2-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background-image: var(--kl-btn-gradient);
    transform: scaleX(0.15);
    transform-origin: left;
    transition: transform 0.5s var(--kl-ease-out);
}

body.kliento-page .v2-card:hover {
    border-color: var(--kl-accent);
    transform: translateY(-2px);
    box-shadow: var(--kl-shadow-md);
}

body.kliento-page .v2-card:hover::before {
    transform: scaleX(1);
}

/* Card number watermark. Geist 900 is not loaded, so 900 faux-bolds; 800 is the heaviest real cut. */
body.kliento-page .v2-card-num {
    font-size: 64px;
    font-weight: 800;
    background: linear-gradient(135deg, rgba(var(--kl-accent-rgb),0.07), rgba(var(--kl-accent-rgb),0.03));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0;
    letter-spacing: -2px;
}

/* Card icon */
body.kliento-page .v2-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--kl-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: linear-gradient(135deg, rgba(var(--kl-accent-rgb),0.1), rgba(var(--kl-accent-rgb),0.06));
    color: var(--kl-accent);
    margin-bottom: 16px;
}

body.kliento-page .v2-card h5 {
    font-size: 19px;
    font-weight: 700;
    color: var(--kl-text-heading);
    margin-bottom: 8px;
    line-height: 1.3;
}

body.kliento-page .v2-card-desc {
    font-size: 14px;
    color: var(--kl-text-subtle);
    line-height: 1.6;
    margin-bottom: 22px;
}

/* Bullet list */
body.kliento-page .v2-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

body.kliento-page .v2-list li {
    padding: 9px 0;
    font-size: 14px;
    color: var(--kl-text-muted);
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--kl-hairline);
    line-height: 1.5;
}

body.kliento-page .v2-list li:last-child {
    border-bottom: none;
}

body.kliento-page .v2-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-image: var(--kl-btn-gradient);
    flex-shrink: 0;
}

/* Venue-specific content toggle */
body.kliento-page .v2-venue-content {
    display: none;
}

body.kliento-page .v2-venue-content.v2-active {
    display: block;
}

/* V2 Responsive */
@media (max-width: 991px) {
    body.kliento-page .v2-cards {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
    }
}

@media (max-width: 575px) {
    body.kliento-page .v2-section {
        padding: 60px 0 40px;
    }

    body.kliento-page .v2-section-title {
        font-size: 26px;
    }

    body.kliento-page .v2-pills {
        gap: 8px;
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    body.kliento-page .v2-pills::-webkit-scrollbar {
        display: none;
    }

    body.kliento-page .v2-pill {
        flex-shrink: 0;
        padding: 10px 20px;
        font-size: 13px;
    }

    body.kliento-page .v2-card {
        padding: 28px 20px 20px;
    }

    body.kliento-page .v2-card-num {
        font-size: 48px;
    }
}

/* ===== Kliento landing — DigitalSignage only ===== */
body.kliento-page .day-showcase-card {
    position: relative;
    border-radius: var(--kl-radius-md);
    overflow: hidden;
    transition: transform var(--kl-dur-base) var(--kl-ease-out), box-shadow var(--kl-dur-base) var(--kl-ease-out);
}

body.kliento-page .day-showcase-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--kl-shadow-md);
}

body.kliento-page .day-showcase-card img {
    width: 100%;
    display: block;
}

body.kliento-page .day-showcase-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, rgba(15,12,30,0.75) 0%, rgba(15,12,30,0) 100%);
    padding: 40px 20px 16px;
    color: #FFFFFF;
}

body.kliento-page .day-showcase-label h6 {
    color: #FFFFFF;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 2px;
}

body.kliento-page .day-showcase-label span {
    font-size: 13px;
    opacity: 0.85;
}

body.kliento-page .signage-feature-img,
body.kliento-page .item-highlight-img {
    border-radius: var(--kl-radius-md);
    box-shadow: var(--kl-shadow-md);
    max-width: 900px;
    width: 100%;
}

body.kliento-page .screen-type-badge {
    display: inline-block;
    background-image: var(--kl-btn-gradient);
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: var(--kl-radius-full);
    margin-bottom: 14px;
}

body.kliento-page .menu-board-slideshow {
    position: relative;
    border-radius: var(--kl-radius-md);
    overflow: hidden;
    box-shadow: var(--kl-shadow-md);
}

body.kliento-page .menu-board-slideshow img {
    width: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease;
}

body.kliento-page .menu-board-slideshow img:first-child {
    position: relative;
}

body.kliento-page .menu-board-slideshow img.active {
    opacity: 1;
}

body.kliento-page .menu-board-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}

body.kliento-page .menu-board-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--kl-border);
    transition: background 0.3s ease;
    cursor: pointer;
}

body.kliento-page .menu-board-dots span.active {
    background: var(--kl-accent);
}

/* ===== Kliento landing — OneCustomerProfile only ===== */
body.kliento-page .profile-card {
    background: var(--kl-surface);
    border: 1px solid var(--kl-hairline);
    border-radius: var(--kl-radius-lg);
    padding: 32px;
    box-shadow: var(--kl-shadow-md);
    max-width: 380px;
    margin: 0 auto;
}

body.kliento-page .profile-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

body.kliento-page .profile-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-image: var(--kl-btn-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 22px;
    font-weight: 700;
    flex-shrink: 0;
}

body.kliento-page .profile-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--kl-text-heading);
    margin-bottom: 2px;
}

body.kliento-page .profile-since {
    font-size: 13px;
    color: var(--kl-text-subtle);
}

body.kliento-page .profile-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

body.kliento-page .profile-stat {
    background: var(--kl-surface-alt);
    border-radius: var(--kl-radius-md);
    padding: 14px;
    text-align: center;
}

body.kliento-page .profile-stat-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--kl-accent-strong);
}

body.kliento-page .profile-stat-label {
    font-size: 12px;
    color: var(--kl-text-subtle);
    margin-top: 2px;
}

body.kliento-page .profile-stamps {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 16px;
}

body.kliento-page .profile-stamp {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

body.kliento-page .profile-stamp.collected {
    background-image: var(--kl-btn-gradient);
    color: #FFFFFF;
}

body.kliento-page .profile-stamp.empty {
    background: var(--kl-surface-alt);
    color: var(--kl-border);
}

body.kliento-page .profile-badge {
    display: inline-block;
    background-image: var(--kl-btn-gradient);
    color: #FFFFFF;
    padding: 4px 12px;
    border-radius: var(--kl-radius-full);
    font-size: 12px;
    font-weight: 600;
}

body.kliento-page .profile-channels {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 16px;
}

body.kliento-page .profile-channel-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--kl-radius-sm);
    background: var(--kl-surface-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--kl-accent);
}

/* ===== Kliento landing — OneTablePlan only ===== */
body.kliento-page .hero-devices {
    position: relative;
    max-width: 900px;
    margin: 40px auto 0;
    height: 340px;
}

body.kliento-page .hero-devices img {
    position: absolute;
    border-radius: var(--kl-radius-md);
    box-shadow: var(--kl-shadow-lg);
    border: 3px solid rgba(255,255,255,0.3);
}

body.kliento-page .hero-device-pos {
    width: 52%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

body.kliento-page .hero-device-website {
    width: 40%;
    top: 30px;
    left: 0;
    transform: rotate(-4deg);
    z-index: 1;
}

body.kliento-page .hero-device-app {
    width: 22%;
    top: 20px;
    right: 2%;
    transform: rotate(3deg);
    z-index: 3;
}

@media (max-width: 768px) {
    body.kliento-page .hero-devices {
        height: 200px;
    }

    body.kliento-page .hero-device-pos {
        width: 60%;
    }

    body.kliento-page .hero-device-website {
        width: 44%;
    }

    body.kliento-page .hero-device-app {
        width: 26%;
    }
}
