/* =============================================================
   CobWeb CRM — Marketing pages (home, features, automations,
   modules, pricing). Bright, professional, RTL Hebrew.
   Fonts: Rubik (UI), Heebo (body/headings supporting weights).
   ============================================================= */

:root {
    --mk-brand-primary: #2563eb;
    --mk-brand-primary-dark: #1d4ed8;
    --mk-brand-accent: #7c3aed;
    --mk-brand-soft: #eef2ff;
    --mk-brand-soft-2: #f0f9ff;
    --mk-text: #0f172a;
    --mk-text-soft: #475569;
    --mk-text-muted: #64748b;
    --mk-border: #e2e8f0;
    --mk-bg: #f8fafc;
    --mk-white: #ffffff;
    --mk-success: #16a34a;
    --mk-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
    --mk-shadow-md: 0 6px 18px rgba(15, 23, 42, 0.08);
    --mk-shadow-lg: 0 18px 40px rgba(15, 23, 42, 0.12);
    --mk-radius-sm: 8px;
    --mk-radius-md: 14px;
    --mk-radius-lg: 22px;
    --gh-height: 78px;
}

html.marketing-html,
body.marketing-body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

body.marketing-body {
    font-family: 'Rubik', 'Heebo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 400;
    color: var(--mk-text);
    background: var(--mk-white);
    direction: rtl;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.marketing-body.gh-menu-open {
    overflow: hidden;
}

.marketing-main {
    flex: 1 1 auto;
    width: 100%;
    padding-top: var(--gh-height);
}

/* =================== Global Header =================== */
.global-header {
    position: fixed;
    inset: 0 0 auto 0;
    width: 100%;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid var(--mk-border);
}

.global-header-inner {
    max-width: 1240px;
    margin: 0 auto;
    height: var(--gh-height);
    padding: 0 max(1.25rem, env(safe-area-inset-right)) 0 max(1.25rem, env(safe-area-inset-left));
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    column-gap: 1.25rem;
}

.global-header-logo {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    text-decoration: none;
    /* RTL: logo on the right (column 1) */
    grid-column: 1;
    justify-self: start;
}

.global-header-logo img {
    height: 56px;
    width: auto;
    display: block;
    max-height: calc(var(--gh-height) - 18px);
}

.global-header-logo-text {
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--mk-text);
    letter-spacing: -0.01em;
}

.global-header-nav {
    grid-column: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.global-header-link {
    position: relative;
    padding: 0.55rem 0.9rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--mk-text-soft);
    text-decoration: none;
    transition: color 0.15s ease, background 0.15s ease;
}

.global-header-link:hover {
    color: var(--mk-text);
    background: var(--mk-brand-soft);
}

.global-header-link.is-active {
    color: var(--mk-brand-primary);
    background: var(--mk-brand-soft);
}

.global-header-cta {
    grid-column: 3;
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 0 0 auto;
}

.gh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0.3rem 0.66rem;
    border-radius: 12px;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.gh-btn-primary {
    background: linear-gradient(135deg, var(--mk-brand-primary) 0%, var(--mk-brand-accent) 100%);
    color: #fff;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.28);
}

.gh-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.32);
    color: #fff;
}

.gh-btn-ghost {
    background: transparent;
    border-color: var(--mk-border);
    color: var(--mk-text);
}

.gh-btn-ghost:hover {
    background: var(--mk-brand-soft);
    border-color: var(--mk-brand-primary);
    color: var(--mk-brand-primary);
}

.gh-btn-block {
    width: 100%;
    min-height: 50px;
    font-size: 1.05rem;
}

/* Hamburger */
.global-header-burger {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--mk-border);
    border-radius: 10px;
    background: #fff;
    padding: 0;
    cursor: pointer;
    flex: 0 0 auto;
    position: relative;
}

.global-header-burger span {
    position: absolute;
    left: 11px;
    right: 11px;
    height: 2px;
    background: var(--mk-text);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.2s ease, top 0.3s ease;
}

.global-header-burger span:nth-child(1) { top: 14px; }
.global-header-burger span:nth-child(2) { top: 21px; }
.global-header-burger span:nth-child(3) { top: 28px; }

