/* =============================================================================
   BehMon — design system
   Same family as behdanet.ir (deep navy, cyan node accent), with a violet
   second accent for the product's "intelligence" layer.
   RULE: no inline style or script anywhere in the output — the CSP has no
   'unsafe-inline'. Everything visual lives in this file.
   ============================================================================= */
@font-face {
  font-family: Vazirmatn;
  src: url(/fonts/vazirmatn-var.woff2) format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #060a11;
  --bg2: #0a111c;
  --panel: rgba(17, 27, 42, .72);
  --panel-solid: #0f1928;
  --panel2: #142236;
  --line: rgba(140, 175, 210, .14);
  --line2: rgba(140, 175, 210, .08);
  --ink: #e6eef8;
  --ink2: #a5b6ca;
  --ink3: #71849a;
  --cyan: #37e1f5;
  --cyan-d: #0a8fa8;
  --violet: #8b7bff;
  --green: #3ed598;
  --amber: #ffb547;
  --red: #ff5d6c;
  --grad: linear-gradient(100deg, #37e1f5 0%, #6aa8ff 50%, #8b7bff 100%);
  --font: Vazirmatn, system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --r: 16px;
  --rs: 10px;
  --w: 1200px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .7), 0 0 0 1px var(--line);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
[lang="en"] body, html[lang="en"] body { line-height: 1.7; }
img, svg, video { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--cyan); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--cyan); color: #04121a; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; letter-spacing: -.01em; text-wrap: balance; font-weight: 800; }
html[lang="en"] h1, html[lang="en"] h2 { letter-spacing: -.025em; line-height: 1.15; }
h1 { font-size: clamp(32px, 5vw, 58px); font-weight: 900; }
h2 { font-size: clamp(25px, 3.2vw, 38px); }
h3 { font-size: 19px; font-weight: 750; }
p { margin: 0 0 16px; }
.i { width: 22px; height: 22px; flex: none; }
[dir="rtl"] .dir { transform: scaleX(-1); }
.grad, h1 em, h2 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.center { text-align: center; }
p.center { margin: 34px 0 0; }
.skip { position: absolute; inset-inline-start: -9999px; top: 0; z-index: 100; background: var(--cyan); color: #04121a; padding: 10px 16px; border-radius: 0 0 8px 8px; font-weight: 700; }
.skip:focus { inset-inline-start: 16px; }

/* ---------- layout ---------- */
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 860px; }
.band { padding: 96px 0; position: relative; }
.band--flush { padding-top: 8px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--form { align-items: start; grid-template-columns: .85fr 1.15fr; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1000px) {
  .grid4 { grid-template-columns: repeat(2, 1fr); }
  .grid3 { grid-template-columns: repeat(2, 1fr); }
  .split, .split--form { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .grid3, .grid4 { grid-template-columns: 1fr; }
  .band { padding: 68px 0; }
}

/* ---------- section heads ---------- */
.shead { margin-bottom: 44px; max-width: 760px; }
.shead--c { margin-inline: auto; text-align: center; }
.shead .lead { margin-top: 14px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; color: var(--cyan); font-size: 13.5px; font-weight: 700; letter-spacing: .04em; }
html[lang="en"] .eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 12.5px; }
.eyebrow--pill { padding: 6px 14px 6px 12px; border: 1px solid rgba(55, 225, 245, .28); background: rgba(55, 225, 245, .07); border-radius: 999px; }
.eyebrow--pill .i { width: 16px; height: 16px; }
.lead { color: var(--ink2); font-size: clamp(16.5px, 1.5vw, 19px); max-width: 68ch; }
.shead--c .lead { margin-inline: auto; }
.note { color: var(--ink3); font-size: 14px; margin-top: 22px; text-align: center; }
.link { display: inline-flex; align-items: center; gap: 8px; color: var(--cyan); font-weight: 700; }
.link .i { width: 18px; height: 18px; transition: transform .2s; }
.link:hover .i { transform: translateX(3px); }
[dir="rtl"] .link:hover .i { transform: scaleX(-1) translateX(3px); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 48px; padding: 0 22px; border-radius: 12px; font: inherit; font-weight: 750; font-size: 15.5px; cursor: pointer; border: 1px solid transparent; transition: transform .15s, box-shadow .2s, background .2s, border-color .2s, color .2s; white-space: nowrap; }
.btn .i { width: 19px; height: 19px; }
.btn--primary { background: var(--cyan); color: #03141b; box-shadow: 0 10px 30px -10px rgba(55, 225, 245, .6); }
.btn--primary:hover { color: #03141b; transform: translateY(-1px); box-shadow: 0 14px 34px -10px rgba(55, 225, 245, .8); }
.btn--ghost { background: rgba(255, 255, 255, .03); border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: rgba(55, 225, 245, .5); color: var(--ink); background: rgba(55, 225, 245, .06); }
.btn--sm { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn--lg { height: 54px; padding: 0 28px; font-size: 16.5px; }
.btn--block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.actions--c { justify-content: center; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(6, 10, 17, .72); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line2); }
.top__in { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand img { width: 34px; height: 34px; }
.brand__wm { font-weight: 850; font-size: 22px; letter-spacing: -.02em; color: var(--ink); direction: ltr; }
.brand__wm b { font-weight: 850; color: var(--cyan); }
.brand:hover .brand__wm { color: var(--ink); }
.nav { flex: 1; }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: 8px 13px; border-radius: 9px; color: var(--ink2); font-size: 15px; font-weight: 600; }
.nav a:hover { color: var(--ink); background: rgba(255, 255, 255, .04); }
.nav a[aria-current="page"] { color: var(--ink); background: rgba(55, 225, 245, .08); }
.nav__cta { display: none; }
.top__end { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; font-weight: 700; color: var(--ink2); }
.lang:hover { border-color: rgba(55, 225, 245, .5); }
.burger { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; place-items: center; }
.burger .i-close { display: none; }
@media (max-width: 1060px) {
  .burger { display: inline-grid; }
  .top__quote { display: none; }
  .nav { position: fixed; inset: 72px 0 auto 0; background: rgba(6, 10, 17, .97); border-bottom: 1px solid var(--line); padding: 16px 24px 24px; display: none; max-height: calc(100vh - 72px); overflow: auto; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 2px; }
  .nav a { padding: 12px 14px; font-size: 16.5px; }
  .nav__cta { display: block; margin-top: 14px; }
  .nav__cta .btn { width: 100%; height: 48px; }
  .top.is-open .i-open { display: none; }
  .top.is-open .i-close { display: block; }
  .top__end { margin-inline-start: auto; }
}

/* ---------- hero (home) ---------- */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__grid { position: absolute; inset: -2px; background-image: linear-gradient(var(--line2) 1px, transparent 1px), linear-gradient(90deg, var(--line2) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%); }
.hero__glow { position: absolute; width: 900px; height: 600px; inset-inline-start: 40%; top: -220px; background: radial-gradient(closest-side, rgba(55, 225, 245, .20), transparent), radial-gradient(closest-side at 70% 60%, rgba(139, 123, 255, .20), transparent); filter: blur(10px); }
.hero__in { position: relative; display: grid; grid-template-columns: 1fr 1.12fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.22; }
html[lang="en"] .hero h1 { line-height: 1.08; }
.hero .lead { margin-top: 22px; font-size: clamp(17px, 1.6vw, 20px); }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 34px 0 0; color: var(--ink2); font-size: 14.5px; }
.hero__badges li { display: inline-flex; align-items: center; gap: 8px; }
.hero__badges .i { width: 18px; height: 18px; color: var(--cyan); }
.hero__visual { position: relative; padding: 20px 0 40px; }
.hero__frame { transform: perspective(1600px) rotateY(-8deg) rotateX(3deg); transform-origin: center; }
[dir="rtl"] .hero__frame { transform: perspective(1600px) rotateY(8deg) rotateX(3deg); }
.hero__phone { position: absolute; width: 27%; inset-inline-end: -3%; bottom: 0; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow), 0 0 0 6px #0d1522; animation: float 7s ease-in-out infinite; }
.hero__phone .shot { display: block; border-radius: 0; }
.hero__chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 11px 15px; border-radius: 14px; background: rgba(14, 23, 36, .9); border: 1px solid var(--line); box-shadow: 0 16px 40px -18px rgba(0, 0, 0, .9); backdrop-filter: blur(8px); font-size: 13px; line-height: 1.45; animation: float 6s ease-in-out infinite; }
.hero__chip b { display: block; font-size: 13.5px; }
.hero__chip small { color: var(--ink3); font-size: 12px; }
.hero__chip .i { color: var(--red); width: 26px; height: 26px; padding: 4px; border-radius: 8px; background: rgba(255, 93, 108, .12); }
.hero__chip--a { top: 0; inset-inline-start: -4%; animation-delay: -2s; }
.hero__chip--b { bottom: 18%; inset-inline-start: -7%; }
.hero__chip--b .i { color: var(--violet); background: rgba(139, 123, 255, .14); }
.hero__pulse { position: absolute; inset-inline: -10% -10%; bottom: -6px; width: 120%; height: 70px; fill: none; stroke: var(--cyan); stroke-width: 2; opacity: .55; stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 5s ease-in-out infinite; filter: drop-shadow(0 0 6px rgba(55, 225, 245, .8)); }
@media (prefers-reduced-motion: reduce) { .hero__pulse { animation: none; stroke-dashoffset: 0; } }
@keyframes draw { 0% { stroke-dashoffset: 900; } 55% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -900; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 1000px) {
  .hero__in { grid-template-columns: 1fr; }
  .hero__frame, [dir="rtl"] .hero__frame { transform: none; }
  .hero__chip--a { inset-inline-start: 2%; }
  .hero__chip--b { inset-inline-start: 2%; }
}
@media (max-width: 640px) {
  .hero { padding-top: 44px; }
  .hero__chip { display: none; }
  .hero__phone { width: 30%; }
}

/* ---------- app frame ---------- */
.frame { position: relative; border-radius: 14px; overflow: hidden; background: #0c1320; box-shadow: var(--shadow), 0 0 80px -30px rgba(55, 225, 245, .35); }
.frame__bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: #0f1827; border-bottom: 1px solid var(--line2); direction: ltr; }
.frame__bar span { width: 10px; height: 10px; border-radius: 50%; background: #28344a; }
.frame__bar span:nth-child(1) { background: #ff5f57; opacity: .8; }
.frame__bar span:nth-child(2) { background: #febc2e; opacity: .8; }
.frame__bar span:nth-child(3) { background: #28c840; opacity: .8; }
.frame__bar em { flex: 1; text-align: center; font-style: normal; font-family: var(--mono); font-size: 11.5px; color: var(--ink3); margin-inline-end: 44px; }
.frame .shot { display: block; width: 100%; }
.frame--wide { max-width: 1100px; margin: 0 auto; }

/* ---------- stats ---------- */
.stats { padding: 26px 0 10px; }
.stats__list { list-style: none; margin: 0; padding: 26px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; border: 1px solid var(--line); border-radius: var(--r); background: linear-gradient(180deg, rgba(20, 34, 54, .55), rgba(12, 19, 32, .4)); }
.stats__list li { text-align: center; padding: 6px; }
.stats__list b { display: block; font-size: clamp(26px, 3vw, 36px); font-weight: 900; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.3; }
.stats__list span { color: var(--ink2); font-size: 14.5px; }
@media (max-width: 700px) { .stats__list { grid-template-columns: repeat(2, 1fr); } }

/* ---------- cards ---------- */
.card { position: relative; display: block; padding: 28px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); transition: border-color .2s, transform .2s, background .2s; }
.card h3 { margin: 16px 0 8px; }
.card p { color: var(--ink2); font-size: 15.5px; margin: 0; }
.card__ic { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; color: var(--cyan); background: linear-gradient(135deg, rgba(55, 225, 245, .16), rgba(139, 123, 255, .12)); border: 1px solid rgba(55, 225, 245, .22); }
.card__ic .i { width: 24px; height: 24px; }
.card--link:hover { border-color: rgba(55, 225, 245, .45); transform: translateY(-3px); background: rgba(20, 34, 54, .8); color: inherit; }
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; color: var(--cyan); font-weight: 700; font-size: 14.5px; }
.card .more .i { width: 17px; height: 17px; }
.card--pain .card__ic { color: var(--amber); background: rgba(255, 181, 71, .1); border-color: rgba(255, 181, 71, .25); }
.card--mini { padding: 24px; }
.card--mini h3 { font-size: 17.5px; }
.card--contact { text-align: center; padding: 26px 18px; }
.card--contact > .i { width: 30px; height: 30px; color: var(--cyan); }
.card--contact h3 { margin: 10px 0 4px; font-size: 16px; }
.card--contact p { font-size: 15px; }
a.card--contact:hover { border-color: rgba(55, 225, 245, .45); color: inherit; }
.modules .card { overflow: hidden; }
.modules .card::after { content: ""; position: absolute; inset: auto -40% -60% auto; width: 220px; height: 220px; background: radial-gradient(closest-side, rgba(55, 225, 245, .10), transparent); pointer-events: none; }

/* ---------- checks ---------- */
.checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 9px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink2); font-size: 15.5px; line-height: 1.75; }
.checks .ck { width: 20px; height: 20px; margin-top: 4px; padding: 3px; border-radius: 6px; color: var(--cyan); background: rgba(55, 225, 245, .1); }
html[lang="en"] .checks .ck { margin-top: 2px; }

/* ---------- tour tabs ---------- */
.tabs__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 34px; }
.tabs__list button { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); color: var(--ink2); font: inherit; font-size: 14.5px; font-weight: 650; cursor: pointer; transition: all .2s; }
.tabs__list button .i { width: 18px; height: 18px; }
.tabs__list button:hover { color: var(--ink); border-color: rgba(55, 225, 245, .4); }
.tabs__list button[aria-selected="true"] { color: #03141b; background: var(--cyan); border-color: var(--cyan); }
.tabs__panel { display: grid; grid-template-columns: .8fr 1.6fr; gap: 44px; align-items: center; animation: fade .35s ease; }
.tabs__panel[hidden] { display: none; }
.tour__txt h3 { font-size: 24px; margin-bottom: 12px; }
.tour__txt p { color: var(--ink2); }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 1000px) { .tabs__panel { grid-template-columns: 1fr; } }

