/* Synergy Cloud website.
   Built on the Sofbox page-builder template (Bootstrap 4.2.1 grid and utilities, Font Awesome 5).
   Every direction-sensitive rule uses logical properties, so this one file serves Arabic and English. */

/* ---------- Fonts (self-hosted, SIL OFL) ---------- */
@font-face { font-family: 'Plex'; font-weight: 400; font-display: swap; src: url('../fonts/plex-arabic-400.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: 'Plex'; font-weight: 500; font-display: swap; src: url('../fonts/plex-arabic-500.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: 'Plex'; font-weight: 600; font-display: swap; src: url('../fonts/plex-arabic-600.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: 'Plex'; font-weight: 700; font-display: swap; src: url('../fonts/plex-arabic-700.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: 'Plex'; font-weight: 400; font-display: swap; src: url('../fonts/plex-latin-400.woff2') format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: 'Plex'; font-weight: 500; font-display: swap; src: url('../fonts/plex-latin-500.woff2') format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: 'Plex'; font-weight: 600; font-display: swap; src: url('../fonts/plex-latin-600.woff2') format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: 'Plex'; font-weight: 700; font-display: swap; src: url('../fonts/plex-latin-700.woff2') format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }

/* ---------- Tokens ---------- */
:root {
    --navy: #242e93;
    --violet: #9519ff;
    --accent: #dca727;          /* action colour: dark ink on it (7.9:1), never white (2.2:1) and never accent text on white */
    --accent-hover: #e6b84f;    /* lighter on hover so the ink keeps its contrast (9.4:1) */
    --ink: #12163f;
    --muted: #5b6080;
    --surface: #f6f5ff;
    --line: #e4e2f5;
    --white: #ffffff;
    --grad-main: linear-gradient(135deg, #242e93 0%, #5a22c8 55%, #9519ff 100%);
    --grad-text: linear-gradient(120deg, #242e93 0%, #9519ff 100%);
    --grad-ai: linear-gradient(120deg, #242e93 0%, #9519ff 70%, #dca727 100%);
    --grad-soft: linear-gradient(180deg, #f6f5ff 0%, #ffffff 100%);
    --radius: 14px;
    --shadow: 0 18px 50px -18px rgba(36, 46, 147, .35);
    --shadow-soft: 0 10px 30px -12px rgba(18, 22, 63, .18);
    --ease: cubic-bezier(.22, .9, .3, 1);
}
/* White text never sits on the light accent end of the AI gradient: in Arabic the text is on the right, so the
   accent goes to the bottom-left; on narrow screens the content stacks, so the accent shrinks to the bottom edge. */
[dir="rtl"] { --grad-ai: linear-gradient(240deg, #242e93 0%, #9519ff 70%, #dca727 100%); }
@media (max-width: 991px) {
    :root, [dir="rtl"] { --grad-ai: linear-gradient(180deg, #242e93 0%, #9519ff 84%, #dca727 100%); }
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body { font-family: 'Plex', 'Segoe UI', Tahoma, sans-serif; color: var(--muted); font-size: 17px; line-height: 1.85; background: var(--white); font-variant-numeric: lining-nums; }
/* elements waiting to slide in sit outside the screen; clip (not hidden) so the sticky module bar keeps working */
main, .site-footer { overflow-x: clip; }
h1, h2, h3, h4, h5, h6 { font-family: inherit; color: var(--ink); font-weight: 700; line-height: 1.35; margin: 0; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.45rem; }
h5 { font-size: 1.12rem; }
a { color: var(--navy); transition: color .25s; }
a:hover, a:focus { color: var(--violet); text-decoration: none; }
p { margin-bottom: 1rem; }
img { max-width: 100%; height: auto; }
ul { padding: 0; margin: 0; list-style: none; }
::selection { background: var(--violet); color: #fff; }
/* violet shows on light surfaces, the accent on the dark ones */
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
.site-header :focus-visible, .hero :focus-visible, .ai-band :focus-visible, .cta-band :focus-visible, .site-footer :focus-visible, .price-card.featured :focus-visible { outline-color: var(--accent); }
.skip-link { position: absolute; inset-inline-start: 1rem; top: -60px; background: var(--ink); color: #fff; padding: .5rem 1rem; border-radius: 8px; z-index: 2000; }
.skip-link:focus { top: 1rem; color: #fff; }
.num { font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }
.container-wide { max-width: 1240px; margin-inline: auto; padding-inline: 20px; }
section { position: relative; }
.section { padding-block: 110px; }
.section-tight { padding-block: 70px; }
.bg-surface { background: var(--surface); }
.text-gradient { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
@supports not (background-clip: text) { .text-gradient { color: var(--violet); } }

/* ---------- Template title box (eyebrow with the orange dot and bar) ---------- */
.title-box { margin-bottom: 64px; text-align: center; }
.title-box.text-start { text-align: start; }
.eyebrow { display: inline-block; position: relative; font-weight: 600; font-size: .95rem; color: var(--navy); padding-inline: 18px 64px; margin-bottom: 14px; letter-spacing: .02em; }
.eyebrow::before { content: ""; position: absolute; inset-inline-start: 0; top: 50%; width: 7px; height: 7px; margin-top: -3px; background: var(--accent); border-radius: 2px; }
.eyebrow::after { content: ""; position: absolute; inset-inline-end: 0; top: 50%; width: 48px; height: 4px; margin-top: -2px; background: var(--accent); border-radius: 4px; transform-origin: inline-start; }
.on-dark .eyebrow, .eyebrow.light { color: #fff; }
.title-box p { max-width: 720px; margin: 18px auto 0; font-size: 1.08rem; }
.title-box.text-start p { margin-inline: 0; }
.underline-ai { position: relative; display: inline-block; padding-bottom: 10px; }
.underline-ai::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 4px; border-radius: 4px; background: var(--grad-ai); transform: scaleX(0); transform-origin: inline-start; transition: transform 1s var(--ease) .2s; }
.is-in .underline-ai::after, .underline-ai.is-in::after { transform: scaleX(1); }

/* ---------- Buttons ---------- */
.btn-sc { position: relative; display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; font-size: 1rem; line-height: 1; padding: 16px 28px; border-radius: 12px; border: 2px solid transparent; cursor: pointer; overflow: hidden; isolation: isolate; transition: transform .3s var(--ease), box-shadow .3s, background-color .3s, color .3s, border-color .3s; white-space: nowrap; }
.btn-sc:hover { transform: translateY(-3px); }
.btn-sc:active { transform: translateY(0) scale(.98); }
.btn-accent { background: var(--accent); color: var(--ink); box-shadow: 0 12px 28px -10px rgba(220, 167, 39, .7); }
.btn-accent:hover, .btn-accent:focus { background: var(--accent-hover); color: var(--ink); box-shadow: 0 18px 36px -12px rgba(220, 167, 39, .85); }
.btn-accent::after { content: ""; position: absolute; inset-block: 0; inset-inline-start: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-20deg); z-index: -1; animation: shine 4.5s ease-in-out infinite; }
@keyframes shine { 0%, 60% { inset-inline-start: -60%; } 100% { inset-inline-start: 130%; } }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .55); backdrop-filter: blur(6px); }
.btn-ghost:hover, .btn-ghost:focus { background: #fff; color: var(--navy); border-color: #fff; }
.btn-navy { background: var(--navy); color: #fff; box-shadow: 0 12px 28px -12px rgba(36, 46, 147, .7); }
.btn-navy:hover, .btn-navy:focus { background: var(--violet); color: #fff; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover, .btn-outline:focus { background: var(--navy); color: #fff; }
.btn-sm-sc { padding: 11px 18px; font-size: .92rem; border-radius: 10px; }
.btn-sc .fa-arrow-left, .btn-sc .fa-arrow-right { transition: transform .3s var(--ease); }
.btn-sc:hover .fa-arrow-left { transform: translateX(-4px); }
.btn-sc:hover .fa-arrow-right { transform: translateX(4px); }
.pulse-ring { position: relative; }
.pulse-ring::before { content: ""; position: absolute; inset: -6px; border-radius: 16px; border: 2px solid var(--accent); opacity: 0; animation: ring 2.8s ease-out infinite; }
@keyframes ring { 0% { opacity: .7; transform: scale(.94); } 70%, 100% { opacity: 0; transform: scale(1.12); } }

/* ---------- Header ---------- */
.site-header { position: fixed; inset-inline: 0; top: 0; z-index: 1000; padding-block: 18px; transition: padding .35s var(--ease), background .35s, box-shadow .35s; }
.site-header.is-stuck { padding-block: 10px; background: var(--grad-main); box-shadow: 0 10px 30px -14px rgba(18, 22, 63, .6); }
.site-header.solid { background: var(--grad-main); }
.site-header .bar { display: flex; align-items: center; gap: 20px; }
.brand img { height: 44px; width: auto; transition: height .35s var(--ease); }
.is-stuck .brand img { height: 38px; }
.main-nav { display: flex; align-items: center; gap: 6px; margin-inline: auto; }
.main-nav a { position: relative; color: rgba(255, 255, 255, .88); font-weight: 500; padding: 10px 12px; font-size: .98rem; display: inline-flex; align-items: center; gap: 6px; }
.main-nav a::after { content: ""; position: absolute; inset-inline: 12px; bottom: 4px; height: 3px; border-radius: 3px; background: var(--accent); transform: scaleX(0); transform-origin: inline-start; transition: transform .35s var(--ease); }
.main-nav a:hover, .main-nav a.active { color: #fff; }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { color: #fff; font-weight: 600; font-size: .9rem; border: 1px solid rgba(255, 255, 255, .4); border-radius: 10px; padding: 8px 12px; }
.lang-switch:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.login-link { color: #fff; font-weight: 600; font-size: .95rem; padding: 8px 6px; }
.login-link:hover { color: #fff; opacity: .8; }
.menu-toggle { display: none; background: none; border: 0; color: #fff; font-size: 1.5rem; padding: 6px 10px; margin-inline-start: auto; }
.ai-chip { display: inline-flex; align-items: center; gap: 5px; font-size: .68rem; font-weight: 700; line-height: 1; padding: 4px 8px; border-radius: 30px; color: #fff; background: linear-gradient(120deg, #5a22c8, #9519ff); letter-spacing: .04em; }
.ai-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(220, 167, 39, .8); animation: dot-pulse 2s infinite; }
@keyframes dot-pulse { 0% { box-shadow: 0 0 0 0 rgba(220, 167, 39, .7); } 70% { box-shadow: 0 0 0 7px rgba(220, 167, 39, 0); } 100% { box-shadow: 0 0 0 0 rgba(220, 167, 39, 0); } }
.soon { display: inline-block; font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 30px; background: #fcf3dc; color: #5c4300; border: 1px solid #ecc97a; }

@media (max-width: 1100px) {
    .menu-toggle { display: inline-block; }
    .main-nav, .header-actions { display: none; }
    .site-header.menu-open { background: var(--grad-main); }
    .menu-open .main-nav, .menu-open .header-actions { display: flex; }
    .site-header .bar { flex-wrap: wrap; }
    .menu-open .main-nav { order: 3; flex-basis: 100%; flex-direction: column; align-items: stretch; margin: 12px 0 0; }
    .menu-open .main-nav a { padding: 12px 6px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
    .menu-open .main-nav a::after { display: none; }
    .menu-open .header-actions { order: 4; flex-basis: 100%; flex-wrap: wrap; padding: 14px 0 6px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; padding-top: 150px; padding-bottom: 170px; background: var(--grad-main); background-size: 220% 220%; animation: grad-drift 16s ease-in-out infinite alternate; }
.hero-sub { padding-top: 140px; padding-bottom: 120px; }
.hero.ai-hero { background: var(--grad-ai); background-size: 200% 200%; }
@keyframes grad-drift { 0% { background-position: 0% 30%; } 100% { background-position: 100% 70%; } }
.hero h1, .hero h2 { color: #fff; }
.hero .lead-text { font-size: 1.15rem; color: rgba(255, 255, 255, .86); max-width: 600px; margin: 22px 0 34px; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; will-change: transform; }
.blob-1 { width: 520px; height: 520px; background: radial-gradient(circle, #9519ff 0%, transparent 70%); top: -160px; inset-inline-end: -120px; animation: float-a 18s ease-in-out infinite alternate; }
.blob-2 { width: 420px; height: 420px; background: radial-gradient(circle, #3a49d8 0%, transparent 70%); bottom: -140px; inset-inline-start: -100px; animation: float-b 22s ease-in-out infinite alternate; }
.blob-3 { width: 240px; height: 240px; background: radial-gradient(circle, rgba(220, 167, 39, .75) 0%, transparent 70%); bottom: 12%; inset-inline-end: 34%; opacity: .35; animation: float-c 14s ease-in-out infinite alternate; }
@keyframes float-a { to { transform: translate(-80px, 90px) scale(1.15); } }
@keyframes float-b { to { transform: translate(90px, -70px) scale(1.1); } }
@keyframes float-c { to { transform: translate(-60px, -50px) scale(1.3); } }
.dots-grid { position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .18) 1px, transparent 1.5px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 65%); mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 65%); animation: dots-move 30s linear infinite; pointer-events: none; }
@keyframes dots-move { to { background-position: 260px 260px; } }
.hero-ring { position: absolute; border: 2px solid rgba(255, 255, 255, .09); border-radius: 50%; pointer-events: none; }
.hero-ring.r1 { width: 640px; height: 640px; top: -220px; inset-inline-start: -260px; animation: spin 60s linear infinite; border-style: dashed; }
.hero-ring.r2 { width: 900px; height: 900px; bottom: -560px; inset-inline-end: -200px; }
@keyframes spin { to { transform: rotate(360deg); } }
.wave { position: absolute; inset-inline: 0; bottom: -1px; line-height: 0; pointer-events: none; }
.wave svg { width: 100%; height: 110px; display: block; }
.wave path { fill: #fff; }
.wave.to-surface path { fill: var(--surface); }
.wave .w2 { opacity: .35; animation: wave-shift 9s ease-in-out infinite alternate; }
@keyframes wave-shift { to { transform: translateX(-40px); } }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 30px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); font-size: .9rem; color: #fff; margin-bottom: 22px; backdrop-filter: blur(6px); }
[dir="rtl"] .hero-badge { padding: 7px 8px 7px 14px; }

/* word-by-word headline reveal */
.words .w { display: inline-block; opacity: 0; transform: translateY(26px) rotate(2deg); filter: blur(6px); animation: word-in .8s var(--ease) forwards; animation-delay: calc(var(--i) * 90ms + 150ms); }
@keyframes word-in { to { opacity: 1; transform: none; filter: none; } }
.fade-up-load { opacity: 0; transform: translateY(18px); animation: word-in .9s var(--ease) forwards; animation-delay: var(--delay, .6s); }

/* ---------- Product mock-up (drawn in code, illustrative figures only) ---------- */
.mock-stage { position: relative; perspective: 1400px; }
.mock { position: relative; background: #fff; border-radius: 16px; box-shadow: 0 40px 80px -30px rgba(10, 12, 50, .65), 0 0 0 1px rgba(255, 255, 255, .15); overflow: hidden; color: var(--ink); transform-style: preserve-3d; transition: transform .25s ease-out; animation: mock-float 7s ease-in-out infinite; }
@keyframes mock-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
.mock-top { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: #f1f0fb; border-bottom: 1px solid var(--line); }
.mock-top i { width: 10px; height: 10px; border-radius: 50%; background: #d7d4ef; display: inline-block; }
.mock-top i:nth-child(1) { background: #ff6b6b; } .mock-top i:nth-child(2) { background: #ffc24b; } .mock-top i:nth-child(3) { background: #3ccf7a; }
.mock-url { margin-inline-start: 10px; flex: 1; height: 22px; border-radius: 6px; background: #fff; font-size: .7rem; color: #8c90ad; display: flex; align-items: center; padding-inline: 10px; direction: ltr; }
.mock-body { display: grid; grid-template-columns: 70px 1fr; min-height: 360px; }
.mock-side { background: var(--navy); padding: 14px 0; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.mock-side img { width: 30px; height: 30px; object-fit: contain; }
.mock-side span { width: 26px; height: 6px; border-radius: 4px; background: rgba(255, 255, 255, .25); }
.mock-side span.on { background: var(--accent); }
.mock-main { padding: 16px; background: #fbfbff; }
.mock-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.mock-h b { font-size: .9rem; }
.mock-chips { display: flex; gap: 6px; }
.mock-chips span { font-size: .62rem; padding: 3px 8px; border-radius: 20px; background: #ecebfa; color: var(--muted); }
.mock-chips span.on { background: var(--navy); color: #fff; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 10px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 9px; }
.kpi small { display: block; font-size: .6rem; color: var(--muted); line-height: 1.3; }
.kpi strong { display: block; font-size: 1rem; line-height: 1.4; }
.kpi em { font-style: normal; font-size: .58rem; font-weight: 700; color: #1d7a3e; }
.kpi em.down { color: #b4232f; }
.kpi svg { width: 100%; height: 20px; margin-top: 2px; }
.kpi path { fill: none; stroke: var(--violet); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 200; stroke-dashoffset: 200; }
.is-in .kpi path, .kpi.is-in path { animation: draw 1.6s var(--ease) forwards .5s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.mock-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 9px 10px; }
.panel h6 { font-size: .66rem; color: var(--ink); margin-bottom: 6px; font-weight: 600; }
.bars { display: flex; align-items: flex-end; gap: 5px; height: 110px; padding-top: 6px; border-bottom: 1px solid var(--line); }
.bars span { flex: 1; border-radius: 4px 4px 0 0; height: var(--h); transform: scaleY(0); transform-origin: bottom; background: linear-gradient(180deg, var(--violet), var(--navy)); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 70ms + .3s); }
.bars span.hl { background: linear-gradient(180deg, #ecc06a, var(--accent)); }
.is-in .bars span, .bars.is-in span { transform: scaleY(1); }
.rows li { display: flex; justify-content: space-between; align-items: center; gap: 6px; font-size: .62rem; padding: 5px 0; border-bottom: 1px dashed var(--line); opacity: 0; transform: translateX(14px); transition: opacity .5s, transform .5s var(--ease); transition-delay: calc(var(--i) * 140ms + .9s); }
[dir="rtl"] .rows li { transform: translateX(-14px); }
.is-in .rows li { opacity: 1; transform: none; }
.rows li:last-child { border: 0; }
.rows .wa { color: #fff; background: #1f9d55; border-radius: 6px; padding: 1px 6px; font-size: .58rem; }
.rows .warn { color: #5c4300; background: #fcf3dc; border-radius: 6px; padding: 1px 6px; font-size: .58rem; }
.mock-caption { font-size: .78rem; color: rgba(255, 255, 255, .7); margin-top: 14px; text-align: center; }
.toast-float { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; background: #fff; color: var(--ink); border-radius: 12px; padding: 10px 14px; font-size: .82rem; font-weight: 600; box-shadow: var(--shadow); opacity: 0; transform: translateY(16px) scale(.96); animation: toast-in .7s var(--ease) forwards, toast-bob 6s ease-in-out infinite; }
.toast-float i { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff; font-size: .85rem; }
.toast-float small { display: block; font-weight: 400; color: var(--muted); font-size: .72rem; }
/* the cards sit on the frame's edges so they never hide a figure */
.toast-1 { top: -28px; inset-inline-start: 6%; animation-delay: 2.2s, 3s; }
.toast-1 i { background: #1f9d55; }
.toast-2 { bottom: 4px; inset-inline-start: 24%; animation-delay: 3.1s, 4s; }
.toast-2 i { background: var(--accent); color: var(--ink); }
.toast-3 { top: 42%; inset-inline-end: -48px; animation-delay: 4s, 5s; }
.toast-3 i { background: linear-gradient(120deg, #5a22c8, #9519ff); }
@keyframes toast-in { to { opacity: 1; transform: none; } }
@keyframes toast-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* ---------- Reveal on scroll ---------- */
[data-reveal] { opacity: 0; transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal="up"] { transform: translateY(40px); }
[data-reveal="start"] { transform: translateX(-50px); }
[data-reveal="end"] { transform: translateX(50px); }
[dir="rtl"] [data-reveal="start"] { transform: translateX(50px); }
[dir="rtl"] [data-reveal="end"] { transform: translateX(-50px); }
[data-reveal="zoom"] { transform: scale(.92); }
[data-reveal].is-in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* ---------- Trust strip ---------- */
.trust { margin-top: -70px; position: relative; z-index: 5; }
.trust-card { background: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: 26px 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.trust-item { display: flex; align-items: center; gap: 14px; padding: 6px 14px; border-inline-start: 1px solid var(--line); }
.trust-item:first-child { border-inline-start: 0; }
.trust-item i { flex: 0 0 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 1.15rem; color: #fff; background: var(--grad-main); transition: transform .5s var(--ease); }
.trust-item:hover i { transform: rotate(-8deg) scale(1.08); }
.trust-item b { color: var(--ink); display: block; font-size: 1rem; line-height: 1.4; }
.trust-item span { font-size: .85rem; line-height: 1.5; display: block; }
@media (max-width: 991px) { .trust-card { grid-template-columns: repeat(2, 1fr); } .trust-item:nth-child(3) { border-inline-start: 0; } }
@media (max-width: 575px) { .trust-card { grid-template-columns: 1fr; } .trust-item { border-inline-start: 0; border-top: 1px solid var(--line); padding-top: 14px; } .trust-item:first-child { border-top: 0; } }

/* ---------- Template "about" rows with the rotating gradient round ---------- */
.about-row { align-items: center; }
.visual { position: relative; padding: 30px; }
.round { position: absolute; width: min(520px, 92%); aspect-ratio: 1; inset-inline: 0; margin-inline: auto; top: 50%; translate: 0 -50%; border-radius: 50%; background: conic-gradient(from 0deg, rgba(36, 46, 147, .14), rgba(149, 25, 255, .2), rgba(220, 167, 39, .16), rgba(36, 46, 147, .14)); animation: spin 26s linear infinite; z-index: 0; }
.round::after { content: ""; position: absolute; inset: 18%; border-radius: 50%; background: #fff; opacity: .65; }
.bg-surface .round::after { background: var(--surface); }
.visual > :not(.round) { position: relative; z-index: 1; }
.checks li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; color: var(--ink); }
.checks li i { color: #fff; background: var(--navy); width: 24px; height: 24px; flex: 0 0 24px; border-radius: 8px; display: grid; place-items: center; font-size: .7rem; margin-top: 5px; }
.checks li span { color: var(--muted); }
.checks.ai li i { background: linear-gradient(120deg, #5a22c8, #9519ff); }

/* small cards used inside visuals */
.mini-card { background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 18px; color: var(--ink); }
.mini-card + .mini-card { margin-top: 16px; }
.mini-card h6 { font-size: .92rem; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.mini-table { width: 100%; font-size: .82rem; }
.mini-table td { padding: 7px 4px; border-bottom: 1px solid var(--line); }
.mini-table tr:last-child td { border: 0; }
.mini-table .r { text-align: end; }
.tag { display: inline-block; font-size: .7rem; font-weight: 700; padding: 2px 8px; border-radius: 6px; }
.tag-red { background: #fde8ea; color: #9b1c27; }
.tag-green { background: #e3f6ea; color: #17633a; }
.tag-warn { background: #fcf3dc; color: #5c4300; }
.meter { height: 8px; border-radius: 8px; background: #ecebfa; overflow: hidden; }
.meter span { display: block; height: 100%; width: var(--w); background: var(--grad-main); border-radius: 8px; transform: scaleX(0); transform-origin: inline-start; transition: transform 1.4s var(--ease) .3s; }
.is-in .meter span { transform: scaleX(1); }

/* ---------- Feature cards (template iq-features) ---------- */
.feature-card { position: relative; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px 26px; transition: transform .45s var(--ease), box-shadow .45s, border-color .45s; overflow: hidden; isolation: isolate; }
.feature-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(149, 25, 255, .1), transparent 45%); opacity: 0; transition: opacity .4s; z-index: -1; }
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.feature-card:hover::before { opacity: 1; }
.feature-card .icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-size: 1.5rem; color: #fff; background: var(--grad-main); margin-bottom: 20px; box-shadow: 0 14px 26px -12px rgba(36, 46, 147, .8); transition: transform .6s var(--ease); }
.feature-card:hover .icon { transform: rotate(-10deg) scale(1.08); }
.feature-card h5 { margin-bottom: 10px; transition: color .3s; }
.feature-card:hover h5 { color: var(--navy); }
.feature-card p { margin: 0; font-size: .97rem; }
.feature-card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 600; font-size: .92rem; }
.feature-card.ai .icon { background: linear-gradient(120deg, #5a22c8, #9519ff); }

/* AI cards: animated gradient border (falls back to a static one) */
@property --angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.ai-card { position: relative; height: 100%; border-radius: 20px; padding: 2px; background: conic-gradient(from var(--angle), #242e93, #9519ff, #dca727, #9519ff, #242e93); animation: border-spin 6s linear infinite; }
@keyframes border-spin { to { --angle: 360deg; } }
.ai-card > div { height: 100%; background: #fff; border-radius: 18px; padding: 28px 24px; }
.ai-card .icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; font-size: 1.35rem; color: #fff; background: linear-gradient(120deg, #5a22c8, #9519ff); margin-bottom: 18px; }
.ai-card h5 { margin-bottom: 8px; }
.ai-card p { font-size: .96rem; margin-bottom: 12px; }

/* ---------- Module marquee ---------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); padding-block: 8px; }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 40s linear infinite; }
[dir="rtl"] .marquee-track { animation-name: marquee-rtl; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }
.chip { display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px; border-radius: 40px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: .93rem; white-space: nowrap; box-shadow: var(--shadow-soft); }
.chip i { color: var(--violet); }

/* ---------- AI band with the chat demo ---------- */
.ai-band { position: relative; overflow: hidden; color: #fff; background: var(--grad-ai); background-size: 200% 200%; animation: grad-drift 12s ease-in-out infinite alternate; }
.ai-band h2, .ai-band h3, .ai-band h5 { color: #fff; }
.ai-band .lead-text { color: rgba(255, 255, 255, .9); font-size: 1.1rem; }
.ai-band .checks li { color: #fff; }
.ai-band .checks li span { color: rgba(255, 255, 255, .85); }
.ai-band .checks li i { background: rgba(255, 255, 255, .18); }
.spark { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #fff; opacity: 0; animation: twinkle 4s ease-in-out infinite; animation-delay: var(--t, 0s); }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(.4); } 50% { opacity: .9; transform: scale(1); } }
.chat { background: rgba(10, 12, 50, .55); border: 1px solid rgba(255, 255, 255, .22); border-radius: 22px; padding: 18px; backdrop-filter: blur(10px); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .6); min-height: 380px; display: flex; flex-direction: column; }
.chat-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .15); margin-bottom: 14px; font-weight: 600; }
.chat-head .bot { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(120deg, #5a22c8, #9519ff); box-shadow: inset 0 -3px 0 var(--accent); }
.chat-head small { display: block; font-weight: 400; font-size: .75rem; opacity: .75; }
.chat-log { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.bubble { max-width: 88%; padding: 11px 15px; border-radius: 16px; font-size: .95rem; line-height: 1.7; animation: bubble-in .45s var(--ease) both; }
@keyframes bubble-in { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
.bubble.user { align-self: flex-end; background: #fff; color: var(--ink); border-end-end-radius: 4px; }
.bubble.bot { align-self: flex-start; background: rgba(255, 255, 255, .14); color: #fff; border-end-start-radius: 4px; }
.bubble .caret { display: inline-block; width: 2px; height: 1.1em; background: var(--navy); vertical-align: middle; margin-inline-start: 2px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.typing { display: inline-flex; gap: 4px; padding: 4px 2px; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: #fff; opacity: .4; animation: typing 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .15s; } .typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { opacity: .35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-4px); } }
.bubble .mini-bars { display: flex; align-items: flex-end; gap: 6px; height: 56px; margin-top: 8px; }
.bubble .mini-bars span { flex: 1; background: rgba(255, 255, 255, .85); border-radius: 3px 3px 0 0; height: var(--h); transform: scaleY(0); transform-origin: bottom; animation: grow .9s var(--ease) forwards; animation-delay: calc(var(--i) * 90ms); }
.bubble .mini-bars span.hl { background: #fae9c0; }
@keyframes grow { to { transform: scaleY(1); } }
.chat-input { display: flex; gap: 8px; margin-top: 14px; padding: 8px; border-radius: 14px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); font-size: .88rem; color: rgba(255, 255, 255, .7); align-items: center; }
.chat-input i { margin-inline-start: auto; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--accent); color: var(--ink); }
.chat-note { font-size: .78rem; opacity: .75; margin-top: 10px; text-align: center; }
[dir="rtl"] .fa-paper-plane { transform: scaleX(-1); }

/* ---------- Steps (migration) ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps::before { content: ""; position: absolute; top: 34px; inset-inline: 12%; height: 4px; border-radius: 4px; background: var(--line); }
.steps::after { content: ""; position: absolute; top: 34px; inset-inline-start: 12%; width: 76%; height: 4px; border-radius: 4px; background: var(--grad-ai); transform: scaleX(var(--progress, 0)); transform-origin: inline-start; transition: transform .2s linear; }
.step { position: relative; z-index: 1; text-align: center; }
.step .n { width: 70px; height: 70px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; font-size: 1.4rem; font-weight: 700; color: var(--navy); background: #fff; border: 3px solid var(--line); transition: all .5s var(--ease); }
.step.lit .n { color: #fff; background: var(--grad-main); border-color: transparent; transform: scale(1.08); box-shadow: 0 14px 30px -12px rgba(36, 46, 147, .8); }
.step h5 { margin-bottom: 8px; }
.step p { font-size: .95rem; }
@media (max-width: 767px) { .steps { grid-template-columns: 1fr; } .steps::before, .steps::after { display: none; } }

/* ---------- Pricing (template iq-pricing) ---------- */
.price-card { position: relative; height: 100%; background: #fff; border-radius: 22px; border: 1px solid var(--line); padding: 36px 30px; text-align: center; transition: transform .45s var(--ease), box-shadow .45s; }
.price-card:hover { transform: translateY(-10px); box-shadow: var(--shadow); }
.price-card.featured { border: 0; color: rgba(255, 255, 255, .85); background: var(--grad-main); box-shadow: var(--shadow); transform: scale(1.04); }
.price-card.featured:hover { transform: scale(1.04) translateY(-10px); }
.price-card.featured h3, .price-card.featured h4, .price-card.featured li { color: #fff; }
.price-card .tier { font-weight: 700; color: var(--violet); letter-spacing: .04em; }
.price-card.featured .tier { color: #fae9c0; }
.price-card h3 { margin: 10px 0 6px; }
.price-card ul { text-align: start; margin: 24px 0 28px; }
.price-card li { padding: 8px 0; color: var(--ink); display: flex; gap: 10px; font-size: .96rem; }
.price-card li i { color: var(--violet); margin-top: 6px; }
.price-card.featured li i { color: #fae9c0; }
.ribbon { position: absolute; top: 18px; inset-inline-end: 18px; font-size: .74rem; font-weight: 700; padding: 4px 10px; border-radius: 20px; background: var(--accent); color: var(--ink); }

/* ---------- FAQ (details/summary, no script) ---------- */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 14px; transition: box-shadow .3s, border-color .3s; }
.faq details[open] { box-shadow: var(--shadow-soft); border-color: transparent; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: 0 0 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--surface); color: var(--navy); font-size: 1.2rem; transition: transform .35s var(--ease), background .3s, color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--navy); color: #fff; }
.faq details > div { padding: 0 24px 20px; animation: bubble-in .4s var(--ease); }

/* ---------- Contact form ---------- */
.form-card { background: #fff; border-radius: 22px; box-shadow: var(--shadow); padding: 34px; }
.form-card label { font-weight: 600; color: var(--ink); font-size: .93rem; margin-bottom: 6px; display: block; }
.form-card label .req { color: #b4232f; }
.field { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; font: inherit; color: var(--ink); background: #fcfcff; transition: border-color .25s, box-shadow .25s; }
.field:hover { border-color: #c9c6ec; }
.field:focus { outline: 0; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(149, 25, 255, .12); background: #fff; }
.field.invalid { border-color: #b4232f; }
.field-error { display: block; color: #b4232f; font-size: .84rem; margin-top: 4px; min-height: 1.2em; }
textarea.field { min-height: 130px; resize: vertical; }
.hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert-sc { border-radius: 14px; padding: 16px 18px; margin-bottom: 20px; font-weight: 500; }
.alert-sc.ok { background: #e3f6ea; color: #17633a; }
.alert-sc.err { background: #fde8ea; color: #9b1c27; }
.contact-list li { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.contact-list i { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-main); color: #fff; }
.contact-list b { color: var(--ink); display: block; }
.success-mark { width: 92px; height: 92px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-main); color: #fff; font-size: 2.2rem; animation: pop .7s var(--ease) both; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 28px; padding: 60px 50px; color: #fff; background: var(--grad-main); background-size: 200% 200%; animation: grad-drift 10s ease-in-out infinite alternate; box-shadow: var(--shadow); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .86); font-size: 1.1rem; margin: 14px 0 0; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.cta-band .ring-deco { position: absolute; width: 380px; height: 380px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .06); inset-inline-end: -120px; top: -160px; animation: spin 40s linear infinite; }
@media (max-width: 991px) { .cta-band { padding: 40px 26px; } .cta-band .actions { justify-content: flex-start; margin-top: 24px; } }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--ink); color: rgba(255, 255, 255, .7); padding: 90px 0 30px; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 4px; background: var(--grad-ai); }
.site-footer h5 { color: #fff; margin-bottom: 20px; font-size: 1.05rem; }
.site-footer a { color: rgba(255, 255, 255, .75); }
.site-footer a:hover { color: #fff; }
.site-footer .menu li { margin-bottom: 10px; }
.site-footer .logo img { height: 64px; width: auto; margin-bottom: 18px; }
.site-footer .contact li { display: flex; gap: 12px; margin-bottom: 14px; font-size: .95rem; }
.site-footer .contact i { color: var(--accent); margin-top: 6px; width: 16px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 50px; padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .9rem; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); transition: background .3s, transform .3s var(--ease); }
.social a:hover { background: var(--violet); transform: translateY(-3px); color: #fff; }

/* ---------- Floating buttons ---------- */
.wa-float { position: fixed; z-index: 900; bottom: 24px; inset-inline-end: 24px; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-size: 1.7rem; color: #fff; background: #1f9d55; box-shadow: 0 14px 30px -10px rgba(31, 157, 85, .8); transition: transform .3s var(--ease); }
.wa-float:hover { color: #fff; transform: scale(1.08); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #1f9d55; animation: ring 2.6s ease-out infinite; }
.to-top { position: fixed; z-index: 900; bottom: 94px; inset-inline-end: 30px; width: 46px; height: 46px; border-radius: 14px; border: 0; display: grid; place-items: center; color: #fff; background: var(--navy); box-shadow: var(--shadow-soft); opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .35s, transform .35s var(--ease), background .3s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--violet); }
.scroll-progress { position: fixed; top: 0; inset-inline-start: 0; height: 3px; width: 100%; z-index: 1100; background: var(--grad-ai); transform: scaleX(var(--p, 0)); transform-origin: inline-start; }

/* ---------- Inner page hero ---------- */
.crumbs { display: flex; gap: 8px; font-size: .9rem; color: rgba(255, 255, 255, .75); margin-bottom: 14px; }
.crumbs a { color: rgba(255, 255, 255, .9); }
.crumbs a:hover { color: #fff; }

/* ---------- Module page anchors ---------- */
.module-nav { position: sticky; top: 70px; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.module-nav .inner { display: flex; gap: 6px; overflow-x: auto; padding-block: 10px; scrollbar-width: none; }
.module-nav a { white-space: nowrap; padding: 8px 14px; border-radius: 10px; font-weight: 600; font-size: .92rem; color: var(--muted); }
.module-nav a.active, .module-nav a:hover { background: var(--surface); color: var(--navy); }
.module { scroll-margin-top: 140px; }

/* ---------- Counters / stats ---------- */
.stat { text-align: center; }
.stat b { display: block; font-size: 2.4rem; color: var(--ink); line-height: 1.2; }
.stat span { font-size: .95rem; }

/* ---------- Legal text ---------- */
.legal h2 { font-size: 1.4rem; margin: 34px 0 12px; }
.legal p, .legal li { color: var(--ink); opacity: .85; }
.legal ul { list-style: disc; padding-inline-start: 22px; }
.legal li { margin-bottom: 6px; }

/* ---------- Articles (blog) ---------- */
.article { max-width: 780px; margin-inline: auto; color: var(--ink); }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .92rem; color: var(--muted); padding-bottom: 18px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.article-meta i { color: var(--violet); margin-inline-end: 4px; }
.article p, .article li { color: var(--ink); opacity: .88; }
.article .lead { font-size: 1.18rem; line-height: 1.9; opacity: 1; color: var(--ink); }
.article h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin: 42px 0 14px; }
.article h3 { font-size: 1.18rem; margin: 28px 0 10px; }
.article ul, .article ol { padding-inline-start: 24px; margin-bottom: 1.2rem; }
.article ul { list-style: disc; }
.article ol { list-style: decimal; }
.article li { margin-bottom: 8px; }
.article li::marker { color: var(--violet); font-weight: 700; }
.article a { text-decoration: underline; text-decoration-color: rgba(149, 25, 255, .35); text-underline-offset: 3px; }
.article .callout { background: var(--surface); border-inline-start: 4px solid var(--accent); border-radius: 10px; padding: 16px 20px; margin: 26px 0; color: var(--ink); }
.article .callout b { color: var(--navy); }
.article-table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: .95rem; display: block; overflow-x: auto; }
.article-table th { background: var(--navy); color: #fff; font-weight: 600; padding: 10px 12px; text-align: start; white-space: nowrap; }
.article-table td { padding: 9px 12px; border-bottom: 1px solid var(--line); color: var(--ink); }
.article-table tr:nth-child(even) td { background: var(--surface); }
@media (min-width: 768px) { .article-table { display: table; } }   /* full width when it fits; a scrolling block on phones */
.article-modules { max-width: 1100px; margin: 64px auto 0; }
.article-modules h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin-bottom: 22px; text-align: center; }
/* a whole card that is one link (blog cards, related modules) */
.link-card { display: block; height: 100%; color: inherit; }
.link-card:hover, .link-card:focus { color: inherit; }
.link-card .more { margin-top: auto; }
.card-meta { display: block; color: var(--muted); font-size: .85rem; margin-bottom: 10px; }

/* ---------- Admin ---------- */
.admin-table { width: 100%; font-size: .9rem; background: #fff; border-radius: 14px; overflow: hidden; }
.admin-table th { background: var(--navy); color: #fff; padding: 10px; font-weight: 600; }
.admin-table td { padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .section { padding-block: 80px; }
    .hero { padding-top: 120px; padding-bottom: 140px; }
    .hero .mock-stage { margin-top: 60px; }
    .toast-1 { inset-inline-start: 0; }
    .toast-2 { inset-inline-end: 0; }
    .price-card.featured { transform: none; }
    .visual { margin-top: 30px; }
}
@media (max-width: 575px) {
    .kpis { grid-template-columns: repeat(2, 1fr); }
    .mock-grid { grid-template-columns: 1fr; }
    .mock-body { grid-template-columns: 46px 1fr; }
    .toast-float { display: none; }
    .hero .cta-row .btn-sc { flex: 1 1 100%; justify-content: center; }
    .form-card { padding: 22px; }
}

/* ---------- Reduced motion: everything stands still, content stays visible ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    [data-reveal], .words .w, .fade-up-load, .toast-float, .rows li { opacity: 1 !important; transform: none !important; filter: none !important; }
    .bars span, .meter span, .underline-ai::after { transform: none !important; }
    .kpi path { stroke-dashoffset: 0 !important; }
    .marquee-track { animation: none !important; }
}