body.gh-menu-open .global-header-burger span:nth-child(1) {
    top: 21px;
    transform: rotate(45deg);
}
body.gh-menu-open .global-header-burger span:nth-child(2) {
    opacity: 0;
}
body.gh-menu-open .global-header-burger span:nth-child(3) {
    top: 21px;
    transform: rotate(-45deg);
}

/* Overlay (blur whole page) */
.global-header-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 49;
}

body.gh-menu-open .global-header-overlay {
    opacity: 1;
    visibility: visible;
}

/* Mobile panel — slides DOWN from top */
.global-header-mobile-panel {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 60;
    background: #ffffff;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.2);
    transform: translateY(-110%);
    transition: transform 0.42s cubic-bezier(0.22, 0.61, 0.36, 1);
    padding: calc(var(--gh-height) + 1rem) 1.25rem 1.75rem;
}

body.gh-menu-open .global-header-mobile-panel {
    transform: translateY(0);
}

.gh-mobile-inner {
    max-width: 480px;
    margin: 0 auto;
}

.gh-mobile-logo {
    display: block;
    max-height: 44px;
    margin: 0 auto 1.25rem;
}

.gh-mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
}

.gh-mobile-link {
    display: block;
    padding: 0.95rem 1rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--mk-text);
    text-decoration: none;
    background: var(--mk-bg);
    transition: background 0.15s ease, color 0.15s ease;
}

.gh-mobile-link:hover,
.gh-mobile-link.is-active {
    background: var(--mk-brand-soft);
    color: var(--mk-brand-primary);
}

.gh-mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    border-top: 1px solid var(--mk-border);
    padding-top: 1rem;
}

@media (max-width: 960px) {
    .global-header-inner {
        grid-template-columns: auto 1fr auto;
    }
    .global-header-nav,
    .global-header-cta {
        display: none;
    }
    .global-header-burger {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        grid-column: 3;
        justify-self: end;
    }
    .global-header-logo img {
        height: 48px;
    }
}

/* =================== Reusable building blocks =================== */
.mk-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 max(1.25rem, env(safe-area-inset-right)) 0 max(1.25rem, env(safe-area-inset-left));
    box-sizing: border-box;
}

.mk-section {
    padding: clamp(3.5rem, 7vw, 6rem) 0;
    position: relative;
}

.mk-section--alt {
    background: var(--mk-bg);
}

.mk-section--gradient {
    background: linear-gradient(180deg, #fafbff 0%, #f0f4ff 100%);
}

.mk-eyebrow {
    display: inline-block;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mk-brand-primary);
    background: var(--mk-brand-soft);
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.mk-section-title {
    font-family: 'Heebo', 'Rubik', sans-serif;
    font-weight: 900;
    font-size: clamp(1.75rem, 3.5vw, 2.625rem);
    line-height: 1.2;
    color: var(--mk-text);
    margin: 0 0 0.75rem;
    letter-spacing: -0.01em;
}

.mk-section-subtitle {
    font-weight: 400;
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.65;
    color: var(--mk-text-soft);
    margin: 0 0 2.5rem;
    max-width: 720px;
}

.mk-section-head--center {
    text-align: center;
    margin: 0 auto 3rem;
}

.mk-section-head--center .mk-section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.mk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 52px;
    padding: 0.85rem 1.6rem;
    border-radius: 14px;
    font-family: inherit;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.mk-btn-primary {
    background: linear-gradient(135deg, var(--mk-brand-primary), var(--mk-brand-accent));
    color: #fff;
    box-shadow: 0 14px 32px rgba(37, 99, 235, 0.28);
}

.mk-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.34);
    color: #fff;
}

.mk-btn-ghost {
    background: #fff;
    color: var(--mk-text);
    border-color: var(--mk-border);
}

.mk-btn-ghost:hover {
    border-color: var(--mk-brand-primary);
    color: var(--mk-brand-primary);
    transform: translateY(-1px);
}

.mk-btn-wa {
    background: #25d366;
    color: #fff;
}

.mk-btn-wa:hover {
    background: #128c4e;
    color: #fff;
    transform: translateY(-1px);
}

/* =================== Reveal animations =================== */
@keyframes mkFadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes mkFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

[data-reveal="fade"] {
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* =================== HERO =================== */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #f0f5ff 0%, #ffffff 100%);
    padding: clamp(3rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem);
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    z-index: 0;
    opacity: 0.55;
    pointer-events: none;
}