/* ---------- AI chat mock ---------- */
.ai::before { content: ""; position: absolute; inset: 10% 0; background: radial-gradient(ellipse 50% 60% at 75% 50%, rgba(139, 123, 255, .12), transparent 70%); pointer-events: none; }
[dir="rtl"] .ai::before { background: radial-gradient(ellipse 50% 60% at 25% 50%, rgba(139, 123, 255, .12), transparent 70%); }
.chat { position: relative; padding: 22px; border-radius: 20px; background: linear-gradient(180deg, rgba(20, 30, 50, .9), rgba(12, 19, 32, .9)); border: 1px solid rgba(139, 123, 255, .3); box-shadow: var(--shadow), 0 0 90px -30px rgba(139, 123, 255, .5); }
.chat__head { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid var(--line2); }
.chat__head .i { color: var(--violet); }
.chat__badge { margin-inline-start: auto; font-size: 12px; padding: 3px 10px; border-radius: 999px; color: var(--green); background: rgba(62, 213, 152, .1); border: 1px solid rgba(62, 213, 152, .3); }
.chat__msg { padding: 13px 16px; border-radius: 14px; font-size: 15px; line-height: 1.85; margin-bottom: 12px; }
.chat__msg--u { background: rgba(55, 225, 245, .12); border: 1px solid rgba(55, 225, 245, .25); margin-inline-start: 18%; }
.chat__msg--a { background: rgba(255, 255, 255, .03); border: 1px solid var(--line); margin-inline-end: 6%; color: var(--ink2); }
.chat__msg--a ul { margin: 8px 0; padding-inline-start: 20px; }
.chat__msg--a b { color: var(--ink); }
.chat__src { display: flex; flex-wrap: wrap; gap: 6px; }
.chat__src span { font-size: 12px; padding: 3px 10px; border-radius: 999px; background: rgba(139, 123, 255, .1); border: 1px solid rgba(139, 123, 255, .25); color: #c7bfff; }

/* ---------- steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps li { position: relative; padding: 26px; border-radius: var(--r); border: 1px solid var(--line); background: var(--panel); }
.steps__n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-weight: 900; color: #03141b; background: var(--grad); }
.steps h3 { margin: 14px 0 6px; font-size: 17.5px; }
.steps p { color: var(--ink2); font-size: 15px; margin: 0; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }

/* ---------- plans ---------- */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plans--3 { grid-template-columns: repeat(3, 1fr); }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px 24px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); }
.plan h3 { font-size: 21px; }
.plan__for { color: var(--ink3); font-size: 14px; margin: 6px 0 16px; min-height: 3.4em; }
.plan__price { padding: 14px 0; border-block: 1px solid var(--line2); margin-bottom: 14px; }
.plan__price b { display: block; font-size: 22px; font-weight: 850; }
.plan__price small { color: var(--ink3); font-size: 13px; }
.plan__lim { list-style: none; padding: 0; margin: 0 0 6px; display: grid; gap: 4px; font-size: 14.5px; font-weight: 650; }
.plan__lim li::before { content: "•"; color: var(--cyan); margin-inline-end: 8px; }
.plan .checks { margin-bottom: 24px; flex: 1; align-content: start; }
.plan .checks li { font-size: 14.5px; }
.plan .btn { margin-top: auto; }
.plan--featured { background: linear-gradient(180deg, rgba(55, 225, 245, .10), rgba(139, 123, 255, .06) 60%, var(--panel)); border-color: rgba(55, 225, 245, .5); box-shadow: 0 30px 70px -40px rgba(55, 225, 245, .6); }
.plan__tag { position: absolute; top: -13px; inset-inline-start: 22px; padding: 3px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 800; color: #03141b; background: var(--grad); }
@media (max-width: 1100px) { .plans { grid-template-columns: repeat(2, 1fr); } .plans--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .plans, .plans--3 { grid-template-columns: 1fr; } }
.sla { margin: 0 0 8px; display: grid; gap: 6px; }
.sla div { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; padding: 7px 0; border-bottom: 1px dashed var(--line2); }
.sla dt { color: var(--ink3); }
.sla dd { margin: 0; font-weight: 700; text-align: end; }

/* ---------- tables ---------- */
.tscroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.cmp { width: 100%; border-collapse: collapse; min-width: 760px; font-size: 15px; }
.cmp th, .cmp td { padding: 13px 18px; text-align: center; border-bottom: 1px solid var(--line2); }
.cmp th[scope="row"] { text-align: start; font-weight: 550; color: var(--ink2); }
.cmp thead th { position: sticky; top: 0; background: var(--panel-solid); font-size: 16px; font-weight: 800; }
.cmp .is-f { background: rgba(55, 225, 245, .05); }
.cmp thead .is-f { color: var(--cyan); }
.cmp__g th { text-align: start !important; background: rgba(255, 255, 255, .025); color: var(--cyan); font-size: 13.5px; font-weight: 800; letter-spacing: .03em; }
.cmp .yes { width: 20px; height: 20px; color: var(--green); }
.cmp .no { color: var(--ink3); }
.cmp--sev td { color: var(--ink2); }
.sev { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 13px; font-weight: 800; }
.sev--p1 { color: #ffd1d5; background: rgba(255, 93, 108, .18); }
.sev--p2 { color: #ffe2b8; background: rgba(255, 181, 71, .16); }
.sev--p3 { color: #c9f0ff; background: rgba(55, 225, 245, .12); }
.sev--p4 { color: var(--ink2); background: rgba(255, 255, 255, .06); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq__i { border: 1px solid var(--line); border-radius: 14px; background: var(--panel); transition: border-color .2s; }
.faq__i[open] { border-color: rgba(55, 225, 245, .35); }
.faq__i summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; font-weight: 700; font-size: 16.5px; list-style: none; }
.faq__i summary::-webkit-details-marker { display: none; }
.faq__ic { color: var(--cyan); transition: transform .2s; }
.faq__i[open] .faq__ic { transform: rotate(45deg); }
.faq__a { padding: 0 22px 20px; color: var(--ink2); }
.faq__a p:last-child { margin: 0; }

/* ---------- page hero ---------- */
.phero { position: relative; padding: 56px 0 56px; overflow: hidden; }
.phero::before { content: ""; position: absolute; inset: -40% -10% auto; height: 520px; background: radial-gradient(ellipse 50% 60% at 50% 30%, rgba(55, 225, 245, .10), transparent 70%); pointer-events: none; }
.phero .wrap { position: relative; }
.phero h1 { font-size: clamp(30px, 4.2vw, 52px); max-width: 22ch; }
.phero .lead { margin-top: 18px; }
.phero--404 { padding: 110px 0; }
.big404 { font-size: clamp(90px, 16vw, 180px); font-weight: 900; line-height: 1; margin: 0 0 10px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.phero--404 h1 { margin: 0 auto; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 26px; font-size: 13.5px; color: var(--ink3); }
.crumbs li + li::before { content: "/"; margin-inline-end: 6px; opacity: .6; }
.crumbs a:hover { color: var(--cyan); }

/* ---------- feature hub + pages ---------- */
.feat { display: grid; grid-template-columns: .9fr 1.3fr; gap: 56px; align-items: center; padding: 56px 0; border-bottom: 1px solid var(--line2); }
.feat--rev .feat__txt { order: 2; }
.feat h2 { font-size: clamp(24px, 2.6vw, 32px); margin: 18px 0 12px; }
.feat p { color: var(--ink2); }
.feat .link { margin-top: 22px; }
@media (max-width: 1000px) { .feat { grid-template-columns: 1fr; gap: 30px; } .feat--rev .feat__txt { order: 0; } }
.fsecs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fsec { display: flex; gap: 20px; padding: 30px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); }
.fsec h2 { font-size: 21px; margin: 4px 0 10px; }
.fsec p { color: var(--ink2); font-size: 15.5px; }
@media (max-width: 900px) { .fsecs { grid-template-columns: 1fr; } .fsec { flex-direction: column; gap: 10px; } }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.gallery figure { margin: 0; }
.gallery figcaption { margin-top: 14px; color: var(--ink2); font-size: 15px; }
.gallery figcaption b { color: var(--ink); margin-inline-end: 6px; }
@media (max-width: 800px) { .gallery { grid-template-columns: 1fr; } }

/* ---------- demo ---------- */
.video { position: relative; max-width: 1100px; margin: 0 auto; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow), 0 0 100px -30px rgba(55, 225, 245, .4); background: #000; }
.video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.video .frame { border-radius: 0; }
.video__play { position: absolute; inset: 0; margin: auto; z-index: 2; width: 92px; height: 92px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; color: #03141b; background: var(--cyan); box-shadow: 0 0 0 12px rgba(55, 225, 245, .18), 0 20px 50px -10px rgba(55, 225, 245, .7); transition: transform .2s; }
.video__play:hover { transform: scale(1.06); }
.video__play .i { width: 38px; height: 38px; margin-inline-start: 5px; }
[dir="rtl"] .video__play .i { margin-inline-start: 0; margin-inline-end: 5px; transform: none; }
.video.is-playing .video__play { display: none; }
.video__meta { max-width: 1100px; margin: 34px auto 0; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; }
.video__meta h2 { font-size: 26px; margin-bottom: 10px; }
.video__meta p { color: var(--ink2); }
.chapters { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.chapters li { display: flex; gap: 14px; padding: 9px 14px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line2); font-size: 15px; color: var(--ink2); }
.chapters span { font-family: var(--mono); color: var(--cyan); font-size: 13.5px; }
@media (max-width: 800px) { .video__meta { grid-template-columns: 1fr; } }
.phone-wrap { display: grid; place-items: center; }
.phone { width: min(320px, 70vw); border-radius: 30px; box-shadow: var(--shadow), 0 0 0 8px #0d1522, 0 0 90px -20px rgba(55, 225, 245, .4); }

/* ---------- contact form ---------- */
.qform { padding: 30px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); display: grid; gap: 16px; }
.qform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .qform__row { grid-template-columns: 1fr; } }
.qform label { display: grid; gap: 7px; font-size: 14px; font-weight: 650; color: var(--ink2); }
.qform input, .qform select, .qform textarea { width: 100%; font: inherit; font-size: 15.5px; color: var(--ink); background: rgba(3, 7, 13, .55); border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; transition: border-color .2s, box-shadow .2s; }
.qform textarea { resize: vertical; min-height: 110px; }
.qform input:focus, .qform select:focus, .qform textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(55, 225, 245, .15); }
.qform [aria-invalid="true"] { border-color: var(--red); }
.qform select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink3) 50%), linear-gradient(135deg, var(--ink3) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-inline-end: 34px; }
[dir="rtl"] .qform select { background-position: 18px 55%, 13px 55%; }
.qform__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.qform__status { margin: 0; min-height: 1.5em; font-size: 14.5px; color: var(--green); }
.qform__status.is-err { color: var(--red); }
.qform__hint { margin: 0; font-size: 13px; color: var(--ink3); }
.contacts { margin-top: 8px; grid-template-columns: repeat(auto-fit, minmax(210px, 260px)); justify-content: center; }

/* ---------- about ---------- */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips li { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); font-size: 14.5px; color: var(--ink2); direction: ltr; }

