/* MehrBot — صفحهٔ اصلی قالب «مهرشاد» */
:root {
  --ink: #1B1530; --ink-2: #2A2146; --plum: #3B2C66;
  --saffron: #E8891C; --saffron-2: #F4A940; --saffron-d: #B8620B;
  --firuzeh: #0F9D8F; --firuzeh-2: #5EE0D2; --anar: #D2453B;
  --ivory: #FAF7F2; --sand: #F3EDE3; --line: #E9E0D2; --text: #4A4458; --muted: #7D7790;
  --spring: cubic-bezier(.34, 1.56, .64, 1); --out: cubic-bezier(.22, 1, .36, 1);
  --wrap: 1200px; --r: 22px;
  --sh1: 0 1px 2px rgba(27, 21, 48, .05), 0 10px 30px -16px rgba(27, 21, 48, .22);
  --sh2: 0 2px 6px rgba(27, 21, 48, .06), 0 30px 60px -28px rgba(27, 21, 48, .38);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Vazirmatn', system-ui, sans-serif; font-size: 17px; line-height: 1.9; color: var(--text); background: var(--ivory); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; }
a { color: var(--saffron-d); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.35; margin: 0; text-wrap: balance; }
:focus-visible { outline: 2.5px solid var(--saffron); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.wrap.narrow { width: min(820px, 100% - 40px); }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { inset-inline-start: 12px; }
.hide-m { }

/* نوار پیشرفت مطالعه */
.progress { position: fixed; inset-inline: 0; top: 0; height: 3px; z-index: 70; pointer-events: none; }
.progress i { display: block; height: 100%; width: 100%; transform-origin: right; transform: scaleX(0); background: linear-gradient(90deg, var(--firuzeh), var(--saffron-2), var(--saffron)); }
[dir="ltr"] .progress i { transform-origin: left; }

/* دکمه‌ها */
.mx-btn { --mx: 0px; --my: 0px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 14px; font: inherit; font-weight: 800; font-size: .95rem; text-decoration: none; cursor: pointer; border: 0; isolation: isolate; overflow: hidden;
  transition: transform .4s var(--spring), box-shadow .3s, background-position .6s var(--out), color .2s; transform: translate(var(--mx), var(--my)); }
.mx-btn.sm { min-height: 40px; padding: 8px 16px; font-size: .88rem; }
.mx-btn.lg { min-height: 56px; padding: 14px 28px; font-size: 1.05rem; border-radius: 16px; }
.mx-btn.primary { color: var(--ink); background: linear-gradient(135deg, var(--saffron-2), var(--saffron) 55%, var(--saffron-2)); background-size: 200% 200%; box-shadow: 0 14px 30px -12px rgba(232, 137, 28, .65); }
.mx-btn.primary:hover { background-position: 100% 50%; box-shadow: 0 20px 40px -14px rgba(232, 137, 28, .8); }
.mx-btn.primary::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .55) 48%, transparent 66%); transform: translateX(-120%); transition: transform .8s var(--out); }
.mx-btn.primary:hover::after { transform: translateX(120%); }
.mx-btn.ghost { color: var(--ink); background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1.5px var(--line); }
.mx-btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--saffron); color: var(--saffron-d); }
.mx-btn:active { transform: translate(var(--mx), var(--my)) scale(.96); transition-duration: .08s; }
.mx-btn svg { transition: transform .4s var(--spring); }
.mx-btn:hover svg { transform: translateX(-4px); }
[dir="ltr"] .mx-btn:hover svg { transform: translateX(4px); }