.hero::before {
    width: 520px; height: 520px;
    background: #c7d2fe;
    top: -180px; right: -120px;
}

.hero::after {
    width: 420px; height: 420px;
    background: #ddd6fe;
    bottom: -120px; left: -120px;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-headline {
    font-family: 'Heebo', 'Rubik', sans-serif;
    font-weight: 900;
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    line-height: 1.15;
    margin: 1rem 0 1.25rem;
    color: var(--mk-text);
    letter-spacing: -0.02em;
}

.hero-headline span {
    background: linear-gradient(135deg, var(--mk-brand-primary), var(--mk-brand-accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-sub {
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    line-height: 1.7;
    color: var(--mk-text-soft);
    margin: 0 0 1.75rem;
    max-width: 540px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-trust {
    margin-top: 1.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--mk-text-muted);
    font-size: 0.95rem;
}

.hero-trust-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--mk-success);
    box-shadow: 0 0 0 6px rgba(22, 163, 74, 0.15);
}

.hero-visual {
    position: relative;
}

.hero-visual img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--mk-radius-lg);
    box-shadow: var(--mk-shadow-lg);
    animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}

@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
    .hero-visual { order: -1; max-width: 480px; margin: 0 auto; }
}

/* =================== Stats strip =================== */
.mk-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.mk-stat {
    background: #fff;
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius-md);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--mk-shadow-sm);
}

.mk-stat-value {
    font-family: 'Heebo', sans-serif;
    font-weight: 900;
    font-size: 2rem;
    color: var(--mk-brand-primary);
    line-height: 1;
}

.mk-stat-label {
    color: var(--mk-text-muted);
    font-weight: 600;
    margin-top: 0.5rem;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .mk-stats { grid-template-columns: repeat(2, 1fr); }
}

/* =================== Feature grid =================== */
.mk-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.mk-feature-card {
    background: #fff;
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius-md);
    padding: 1.75rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
}

.mk-feature-card:hover {
    transform: translateY(-4px);
    border-color: #c7d2fe;
    box-shadow: var(--mk-shadow-md);
    color: inherit;
    text-decoration: none;
}

.mk-feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--mk-brand-primary), var(--mk-brand-accent));
    color: #fff;
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.28);
}

.mk-feature-title {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--mk-text);
    margin: 0;
}

.mk-feature-text {
    color: var(--mk-text-soft);
    line-height: 1.65;
    margin: 0;
}

@media (max-width: 900px) {
    .mk-feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
    .mk-feature-grid { grid-template-columns: 1fr; }
}

/* =================== Feature spotlight (image + text rows) =================== */
.mk-spotlight {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.mk-spotlight:last-child { margin-bottom: 0; }

.mk-spotlight--flip { grid-template-columns: 1fr 1.05fr; }
.mk-spotlight--flip .mk-spotlight-visual { order: 2; }

.mk-spotlight-visual img {
    width: 100%;
    height: auto;
    border-radius: var(--mk-radius-lg);
    box-shadow: var(--mk-shadow-lg);
    background: #fff;
}

/* Bare visual: no background, no shadow — for transparent illustrations
   (e.g. Tranzila/PayPlus image) that should blend into the page bg. */
.mk-spotlight-visual--bare img {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}

.mk-spotlight-text h3 {
    font-family: 'Heebo', sans-serif;
    font-weight: 900;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    color: var(--mk-text);
    margin: 0.4rem 0 0.75rem;
    line-height: 1.2;
}

.mk-spotlight-text p {
    font-size: 1.05rem;
    color: var(--mk-text-soft);
    line-height: 1.75;
    margin: 0 0 1rem;
}

.mk-spotlight-text ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.mk-spotlight-text ul li {
    position: relative;
    padding-right: 1.75rem;
    margin-bottom: 0.6rem;
    color: var(--mk-text);
    font-weight: 500;
}

.mk-spotlight-text ul li::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0.5em;
    width: 0.9rem;
    height: 0.9rem;
    background: linear-gradient(135deg, var(--mk-brand-primary), var(--mk-brand-accent));
    border-radius: 50%;
}

@media (max-width: 900px) {
    .mk-spotlight,
    .mk-spotlight--flip {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
    .mk-spotlight--flip .mk-spotlight-visual { order: 0; }
}

/* =================== Modules cards =================== */
.mk-modules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.mk-module-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius-lg);
    overflow: hidden;
    box-shadow: var(--mk-shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mk-module-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--mk-shadow-md);
}