/* ---------- prose (articles, about) ---------- */
.prose { font-size: 17px; }
.prose h2 { font-size: clamp(22px, 2.4vw, 28px); margin: 48px 0 14px; scroll-margin-top: 90px; }
.prose h3 { font-size: 19px; margin: 30px 0 10px; }
.prose p, .prose li { color: #c3d0df; }
.prose ul, .prose ol { padding-inline-start: 24px; margin: 0 0 20px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--cyan); }
.prose a { color: var(--cyan); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(55, 225, 245, .4); }
.prose strong { color: var(--ink); }
.prose blockquote { margin: 26px 0; padding: 18px 22px; border-inline-start: 3px solid var(--cyan); background: rgba(55, 225, 245, .05); border-radius: 0 12px 12px 0; }
[dir="rtl"] .prose blockquote { border-radius: 12px 0 0 12px; }
.prose blockquote p:last-child { margin: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 10px 14px; border: 1px solid var(--line); text-align: start; vertical-align: top; }
.prose th { background: var(--panel-solid); color: var(--ink); }
.prose code { font-family: var(--mono); font-size: .88em; padding: 2px 6px; border-radius: 6px; background: rgba(255, 255, 255, .06); direction: ltr; unicode-bidi: isolate; }
.post__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0 0 14px; color: var(--ink3); font-size: 14px; }
.post__meta span:first-child { color: var(--cyan); font-weight: 700; }
.phero--post .wrap { max-width: 1120px; }
.phero--post h1 { max-width: 30ch; font-size: clamp(28px, 3.8vw, 46px); }
.phero--post .lead { max-width: 75ch; }
[dir="rtl"] .prose ol, [dir="rtl"] .toc ol { list-style-type: persian; }
.post__grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; max-width: 1120px; padding-bottom: 40px; }
.toc { position: sticky; top: 100px; align-self: start; padding: 20px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); font-size: 14px; }
.toc p { margin: 0 0 8px; font-weight: 800; }
.toc ol { margin: 0; padding-inline-start: 18px; display: grid; gap: 6px; color: var(--ink2); }
.toc a:hover { color: var(--cyan); }
@media (max-width: 960px) { .post__grid { grid-template-columns: 1fr; } .toc { position: static; } }
.post__cta { margin-top: 56px; padding: 30px; border-radius: 18px; border: 1px solid rgba(55, 225, 245, .35); background: linear-gradient(135deg, rgba(55, 225, 245, .08), rgba(139, 123, 255, .08)); }
.post__cta h2 { margin: 0 0 8px; font-size: 24px; }
.post__cta .actions { margin-top: 18px; }
.prose .post__cta a.btn { text-decoration: none; }
.prose .post__cta .btn--primary { color: #03141b; }
.prose .post__cta .btn--ghost { color: var(--ink); }
.card--post h3 { margin-top: 6px; font-size: 18.5px; line-height: 1.5; }
.card--post .post__meta { margin: 0; font-size: 13px; }
.card--post:hover { border-color: rgba(55, 225, 245, .45); transform: translateY(-3px); color: inherit; }

/* ---------- CTA band ---------- */
.ctaband__box { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px; padding: 48px; border-radius: 26px; border: 1px solid rgba(55, 225, 245, .35); background: radial-gradient(ellipse 60% 120% at 0% 0%, rgba(55, 225, 245, .18), transparent 60%), radial-gradient(ellipse 60% 120% at 100% 100%, rgba(139, 123, 255, .2), transparent 60%), var(--panel-solid); }
.ctaband__box h2 { font-size: clamp(24px, 2.8vw, 34px); }
.ctaband__box p { color: var(--ink2); margin: 10px 0 0; max-width: 56ch; }
.ctaband__box .actions { margin: 0; }
@media (max-width: 640px) { .ctaband__box { padding: 30px 24px; } }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line2); padding: 64px 0 28px; background: linear-gradient(180deg, transparent, rgba(10, 17, 28, .8)); font-size: 15px; }
.foot__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
.foot__brand p { color: var(--ink2); margin-top: 16px; max-width: 42ch; }
.foot__by { font-size: 14px; color: var(--ink3) !important; }
.foot__by a { color: var(--cyan); }
.foot__h { font-size: 15px; margin: 6px 0 14px; color: var(--ink); }
.foot__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: var(--ink2); }
.foot__contact li { display: flex; align-items: center; gap: 10px; }
.foot__contact .i { width: 18px; height: 18px; color: var(--cyan); }
.soc { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 18px 0 0; }
.soc a, .soc span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; border: 1px solid var(--line); color: var(--ink2); background: rgba(255, 255, 255, .02); transition: all .2s; }
.soc a:hover { color: var(--cyan); border-color: rgba(55, 225, 245, .5); }
.soc .i { width: 20px; height: 20px; }
.soc--soon { opacity: .45; cursor: default; }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line2); color: var(--ink3); font-size: 13.5px; }
.foot__bottom p { margin: 0; }
.foot__ver b { color: var(--ink2); font-weight: 700; }
@media (max-width: 900px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot__grid { grid-template-columns: 1fr; } }

/* ---------- scroll reveal (progressive: Chromium's scroll-driven animations) ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .card, .plan, .fsec, .feat, .steps li, .gallery figure {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 30%;
    }
  }
}
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