/* ناوبری */
.nav { position: fixed; inset-inline: 0; top: 0; z-index: 50; transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.nav.solid { background: rgba(250, 247, 242, .82); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.12rem; line-height: 1.15; }
.brand small { display: block; font-size: .7rem; font-weight: 500; color: var(--muted); }
.logo { width: 42px; height: 42px; border-radius: 13px; flex: 0 0 42px; background: var(--ink) center/28px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none'%3E%3Ccircle cx='24' cy='24' r='9' fill='%23F4A940'/%3E%3Cg stroke='%23F4A940' stroke-width='2.8' stroke-linecap='round'%3E%3Cpath d='M24 5v5M24 38v5M5 24h5M38 24h5M10.6 10.6l3.5 3.5M33.9 33.9l3.5 3.5M10.6 37.4l3.5-3.5M33.9 14.1l3.5-3.5'/%3E%3C/g%3E%3Cpath d='M18.5 26.5a6 6 0 0 0 11 0' stroke='%231B1530' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E");
  box-shadow: 0 8px 20px -10px rgba(27, 21, 48, .6); transition: transform .6s var(--spring); }
.brand:hover .logo { transform: rotate(-20deg) scale(1.05); }
.links { display: flex; gap: 4px; }
.links a { color: var(--text); text-decoration: none; padding: 8px 14px; border-radius: 12px; font-size: .94rem; font-weight: 600; position: relative; transition: color .2s, background .2s; }
.links a:hover, .links a.on { color: var(--ink); background: rgba(232, 137, 28, .1); }
.acts { display: flex; align-items: center; gap: 8px; }
.lang { color: var(--text); text-decoration: none; font-weight: 700; font-size: .85rem; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; }
.lang:hover { background: var(--sand); }
.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--sand); color: var(--ink); cursor: pointer; place-items: center; }
.drawer { position: fixed; inset: 0; z-index: 80; background: rgba(27, 21, 48, .5); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .3s; }
.drawer.open { opacity: 1; pointer-events: auto; }
.drawer nav { position: absolute; inset-block: 0; inset-inline-end: 0; width: min(330px, 86vw); background: var(--ink); color: #fff; padding: 22px; display: flex; flex-direction: column; gap: 4px; transform: translateX(-100%); transition: transform .45s var(--out); }
[dir="rtl"] .drawer nav { transform: translateX(-100%); }
[dir="ltr"] .drawer nav { transform: translateX(100%); }
.drawer.open nav { transform: none; }
.drawer a { color: #fff; text-decoration: none; padding: 12px 14px; border-radius: 12px; font-weight: 600; }
.drawer a:hover { background: rgba(255, 255, 255, .08); }
.drawer .mx-btn { margin-top: 10px; }
.drawer .x { align-self: flex-end; width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; display: grid; place-items: center; }

/* قهرمان */
.hero { position: relative; padding: 130px 0 0; overflow: hidden; isolation: isolate; }
.aurora { position: absolute; inset: -10% -10% 20%; z-index: -2; filter: blur(60px); opacity: .9; }
.aurora i { position: absolute; border-radius: 50%; animation: drift 22s ease-in-out infinite; }
.aurora i:nth-child(1) { width: 520px; height: 520px; background: rgba(244, 169, 64, .38); top: -8%; inset-inline-start: -6%; }
.aurora i:nth-child(2) { width: 460px; height: 460px; background: rgba(15, 157, 143, .22); top: 20%; inset-inline-end: -8%; animation-delay: -8s; }
.aurora i:nth-child(3) { width: 360px; height: 360px; background: rgba(210, 69, 59, .14); top: 50%; inset-inline-start: 30%; animation-delay: -15s; }
.rays { position: absolute; z-index: -1; width: 1400px; height: 1400px; top: -760px; inset-inline-start: -300px; opacity: .55; pointer-events: none;
  background: repeating-conic-gradient(from 0deg, rgba(232, 137, 28, .10) 0 4deg, transparent 4deg 16deg);
  -webkit-mask: radial-gradient(circle, #000 15%, transparent 60%); mask: radial-gradient(circle, #000 15%, transparent 60%); animation: spin 120s linear infinite; }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-bottom: 70px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 700; color: var(--saffron-d); background: rgba(232, 137, 28, .1); padding: 6px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(232, 137, 28, .2); }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--saffron); animation: pulse 2s infinite; }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.7rem); font-weight: 900; margin: 18px 0 16px; letter-spacing: -.5px; line-height: 1.25; }
.split .w { display: inline-block; opacity: 0; transform: translateY(.45em) rotate(2deg); filter: blur(6px); animation: word .8s var(--out) forwards; }
.hero .sub { font-size: 1.1rem; max-width: 560px; margin: 0 0 26px; color: var(--text); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { display: flex; align-items: center; gap: 8px; margin: 18px 0 0; font-size: .9rem; color: var(--muted); }
.trust svg { color: var(--firuzeh); }

/* نمایش داشبورد */
.hero-demo { position: relative; perspective: 1200px; }
.demo-card { position: relative; background: rgba(255, 255, 255, .85); backdrop-filter: blur(16px); border-radius: 26px; padding: 18px; box-shadow: var(--sh2), inset 0 0 0 1px rgba(255, 255, 255, .8); transform-style: preserve-3d; transition: transform .5s var(--out); }
.demo-head { display: flex; align-items: center; gap: 10px; font-size: .86rem; color: var(--ink); margin-bottom: 14px; }
.demo-head .dots { display: flex; gap: 5px; } .demo-head .dots i { width: 10px; height: 10px; border-radius: 50%; background: #E9DCC8; }
.demo-head .dots i:first-child { background: var(--anar); } .demo-head .dots i:nth-child(2) { background: var(--saffron-2); } .demo-head .dots i:last-child { background: var(--firuzeh); }
.live { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; color: var(--firuzeh); font-weight: 700; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--firuzeh); animation: pulseG 2s infinite; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { border-radius: 16px; padding: 12px; color: #fff; position: relative; overflow: hidden; }
.kpi::after { content: ""; position: absolute; width: 110px; height: 110px; border-radius: 50%; inset-inline-end: -40px; top: -50px; background: radial-gradient(circle, rgba(255, 255, 255, .25), transparent 70%); }
.kpi.k1 { background: linear-gradient(135deg, #A9580A, #D07A14); } .kpi.k2 { background: linear-gradient(135deg, #0B7A70, #13A897); } .kpi.k3 { background: linear-gradient(135deg, #2A2146, #4A3880); }
.kpi small { display: block; font-size: .72rem; opacity: .9; }
.kpi b { display: block; font-size: 1.45rem; font-weight: 900; font-variant-numeric: tabular-nums; line-height: 1.4; }
.kpi em { font-style: normal; font-size: .7rem; background: rgba(255, 255, 255, .2); padding: 1px 8px; border-radius: 999px; }
.demo-grid { display: grid; grid-template-columns: 140px 1fr; gap: 14px; margin: 14px 0; align-items: center; }
.ring-box { position: relative; width: 140px; height: 140px; }
.seg-ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.seg-ring path { fill: none; stroke: #EFE6D8; stroke-width: 10; stroke-linecap: round; transition: stroke .25s; }
.seg-ring path.on { stroke: var(--saffron); }
.seg-ring path.on.hi { stroke: var(--firuzeh); }
.ring-val { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1.1; }
.ring-val b { font-size: 2rem; font-weight: 900; color: var(--ink); font-variant-numeric: tabular-nums; }
.ring-val small { font-size: .7rem; color: var(--muted); }
.glow-bars { display: flex; align-items: flex-end; gap: 7px; height: 130px; padding: 8px; border-radius: 16px; background: linear-gradient(180deg, #FFF9F0, #fff); box-shadow: inset 0 0 0 1px var(--line); }
.glow-bars span { flex: 1; height: var(--h); border-radius: 7px 7px 3px 3px; background: linear-gradient(180deg, var(--saffron-2), rgba(244, 169, 64, .2)); transform-origin: bottom; transform: scaleY(0); box-shadow: 0 -4px 14px rgba(244, 169, 64, .35); }
.glow-bars span:nth-child(3n) { background: linear-gradient(180deg, var(--firuzeh-2), rgba(15, 157, 143, .2)); box-shadow: 0 -4px 14px rgba(15, 157, 143, .3); }
.in .glow-bars span, .glow-bars.in span { animation: grow .9s var(--spring) forwards; animation-delay: calc(var(--i) * 70ms + 300ms); }
.feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .82rem; }
.feed li { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; background: var(--ivory); opacity: 0; transform: translateY(8px); }
.in .feed li { animation: rise .6s var(--out) forwards; }
.feed li:nth-child(2) { animation-delay: .25s !important; } .feed li:nth-child(3) { animation-delay: .5s !important; }
.feed i { width: 8px; height: 8px; border-radius: 50%; background: var(--firuzeh); flex: 0 0 8px; }
.feed i.warn { background: var(--saffron); }
.float-chip { position: absolute; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: #fff; box-shadow: var(--sh2); font-size: .82rem; font-weight: 800; color: var(--ink); animation: bob 6s ease-in-out infinite; }
.float-chip svg { color: var(--saffron-d); }
.float-chip.c1 { top: -18px; inset-inline-end: 10%; }
.float-chip.c2 { bottom: -16px; inset-inline-start: 6%; animation-delay: -3s; }

/* نوار روان */
.marquee { position: relative; padding: 18px 0; border-block: 1px solid var(--line); background: rgba(255, 255, 255, .55); overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee .track { display: flex; gap: 14px; width: max-content; animation: marquee 45s linear infinite; }
[dir="rtl"] .marquee .track { animation-name: marqueeR; }
.marquee:hover .track { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 8px 16px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-weight: 700; font-size: .9rem; color: var(--ink); }
.marquee span svg { color: var(--saffron-d); }

/* آمار */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 46px; margin-bottom: 10px; }
.stat { background: #fff; border-radius: var(--r); padding: 20px; box-shadow: var(--sh1); text-align: center; }
.stat b { display: block; font-size: 2.2rem; font-weight: 900; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.3; }
.stat > span { font-size: .9rem; color: var(--muted); }
.stat b small { font-size: 1rem; font-weight: 700; color: var(--muted); }

/* بخش‌ها */
.sec { padding: 96px 0; position: relative; }
.sec.tint { background: linear-gradient(180deg, transparent, var(--sand) 18%, var(--sand) 82%, transparent); }
.head { text-align: center; max-width: 720px; margin: 0 auto 46px; }
.head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 900; margin: 10px 0; }
.head p { margin: 0; color: var(--text); }
.kicker { display: inline-block; font-size: .8rem; font-weight: 800; color: var(--saffron-d); letter-spacing: .3px; padding: 4px 12px; border-radius: 999px; background: rgba(232, 137, 28, .1); }
.kicker.light { color: var(--saffron-2); background: rgba(244, 169, 64, .14); }

/* بنتو ایجنت‌ها */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.agent { --x: 50%; --y: 50%; position: relative; background: #fff; border-radius: var(--r); padding: 22px; box-shadow: var(--sh1); overflow: hidden; isolation: isolate;
  transition: transform .45s var(--spring), box-shadow .3s; }
.agent.wide { grid-column: span 2; }
.agent::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s;
  background: radial-gradient(260px circle at var(--x) var(--y), rgba(244, 169, 64, .16), transparent 60%); }
.agent:hover { transform: translateY(-6px); box-shadow: var(--sh2); }
.agent:hover::before { opacity: 1; }
.agent .ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; color: var(--ink); background: linear-gradient(135deg, var(--saffron-2), var(--saffron)); margin-bottom: 14px; box-shadow: 0 10px 22px -10px rgba(232, 137, 28, .7); transition: transform .6s var(--spring); }
.agent:nth-child(3n+2) .ic { background: linear-gradient(135deg, var(--firuzeh-2), var(--firuzeh)); box-shadow: 0 10px 22px -10px rgba(15, 157, 143, .7); color: #06201D; }
.agent:nth-child(3n) .ic { background: linear-gradient(135deg, #6A55A8, var(--plum)); color: #fff; box-shadow: 0 10px 22px -10px rgba(59, 44, 102, .7); }
.agent:hover .ic { transform: rotate(-10deg) scale(1.08); }
.agent h3 { font-size: 1.08rem; margin-bottom: 6px; }
.agent p { margin: 0; font-size: .92rem; line-height: 1.85; }

/* بخش تیره */
.sec.dark { background: linear-gradient(150deg, var(--ink), #241B42 60%, var(--plum)); color: #D9D3E6; overflow: hidden; }
.sec.dark h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 12px 0; }
.sec.dark .lead { font-size: 1.05rem; }
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.points { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.points li { display: flex; gap: 10px; align-items: flex-start; }
.points svg { flex: 0 0 18px; color: var(--firuzeh-2); margin-top: 5px; }
.pipeline { display: grid; gap: 14px; }
.post { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); border-radius: 20px; padding: 16px; backdrop-filter: blur(8px); }
.post small { color: #A79FBF; font-size: .76rem; }
.post b { display: block; color: #fff; margin: 4px 0 10px; }
.post .lines { display: grid; gap: 6px; } .post .lines i { height: 8px; border-radius: 6px; background: rgba(255, 255, 255, .12); }
.post .lines i:nth-child(2) { width: 85%; } .post .lines i:nth-child(3) { width: 60%; }
.post.out { border-color: rgba(244, 169, 64, .45); box-shadow: 0 0 0 4px rgba(244, 169, 64, .08); }
.post.out .lines i { background: linear-gradient(90deg, rgba(244, 169, 64, .5), rgba(244, 169, 64, .12)); }
.chips { display: flex; gap: 6px; margin-top: 12px; }
.chips span { font-size: .76rem; font-weight: 800; color: #06201D; background: var(--firuzeh-2); padding: 2px 10px; border-radius: 999px; }
.flow { position: relative; height: 54px; display: grid; place-items: center; }
.flow span { position: absolute; inset-block: 0; width: 2px; background: repeating-linear-gradient(180deg, var(--saffron-2) 0 6px, transparent 6px 12px); animation: dash 1s linear infinite; }
.flow em { position: relative; font-style: normal; font-size: .78rem; font-weight: 800; color: var(--ink); background: var(--saffron-2); padding: 4px 12px; border-radius: 999px; }

/* مراحل */
.steps { position: relative; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps .rail { position: absolute; top: 28px; inset-inline: 16%; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.steps .rail i { display: block; height: 100%; background: linear-gradient(90deg, var(--saffron), var(--firuzeh)); transform-origin: right; transform: scaleX(0); transition: transform .2s linear; }
[dir="ltr"] .steps .rail i { transform-origin: left; }
.steps li { position: relative; text-align: center; padding: 0 10px; }
.steps .n { position: relative; z-index: 1; display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; background: #fff; color: var(--ink); font-weight: 900; font-size: 1.3rem; box-shadow: var(--sh1), inset 0 0 0 2px var(--saffron-2); margin-bottom: 14px; }
.steps h3 { font-size: 1.1rem; margin-bottom: 6px; }
.steps p { margin: 0; font-size: .94rem; }

/* قیمت‌ها */
.paynote { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px !important; font-size: .88rem; font-weight: 700; color: var(--firuzeh) !important; background: rgba(15, 157, 143, .08); padding: 6px 14px; border-radius: 999px; }
.period { position: relative; display: flex; width: fit-content; max-width: 100%; margin: 0 auto 30px; padding: 5px; border-radius: 16px; background: #fff; box-shadow: var(--sh1); overflow-x: auto; }
.period .pill { position: absolute; top: 5px; bottom: 5px; border-radius: 12px; background: var(--ink); transition: left .55s var(--spring), width .55s var(--spring); }
.period button { position: relative; z-index: 1; border: 0; background: transparent; font: inherit; font-weight: 700; font-size: .9rem; color: var(--text); padding: 8px 16px; border-radius: 12px; cursor: pointer; white-space: nowrap; transition: color .3s; }
.period button.on { color: #fff; }
.period button small { margin-inline-start: 6px; font-size: .7rem; color: var(--firuzeh); font-weight: 800; }
.period button.on small { color: var(--saffron-2); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 26px; padding: 26px; box-shadow: var(--sh1); transition: transform .45s var(--spring), box-shadow .3s; }
.plan:hover { transform: translateY(-6px); box-shadow: var(--sh2); }
.plan.sk { min-height: 420px; background: linear-gradient(90deg, #fff 0%, #F6F0E6 50%, #fff 100%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
.plan.hot { background: linear-gradient(160deg, var(--ink), #2B2050 70%, var(--plum)); color: #D9D3E6; box-shadow: 0 30px 60px -28px rgba(27, 21, 48, .7); transform: translateY(-10px); }
.plan.hot:hover { transform: translateY(-16px); }
.plan.hot h3, .plan.hot .price b { color: #fff; }
.plan .badge { position: absolute; top: -12px; inset-inline-start: 24px; font-size: .74rem; font-weight: 800; color: var(--ink); background: linear-gradient(135deg, var(--saffron-2), var(--saffron)); padding: 3px 12px; border-radius: 999px; box-shadow: 0 8px 20px -8px rgba(232, 137, 28, .8); }
.plan h3 { font-size: 1.25rem; }
.plan .tagline { margin: 4px 0 14px; font-size: .9rem; opacity: .85; }
.plan .price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.plan .price b { font-size: 2.6rem; font-weight: 900; color: var(--ink); font-variant-numeric: tabular-nums; direction: ltr; }
.plan .price s { color: var(--muted); }
.plan .price span { font-size: .85rem; opacity: .8; }
.plan .eff { font-size: .8rem; opacity: .75; margin-bottom: 14px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 7px; font-size: .9rem; flex: 1; align-content: start; }
.plan li { display: flex; gap: 8px; align-items: flex-start; }
.plan li::before { content: ""; flex: 0 0 18px; height: 18px; margin-top: 4px; border-radius: 6px; background: rgba(15, 157, 143, .14) center/12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F9D8F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.plan li.q::before { background-color: rgba(232, 137, 28, .16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E8891C' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2 3 14h9l-1 8 10-12h-9z'/%3E%3C/svg%3E"); }
.plan li b { color: inherit; font-weight: 800; }
.plan.hot li b { color: #fff; }
.plan .sep { height: 1px; background: var(--line); margin: 4px 0; }
.plan.hot .sep { background: rgba(255, 255, 255, .12); }
.plan .mx-btn { width: 100%; }
.plan:not(.hot) .mx-btn.ghost { background: var(--ivory); }
.plan.hot .mx-btn.ghost { color: #fff; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .2); }

.alc { margin-top: 46px; background: #fff; border-radius: 26px; padding: 26px; box-shadow: var(--sh1); }
.alc-head h3 { font-size: 1.2rem; }
.alc-head p { margin: 4px 0 16px; font-size: .92rem; }
.picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.pick { position: relative; display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 16px; cursor: pointer; background: var(--ivory); box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .2s, transform .35s var(--spring), background .2s; }
.pick:hover { transform: translateY(-2px); }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick .bx { flex: 0 0 22px; height: 22px; border-radius: 7px; margin-top: 3px; background: #fff; box-shadow: inset 0 0 0 1.5px #D6C9B4; display: grid; place-items: center; transition: background .2s, box-shadow .2s; }
.pick .bx svg { width: 14px; height: 14px; stroke: var(--ink); stroke-width: 3; fill: none; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .35s var(--out); }
.pick input:checked ~ .bx { background: var(--saffron-2); box-shadow: none; }
.pick input:checked ~ .bx svg { stroke-dashoffset: 0; }
.pick input:checked ~ .tx { color: var(--ink); }
.pick:has(input:checked) { background: rgba(244, 169, 64, .1); box-shadow: inset 0 0 0 1.5px var(--saffron); }
.pick input:focus-visible ~ .bx { outline: 2.5px solid var(--saffron); outline-offset: 2px; }
.pick .tx b { display: block; color: var(--ink); font-size: .95rem; }
.pick .tx small { display: block; font-size: .8rem; color: var(--muted); }
.pick .tx em { display: block; font-style: normal; font-size: .76rem; color: var(--firuzeh); font-weight: 700; margin-top: 2px; }
.quote { margin-top: 16px; padding: 16px; border-radius: 18px; background: var(--ivory); min-height: 56px; }
.quote .row { display: flex; justify-content: space-between; gap: 10px; font-size: .92rem; padding: 4px 0; }
.quote .row.tot { border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 10px; font-weight: 900; color: var(--ink); font-size: 1.1rem; }
.quote .acts { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.muted { color: var(--muted); }
.packs { margin-top: 30px; }
.packs h3 { font-size: 1.15rem; margin-bottom: 14px; }
.packs h3 small { font-size: .82rem; font-weight: 500; color: var(--muted); }
.packs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.pack { background: #fff; border-radius: 20px; padding: 16px; box-shadow: var(--sh1); text-align: center; transition: transform .4s var(--spring), box-shadow .3s; }
.pack:hover { transform: translateY(-4px) rotate(-.5deg); box-shadow: var(--sh2); }
.pack b { display: block; font-size: 1.6rem; font-weight: 900; color: var(--ink); direction: ltr; }
.pack span { display: block; font-size: .88rem; min-height: 2.8em; }
.pack .mx-btn { margin-top: 8px; width: 100%; min-height: 38px; font-size: .84rem; }

/* پرسش‌ها */
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border-radius: 18px; box-shadow: var(--sh1); overflow: hidden; }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; cursor: pointer; font-weight: 800; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; flex: 0 0 28px; height: 28px; border-radius: 10px; background: var(--sand); transition: background .3s, transform .5s var(--spring); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; inset: 0; margin: auto; width: 12px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .4s var(--spring); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i { background: var(--saffron-2); transform: rotate(180deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq .ans { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--out); }
.faq details[open] .ans { grid-template-rows: 1fr; }
.faq .ans > p { overflow: hidden; margin: 0; padding: 0 20px; }
.faq details[open] .ans > p { padding-bottom: 18px; }

/* فراخوان پایانی */
.cta { padding: 30px 0 96px; }
.cta-in { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: 60px 24px; border-radius: 32px; background: linear-gradient(150deg, var(--ink), #2B2050 60%, var(--plum)); color: #D9D3E6; }
.cta-in h2 { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin-bottom: 10px; }
.cta-in p { margin: 0 auto 26px; max-width: 560px; }
.cta-sun { position: absolute; z-index: -1; width: 420px; height: 420px; border-radius: 50%; top: -220px; inset-inline-start: 50%; translate: 50% 0;
  background: radial-gradient(circle, rgba(244, 169, 64, .55), transparent 65%); animation: breath 6s ease-in-out infinite; }
[dir="ltr"] .cta-sun { translate: -50% 0; }

/* پانویس */
.foot { background: #fff; border-top: 1px solid var(--line); padding-top: 50px; font-size: .92rem; }
.foot-in { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
.foot p { margin: 10px 0 0; max-width: 420px; }
.foot h4 { font-size: .95rem; margin-bottom: 8px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.foot ul a { color: var(--text); text-decoration: none; }
.foot ul a:hover { color: var(--saffron-d); }
.foot .note { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 18px 0 26px; margin-top: 30px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); }

/* بازگشت به بالا با حلقهٔ پیشرفت */
.totop { position: fixed; inset-inline-start: 20px; bottom: 20px; z-index: 40; width: 52px; height: 52px; border: 0; border-radius: 50%; background: var(--ink); color: #fff; cursor: pointer; display: grid; place-items: center;
  box-shadow: 0 14px 30px -12px rgba(27, 21, 48, .7); opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none; transition: opacity .3s, transform .5s var(--spring); }
.totop.on { opacity: 1; transform: none; pointer-events: auto; }
.totop:hover { transform: translateY(-4px); }
.totop svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.totop circle { fill: none; stroke-width: 3; }
.totop .trk { stroke: rgba(255, 255, 255, .12); }
.totop .bar { stroke: var(--saffron-2); stroke-linecap: round; stroke-dasharray: 132; stroke-dashoffset: 132; }
.totop > svg:last-child { position: static; width: 18px; height: 18px; transform: none; }

/* ظاهرشدن هنگام اسکرول */
.reveal { opacity: 0; transform: translateY(22px); filter: blur(4px); transition: opacity .8s var(--out), transform .8s var(--out), filter .8s var(--out); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; filter: none; }

/* واکنش‌گرا */
@media (max-width: 1100px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 960px) {
  .links { display: none; } .burger { display: grid; } .hide-m { display: none !important; }
  .hero { padding-top: 104px; }
  .hero-in, .split-2 { grid-template-columns: 1fr; }
  .hero-demo { max-width: 560px; margin-inline: auto; width: 100%; }
  .plans { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .plan.hot { transform: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 26px; } .steps .rail { display: none; }
  .foot-in { grid-template-columns: 1fr; }
  .sec { padding: 70px 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .bento { grid-template-columns: 1fr; } .agent.wide { grid-column: auto; }
  .kpis { grid-template-columns: 1fr 1fr; } .kpi.k3 { display: none; }
  .demo-grid { grid-template-columns: 110px 1fr; } .ring-box { width: 110px; height: 110px; } .glow-bars { height: 110px; }
  .float-chip { display: none; }
}

@keyframes word { to { opacity: 1; transform: none; filter: none; } }
@keyframes drift { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(40px, -30px) scale(1.1); } 66% { transform: translate(-30px, 30px) scale(.95); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(232, 137, 28, .5); } 50% { box-shadow: 0 0 0 7px rgba(232, 137, 28, 0); } }
@keyframes pulseG { 0%, 100% { box-shadow: 0 0 0 0 rgba(15, 157, 143, .5); } 50% { box-shadow: 0 0 0 7px rgba(15, 157, 143, 0); } }
@keyframes grow { to { transform: scaleY(1); } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marqueeR { to { transform: translateX(50%); } }
@keyframes dash { to { background-position: 0 12px; } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes breath { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.12); opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .split .w { opacity: 1; transform: none; filter: none; }
}