.mk-module-card .mk-module-thumb {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: var(--mk-brand-soft);
}

.mk-module-card-body {
    padding: 1.5rem;
}

.mk-module-card-body h4 {
    font-weight: 800;
    font-size: 1.25rem;
    margin: 0 0 0.4rem;
    color: var(--mk-text);
}

.mk-module-card-body p {
    color: var(--mk-text-soft);
    line-height: 1.65;
    margin: 0;
}

.mk-module-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255,255,255,0.95);
    color: var(--mk-brand-primary);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    box-shadow: var(--mk-shadow-sm);
}

@media (max-width: 900px) {
    .mk-modules-grid { grid-template-columns: 1fr; }
}

/* =================== Clients ticker =================== */
.mk-clients {
    background: var(--mk-bg);
    padding: 2.5rem 0;
    border-top: 1px solid var(--mk-border);
    border-bottom: 1px solid var(--mk-border);
    overflow: hidden;
}

.mk-clients-title {
    text-align: center;
    color: var(--mk-text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0 0 1.5rem;
    letter-spacing: 0.06em;
}

.mk-clients-track-wrap {
    overflow: hidden;
    direction: ltr;
    mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.mk-clients-marquee img,
.mk-clients-set img {
    height: clamp(56px, 7vw, 84px);
    width: auto;
    max-width: 220px;
    object-fit: contain;
    opacity: 0.78;
    filter: saturate(0.9);
    transition: opacity 0.2s ease, transform 0.2s ease, filter 0.2s ease;
    flex: 0 0 auto;
    user-select: none;
    -webkit-user-drag: none;
}

.mk-clients-marquee img:hover {
    opacity: 1;
    transform: scale(1.05);
    filter: saturate(1.05);
}

@keyframes mkTicker {
    0%   { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

.mk-clients-marquee {
    display: flex;
    width: max-content;
    animation: mkTicker 45s linear infinite;
    will-change: transform;
}

.mk-clients-marquee:hover {
    animation-play-state: paused;
}

.mk-clients-set {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
    padding-inline: clamp(1rem, 2vw, 2rem);
}

/* =================== Testimonials carousel =================== */
.mk-testimonials {
    position: relative;
}

.mk-tcarousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--mk-radius-lg);
}

.mk-tcarousel-track {
    display: flex;
    transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.mk-tslide {
    flex: 0 0 100%;
    padding: 2.5rem clamp(1.5rem, 5vw, 4rem);
    background: #fff;
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius-lg);
    box-shadow: var(--mk-shadow-sm);
    text-align: center;
    box-sizing: border-box;
}

.mk-tslide-quote {
    font-family: 'Heebo', sans-serif;
    font-weight: 600;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--mk-text);
    line-height: 1.7;
    margin: 0 auto 1.5rem;
    max-width: 720px;
}

.mk-tslide-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.mk-tslide-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--mk-brand-primary), var(--mk-brand-accent));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.15rem;
}

.mk-tslide-name {
    font-weight: 800;
    color: var(--mk-text);
}

.mk-tslide-role {
    color: var(--mk-text-muted);
    font-size: 0.9rem;
}

.mk-tcontrols {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.mk-tdot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0;
    background: var(--mk-border);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

.mk-tdot.is-active {
    width: 28px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--mk-brand-primary), var(--mk-brand-accent));
}

/* =================== Pricing =================== */
.mk-plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

.mk-plan {
    background: #fff;
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius-lg);
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    box-shadow: var(--mk-shadow-sm);
    position: relative;
}

.mk-plan:hover { transform: translateY(-4px); box-shadow: var(--mk-shadow-md); }

.mk-plan--featured {
    border-color: transparent;
    background: linear-gradient(180deg, #ffffff, #f5f8ff);
    box-shadow: 0 24px 50px rgba(37, 99, 235, 0.18);
}

.mk-plan--featured::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--mk-radius-lg);
    padding: 2px;
    background: linear-gradient(135deg, var(--mk-brand-primary), var(--mk-brand-accent));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}

.mk-plan-badge {
    position: absolute;
    top: -14px;
    inset-inline-start: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--mk-brand-primary), var(--mk-brand-accent));
    color: #fff;
    font-weight: 800;
    font-size: 0.8rem;
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
}

