/* =========================================================================
   سامانه تجربه مشتری یوچک — main.css
   Tokens mirror design/tokens.css (Phase 4). RTL-first, logical properties.
   ========================================================================= */

:root {
	/* "Live Pulse" tokens (docs/DESIGN-SYSTEM.md). Legacy names stay as aliases:
	   plum-* = brand indigo-violet, coral-* = accent coral, cyan-* = info sky. */
	--brand-50: #F1EFFF; --brand-200: #CBC4FF; --brand-300: #A99DFF; --brand-500: #6C5CFF; --brand-600: #5B4BFF; --brand-700: #4A37E6; --violet-x: #8A5CFF;
	--coral-500: #FF6B5B; --coral-600: #D63D2D; --night-800: #1B1440; --night-900: #0E0B1F;
	--c-plum-950: #0E0B1F; --c-plum-900: #4A37E6; --c-plum-700: #3A2BB5; --c-plum-50: #F1EFFF; --c-brand-text: #4A37E6;
	--c-coral-500: #FF6B5B; --c-coral-700: #B8321F; --c-coral-50: #FFEEEC;
	--c-cyan-500: #0EA5E9; --c-cyan-800: #0369A1; --c-cyan-50: #E0F2FE; --c-mustard: #F5A524;
	--c-green: #047857; --c-green-50: #E7F8F1; --c-on-dark: #EEEEF6; --c-on-dark-2: #CBC4FF; --c-orange-dark: #FF8A7D;
	--c-bg: #F7F7FB; --c-bg-alt: #EEEEF6; --c-surface: #FFFFFF; --c-line: #E8E8F2; --c-line-strong: #CFCFDF; --c-glass: rgba(255, 255, 255, .82);
	--c-text: #1F1D33; --c-muted: #5A5A75; --c-heading: #0E0B1F;
	--fs-display: 54px; --fs-h1: 42px; --fs-h2: 34px; --fs-h3: 20px; --fs-lead: 18px; --fs-body: 16px; --fs-small: 14px;
	--r-control: 12px; --r-card: 20px; --r-panel: 28px;
	--sh-soft: 0 1px 2px rgba(42, 31, 128, .06), 0 2px 8px rgba(42, 31, 128, .05);
	--sh-md: 0 4px 12px rgba(42, 31, 128, .08), 0 12px 32px rgba(42, 31, 128, .08); --sh-lg: 0 24px 60px -24px rgba(42, 31, 128, .35);
	--sh-glow: 0 10px 40px -8px rgba(91, 75, 255, .45);
	--grad-brand: linear-gradient(135deg, #5B4BFF, #8A5CFF);
	--ease: cubic-bezier(.2, .8, .2, 1);
	--container: 1240px; --gutter: 28px; --sec: 80px; --header-h: 68px;
}
html.dark {
	color-scheme: dark;
	--c-plum-50: rgba(108, 92, 255, .18); --c-brand-text: #CBC4FF;
	--c-coral-700: #FF8A7D; --c-coral-50: rgba(255, 107, 91, .14);
	--c-cyan-800: #7DD3FC; --c-cyan-50: rgba(14, 165, 233, .14);
	--c-green: #6EE7B7; --c-green-50: rgba(22, 185, 129, .14);
	--c-bg: #0E0B1F; --c-bg-alt: #17142B; --c-surface: #1B182E; --c-line: rgba(255, 255, 255, .1); --c-line-strong: rgba(255, 255, 255, .2); --c-glass: rgba(14, 11, 31, .82);
	--c-text: #EEEEF6; --c-muted: #CFCFDF; --c-heading: #FFFFFF;
	--sh-soft: none;
}
@media (max-width: 960px) {
	:root { --fs-display: 33px; --fs-h1: 30px; --fs-h2: 26px; --fs-body: 16px; --fs-lead: 16.5px; --gutter: 16px; --sec: 52px; --header-h: 60px; }
}

/* ---------- base ---------- */
html { scroll-behavior: smooth; }
html.cx-lock { overflow: hidden; }
body { margin: 0; background: var(--c-bg); color: var(--c-text); font-size: var(--fs-body); line-height: 1.95; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; }
a { color: var(--c-brand-text); }
a:hover { color: var(--c-coral-700); }
:focus-visible { outline: 3px solid rgba(108, 92, 255, .45); outline-offset: 2px; border-radius: 6px; }
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * { margin-block: 0; }
main.wp-block-group { margin: 0; }
.cx-wrap { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); box-sizing: border-box; width: 100%; }
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }

/* ---------- typography helpers ---------- */
.cx-eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0; color: var(--c-coral-700); font-weight: 700; font-size: 14.5px; line-height: 1.6; }
.cx-eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--c-coral-500); }
.cx-display { font-size: var(--fs-display) !important; line-height: 1.32 !important; font-weight: 800; margin: 0; color: var(--c-heading); }
.cx-h1 { font-size: var(--fs-h1) !important; line-height: 1.4 !important; margin: 0; }
.cx-h2 { font-size: var(--fs-h2) !important; line-height: 1.45 !important; margin: 0; }
.cx-h3 { font-size: var(--fs-h3) !important; line-height: 1.6 !important; font-weight: 700 !important; margin: 0; }
.cx-lead { font-size: var(--fs-lead); line-height: 1.9; margin: 0; }
.cx-tagline { font-size: 22px; font-weight: 600; color: var(--c-heading); margin: 0; }
.cx-sm { font-size: var(--fs-small); line-height: 1.85; color: var(--c-muted); margin: 0; }
.cx-num { margin: 0; font-size: 22px; line-height: 1.4; font-weight: 800; color: var(--c-coral-700); }
.cx-more { margin: 0; }
.cx-more a { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--c-coral-500); padding-bottom: 1px; }
.cx-center { text-align: center; }