.mk-plan-name {
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--mk-text);
    margin: 0;
}

.mk-plan-price {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    color: var(--mk-text);
}

.mk-plan-price-num {
    font-family: 'Heebo', sans-serif;
    font-weight: 900;
    font-size: 2.6rem;
    line-height: 1;
}

.mk-plan-price-unit {
    color: var(--mk-text-muted);
    font-weight: 600;
}

.mk-plan-price-custom {
    font-family: 'Heebo', sans-serif;
    font-weight: 900;
    font-size: 1.85rem;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--mk-brand-primary), var(--mk-brand-accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.01em;
}

.mk-plan-desc {
    color: var(--mk-text-soft);
    margin: 0;
}

.mk-plan-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.mk-plan-features li {
    position: relative;
    padding-right: 1.75rem;
    color: var(--mk-text);
    font-weight: 500;
}

.mk-plan-features li::before {
    content: '✓';
    position: absolute;
    right: 0;
    top: 0;
    color: var(--mk-brand-primary);
    font-weight: 900;
}

.mk-plan-features li.is-muted {
    color: var(--mk-text-muted);
}

.mk-plan-features li.is-muted::before {
    color: var(--mk-text-muted);
    content: '–';
}

.mk-plan-cta { margin-top: auto; }

@media (max-width: 960px) {
    .mk-plans { grid-template-columns: 1fr; }
    .mk-plan--featured { order: -1; }
}

/* =================== CTA banner =================== */
.mk-cta-banner {
    background: linear-gradient(135deg, var(--mk-brand-primary), var(--mk-brand-accent));
    color: #fff;
    border-radius: var(--mk-radius-lg);
    padding: clamp(2rem, 4vw, 3rem);
    text-align: center;
    box-shadow: 0 30px 60px rgba(37, 99, 235, 0.28);
}

.mk-cta-banner h3 {
    font-family: 'Heebo', sans-serif;
    font-weight: 900;
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin: 0 0 0.75rem;
    color: #fff;
}

.mk-cta-banner p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0 auto 1.5rem;
    max-width: 640px;
    line-height: 1.7;
}

.mk-cta-banner .mk-btn {
    background: #fff;
    color: var(--mk-brand-primary);
    border: 0;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.mk-cta-banner .mk-btn:hover {
    color: var(--mk-brand-primary-dark);
    transform: translateY(-2px);
}

/* =================== Page header (inner pages) =================== */
.mk-page-header {
    padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem);
    background: linear-gradient(180deg, #f0f5ff 0%, #ffffff 100%);
    text-align: center;
}

.mk-page-header h1 {
    font-family: 'Heebo', sans-serif;
    font-weight: 900;
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 0.5rem 0 0.75rem;
    color: var(--mk-text);
    letter-spacing: -0.01em;
}

.mk-page-header p {
    color: var(--mk-text-soft);
    font-size: 1.1rem;
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.7;
}

/* =================== Features carousel =================== */
.mk-fcarousel {
    position: relative;
}

.mk-fcarousel-viewport {
    overflow: hidden;
    margin: 0 -0.5rem;
    padding: 0.5rem;
}

.mk-fcarousel-track {
    display: flex;
    gap: 1.25rem;
    transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: transform;
}

.mk-fcarousel .mk-feature-card {
    flex: 0 0 calc((100% - 3 * 1.25rem) / 4);
    box-sizing: border-box;
}

.mk-fcarousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.mk-fcarousel-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--mk-border);
    color: var(--mk-text-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, transform 0.15s ease;
    box-shadow: var(--mk-shadow-sm);
}

.mk-fcarousel-arrow:hover {
    border-color: var(--mk-brand-primary);
    color: var(--mk-brand-primary);
    background: var(--mk-brand-soft);
    transform: translateY(-1px);
}

.mk-fcarousel-arrow:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.mk-fcarousel-arrow svg { width: 18px; height: 18px; display: block; }

.mk-fcarousel-dots {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0 0.5rem;
}

.mk-fcarousel-dot {
    width: 8px; height: 8px;
    border: 0;
    background: var(--mk-border);
    border-radius: 50%;
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

.mk-fcarousel-dot.is-active {
    width: 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--mk-brand-primary), var(--mk-brand-accent));
}