/* ---------- sections ---------- */
.cx-sec { padding-block: var(--sec); margin: 0 !important; }
.cx-sec--tight { padding-block: calc(var(--sec) * .6); }
.cx-sec--top0 { padding-top: 0; }
.cx-bg-white { background: var(--c-surface); }
.cx-bg-alt { background: var(--c-bg-alt); }
.cx-bg-dark { background: var(--c-plum-950); color: var(--c-on-dark); }
.cx-bg-dark :is(h1, h2, h3, .cx-h2, .cx-h3, strong) { color: #fff; }
.cx-bg-dark .cx-lead, .cx-bg-dark .cx-sm { color: var(--c-on-dark); }
.cx-bg-dark .cx-eyebrow { color: var(--c-orange-dark); }
.cx-bg-dark .cx-more a { color: #fff; }
.cx-head { display: flex; flex-direction: column; gap: 14px; max-width: 780px; margin-bottom: 44px !important; }
.cx-head > * { margin: 0 !important; }
.cx-head--center { margin-inline: auto; text-align: center; align-items: center; }
.cx-head--split { max-width: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: end; }
.cx-stack { display: flex; flex-direction: column; gap: 18px; }
.cx-stack > * { margin: 0 !important; }

/* ---------- grids ---------- */
.cx-grid { display: grid; gap: 24px; }
.cx-grid > * { margin: 0 !important; }
.cx-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.cx-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cx-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.cx-grid-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.cx-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.cx-split--wide-visual { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.cx-split--visual-first { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.cx-split > * { margin: 0 !important; }

/* ---------- cards ---------- */
.cx-card { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-card); padding: 28px; box-sizing: border-box; display: flex; flex-direction: column; gap: 10px; }
.cx-card > * { margin: 0 !important; }
.cx-card--sand { background: var(--c-bg); }
.cx-card--accent { border-top: 3px solid var(--c-coral-500); }
.cx-card--link { text-decoration: none; transition: border-color .15s, transform .15s, box-shadow .15s; }
.cx-card--link:hover { border-color: var(--c-plum-900); transform: translateY(-2px); box-shadow: var(--sh-md); color: inherit; }
.cx-card--row { flex-direction: row; align-items: flex-start; gap: 16px; }
.cx-stat { text-align: center; padding: 20px; }
.cx-stat__value { font-size: 30px !important; line-height: 1.5 !important; font-weight: 800; color: var(--c-heading); margin: 0; }
.cx-ico-tile { width: 48px; height: 48px; border-radius: 14px; background: var(--c-plum-50); color: var(--c-brand-text); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.cx-ico-tile--coral { background: var(--c-coral-50); color: var(--c-coral-700); }
.cx-ico-tile--cyan { background: var(--c-cyan-50); color: var(--c-cyan-800); }
.cx-ico-tile--dark { background: var(--c-plum-900); color: #fff; }

/* cycle (on dark) */
.cx-steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.cx-steps > * { margin: 0 !important; }
.cx-step { border-top: 2px solid var(--c-coral-500); padding-top: 18px; display: flex; flex-direction: column; gap: 6px; }
.cx-step:nth-child(3n+2) { border-color: var(--c-mustard); }
.cx-step:nth-child(3n) { border-color: var(--c-cyan-500); }
.cx-step > * { margin: 0 !important; }
.cx-step__en { font-size: 13px; direction: ltr; text-align: right; color: var(--c-muted); }
.cx-bg-dark .cx-step__en { color: var(--c-on-dark-2); }
.cx-step__title { font-size: 19px; font-weight: 700; color: var(--c-heading); }
.cx-bg-dark .cx-step__title { color: #fff; }

/* ---------- chips & lists ---------- */
ul.cx-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
ul.cx-chips li { margin: 0; }
ul.cx-chips li > a, ul.cx-chips li > span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border-radius: 999px; background: var(--c-surface); border: 1px solid var(--c-line); color: var(--c-heading); font-size: 15px; font-weight: 500; text-decoration: none; }
ul.cx-chips li > a:hover { border-color: var(--c-plum-900); }
ul.cx-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
ul.cx-checks li { position: relative; padding-inline-start: 34px; margin: 0; }
ul.cx-checks li::before { content: ""; position: absolute; inset-inline-start: 0; top: 5px; width: 22px; height: 22px; border-radius: 50%; background: var(--c-plum-900) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 13px no-repeat; }

/* ---------- buttons ---------- */
.cx-btn, .wp-block-button[class*="is-style-cx-"] .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: var(--r-control);
	font-weight: 700; font-size: 16px; line-height: 1.4; text-decoration: none; box-sizing: border-box; border: 0; cursor: pointer; white-space: nowrap; transition: background-color .15s, color .15s;
}
.cx-btn--sm { min-height: 46px; padding: 0 20px; font-size: 15px; }
.cx-btn--primary, .is-style-cx-primary .wp-block-button__link { background: var(--c-plum-900); color: #fff; }
.cx-btn--primary:hover, .is-style-cx-primary .wp-block-button__link:hover { background: var(--c-plum-700); color: #fff; }
.cx-btn--secondary, .is-style-cx-secondary .wp-block-button__link { background: var(--c-surface); color: var(--c-brand-text); box-shadow: inset 0 0 0 1.5px var(--c-plum-900); }
.cx-btn--secondary:hover, .is-style-cx-secondary .wp-block-button__link:hover { background: var(--c-bg-alt); color: var(--c-brand-text); }
.cx-btn--light, .is-style-cx-light .wp-block-button__link { background: #fff; color: var(--c-brand-text); }
.cx-btn--light:hover, .is-style-cx-light .wp-block-button__link:hover { background: var(--c-bg-alt); color: var(--c-brand-text); }
.cx-btn--outline, .is-style-cx-outline .wp-block-button__link { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .65); }
.cx-btn--outline:hover, .is-style-cx-outline .wp-block-button__link:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.wp-block-buttons { gap: 14px; }
.wp-block-buttons.is-content-justification-center { justify-content: center; }
.wp-block-button__link .cx-ico, .cx-btn .cx-ico { width: 20px; height: 20px; }

/* ---------- images / screenshots ---------- */
.cx-shot, .wp-block-image.is-style-cx-shot { margin: 0; border-radius: var(--r-card); border: 1px solid var(--c-line); box-shadow: var(--sh-lg); background: var(--c-surface); overflow: hidden; }
.cx-shot img, .wp-block-image.is-style-cx-shot img { display: block; width: 100%; height: auto; border-radius: 0; }
.wp-block-image.cx-photo { margin: 0; }
.wp-block-image.cx-photo img { border-radius: var(--r-panel); display: block; }
.cx-ph { background: repeating-linear-gradient(45deg, var(--c-line) 0 10px, #F4F3F7 10px 20px); border: 1px dashed var(--c-line-strong); border-radius: var(--r-card); padding: 40px; text-align: center; color: var(--c-muted); }

/* ---------- table ---------- */
.wp-block-table.cx-table { margin: 0; overflow-x: auto; }
.wp-block-table.cx-table table { width: 100%; min-width: 680px; border-collapse: separate; border-spacing: 0; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-card); overflow: hidden; font-size: 15.5px; }
.wp-block-table.cx-table th { background: var(--c-plum-900); color: #fff; font-weight: 700; text-align: right; padding: 16px 22px; border: 0; }
.wp-block-table.cx-table td { padding: 16px 22px; border: 0; border-top: 1px solid var(--c-line); vertical-align: top; }
.wp-block-table.cx-table td:first-child { font-weight: 700; color: var(--c-heading); }

/* ---------- FAQ ---------- */
.cx-faqs { display: flex; flex-direction: column; gap: 12px; max-width: 880px; }
.cx-faqs > * { margin: 0 !important; }
.wp-block-details.cx-faq { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 16px; padding: 20px 24px; }
.wp-block-details.cx-faq summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; font-weight: 700; color: var(--c-heading); font-size: 17px; cursor: pointer; }
.wp-block-details.cx-faq summary::-webkit-details-marker { display: none; }
.wp-block-details.cx-faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--c-coral-700); }
.wp-block-details.cx-faq[open] summary::after { content: "−"; }
.wp-block-details.cx-faq > p { margin: 12px 0 0; color: var(--c-text); font-size: 15.5px; }

/* ---------- header ---------- */
.cx-header { position: sticky; top: 0; z-index: 50; background: var(--c-glass); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--c-line); transition: box-shadow .2s; }
.admin-bar .cx-header { top: 32px; }
.cx-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(42, 31, 128, .35); }
.cx-header__bar { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.cx-header__end { margin-inline-start: auto; display: flex; align-items: center; gap: 20px; }
.cx-logo { display: block; direction: ltr; }
.cx-logo img { height: 40px; width: auto; display: block; }
.cx-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; align-items: center; }
.cx-nav__item { position: relative; margin: 0; }
.cx-nav__link, .cx-nav__toggle { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 10px; border-radius: 10px; background: none; border: 0; font: inherit; font-size: 15.5px; font-weight: 500; color: var(--c-heading); text-decoration: none; cursor: pointer; }
.cx-nav__link:hover, .cx-nav__toggle:hover, .cx-nav__toggle[aria-expanded="true"] { background: var(--c-plum-50); color: var(--c-heading); }
.cx-nav__link[aria-current="page"] { font-weight: 700; }
.cx-nav__toggle .cx-ico { transition: transform .15s; }
.cx-nav__toggle[aria-expanded="true"] .cx-ico { transform: rotate(180deg); }
.cx-sub { position: absolute; top: calc(100% + 10px); inset-inline-start: 0; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 18px; box-shadow: 0 40px 80px -40px rgba(42, 31, 128, .45); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.cx-nav__item.has-sub:hover > .cx-sub, .cx-nav__item.has-sub:focus-within > .cx-sub, .cx-nav__toggle[aria-expanded="true"] + .cx-sub { opacity: 1; visibility: visible; transform: none; }
.cx-drop { list-style: none; margin: 0; padding: 12px; min-width: 280px; }
.cx-drop li { margin: 0; }
.cx-drop a { display: block; padding: 10px 14px; border-radius: 10px; text-decoration: none; font-weight: 600; color: var(--c-heading); }
.cx-drop a:hover { background: var(--c-bg-alt); }
.cx-nav__item.is-mega { position: static; }
.cx-mega { inset-inline: var(--gutter); max-width: calc(var(--container) - 2 * var(--gutter)); margin-inline: auto; }
.cx-mega__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, .9fr); gap: 32px; padding: 28px 32px; }
.cx-mega__heading { margin: 0 0 10px; font-size: 13px; font-weight: 700; color: var(--c-coral-700); }
.cx-mega__link { display: block; padding: 8px 12px; margin-inline: -12px; border-radius: 10px; text-decoration: none; color: var(--c-heading); font-weight: 600; font-size: 15.5px; }
.cx-mega__link:hover { background: var(--c-bg-alt); color: var(--c-heading); }
.cx-mega__link small { display: block; font-weight: 400; color: var(--c-muted); font-size: 13px; line-height: 1.6; }
.cx-mega__promo { display: block; align-self: start; border-radius: 14px; overflow: hidden; box-shadow: var(--sh-md); transition: transform .15s; }
.cx-mega__promo:hover { transform: translateY(-3px); }
.cx-mega__promo img { display: block; width: 100%; height: 270px; object-fit: cover; object-position: top; }
.cx-mega__promo p { margin: 0; }
.cx-mega__promo-title { color: #fff; font-weight: 700; font-size: 16px; }
.cx-mega__promo a { margin-top: auto; color: #fff; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--c-coral-500); align-self: flex-start; }
.cx-mega__foot { display: flex; justify-content: space-between; gap: 16px; padding: 14px 32px; border-top: 1px solid var(--c-line); background: var(--c-bg); border-radius: 0 0 18px 18px; font-size: 13.5px; color: var(--c-muted); }
.cx-mega__foot a { font-weight: 700; text-decoration: none; font-size: 15px; }
.cx-burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--c-line); background: var(--c-surface); color: var(--c-heading); align-items: center; justify-content: center; cursor: pointer; }
.cx-mmenu { border-top: 1px solid var(--c-line); background: var(--c-surface); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
.cx-mmenu__group, .cx-mmenu__link { display: block; border-bottom: 1px solid var(--c-line); }
.cx-mmenu__group summary, .cx-mmenu__link { list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 56px; padding: 0 20px; font-weight: 700; color: var(--c-heading); text-decoration: none; font-size: 17px; cursor: pointer; }
.cx-mmenu__group summary::-webkit-details-marker { display: none; }
.cx-mmenu__group summary::after { content: "+"; color: var(--c-coral-700); font-size: 20px; }
.cx-mmenu__group[open] summary::after { content: "−"; }
.cx-mmenu__sub { background: var(--c-bg); padding: 4px 0 12px; }
.cx-mmenu__sub a { display: flex; align-items: center; min-height: 46px; padding: 0 20px; color: var(--c-heading); text-decoration: none; font-size: 15.5px; }
.cx-mmenu__heading { margin: 12px 20px 2px; font-size: 12.5px; font-weight: 700; color: var(--c-coral-700); }
.cx-mmenu__cta { display: flex; flex-direction: column; gap: 10px; padding: 20px; }
.cx-mmenu__login { text-align: center; color: var(--c-muted); font-size: 14px; }
@media (min-width: 961px) { .cx-mmenu { display: none !important; } }
@media (max-width: 960px) {
	.cx-nav, .cx-header__end .cx-btn { display: none; }
	.cx-burger { display: inline-flex; }
	.cx-header__bar { gap: 10px; }
	.cx-logo img { height: 32px; }
	.admin-bar .cx-header { top: 46px; }
}

/* ---------- breadcrumbs ---------- */
.cx-crumbs { padding-top: 22px; font-size: 13.5px; color: var(--c-muted); }
.cx-crumbs .rank-math-breadcrumb p { margin: 0; }
.cx-crumbs a { color: var(--c-muted); text-decoration: none; }
.cx-crumbs .last { color: var(--c-heading); }

/* ---------- hero ---------- */
.cx-hero { padding-top: 80px; overflow: hidden; }
.cx-hero__copy { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; max-width: 880px; margin-inline: auto; }
.cx-hero__copy > * { margin: 0 !important; }
.cx-hero-visual { position: relative; margin-top: 56px; }
.cx-page-hero { padding-top: 36px; }
.cx-hero-visual .cx-shot { position: relative; z-index: 1; }

/* ---------- logos ---------- */
.cx-logos__title { text-align: center; color: var(--c-muted); font-size: 14.5px; margin: 0 0 22px; }
.cx-logos__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; align-items: center; }
.cx-logos__list li { position: relative; height: 72px; display: flex; align-items: center; justify-content: center; margin: 0; }
.cx-logos__list img { height: auto; max-height: var(--h); width: auto; max-width: 100%; display: block; transition: opacity .2s; }
.cx-logos__color { position: absolute; opacity: 0; }
.cx-logos__list li:hover .cx-logos__mono { opacity: 0; }
.cx-logos__list li:hover .cx-logos__color { opacity: 1; }

/* ---------- ISO band ---------- */
.cx-band { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-panel); padding: 44px 48px; display: flex; gap: 32px; align-items: center; flex-wrap: wrap; }
.cx-band > * { margin: 0 !important; }
.cx-band__copy { flex: 1 1 560px; display: flex; flex-direction: column; gap: 12px; }
.cx-band__copy > * { margin: 0 !important; }

/* ---------- contact ---------- */
.cx-contact { display: flex; flex-direction: column; gap: 20px; }
.cx-contact__call { position: relative; overflow: hidden; background: var(--c-plum-950); border-radius: var(--r-panel); padding: 40px 44px; display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.cx-contact__ico { position: relative; width: 64px; height: 64px; border-radius: 16px; background: #fff; color: var(--c-brand-text); display: flex; align-items: center; justify-content: center; flex: none; }
.cx-contact__num { position: relative; flex: 1 1 320px; display: flex; flex-direction: column; color: var(--c-on-dark-2); font-size: 15px; }
.cx-contact__num a { color: #fff; font-size: 48px; font-weight: 800; line-height: 1.4; text-decoration: none; align-self: flex-start; }
.cx-contact__call .cx-btn { position: relative; min-width: 220px; }
.cx-contact__item { flex-direction: row; align-items: center; gap: 16px; }
.cx-contact__item strong { display: block; color: var(--c-heading); font-size: 19px; }
.cx-contact__item small { display: block; color: var(--c-muted); font-size: 14.5px; }
.cx-map-links { display: flex; gap: 10px; flex-wrap: wrap; }

/* forms (Fluent Forms) */
.fluentform .ff-el-form-control { border: 1px solid var(--c-line-strong) !important; border-radius: var(--r-control) !important; min-height: 50px; font-family: inherit !important; font-size: 16px !important; }
.fluentform .ff-el-form-control:focus { border-color: var(--c-cyan-800) !important; box-shadow: 0 0 0 3px rgba(108, 92, 255, .30) !important; }
.fluentform .ff-btn-submit { background: var(--c-surface) !important; color: var(--c-brand-text) !important; box-shadow: inset 0 0 0 1.5px var(--c-plum-900) !important; border-radius: var(--r-control) !important; min-height: 52px; padding: 0 26px !important; font-weight: 700 !important; font-family: inherit !important; }
.fluentform .ff-el-input--label label { font-weight: 600; color: var(--c-heading); }

/* ---------- mobile bar ---------- */
.cx-mbar { position: fixed; inset-inline: 0; bottom: 0; z-index: 60; display: none; gap: 10px; padding: 10px 14px calc(14px + env(safe-area-inset-bottom)); background: var(--c-glass); border-top: 1px solid var(--c-line); box-shadow: 0 -10px 30px -12px rgba(42, 31, 128, .25); transform: translateY(110%); transition: transform .25s; }
.cx-mbar .cx-btn { flex: 1; }
.cx-mbar.is-visible { transform: none; }
@media (max-width: 960px) {
	.cx-mbar { display: flex; }
	body:has(.cx-mbar) .cx-footer { padding-bottom: 96px; }
}

/* ---------- footer ---------- */
.cx-footer { background: var(--c-plum-950); color: var(--c-on-dark-2); padding-top: 64px; font-size: 14.5px; }
.cx-footer a { color: var(--c-on-dark-2); text-decoration: none; }
.cx-footer a:hover { color: #fff; }
.cx-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(5, minmax(0, 1fr)); gap: 28px; }
.cx-footer__brand { display: flex; flex-direction: column; gap: 12px; }
.cx-footer__brand p { margin: 0; line-height: 1.9; }
.cx-footer__brand img { height: 36px; width: auto; align-self: flex-start; }
.cx-footer__phone { color: #fff !important; font-size: 24px; font-weight: 800; direction: ltr; text-align: right; }
.cx-footer__addr { font-size: 13.5px; }
.cx-footer__heading { margin: 0 0 12px; color: #fff; font-weight: 700; font-size: 15px; }
.cx-footer__col ul { list-style: none; margin: 0; padding: 0; }
.cx-footer__col li { margin: 0; padding: 4px 0; }
.cx-footer__badges { display: flex; gap: 12px; margin-top: 32px; }
.cx-badge { min-width: 84px; height: 84px; border-radius: 14px; background: #fff; display: flex; align-items: center; justify-content: center; color: var(--c-muted); font-size: 12.5px; text-align: center; padding: 6px; box-sizing: border-box; }
.cx-footer__legal { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 32px; padding-block: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; }

/* ---------- blog / archives ---------- */
.cx-archive-head { padding-block: 56px 40px; }
.cx-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; list-style: none; padding: 0; margin: 0; }
.cx-posts .wp-block-post { margin: 0; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-card); overflow: hidden; display: flex; flex-direction: column; }
.cx-posts .wp-block-post-featured-image { margin: 0; aspect-ratio: 16 / 9; background: var(--c-bg-alt); }
.cx-posts .wp-block-post-featured-image img { width: 100%; height: 100%; object-fit: cover; }
.cx-posts .wp-block-post-title { font-size: 19px !important; line-height: 1.6; margin: 18px 22px 6px; }
.cx-posts .wp-block-post-title a { text-decoration: none; }
.cx-posts .wp-block-post-excerpt { margin: 0 22px 22px; font-size: 14.5px; color: var(--c-muted); }
.cx-empty { padding: 40px; text-align: center; background: var(--c-surface); border: 1px dashed var(--c-line-strong); border-radius: var(--r-card); color: var(--c-muted); }
.cx-article { max-width: 760px; margin-inline: auto; padding-inline: var(--gutter); padding-block: 32px 72px; }
.cx-article .wp-block-post-title { font-size: var(--fs-h1); line-height: 1.5; margin: 12px 0; }
.cx-article .wp-block-post-content > * + * { margin-top: 1.1em; }
.cx-article .wp-block-post-content h2 { font-size: 28px; margin-top: 1.6em; }
.cx-article .wp-block-post-content h3 { font-size: 21px; margin-top: 1.4em; }
.cx-meta { display: flex; gap: 16px; flex-wrap: wrap; color: var(--c-muted); font-size: 14px; }
.cx-meta > * { margin: 0 !important; }
.wp-block-query-pagination { margin-top: 40px; gap: 12px; justify-content: center; }
.cx-search { display: flex; gap: 10px; max-width: 560px; }
.cx-search .wp-block-search__input { border: 1px solid var(--c-line-strong); border-radius: var(--r-control); min-height: 50px; padding: 0 14px; font: inherit; }
.cx-search .wp-block-search__button { background: var(--c-plum-900); color: #fff; border-radius: var(--r-control); border: 0; min-height: 50px; padding: 0 22px; font: inherit; font-weight: 700; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
	.cx-grid-2, .cx-grid-3, .cx-grid-4, .cx-split, .cx-split--wide-visual, .cx-split--visual-first, .cx-head--split { grid-template-columns: 1fr; }
	.cx-grid-6, .cx-logos__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.cx-steps { grid-template-columns: 1fr; }
	.cx-hero { padding-top: 40px; }
	.cx-hero__copy { align-items: stretch; text-align: right; }
	.cx-hero__copy .wp-block-buttons { flex-direction: column; align-items: stretch; }
	.cx-hero__copy .wp-block-button, .cx-hero__copy .wp-block-button__link { width: 100%; }
	.cx-band { padding: 28px 24px; }
	.cx-contact__call { padding: 28px 24px; }
	.cx-contact__num a { font-size: 34px; }
	.cx-footer__grid { grid-template-columns: 1fr 1fr; }
	.cx-footer__brand { grid-column: 1 / -1; }
	.cx-posts { grid-template-columns: 1fr; }
	.cx-card { padding: 22px; }
}
@media (max-width: 560px) {
	.cx-footer__grid { grid-template-columns: 1fr; }
}

/* stretched link for link cards */
.cx-card--link { position: relative; }
.cx-card--link .cx-h3 a { text-decoration: none; }
.cx-card--link .cx-h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.cx-card--link .cx-more { position: relative; z-index: 1; }

/* ---------- v1.1 feedback ---------- */
.cx-wrap > .cx-grid + .cx-chips, .cx-wrap > .cx-grid + ul.cx-chips, .cx-stack + ul.cx-chips { margin-top: 40px !important; }
.cx-badge img { max-width: 100%; max-height: 64px; width: auto; height: auto; display: block; }
.cx-footer__badges { align-items: center; }
ul.cx-social { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; }
ul.cx-social li { margin: 0; }
.cx-social--footer a { width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .08); color: #fff !important; }
.cx-social--footer a:hover { background: var(--c-coral-500); }
.cx-social--footer span, .cx-social--footer small { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
.cx-social--contact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cx-social--contact a { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-radius: var(--r-card); background: var(--c-surface); border: 1px solid var(--c-line); text-decoration: none; color: var(--c-heading); font-weight: 700; }
.cx-social--contact a:hover { border-color: var(--c-plum-900); }
.cx-social--contact .cx-ico { width: 24px; height: 24px; color: var(--c-coral-700); }
.cx-social--contact small { margin-inline-start: auto; color: var(--c-muted); font-weight: 400; }
@media (max-width: 960px) { .cx-social--contact { grid-template-columns: 1fr; } }
.cx-ico-tile--mustard { background: #FBEDE4; color: #B24A17; }
.cx-qlist { list-style: none; margin: 0; padding: 0; counter-reset: q; display: flex; flex-direction: column; gap: 10px; }
.cx-qlist li { counter-increment: q; position: relative; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 14px; padding: 14px 18px 14px 18px; padding-inline-start: 56px; margin: 0; color: var(--c-heading); }
.cx-qlist li::before { content: counter(q, persian); position: absolute; inset-inline-start: 18px; top: 14px; width: 26px; height: 26px; border-radius: 8px; background: var(--c-plum-50); color: var(--c-brand-text); font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.cx-qlist li small { display: block; color: var(--c-muted); font-size: 13px; }
.cx-scale { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.cx-scale > * { margin: 0 !important; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 12px; padding: 10px; text-align: center; font-size: 13.5px; color: var(--c-heading); }
.cx-enps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cx-enps > * { margin: 0 !important; }
.cx-enps .cx-card { border-top-width: 4px; }
.cx-enps .is-pro { border-top-color: #3E7BD6; } .cx-enps .is-pas { border-top-color: var(--c-mustard); } .cx-enps .is-det { border-top-color: var(--c-coral-500); }
.cx-formula { background: var(--c-plum-950); color: #fff; border-radius: var(--r-card); padding: 26px 28px; font-size: 20px; font-weight: 800; text-align: center; }
.cx-formula span { color: var(--c-orange-dark); }
.cx-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: start; }
.cx-gallery > * { margin: 0 !important; }
.cx-gallery figcaption, .cx-caption { margin-top: 10px; font-size: 14px; color: var(--c-muted); text-align: center; }
@media (max-width: 960px) { .cx-gallery, .cx-enps, .cx-scale { grid-template-columns: 1fr; } }

/* v1.2 — screenshot zoom */
img[data-cx-zoom] { cursor: zoom-in; transition: transform .2s ease; }
img[data-cx-zoom]:focus-visible { outline: 3px solid var(--c-cyan, #5B4BFF); outline-offset: -3px; }
@media (hover: hover) { .wp-block-image.is-style-cx-shot:hover img[data-cx-zoom] { transform: scale(1.01); } }
.cx-zoom { padding: 0; border: 0; border-radius: 12px; max-width: min(96vw, 1800px); max-height: 94vh; background: #fff; box-shadow: 0 30px 80px rgba(42, 31, 128, .45); overflow: auto; }
.cx-zoom::backdrop { background: rgba(42, 31, 128, .78); }
.cx-zoom img { display: block; width: 100%; height: auto; max-width: none; }
@media (max-width: 960px) { .cx-zoom { max-width: 100vw; max-height: 100vh; width: 100vw; border-radius: 0; } .cx-zoom img { width: 200%; } }
.cx-zoom__close { position: sticky; top: 8px; float: left; margin: 8px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--c-plum, #5B4BFF); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; z-index: 1; }
.cx-demo-note { margin-top: 14px; font-size: 13px; color: var(--c-muted); text-align: center; }
/* Tall screenshots (reports, mobile, forms) stay compact in galleries; zoom shows the full image. */
.cx-gallery .is-style-cx-shot img { aspect-ratio: 16 / 10; height: auto; object-fit: cover; object-position: top right; } /* RTL panel: titles and menus sit on the right */

/* v1.3 — articles */
.cx-callout { margin-block: 1.6em; padding: 20px 22px; border-radius: 14px; background: var(--c-sand-2, #F4F3F7); border-inline-start: 4px solid var(--c-coral, #FF6B5B); }
.cx-callout p { margin: 0; }
.cx-callout p + p { margin-top: 6px; }
.cx-callout__title { color: var(--c-plum, #5B4BFF); }
.cx-sources { font-size: 14.5px; color: var(--c-muted); }
.cx-sources a { word-break: break-word; }
.cx-article .wp-block-table table { width: 100%; }
.cx-article .cx-table { overflow-x: auto; }
.wp-block-post-template .wp-block-post-featured-image img { aspect-ratio: 16 / 10; height: auto; object-fit: cover; object-position: top center; }
/* Contact form: comfortable tap target for the privacy checkbox */
.fluentform .ff_tc_checkbox input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--c-plum, #5B4BFF); vertical-align: middle; margin-inline-end: 6px; cursor: pointer; }
.fluentform .ff_tc_label { cursor: pointer; line-height: 1.9; }
.cx-badge--enamad img { width: 72px; height: auto; display: block; }
/* Legal pages (privacy) */
.cx-legal { max-width: 760px; }
.cx-legal h2 { font-size: 22px; margin-top: 1.8em; }
.cx-legal p, .cx-legal li { line-height: 2; }

/* =========================================================================
   uCheckCX additions (Phase 4 UI)
   ========================================================================= */

/* surfaces: gray cards on white, white cards on gray (decision #6) */
.cx-card { background: var(--c-bg-alt); border: 0; }
.cx-bg-alt .cx-card, .cx-bg-alt .wp-block-details.cx-faq { background: var(--c-surface); }
.cx-card--link:hover { border-color: transparent; }
.cx-bg-alt .cx-ico-tile { background: var(--c-surface); }
.cx-ico-tile--purple { background: var(--c-plum-50); color: var(--c-brand-text); }
.cx-ico-tile--orange { background: var(--c-coral-50); color: var(--c-coral-700); }
.cx-ico-tile--green { background: var(--c-green-50); color: var(--c-green); }
.cx-ico-tile--blue { background: var(--c-cyan-50); color: var(--c-cyan-800); }
.cx-ico-tile--dark { background: var(--c-plum-950); color: #fff; }
.wp-block-details.cx-faq { background: var(--c-bg-alt); border: 0; }
ul.cx-chips li > a, ul.cx-chips li > span { background: var(--c-plum-50); border-color: transparent; color: var(--c-brand-text); font-weight: 600; }
ul.cx-chips li > a:hover { background: #E4E0FF; border-color: transparent; }
.cx-bg-dark .cx-card { background: rgba(255, 255, 255, .07); }
.cx-bg-dark .cx-card .cx-sm { color: var(--c-on-dark-2); }
.cx-bg-dark a { color: #fff; }

/* header */
.cx-header__link { font-size: 14.5px; font-weight: 600; text-decoration: none; color: var(--c-brand-text); white-space: nowrap; }
.cx-header__link:hover { color: var(--c-plum-700); text-decoration: underline; }
.cx-logo img { height: 38px; }
.cx-mega__cols { grid-template-columns: repeat(4, minmax(0, 1fr)) 230px; gap: 28px; }
.cx-mega__promo { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 14px; background: var(--c-bg-alt); text-decoration: none; color: var(--c-heading); box-shadow: none; }
.cx-mega__promo:hover { color: var(--c-heading); box-shadow: var(--sh-md); }
.cx-mega__promo strong { font-size: 16px; color: var(--c-heading); }
.cx-mega__promo span { font-size: 13.5px; color: var(--c-muted); line-height: 1.7; }
.cx-mega__promo em { font-style: normal; font-weight: 700; color: var(--c-brand-text); font-size: 14px; }
.cx-mega__promo .cx-mega__promo-alert { display: flex; flex-direction: column; gap: 4px; margin-bottom: 6px; padding: 10px 12px; background: var(--c-surface); border-radius: 12px; box-shadow: var(--sh-md); color: var(--c-coral-700); font-weight: 700; font-size: 12.5px; }
.cx-mega__promo-alert i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--c-coral-500); margin-inline-end: 6px; }
.cx-mega__promo-alert b { align-self: flex-start; background: var(--c-green-50); color: var(--c-green); border-radius: 999px; padding: 1px 10px; font-size: 12px; }
.cx-mega__foot { justify-content: flex-start; gap: 28px; flex-wrap: wrap; }
.cx-mmenu__login { display: flex; justify-content: center; gap: 24px; margin: 4px 0 0; }
@media (max-width: 1180px) { .cx-header__link { display: none; } }

/* hero: dashboard illustration + alert card (signature) */
.cx-hero { background: linear-gradient(#fff, var(--c-bg-alt)); }
.cx-hero-visual { position: relative; margin: 0; padding-bottom: 40px; }
.cx-dash { margin: 0; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-panel); box-shadow: var(--sh-lg); padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.cx-dash__top { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--c-heading); }
.cx-dash__top span { margin-inline-start: auto; font-size: 12.5px; background: var(--c-bg-alt); border-radius: 999px; padding: 4px 12px; color: var(--c-muted); }
.cx-dash__kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cx-dash__kpis div { background: var(--c-bg-alt); border-radius: 12px; padding: 12px; }
.cx-dash__kpis small { display: block; font-size: 12.5px; color: var(--c-muted); }
.cx-dash__kpis b { display: block; font-size: 26px; font-weight: 800; line-height: 1.5; }
.cx-dash .is-nps { color: var(--c-brand-text); } .cx-dash .is-csat { color: var(--c-coral-700); } .cx-dash .is-ces { color: var(--c-cyan-500); }
.cx-dash__chart { width: 100%; height: auto; display: block; }
.cx-dash__todo { display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; }
.cx-dash__todo div { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--c-line); padding-top: 8px; }
.cx-dash__todo b { color: var(--c-brand-text); }
.cx-dash figcaption { font-size: 12px; color: var(--c-muted); }
.cx-alert { position: absolute; bottom: 0; inset-inline-start: -28px; width: 310px; height: 150px; }
.cx-alert__card { position: absolute; inset: 0; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 16px; box-shadow: 0 18px 44px -18px rgba(42, 31, 128, .45); padding: 16px 18px; box-sizing: border-box; }
.cx-alert__card p { margin: 0; }
.cx-alert__title { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; line-height: 1.6; }
.cx-alert__title i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.cx-alert__title small { margin-inline-start: auto; font-weight: 400; font-size: 12px; color: var(--c-muted); }
.cx-alert__card--neg .cx-alert__title { color: var(--c-coral-700); } .cx-alert__card--neg i { background: var(--c-coral-500); }
.cx-alert__card--ok .cx-alert__title { color: var(--c-green); } .cx-alert__card--ok i { background: var(--c-green); }
.cx-alert__quote { font-size: 14.5px; color: var(--c-heading); margin-top: 8px !important; line-height: 1.8; }
.cx-alert__meta { font-size: 12.5px; color: var(--c-muted); margin-top: 4px !important; }
.cx-alert__badge { display: inline-block; margin-top: 8px; background: var(--c-green-50); color: var(--c-green); font-weight: 700; font-size: 12.5px; border-radius: 999px; padding: 3px 10px; }
.cx-alert__card--neg { animation: cxNeg 9s infinite; }
.cx-alert__card--ok { animation: cxOk 9s infinite; }
@keyframes cxNeg { 0% { opacity: 0; transform: translateY(12px); } 7%, 48% { opacity: 1; transform: none; } 56%, 100% { opacity: 0; } }
@keyframes cxOk { 0%, 50% { opacity: 0; transform: translateY(12px); } 58%, 95% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
	.cx-alert__card--neg { animation: none; opacity: 0; }
	.cx-alert__card--ok { animation: none; opacity: 1; }
	html { scroll-behavior: auto; }
}
@media (max-width: 960px) {
	.cx-hero-visual { padding-bottom: 0; }
	.cx-alert { position: relative; inset: auto; width: auto; height: 150px; margin: -24px 12px 0; }
}

/* the closed loop: 5 steps */
.cx-loop { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.cx-loop > * { margin: 0 !important; }
.cx-loop__n { margin: 0; font-size: 30px; line-height: 1.3; font-weight: 800; color: var(--c-coral-500); }
@media (max-width: 960px) { .cx-loop { grid-template-columns: 1fr; } }

/* "where this sits in the loop" bar */
.cx-loopbar { background: var(--c-plum-950); color: var(--c-on-dark-2); }
.cx-loopbar__in { min-height: 60px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 14.5px; padding-block: 10px; }
.cx-loopbar__steps { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.cx-loopbar__steps li { margin: 0; }
.cx-loopbar__steps li + li::before { content: "›"; margin-inline-end: 10px; color: var(--c-on-dark-2); }
.cx-loopbar__steps .is-current { color: #fff; font-weight: 800; }
.cx-loopbar__nav { margin-inline-start: auto; display: flex; gap: 20px; }
.cx-loopbar__nav a { color: #fff; font-weight: 700; text-decoration: none; }
.cx-loopbar__nav a:hover { color: #fff; text-decoration: underline; }

/* phone with SMS bubbles */
.cx-phone { margin: 0 auto; width: min(100%, 310px); background: var(--c-surface); border-radius: 36px; border: 1px solid var(--c-line); box-shadow: var(--sh-lg); padding: 28px 18px; display: flex; flex-direction: column; gap: 12px; box-sizing: border-box; }
.cx-phone__label { margin: 0; text-align: center; font-size: 12.5px; color: var(--c-muted); }
.cx-bubble { margin: 0; align-self: flex-start; background: var(--c-bg-alt); border-radius: 18px; padding: 10px 14px; font-size: 14.5px; line-height: 1.8; max-width: 85%; color: var(--c-heading); }
.cx-bubble--me { align-self: flex-end; background: var(--c-plum-900); color: #fff; font-weight: 600; }
.cx-phone figcaption { font-size: 12px; color: var(--c-muted); text-align: center; }

/* CTA band: dark panel + benefits list */
.cx-cta { padding-block: var(--sec); }
.cx-cta__panel { background: var(--c-plum-950); border-radius: var(--r-panel); padding: 56px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; color: var(--c-on-dark); }
.cx-cta .cx-eyebrow { color: var(--c-orange-dark); }
.cx-cta .cx-eyebrow::before { background: var(--c-orange-dark); }
.cx-cta__title { margin: 10px 0 0; color: #fff; font-size: var(--fs-h2); font-weight: 800; line-height: 1.45; }
.cx-cta__text { margin: 12px 0 0; color: var(--c-on-dark); }
.cx-cta__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.cx-cta__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.cx-cta__list li { margin: 0; background: rgba(255, 255, 255, .07); border-radius: 12px; padding: 12px 16px; color: #fff; font-size: 15.5px; }
.cx-cta__list a { color: #fff; font-weight: 800; font-size: 20px; text-decoration: none; }
@media (max-width: 960px) {
	.cx-cta__panel { grid-template-columns: 1fr; padding: 32px 22px; }
	.cx-cta__btns .cx-btn { flex: 1 1 100%; }
}

/* question → answer table: three-line cards on phones */
@media (max-width: 760px) {
	.wp-block-table.cx-table--qa table { min-width: 0; border: 0; background: none; }
	.wp-block-table.cx-table--qa thead { display: none; }
	.wp-block-table.cx-table--qa tr { display: block; background: var(--c-bg-alt); border-radius: var(--r-card); padding: 16px 18px; margin-bottom: 12px; }
	.wp-block-table.cx-table--qa td { display: block; padding: 4px 0; border: 0; }
	.wp-block-table.cx-table--qa td:nth-child(2)::before { content: "معمولاً: "; font-weight: 700; color: var(--c-muted); }
	.wp-block-table.cx-table--qa td:nth-child(3)::before { content: "یوچک: "; font-weight: 700; color: var(--c-brand-text); }
}

/* scenario timeline (always labelled «نمونه») */
.cx-timeline { border-inline-start: 3px solid var(--c-line-strong); padding-inline-start: 24px; display: flex; flex-direction: column; gap: 18px; }
.cx-timeline > * { margin: 0 !important; }
.cx-timeline strong { color: var(--c-brand-text); }
.cx-sample { display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--c-coral-700); background: var(--c-coral-50); border-radius: 999px; padding: 2px 12px; }

/* trust line under hero CTAs */
.cx-trust { display: flex; gap: 22px; flex-wrap: wrap; margin: 0; font-size: var(--fs-small); color: var(--c-muted); }
.cx-trust span { margin: 0; }

/* phones: full-width hero buttons; loop bar shows only the current step + prev/next */
@media (max-width: 760px) {
	.cx-hero .wp-block-buttons, .cx-page-hero .wp-block-buttons { flex-direction: column; align-items: stretch; }
	.cx-hero .wp-block-button, .cx-page-hero .wp-block-button, .cx-hero .wp-block-button__link, .cx-page-hero .wp-block-button__link { width: 100%; }
	.cx-loopbar__steps li:not(.is-current) { display: none; }
	.cx-loopbar__steps li.is-current::before { content: "این قابلیت: "; color: var(--c-on-dark-2); font-weight: 400; }
	.cx-loopbar__nav { margin-inline-start: 0; width: 100%; justify-content: space-between; }
}

/* v1.1 — mega promo image, screenshot placeholders, pricing, quote */
.cx-mega__promo img { display: block; width: 100%; height: auto; aspect-ratio: 46 / 26; object-fit: cover; border-radius: 10px; margin-bottom: 6px; }
.cx-ph--shot { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; aspect-ratio: 16 / 10; padding: 24px; background: repeating-linear-gradient(45deg, var(--c-line) 0 12px, #F7F6F9 12px 24px); border: 2px dashed var(--c-line-strong); }
.cx-ph--shot strong { font-size: 15px; color: var(--c-brand-text); }
.cx-ph--shot span { font-size: 13.5px; color: var(--c-muted); max-width: 420px; }
.cx-ph--photo { aspect-ratio: 4 / 3; border-radius: var(--r-panel); }
.cx-plan { position: relative; gap: 14px; }
.cx-plan--featured { background: var(--c-surface); box-shadow: 0 0 0 2px var(--c-plum-900), var(--sh-md); }
.cx-plan__badge { position: absolute; top: -12px; inset-inline-start: 24px; background: var(--c-plum-900); color: #fff; font-size: 12.5px; font-weight: 700; border-radius: 999px; padding: 2px 12px; }
.cx-plan__price { font-size: 28px; font-weight: 800; color: var(--c-heading); line-height: 1.4; }
.cx-plan__price small { font-size: 14px; font-weight: 400; color: var(--c-muted); }
.cx-plan ul.cx-checks { gap: 8px; font-size: 14.5px; flex: 1; }
.cx-plan .wp-block-buttons, .cx-plan .wp-block-button, .cx-plan .wp-block-button__link { width: 100%; }
.cx-quote { background: var(--c-bg-alt); border-inline-start: 4px solid var(--c-coral-500); border-radius: var(--r-card); padding: 22px 24px; }
.cx-quote__text { font-size: 18px; line-height: 1.9; color: var(--c-heading); font-weight: 600; margin: 0 0 8px !important; }
.cx-wrap > .cx-split + .cx-grid { margin-top: 40px !important; }
.cx-plans { max-width: 1200px; margin-inline: auto; align-items: stretch; }

/* =========================================================================
   "Live Pulse" layer (redesign, docs/DESIGN-SYSTEM.md)
   ========================================================================= */

h1, h2, .cx-display, .cx-h1, .cx-h2 { font-weight: 900 !important; }
.cx-eyebrow { gap: 8px; }
.cx-eyebrow::before { width: 8px; height: 8px; border-radius: 50%; }

/* buttons */
.cx-btn, .wp-block-button[class*="is-style-cx-"] .wp-block-button__link { transition: transform .15s var(--ease), filter .15s, background-color .15s; }
.cx-btn:active, .wp-block-button[class*="is-style-cx-"] .wp-block-button__link:active { transform: scale(.97); }
.cx-btn--primary, .is-style-cx-primary .wp-block-button__link { background: var(--grad-brand); color: #fff; box-shadow: var(--sh-glow); }
.cx-btn--primary:hover, .is-style-cx-primary .wp-block-button__link:hover { background: var(--grad-brand); color: #fff; filter: brightness(1.1); transform: translateY(-2px); }
.cx-btn--secondary, .is-style-cx-secondary .wp-block-button__link { background: var(--c-surface); color: var(--c-heading); box-shadow: inset 0 0 0 1px var(--c-line-strong); }
.cx-btn--secondary:hover, .is-style-cx-secondary .wp-block-button__link:hover { background: var(--c-surface); color: var(--c-brand-text); box-shadow: inset 0 0 0 1px var(--brand-300); }
.cx-btn--light, .is-style-cx-light .wp-block-button__link { color: var(--brand-700); }
.cx-btn--light:hover, .is-style-cx-light .wp-block-button__link:hover { background: #fff; color: var(--brand-700); transform: translateY(-2px); }
.cx-btn--outline, .is-style-cx-outline .wp-block-button__link { background: rgba(255, 255, 255, .15); box-shadow: none; }
.cx-btn--outline:hover, .is-style-cx-outline .wp-block-button__link:hover { background: rgba(255, 255, 255, .25); }

/* surfaces */
.cx-bg-white { background: transparent; }
.cx-card, .cx-bg-alt .cx-card { background: var(--c-surface); border: 1px solid var(--c-line); box-shadow: var(--sh-soft); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.cx-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: var(--brand-200); }
html.dark .cx-card:hover { border-color: rgba(203, 196, 255, .35); }
.wp-block-details.cx-faq, .cx-bg-alt .wp-block-details.cx-faq { background: var(--c-surface); border: 1px solid var(--c-line); }
.cx-bg-alt { background: var(--c-bg-alt); }
.cx-bg-dark .cx-card { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .1); }
.cx-ico-tile, .cx-ico-tile--purple { background: var(--c-plum-50); color: var(--c-brand-text); }
.cx-bg-alt .cx-ico-tile { background: var(--c-plum-50); }
.cx-bg-alt .cx-ico-tile--orange { background: var(--c-coral-50); }
.cx-bg-alt .cx-ico-tile--green { background: var(--c-green-50); }
.cx-bg-alt .cx-ico-tile--blue { background: var(--c-cyan-50); }
.cx-ico-tile--dark { background: var(--night-800); color: #fff; }
.cx-num { font-size: 38px; font-weight: 900; color: var(--brand-500); }
.wp-block-table.cx-table th { background: var(--c-plum-50); color: var(--c-heading); }
ul.cx-chips li > a:hover { background: var(--brand-200); color: var(--brand-700); }

/* header: floating pill bar */
.cx-header { background: transparent; border: 0; backdrop-filter: none; padding-top: 12px; }
.cx-header.is-scrolled { box-shadow: none; }
.cx-header__bar { background: var(--c-glass); backdrop-filter: saturate(1.4) blur(18px); border: 1px solid var(--c-line); border-radius: var(--r-card); box-shadow: var(--sh-soft); padding-inline: 16px; gap: 18px; max-width: calc(var(--container) - 2 * var(--gutter)); width: calc(100% - 2 * var(--gutter)); transition: box-shadow .3s; }
.cx-header.is-scrolled .cx-header__bar { box-shadow: var(--sh-md); }
.cx-header__end { gap: 10px; }
.cx-header__end .cx-btn--sm { min-height: 42px; padding: 0 16px; font-size: 14px; }
.cx-theme { width: 44px; height: 44px; flex: none; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: var(--r-control); background: transparent; color: var(--c-heading); cursor: pointer; }
.cx-theme:hover { background: var(--c-plum-50); }
.cx-theme .cx-theme__sun, html.dark .cx-theme .cx-theme__moon { display: none; }
html.dark .cx-theme .cx-theme__sun { display: block; }
.cx-logo .cx-logo__dark, html.dark .cx-logo .cx-logo__light { display: none; }
html.dark .cx-logo .cx-logo__dark { display: block; }
.cx-mmenu { margin: 8px var(--gutter) 0; border: 1px solid var(--c-line); border-radius: var(--r-card); box-shadow: var(--sh-md); max-height: calc(100vh - var(--header-h) - 40px); }

/* logo strip stays on white so brand colours remain legible */
html.dark .cx-logos__list { background: #fff; border-radius: var(--r-card); padding: 12px; }

/* live dot */
.cx-dot, .cx-alert__card--neg i { width: 8px; height: 8px; border-radius: 50%; background: var(--coral-500); display: inline-block; animation: cxPulse 1.6s var(--ease) infinite; }
@keyframes cxPulse { 0% { box-shadow: 0 0 0 0 rgba(255, 107, 91, .6); } 70% { box-shadow: 0 0 0 10px rgba(255, 107, 91, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 107, 91, 0); } }
@keyframes cxFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes cxRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* old page hero (product pages) */
.cx-hero { background: none; }
.cx-page-hero { padding-bottom: 56px; }

/* ---------- home hero ---------- */
.cx-lp-top { padding-top: 18px; }
.cx-lp-hero { position: relative; overflow: hidden; border-radius: var(--r-panel); background: linear-gradient(135deg, #5B4BFF 0%, #4A37E6 48%, #1B1440 100%); color: #fff; padding: clamp(24px, 5vw, 60px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 44px; align-items: center; }
.cx-lp-hero::before, .cx-lp-hero::after, .cx-price-hero::before, .cx-price-hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.cx-lp-hero::before, .cx-price-hero::before { width: 520px; height: 520px; top: -240px; left: -160px; background: radial-gradient(closest-side, rgba(138, 92, 255, .75), transparent); }
.cx-lp-hero::after, .cx-price-hero::after { width: 560px; height: 560px; bottom: -320px; right: 15%; background: radial-gradient(closest-side, rgba(255, 107, 91, .5), transparent); }
.cx-lp-hero > * { margin: 0 !important; position: relative; z-index: 1; min-width: 0; }
.cx-lp-copy { animation: cxRise .6s var(--ease) both; }
.cx-lp-copy > * { margin: 0 0 18px !important; }
.cx-lp-badge { display: inline-flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .14); border-radius: 99px; padding: 4px 16px; font-size: 13px; font-weight: 700; }
.cx-lp-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--coral-500); animation: cxPulse 1.6s var(--ease) infinite; }
.cx-lp-hero h1.cx-display { color: #fff; line-height: 1.4 !important; }
.cx-lp-hero h1 mark { background: none; color: var(--c-orange-dark); }
.cx-lp-hero .cx-lead { color: #E4E0FF; max-width: 560px; }
.cx-lp-hero .cx-trust { color: #CBC4FF; font-size: 13px; margin-bottom: 0 !important; }
.cx-lp-visual { position: relative; padding-bottom: 28px; }
.cx-lp-visual__photo { display: block; width: 84%; margin-inline-start: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 40% 70%; border-radius: var(--r-panel); border: 6px solid rgba(255, 255, 255, .16); box-sizing: border-box; }
.cx-float { position: absolute; width: min(270px, 78%); background: #fff; color: #1F1D33; border-radius: var(--r-card); padding: 14px 18px; box-shadow: 0 24px 60px rgba(14, 11, 31, .4); animation: cxFloat 6s ease-in-out infinite; line-height: 1.8; }
.cx-float p { margin: 0; }
.cx-float--neg { top: 28px; right: 0; }
.cx-float--ok { bottom: 0; left: 0; animation-delay: -3s; }
.cx-float__title { display: flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 700; color: #D63D2D; }
.cx-float__quote { font-weight: 700; font-size: 14.5px; margin-top: 4px !important; }
.cx-float__meta { font-size: 12.5px; color: #5A5A75; }
.cx-float__chip { display: inline-block; background: rgba(22, 185, 129, .12); color: #047857; border-radius: 99px; padding: 1px 12px; font-size: 12px; font-weight: 700; }
.cx-float__bar { display: block; height: 8px; margin: 8px 0 4px; border-radius: 99px; background: linear-gradient(90deg, #16B981, #2DD4BF); }

/* gradient words in section titles */
.cx-h2 mark, .cx-h1 mark { background: linear-gradient(90deg, #5B4BFF, #8A5CFF, #FF6B5B); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* closed loop */
.cx-loop .cx-loop__n { width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: var(--grad-brand); color: #fff; font-size: 20px; }
.cx-loop > :nth-child(2) .cx-loop__n { background: linear-gradient(135deg, #0369A1, #5B4BFF); }
.cx-loop > :nth-child(3) .cx-loop__n { background: linear-gradient(135deg, #D63D2D, #B45309); }
.cx-loop > :nth-child(4) .cx-loop__n { background: linear-gradient(135deg, #4A37E6, #2A1F80); }
.cx-loop > :nth-child(5) .cx-loop__n { background: linear-gradient(135deg, #047857, #0F766E); }

/* features bento */
.cx-bento { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px; }
.cx-bento > * { margin: 0 !important; }
.cx-bento__main { background: var(--c-plum-50); border-radius: var(--r-panel); padding: 32px 32px 0; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.cx-bento__main > * { margin: 0 !important; }
.cx-bento__main .wp-block-image { margin-top: auto !important; padding-top: 16px; }
.cx-bento__main .wp-block-image img { display: block; width: 100%; height: auto; border-radius: 16px 16px 0 0; box-shadow: 0 -8px 40px rgba(42, 31, 128, .18); }
.cx-bento__main .wp-block-image.is-style-cx-shot { border: 0; background: none; box-shadow: none; border-radius: 0; }
.cx-bento__side { display: flex; flex-direction: column; gap: 20px; }
.cx-bento__side > * { flex: 1; margin: 0 !important; }

/* uCheckPad showcase */
.cx-showcase { background: var(--night-900); border: 1px solid rgba(255, 255, 255, .1); color: #fff; border-radius: var(--r-panel); overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.cx-showcase > * { margin: 0 !important; min-width: 0; }
.cx-showcase__copy { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; gap: 14px; justify-content: center; align-items: flex-start; }
.cx-showcase__copy > * { margin: 0 !important; }
.cx-showcase h2 { color: #fff; }
.cx-showcase .cx-lead { color: #CFCFDF; }
.cx-tag { display: inline-block; background: var(--coral-600); color: #fff; border-radius: 99px; padding: 2px 14px; font-size: 12.5px; font-weight: 700; }
.cx-showcase .cx-pad-photo { height: 100%; }
.cx-pad-photo { display: block; width: 100%; height: auto; object-fit: cover; }
.cx-showcase .cx-pad-photo { min-height: 320px; max-height: 480px; }

/* gradient industry cards */
.cx-card.cx-grad { min-height: 200px; border: 0; color: #fff; border-radius: var(--r-panel); background: linear-gradient(135deg, #6C5CFF, #8A5CFF); }
.cx-card.cx-grad-2 { background: linear-gradient(135deg, #D63D2D, #B45309); }
.cx-card.cx-grad-3 { background: linear-gradient(135deg, #0369A1, #5B4BFF); }
.cx-card.cx-grad-4 { background: linear-gradient(135deg, #047857, #0F766E); }
.cx-card.cx-grad :is(h3, h3 a, .cx-sm) { color: #fff; }
.cx-card.cx-grad .cx-ico-tile { background: rgba(255, 255, 255, .18); color: #fff; }

/* CTA band */
.cx-cta__panel, .cx-lp-band { position: relative; overflow: hidden; background: linear-gradient(135deg, #5B4BFF, #4A37E6 55%, #7C4DEB); color: #fff; border-radius: var(--r-panel); }
.cx-cta .cx-eyebrow { color: #fff; }
.cx-cta .cx-eyebrow::before { background: var(--c-orange-dark); }
.cx-cta__text { color: #E4E0FF; }
.cx-cta__list li { background: rgba(255, 255, 255, .13); }
.cx-lp-band { text-align: center; padding: 52px 24px; }
.cx-lp-band > * { margin: 0 0 16px !important; }
.cx-lp-band > :last-child { margin-bottom: 0 !important; }
.cx-lp-band h2 { color: #fff; }
.cx-lp-band a:not(.wp-block-button__link) { color: #fff; }
.cx-footer { background: var(--night-900); border-top: 1px solid rgba(255, 255, 255, .08); }

/* ---------- pricing ---------- */
.cx-price-hero { position: relative; overflow: hidden; border-radius: var(--r-panel); background: linear-gradient(135deg, #5B4BFF, #4A37E6, #1B1440); color: #fff; text-align: center; padding: 48px 20px 120px; }
.cx-price-hero > * { position: relative; z-index: 1; margin: 0 auto 14px !important; }
.cx-price-hero h1 { color: #fff; }
.cx-price-hero .cx-lead, .cx-price-hero .cx-sm { color: #E4E0FF; max-width: 760px; }
.cx-billing { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; background: rgba(255, 255, 255, .14); border-radius: 99px; padding: 5px; margin-top: 18px; }
.cx-billing button { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 99px; padding: 0 22px; background: transparent; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.cx-billing button[aria-pressed="true"] { background: #fff; color: var(--brand-700); }
.cx-plans { position: relative; z-index: 2; margin-top: -88px !important; padding-inline: 16px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.cx-card.cx-plan { border-radius: var(--r-panel); padding: 26px 22px; box-shadow: var(--sh-md); gap: 10px; }
.cx-card.cx-plan--featured { border: 2px solid var(--brand-600); box-shadow: 0 18px 60px -8px rgba(91, 75, 255, .5); }
.cx-plan__badge { position: absolute; top: -13px; inset-inline-start: 22px; background: var(--coral-600); }
.cx-plan .cx-sm { min-height: 3.7em; }
.cx-plan__price { margin: 0; font-size: 30px; font-weight: 900; }
.cx-plan__price small { display: block; font-size: 13px; }
.cx-plan__price--y, html.cx-yearly .cx-plan__price--m { display: none; }
html.cx-yearly .cx-plan__price--y { display: block; }
.cx-plan .wp-block-buttons { margin-block: 6px !important; }
.cx-plan ul.cx-checks { border-top: 1px solid var(--c-line); padding-top: 16px; }
.cx-plan ul.cx-checks li::before { background-color: #16B981; }
.wp-block-table.cx-table--compare table { min-width: 640px; }
.wp-block-table.cx-table--compare :is(th, td) { text-align: center; padding: 12px 16px; }
.wp-block-table.cx-table--compare :is(th, td):first-child { text-align: start; position: sticky; inset-inline-start: 0; background: var(--c-surface); z-index: 1; }
.wp-block-table.cx-table--compare :is(th, td):nth-child(3) { background: var(--brand-50); }
html.dark .wp-block-table.cx-table--compare :is(th, td):nth-child(3) { background: #2A2456; }
.cx-common { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; background: var(--c-plum-50); border-radius: var(--r-panel); padding: 32px; }
.cx-common > * { margin: 0 !important; }
.cx-common h3 { font-size: 16px !important; color: var(--c-brand-text); margin-bottom: 8px; }
.cx-common ul { margin: 0; padding: 0; list-style: none; font-size: 13.5px; }
.cx-common li { padding: 4px 0; }
.cx-notes { margin: 0; padding-inline-start: 20px; color: var(--c-muted); }

/* ---------- uCheckPad page ---------- */
.cx-gallery-pad { min-width: 0; }
.cx-gallery-pad__main { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 65%; border-radius: var(--r-panel); box-shadow: var(--sh-lg); }
.cx-gallery-pad__thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.cx-gallery-pad__thumbs button { padding: 0; border: 3px solid transparent; border-radius: 16px; overflow: hidden; background: none; cursor: pointer; line-height: 0; }
.cx-gallery-pad__thumbs button[aria-pressed="true"] { border-color: var(--brand-600); }
.cx-gallery-pad__thumbs img { width: 100%; aspect-ratio: 1 / 1; height: auto; object-fit: cover; }
.cx-order { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); border: 1px solid var(--c-line); border-radius: var(--r-panel); overflow: hidden; background: var(--c-surface); box-shadow: var(--sh-md); scroll-margin-top: 100px; }
.cx-order > * { margin: 0 !important; min-width: 0; }
.cx-order__side { background: linear-gradient(135deg, #5B4BFF, #4A37E6, #1B1440); color: #fff; padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 14px; }
.cx-order__side > * { margin: 0 !important; }
.cx-order__side h2 { color: #fff; }
.cx-order__side .cx-lead { color: #E4E0FF; }
.cx-order__side .cx-pad-photo { border-radius: var(--r-card); max-height: 320px; object-position: 50% 60%; margin-top: auto !important; }
.cx-order__form { padding: clamp(22px, 4vw, 40px); }
.cx-qty { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--c-line); border-radius: var(--r-control); padding: 4px; }
.cx-qty button { width: 44px; height: 44px; border: 0; border-radius: 10px; background: var(--c-plum-50); color: var(--c-brand-text); font-size: 22px; line-height: 1; cursor: pointer; }
.fluentform .cx-qty input.ff-el-form-control { width: 72px; min-height: 44px; border: 0 !important; text-align: center; font-weight: 900; font-size: 20px !important; appearance: textfield; -moz-appearance: textfield; }
.cx-qty input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* forms */
.fluentform .ff-el-form-control { background: var(--c-surface) !important; color: var(--c-text) !important; border-color: var(--c-line) !important; }
.fluentform .ff-el-form-control:focus { border-color: var(--brand-500) !important; box-shadow: 0 0 0 4px rgba(108, 92, 255, .18) !important; }
.fluentform .ff-btn-submit { background: var(--grad-brand) !important; color: #fff !important; box-shadow: var(--sh-glow) !important; }
.cx-order__form .ff_submit_btn_wrapper, .cx-order__form .ff-btn-submit { width: 100%; }
.fluentform .ff-message-success { background: var(--c-surface); color: var(--c-text); border-color: var(--c-line); border-radius: var(--r-card); }

/* dark mode: remaining light-only bits */
html.dark .cx-callout { background: var(--c-bg-alt); }
html.dark .cx-cta__panel, html.dark .cx-lp-band { border: 1px solid rgba(255, 255, 255, .12); }
html.dark .cx-ph--shot { background: var(--c-bg-alt); }
html.dark .cx-search .wp-block-search__input { background: var(--c-surface); color: var(--c-text); }

@media (max-width: 1100px) {
	.cx-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cx-common { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
	.cx-lp-hero, .cx-bento, .cx-showcase, .cx-order { grid-template-columns: minmax(0, 1fr); }
	.cx-lp-hero .wp-block-buttons { flex-direction: column; align-items: stretch; }
	.cx-lp-hero .wp-block-button, .cx-lp-hero .wp-block-button__link { width: 100%; }
	.cx-bento__main { padding: 22px 18px 0; }
}
@media (max-width: 640px) {
	.cx-plans, .cx-common { grid-template-columns: minmax(0, 1fr); }
	.cx-plan--featured { order: -1; }
	.cx-common { padding: 22px; }
	.cx-float { width: min(240px, 82%); }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
}

.cx-sec--bottom0 { padding-bottom: 0; }
.cx-lp-band .cx-sm { color: #E4E0FF; }
.cx-plans + .cx-sm { margin-top: 24px !important; }
.cx-bento__main .wp-block-image { flex: none; }
@media (min-width: 961px) {
	.cx-bento__main .wp-block-image { flex: 1 1 0; min-height: 300px; }
	.cx-bento__main .wp-block-image img { height: 100%; object-fit: cover; object-position: top right; }
}
@media (max-width: 640px) {
	.wp-block-table.cx-table--compare table { min-width: 560px; font-size: 13.5px; }
	.wp-block-table.cx-table--compare :is(th, td) { padding: 10px 8px; }
	.wp-block-table.cx-table--compare :is(th, td):first-child { max-width: 130px; }
}
.cx-contact__call { background: linear-gradient(135deg, #5B4BFF, #4A37E6 55%, #1B1440); }
.cx-contact__ico { color: var(--brand-700); }
.cx-contact__num { color: #E4E0FF; }
html.dark .cx-loopbar { background: var(--night-800); }