@media (max-width: 900px) {
    .mk-fcarousel .mk-feature-card {
        flex: 0 0 calc((100% - 1.25rem) / 2);
    }
}

@media (max-width: 520px) {
    .mk-fcarousel .mk-feature-card {
        flex: 0 0 100%;
    }
}

/* =================== "All included" pillars =================== */
.mk-included {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfeff 100%);
    border: 1px solid #bbf7d0;
    border-radius: var(--mk-radius-lg);
    padding: clamp(1.75rem, 4vw, 2.5rem);
    text-align: center;
    box-shadow: var(--mk-shadow-sm);
}

.mk-included-eyebrow {
    display: inline-block;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #15803d;
    background: rgba(22, 163, 74, 0.12);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
}

.mk-included h3 {
    font-family: 'Heebo', sans-serif;
    font-weight: 900;
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: var(--mk-text);
    margin: 0.75rem 0 0.5rem;
}

.mk-included p {
    color: var(--mk-text-soft);
    max-width: 720px;
    margin: 0 auto 1.5rem;
    line-height: 1.7;
}

.mk-included-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 1rem;
}

.mk-included-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    background: #fff;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    padding: 0.85rem 1rem;
    text-align: right;
    direction: rtl;
}

.mk-included-pill-label {
    font-weight: 700;
    color: var(--mk-text);
}

.mk-included-pill-old {
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 600;
    font-size: 0.9rem;
}

.mk-included-pill-new {
    color: #15803d;
    font-weight: 800;
    font-size: 0.95rem;
}

@media (max-width: 720px) {
    .mk-included-grid { grid-template-columns: 1fr; }
}

/* =================== Contact form =================== */
.mk-contact {
    background: linear-gradient(135deg, var(--mk-brand-primary), var(--mk-brand-accent));
    color: #fff;
    border-radius: var(--mk-radius-lg);
    padding: clamp(1.75rem, 4vw, 3rem);
    box-shadow: 0 30px 60px rgba(37, 99, 235, 0.28);
}

.mk-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: center;
}

.mk-contact-text h3 {
    font-family: 'Heebo', sans-serif;
    font-weight: 900;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    color: #fff;
    margin: 0 0 0.5rem;
}

.mk-contact-text p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin: 0;
}

.mk-contact-form {
    background: #fff;
    border-radius: var(--mk-radius-md);
    padding: 1.5rem;
    color: var(--mk-text);
}

.mk-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.mk-form-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 0.85rem;
    text-align: right;
}

.mk-form-field-full { grid-column: 1 / -1; }

.mk-form-field label {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--mk-text);
}

.mk-form-field input,
.mk-form-field select {
    width: 100%;
    min-height: 48px;
    padding: 0.6rem 0.85rem;
    border: 1.5px solid var(--mk-border);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    background: #fff;
    color: var(--mk-text);
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mk-form-field input:focus,
.mk-form-field select:focus {
    outline: none;
    border-color: var(--mk-brand-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.mk-form-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    background: var(--mk-bg);
    border: 1px solid var(--mk-border);
    border-radius: 10px;
    padding: 0.75rem 0.85rem;
    margin: 0.75rem 0 1rem;
    cursor: pointer;
}

.mk-form-consent input[type="checkbox"] {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--mk-brand-primary);
}

.mk-form-consent-text {
    color: var(--mk-text-soft);
    font-size: 0.88rem;
    line-height: 1.5;
}

.mk-form-consent-text a {
    color: var(--mk-brand-primary);
    text-decoration: underline;
}

.mk-form-submit {
    width: 100%;
}

.mk-form-feedback {
    margin-top: 0.85rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-weight: 600;
    text-align: center;
    display: none;
}

.mk-form-feedback.is-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    display: block;
}

.mk-form-feedback.is-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
    display: block;
}

@media (max-width: 900px) {
    .mk-contact-grid { grid-template-columns: 1fr; }
    .mk-form-row { grid-template-columns: 1fr; }
}

/* =================== Utility =================== */
.mk-center { text-align: center; }
.mk-mt-0 { margin-top: 0 !important; }
.mk-mt-1 { margin-top: 0.5rem !important; }
.mk-mt-2 { margin-top: 1rem !important; }
.mk-mt-4 { margin-top: 2rem !important; }
.mk-divider { height: 1px; background: var(--mk-border); border: 0; margin: 2.5rem 0; }
