/* EARST saytı — ortaq stil. Rənglər və şrift EARST dizayn sistemindən (demo.earst-consulting.com/muraciet ilə eyni).
   Şriftlər: IBM Plex Sans + IBM Plex Mono (SIL OFL) — AZ, EN, RU; ₼ və oxlar earst-sym-* faylından. */
@import url("fonts.css");

:root {
  --brand: #154f20; --brand-bright: #1d6a2b; --brand-deep: #0f3a17;
  --accent: #9fd3a9; --accent-soft: #cfe6d3;
  --tint: #e8f2ea; --tint-2: #f3f8f4; --border-tint: #c9dfcd;
  --surface: #ffffff; --paper: #fbfcfb;
  --ink: #14161a; --ink-body: #3a3f45; --ink-muted: #6e7175; --hairline: #e3e7e4;
  --danger: #a3261c; --danger-soft: #f8e3e1; --warn: #8a5a00; --warn-soft: #fbefd6;
  --night: #0f1f14; --night-2: #163021;
  --sans: "IBM Plex Sans", "EARST Sym", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", "EARST Sym", ui-monospace, monospace;
  --r-sm: 6px; --r-md: 8px; --r-lg: 12px; --r-xl: 16px;
  --wrap: 1200px; --gutter: 32px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 1px 2px rgba(20, 22, 26, .04), 0 8px 24px rgba(20, 22, 26, .06);
  --shadow-lg: 0 1px 2px rgba(20, 22, 26, .05), 0 12px 32px rgba(20, 22, 26, .08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { font: 400 16px/1.6 var(--sans); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brand-bright); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible { outline-color: var(--accent); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--brand); color: #fff; padding: 8px 16px; border-radius: var(--r-md); }
.skip:focus { left: 8px; }
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mono, .num { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }

/* Dillər: .az / .en / .ru cütləri; html.lang-en / html.lang-ru */
html:not(.lang-en) .en, html:not(.lang-ru) .ru, html.lang-en .az, html.lang-ru .az { display: none !important; }

/* Tipoqrafiya */
.kicker { display: inline-block; font: 500 14px/1.4 var(--sans); color: var(--ink-muted); }
.on-dark .kicker { color: rgba(255, 255, 255, .6); }
h1, h2, h3, h4 { font-weight: 500; letter-spacing: -.015em; line-height: 1.12; text-wrap: balance; }
.h1 { font-size: clamp(36px, 4.6vw, 56px); letter-spacing: -.025em; line-height: 1.08; }
.h2 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -.02em; }
.h3 { font-size: 22px; }
.lede { font-size: clamp(17px, 1.4vw, 19px); color: var(--ink-body); line-height: 1.6; text-wrap: pretty; }
.on-dark .lede { color: rgba(255, 255, 255, .72); }
.muted { color: var(--ink-muted); }
.hl { color: var(--brand); }
.sec { padding: 112px 0; position: relative; }
.sec-tint { background: var(--tint-2); border-block: 1px solid var(--hairline); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: end; margin-bottom: 56px; }
.sec-head .kicker + .h2 { margin-top: 12px; }
.sec-head.center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.sec-head.center .lede { max-width: 640px; }

/* Düymələr */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: var(--r-md); border: 1px solid transparent; font: 600 15px/1 var(--sans); cursor: pointer; white-space: nowrap; transition: background-color .2s, border-color .2s, color .2s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn .i { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .i-arrow { transform: translateX(3px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-bright); }
.btn-ghost { background: var(--surface); border-color: var(--border-tint); color: var(--ink); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-light { background: #fff; color: var(--brand-deep); }
.btn-light:hover { background: var(--accent-soft); }
.btn-outline-light { border-color: rgba(255, 255, 255, .3); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--brand); }
.link .i { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link:hover .i { transform: translateX(3px); }
.on-dark .link { color: var(--accent); }

/* Başlıq */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(251, 252, 251, .86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.hdr.scrolled { border-bottom-color: var(--hairline); }
.hdr-bar { display: flex; align-items: center; gap: 32px; height: 72px; }
.logo img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-right: auto; }
.nav > a, .nav-dd > button { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 12px; border-radius: var(--r-md); font: 500 15px var(--sans); color: var(--ink-body); background: none; border: 0; cursor: pointer; transition: color .2s, background-color .2s; }
.nav > a:hover, .nav-dd > button:hover, .nav-dd.open > button, .nav > a[aria-current="page"] { color: var(--ink); background: var(--tint); }
.nav-dd { position: relative; }
.nav-dd > button .i { width: 16px; height: 16px; transition: transform .2s; }
.nav-dd.open > button .i { transform: rotate(180deg); }
.mega { position: absolute; top: calc(100% + 8px); left: -12px; width: 640px; padding: 12px; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); display: grid; grid-template-columns: 1fr 1fr; gap: 2px; opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .18s, transform .18s var(--ease), visibility .18s; }
.mega.narrow { width: 360px; grid-template-columns: 1fr; }
.nav-dd.open .mega { opacity: 1; visibility: visible; transform: none; }
.mega a { display: flex; gap: 12px; padding: 10px 12px; border-radius: var(--r-md); transition: background-color .15s; }
.mega a:hover { background: var(--tint-2); }
.mega a .i { margin-top: 2px; color: var(--brand); }
.mega b { display: block; font-weight: 600; font-size: 14px; }
.mega small { display: block; font-size: 13px; color: var(--ink-muted); line-height: 1.4; }
.mega .mega-foot { grid-column: 1 / -1; margin-top: 4px; padding: 12px; border-top: 1px solid var(--hairline); display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.tools { display: flex; align-items: center; gap: 8px; }
.lang { display: flex; padding: 3px; border: 1px solid var(--hairline); border-radius: var(--r-md); background: var(--surface); }
.lang button { height: 32px; min-width: 38px; padding: 0 8px; border: 0; background: none; border-radius: 5px; font: 600 12px var(--mono); color: var(--ink-muted); cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--brand); color: #fff; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--hairline); border-radius: var(--r-md); background: var(--surface); place-items: center; cursor: pointer; }
.sheet { position: fixed; inset: 0; z-index: 60; background: var(--surface); padding: 16px var(--gutter) 24px; display: flex; flex-direction: column; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .35s var(--ease), visibility .35s; }
.sheet.open { transform: none; visibility: visible; }
.sheet-top { display: flex; justify-content: space-between; align-items: center; height: 56px; }
.sheet nav { margin: 16px 0 24px; display: grid; }
.sheet nav a { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--hairline); font-size: 18px; font-weight: 500; }
.sheet nav .sub { padding-left: 16px; font-size: 16px; color: var(--ink-body); }
.sheet .btn { margin-top: auto; }

/* Hero */
.hero { position: relative; padding: 72px 0 96px; overflow: hidden; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border: 1px solid var(--border-tint); border-radius: 999px; background: var(--surface); font: 600 12px var(--sans); letter-spacing: .02em; color: var(--brand); }
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-bright); }
.hero h1 { margin: 24px 0 20px; }
.hero .lede { max-width: 540px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px; font-size: 14px; color: var(--ink-body); }
.checks span { display: inline-flex; align-items: center; gap: 6px; }
.checks .i { width: 16px; height: 16px; color: var(--brand-bright); stroke-width: 2.2; }
.chips { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; }
.chips a { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink-body); border-bottom: 1px solid var(--hairline); padding-bottom: 2px; transition: color .2s, border-color .2s; }
.chips a:hover { border-color: var(--brand); color: var(--brand); }
.chips .i { width: 16px; height: 16px; color: var(--ink-muted); }

/* Proses kartı (hero) */
.pcard { position: relative; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-xl); box-shadow: var(--shadow-lg); overflow: hidden; }
.pcard-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--hairline); }
.pcard-head .ic { width: 32px; height: 32px; border-radius: var(--r-md); background: var(--tint); color: var(--brand); display: grid; place-items: center; }
.pcard-head .ic .i { width: 18px; height: 18px; }
.pcard-head b { font-size: 15px; }
.pcard-head .tag { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--warn); background: var(--warn-soft); padding: 4px 10px; border-radius: 999px; }
.pcard-head .cnt { font: 500 13px var(--mono); color: var(--ink-muted); }
.pbar { height: 2px; background: var(--hairline); }
.pbar i { display: block; height: 100%; width: 0; background: var(--brand-bright); transition: width .6s var(--ease); }
.pcard-body { padding: 16px 20px 20px; }
.pdoc { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--hairline); border-radius: var(--r-md); font-size: 14px; margin-bottom: 12px; }
.pdoc .i { width: 16px; height: 16px; color: var(--brand); }
.pdoc .mono { margin-left: auto; font-size: 13px; color: var(--ink-muted); }
.steps-live { list-style: none; display: grid; gap: 2px; }
.steps-live li { display: grid; grid-template-columns: 24px 1fr auto; gap: 10px; align-items: center; padding: 9px 10px; border-radius: var(--r-md); font-size: 14px; color: var(--ink-muted); transition: background-color .3s, color .3s; }
.steps-live li .st { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--border-tint); display: grid; place-items: center; transition: background-color .3s, border-color .3s; }
.steps-live li .st .i { width: 12px; height: 12px; stroke-width: 3; color: #fff; opacity: 0; transform: scale(.5); transition: opacity .25s, transform .25s var(--ease); }
.steps-live li small { font: 400 12px var(--mono); color: var(--ink-muted); text-align: right; }
.steps-live li.on { background: var(--tint-2); color: var(--ink); }
.steps-live li.on .st { border-color: var(--brand-bright); border-top-color: transparent; animation: spin .8s linear infinite; }
.steps-live li.done { color: var(--ink); }
.steps-live li.done .st { background: var(--brand-bright); border-color: var(--brand-bright); animation: none; }
.steps-live li.done .st .i { opacity: 1; transform: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.presult { margin-top: 12px; padding: 14px 16px; border-radius: var(--r-md); background: var(--tint); display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; opacity: .45; transition: opacity .4s; }
.presult.on { opacity: 1; }
.presult small { display: block; font-size: 12px; color: var(--ink-muted); }
.presult b { font: 500 15px var(--mono); }
.presult .ok { color: var(--brand-bright); }
.pnote { position: absolute; right: 20px; bottom: -28px; font-size: 12px; color: var(--ink-muted); }
.hero-visual { position: relative; }

/* Faktlar zolağı */
.facts { border-block: 1px solid var(--hairline); background: var(--surface); }
.facts-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts-row > div { padding: 24px 20px; border-left: 1px solid var(--hairline); }
.facts-row > div:first-child { border-left: 0; padding-left: 0; }
.facts b { display: block; font: 500 28px/1.1 var(--mono); letter-spacing: -.03em; color: var(--brand); }
.facts-row > div > span { display: block; margin-top: 6px; font-size: 13px; color: var(--ink-muted); line-height: 1.35; }

/* Mərkəz diaqramı (xətlər animasiyalı) */
.hub { position: relative; height: 560px; }
.hub svg.lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hub .ln { fill: none; stroke: var(--border-tint); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.hub .flow { fill: none; stroke: var(--brand-bright); stroke-width: 2; stroke-dasharray: 3 9; stroke-linecap: round; vector-effect: non-scaling-stroke; animation: flow 2.6s linear infinite; opacity: 0; transition: opacity .6s; }
.hub.in .flow { opacity: 1; }
.hub .flow.out { stroke: var(--brand); animation-duration: 3s; }
@keyframes flow { to { stroke-dashoffset: -48; } }
.hub-node { position: absolute; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 8px; width: 120px; text-align: center; font-size: 13px; font-weight: 500; line-height: 1.3; }
.hub-node .ic { width: 52px; height: 52px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--hairline); display: grid; place-items: center; color: var(--ink-body); }
.hub-node .ic .i { width: 22px; height: 22px; }
.hub-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 12px; padding: 16px 24px; border-radius: 999px; background: var(--brand); color: #fff; white-space: nowrap; }
.hub-core img { height: 22px; width: auto; filter: brightness(0) invert(1); }
.hub-core span { font-weight: 600; font-size: 15px; }
.hub-out { position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--surface); border: 1px solid var(--border-tint); border-radius: var(--r-md); font-size: 13px; font-weight: 500; white-space: nowrap; }
.hub-out .i { width: 16px; height: 16px; color: var(--brand); }
.hub-caption { margin-top: 8px; text-align: center; font-size: 13px; color: var(--ink-muted); }
.hub-m { display: none; }

/* Müqayisə */
.cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cmp-col { border-radius: var(--r-xl); border: 1px solid var(--hairline); background: var(--surface); padding: 28px; }
.cmp-col.good { border-color: var(--border-tint); box-shadow: 0 0 0 4px var(--tint); }
.cmp-col h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; margin-bottom: 20px; }
.cmp-col h3 .ic { width: 32px; height: 32px; border-radius: var(--r-md); display: grid; place-items: center; background: var(--tint-2); color: var(--ink-muted); }
.cmp-col.good h3 .ic { background: var(--brand); color: #fff; }
.cmp-col ul { list-style: none; display: grid; gap: 4px; }
.cmp-col li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--hairline); font-size: 15px; color: var(--ink-body); }
.cmp-col li:first-child { border-top: 0; }
.cmp-col li .i { width: 18px; height: 18px; margin-top: 3px; color: var(--ink-muted); }
.cmp-col.good li .i { color: var(--brand-bright); stroke-width: 2.2; }
.cmp-col li b { display: block; color: var(--ink); font-weight: 600; }

/* Ekranlar */
.screens { background: var(--night); color: #fff; overflow: hidden; }
.screens .h2 { color: #fff; }
.tabs { display: flex; gap: 4px; padding: 4px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .06); width: fit-content; margin-bottom: 32px; flex-wrap: wrap; }
.tabs button { height: 40px; padding: 0 18px; border: 0; border-radius: var(--r-md); background: none; color: rgba(255, 255, 255, .65); font-weight: 500; cursor: pointer; transition: background-color .2s, color .2s; }
.tabs button:hover { color: #fff; }
.tabs button[aria-selected="true"] { background: #fff; color: var(--brand-deep); }
.screen-panel { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.screen-panel[hidden] { display: none; }
.browser { border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 32px 80px rgba(0, 0, 0, .4); }
.browser-bar { height: 36px; display: flex; align-items: center; gap: 6px; padding: 0 14px; background: #eef2ef; border-bottom: 1px solid var(--hairline); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d3dad5; }
.browser-bar span { margin: 0 auto; font: 400 12px var(--mono); color: var(--ink-muted); }
.screen-panel h3 { font-size: 24px; color: #fff; margin-bottom: 12px; }
.screen-panel p { color: rgba(255, 255, 255, .72); }
.screen-panel ul { list-style: none; margin-top: 20px; display: grid; gap: 10px; }
.screen-panel li { display: flex; gap: 10px; font-size: 15px; color: rgba(255, 255, 255, .85); }
.screen-panel li .i { width: 18px; height: 18px; color: var(--accent); margin-top: 3px; }
.screens .note { margin-top: 24px; font-size: 13px; color: rgba(255, 255, 255, .45); }

/* Modul kartları */
.feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fcard { display: flex; flex-direction: column; border-radius: var(--r-xl); background: var(--tint-2); border: 1px solid var(--hairline); padding: 24px; transition: border-color .2s, transform .3s var(--ease); }
.fcard:hover { border-color: var(--border-tint); background: var(--surface); }
.fcard .tag { align-self: flex-start; font-size: 12px; font-weight: 600; color: var(--brand); background: var(--surface); border: 1px solid var(--border-tint); padding: 4px 10px; border-radius: 999px; }
.fcard h3 { font-size: 20px; margin: 0 0 8px; }
.fcard > p { font-size: 15px; color: var(--ink-body); }
.fcard .link { margin-top: auto; padding-top: 20px; }
.mini { margin-top: 20px; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 12px; font-size: 13px; }
.mini-row { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: var(--r-sm); }
.mini-row + .mini-row { border-top: 1px solid var(--hairline); border-radius: 0; }
.mini-row .num { margin-left: auto; font-size: 13px; }
.mini-row .i { width: 16px; height: 16px; color: var(--brand-bright); stroke-width: 2.2; }
.mini-row.hi { background: var(--tint-2); border-radius: var(--r-sm); }
.mini-row .neg { color: var(--danger); }
.mini-kpi { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mini-kpi div { border: 1px solid var(--hairline); border-radius: var(--r-sm); padding: 10px; }
.mini-kpi b { display: block; font: 500 16px var(--mono); }
.mini-kpi small { color: var(--ink-muted); font-size: 12px; }
.mini-kpi .neg b { color: var(--danger); }
.stage { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin: 8px 0; }
.stage i { height: 6px; border-radius: 3px; background: var(--hairline); }
.stage i.d { background: var(--brand-bright); }
.stage i.late { background: var(--danger); }
.flag { display: inline-block; font-size: 12px; padding: 3px 8px; border-radius: var(--r-sm); background: var(--danger-soft); color: var(--danger); }
.flag.warn { background: var(--warn-soft); color: var(--warn); }
.mods-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); border-radius: var(--r-xl); overflow: hidden; margin-top: 20px; }
.mcell { background: var(--surface); padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 8px; transition: background-color .2s; }
.mcell:hover { background: var(--tint-2); }
.mcell .top { display: flex; align-items: center; justify-content: space-between; }
.mcell .n { font: 400 13px var(--mono); color: var(--ink-muted); }
.mcell b { font-size: 16px; font-weight: 600; }
.mcell p { font-size: 14px; color: var(--ink-muted); line-height: 1.5; }

/* Sahələr */
.sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sector { position: relative; display: flex; flex-direction: column; border-radius: var(--r-xl); overflow: hidden; background: var(--surface); border: 1px solid var(--hairline); transition: box-shadow .3s, border-color .3s; }
.sector:hover { box-shadow: var(--shadow-lg); border-color: var(--border-tint); }
.sector .ph { aspect-ratio: 16 / 10; overflow: hidden; background: var(--tint); }
.sector .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.sector .bd { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.sector .bd .kicker { font-size: 12px; }
.sector h3 { font-size: 22px; }
.sector ul { list-style: none; display: grid; gap: 8px; font-size: 14px; color: var(--ink-body); }
.sector li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; }
.sector li .i { width: 16px; height: 16px; margin-top: 3px; color: var(--brand-bright); stroke-width: 2.2; }
.sector .link { margin-top: auto; padding-top: 8px; }

/* Zəncir (sahə səhifələri) */
.chain { display: flex; align-items: stretch; gap: 0; overflow-x: auto; padding: 8px 0 16px; scrollbar-width: thin; }
.chain-step { position: relative; flex: 1 0 150px; display: grid; justify-items: start; gap: 10px; padding-right: 24px; }
.chain-step .ic { position: relative; z-index: 1; width: 48px; height: 48px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border-tint); color: var(--brand); display: grid; place-items: center; transition: background-color .4s, color .4s, border-color .4s; }
.chain-step.lit .ic { background: var(--brand); color: #fff; border-color: var(--brand); }
.chain-step::after { content: ""; position: absolute; left: 48px; right: 0; top: 24px; height: 2px; background: repeating-linear-gradient(90deg, var(--border-tint) 0 4px, transparent 4px 10px); }
.chain-step:last-child::after { display: none; }
.chain-step .fill { position: absolute; left: 48px; top: 24px; height: 2px; width: 0; right: 0; background: var(--brand-bright); transition: width .5s var(--ease); z-index: 0; }
.chain-step.lit .fill { width: calc(100% - 48px); }
.chain-step:last-child .fill { display: none; }
.chain-step b { font-size: 15px; font-weight: 600; }
.chain-step small { font-size: 13px; color: var(--ink-muted); line-height: 1.4; }

/* AI köməkçi */
.ai { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.chat { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-xl); box-shadow: var(--shadow-lg); overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--hairline); font-size: 14px; font-weight: 600; }
.chat-head .ic { width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; }
.chat-head .ic .i { width: 15px; height: 15px; }
.chat-head small { margin-left: auto; font-weight: 400; color: var(--ink-muted); }
.chat-body { padding: 20px 18px; display: grid; gap: 12px; min-height: 300px; align-content: start; background: var(--tint-2); }
.msg { max-width: 88%; padding: 12px 14px; border-radius: 14px; font-size: 14px; line-height: 1.5; opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s var(--ease); }
.msg.show { opacity: 1; transform: none; }
.msg.me { justify-self: end; background: var(--brand); color: #fff; border-bottom-right-radius: 4px; }
.msg.bot { background: var(--surface); border: 1px solid var(--hairline); border-bottom-left-radius: 4px; }
.msg.bot .big { display: block; font: 500 24px var(--mono); letter-spacing: -.02em; margin: 4px 0; }
.msg .file { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 8px 10px; border-radius: var(--r-md); border: 1px solid var(--border-tint); background: var(--tint-2); font: 400 13px var(--mono); }
.msg .file .i { color: var(--brand); width: 18px; height: 18px; }
.typing { display: inline-flex; gap: 4px; padding: 14px; background: var(--surface); border: 1px solid var(--hairline); border-radius: 14px; width: fit-content; opacity: 0; transition: opacity .2s; }
.typing.show { opacity: 1; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-muted); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.chat-input { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-top: 1px solid var(--hairline); font-size: 14px; color: var(--ink-muted); }
.chat-input .i { margin-left: auto; color: var(--brand); }
.ai-points { list-style: none; display: grid; gap: 16px; margin-top: 28px; }
.ai-points li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; }
.ai-points .ic { width: 40px; height: 40px; border-radius: var(--r-md); background: var(--tint); color: var(--brand); display: grid; place-items: center; }
.ai-points b { display: block; font-weight: 600; }
.ai-points span { font-size: 15px; color: var(--ink-body); }

/* Nəzarət */
.ctrl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ccard { padding: 24px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--hairline); }
.ccard .ic { width: 40px; height: 40px; border-radius: var(--r-md); background: var(--tint); color: var(--brand); display: grid; place-items: center; margin-bottom: 16px; }
.ccard b { display: block; font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.ccard p { font-size: 14px; color: var(--ink-body); }
.alert-demo { margin-top: 20px; display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r-lg); background: var(--night); color: #fff; max-width: 520px; }
.alert-demo .ic { width: 32px; height: 32px; border-radius: 50%; background: #2aa3e0; display: grid; place-items: center; flex: none; }
.alert-demo .ic .i { width: 16px; height: 16px; color: #fff; }
.alert-demo small { display: block; font-size: 12px; color: rgba(255, 255, 255, .55); }
.alert-demo p { font-size: 14px; }

/* Addımlar */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; list-style: none; counter-reset: s; }
.steps::before { content: ""; position: absolute; left: 28px; right: 28px; top: 28px; height: 2px; background: repeating-linear-gradient(90deg, var(--border-tint) 0 4px, transparent 4px 10px); }
.steps .bar { position: absolute; left: 28px; top: 28px; height: 2px; width: 0; background: var(--brand-bright); transition: width 1.6s var(--ease); }
.steps.in .bar { width: calc(100% - 56px); }
.step { position: relative; }
.step .no { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; background: var(--surface); border: 2px solid var(--border-tint); display: grid; place-items: center; font: 500 18px var(--mono); color: var(--brand); transition: background-color .4s, color .4s, border-color .4s; }
.steps.in .step .no { background: var(--brand); color: #fff; border-color: var(--brand); }
.steps.in .step:nth-child(3) .no { transition-delay: .5s; } .steps.in .step:nth-child(4) .no { transition-delay: 1s; }
.step h3 { font-size: 20px; margin: 20px 0 8px; }
.step p { color: var(--ink-body); font-size: 15px; }

/* Broşur */
.bro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.bro-stack { position: relative; padding: 0 8% 16% 0; }
.bro-stack a { display: block; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--hairline); box-shadow: var(--shadow); transition: transform .5s var(--ease); background: #fff; }
.bro-stack a:last-child { position: absolute; width: 80%; right: 0; bottom: 0; box-shadow: var(--shadow-lg); }
.bro-stack a:first-child { width: 84%; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 64px; }
.faq-side p { margin: 16px 0 24px; color: var(--ink-body); }
.faq { border-top: 1px solid var(--hairline); }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; font-size: 17px; font-weight: 600; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--hairline); display: grid; place-items: center; transition: background-color .2s, border-color .2s, transform .3s var(--ease); }
.faq summary .pm .i { width: 16px; height: 16px; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--brand); border-color: var(--brand); color: #fff; }
.faq summary:hover .pm { border-color: var(--brand); }
.faq .ans { overflow: hidden; }
.faq .ans > div { padding: 0 56px 24px 0; color: var(--ink-body); }
.faq .ans p + p { margin-top: 10px; }
.faq-group { margin-bottom: 48px; }
.faq-group h2 { font-size: 22px; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.faq-group h2 .i { color: var(--brand); }

/* CTA */
.cta { background: var(--brand); color: #fff; border-radius: var(--r-xl); padding: 56px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; align-items: center; position: relative; overflow: hidden; }
.cta > * { position: relative; }
.cta .h2 { color: #fff; margin: 12px 0 16px; }
.cta p { color: rgba(255, 255, 255, .78); }
.cta .ctas { margin-top: 28px; }
.qr-box { justify-self: end; display: flex; gap: 20px; align-items: center; padding: 20px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); max-width: 360px; }
.qr { width: 112px; height: 112px; flex: none; padding: 8px; background: #fff; border-radius: var(--r-md); }
.qr svg { width: 100%; height: 100%; }
.qr-box b { display: block; font-size: 15px; margin-bottom: 4px; }
.qr-box p { font-size: 14px; }

/* Alt səhifə başlığı */
.page-hero { padding: 64px 0 72px; position: relative; overflow: hidden; border-bottom: 1px solid var(--hairline); }
.page-hero .wrap { position: relative; }
.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--ink-muted); margin-bottom: 24px; }
.crumbs a:hover { color: var(--brand); }
.page-hero h1 { max-width: 16ch; margin: 16px 0 20px; }
.page-hero .lede { max-width: 620px; }
.ph-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.ph-photo { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-lg); }
.ph-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Modullar səhifəsi */
.mod-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; align-items: start; }
.mod-index { position: sticky; top: 96px; display: grid; gap: 2px; max-height: calc(100vh - 120px); overflow-y: auto; }
.mod-index a { display: flex; gap: 10px; align-items: baseline; padding: 7px 10px; border-radius: var(--r-sm); font-size: 14px; color: var(--ink-body); border-left: 2px solid transparent; transition: background-color .2s, color .2s, border-color .2s; }
.mod-index a .num { font-size: 12px; color: var(--ink-muted); }
.mod-index a:hover { background: var(--tint-2); }
.mod-index a.act { color: var(--brand); border-left-color: var(--brand); background: var(--tint-2); font-weight: 600; }
.mod-sec { padding: 40px 0; border-top: 1px solid var(--hairline); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; scroll-margin-top: 88px; }
.mod-sec:first-child { border-top: 0; padding-top: 0; }
.mod-sec .hd { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.mod-sec .hd .no { font: 400 28px/1 var(--mono); color: var(--border-tint); letter-spacing: -.02em; }
.mod-sec .hd .num { font-size: 13px; color: var(--ink-muted); display: block; }
.mod-sec h2 { font-size: 26px; }
.mod-sec > div > p { color: var(--ink-body); }
.mod-sec .subs { margin-top: 20px; }
.mod-sec .subs small { display: block; font-size: 12px; font-weight: 600; color: var(--ink-muted); margin-bottom: 8px; }
.mod-sec .subs ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.mod-sec .subs li { font-size: 13px; padding: 4px 10px; border-radius: var(--r-sm); border: 1px solid var(--hairline); color: var(--ink-body); }
.mod-sec .for { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--ink-muted); align-items: center; }
.mod-sec .for a { padding: 4px 10px; border-radius: 999px; border: 1px solid var(--hairline); color: var(--ink-body); }
.mod-sec .for a:hover { border-color: var(--brand); color: var(--brand); }
.mod-sec .mini { margin-top: 0; align-self: start; }

/* Altlıq */
.foot { background: var(--night); color: rgba(255, 255, 255, .65); padding: 80px 0 32px; font-size: 14px; }
.foot-top { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 40px; }
.foot-brand img { height: 30px; width: auto; filter: brightness(0) invert(1); margin-bottom: 16px; }
.foot-brand p { max-width: 280px; }
.foot h4 { font-size: 14px; font-weight: 600; color: #fff; letter-spacing: 0; margin-bottom: 16px; }
.foot ul { list-style: none; display: grid; gap: 10px; }
.foot a:hover { color: #fff; }
.foot-bottom { margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 13px; color: rgba(255, 255, 255, .45); }

/* Görünəndə üzə çıxma */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .hub .flow { opacity: 1; }
}

@media (max-width: 1100px) {
  .nav, .tools .btn-demo { display: none; }
  .menu-btn { display: grid; }
  .hdr-bar { justify-content: space-between; }
  .hero-grid, .ai, .bro, .ph-split, .faq-wrap { grid-template-columns: 1fr; gap: 48px; }
  .feat, .sectors { grid-template-columns: 1fr 1fr; }
  .mods-grid { grid-template-columns: repeat(2, 1fr); }
  .ctrl { grid-template-columns: 1fr 1fr; }
  .screen-panel { grid-template-columns: 1fr; gap: 28px; }
  .cta { grid-template-columns: 1fr; padding: 40px; }
  .qr-box { justify-self: start; }
  .foot-top { grid-template-columns: 1fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .mod-layout { grid-template-columns: 1fr; }
  .mod-index { display: none; }
  .sec-head { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 760px) {
  :root { --gutter: 20px; }
  .sec { padding: 80px 0; }
  .hdr-bar { height: 64px; }
  .logo img { height: 26px; }
  .hero { padding: 40px 0 72px; }
  .h1 { font-size: 38px; }
  .ctas .btn { flex: 1 1 auto; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
  .tabs button { flex: none; }
  .pnote { position: static; display: block; margin-top: 8px; text-align: right; }
  .presult { grid-template-columns: 1fr 1fr; }
  .feat, .sectors, .cmp, .ctrl, .steps { grid-template-columns: 1fr; }
  .mods-grid { grid-template-columns: 1fr; }
  .facts-row { grid-template-columns: 1fr 1fr; }
  .facts-row > div { border-left: 0 !important; padding-left: 0 !important; border-top: 1px solid var(--hairline); }
  .facts-row > div:nth-child(-n+2) { border-top: 0; }
  .facts-row > div:nth-child(2n) { padding-left: 16px !important; border-left: 1px solid var(--hairline) !important; }
  .hub { display: none; }
  .hub-m { display: grid; justify-items: center; gap: 0; overflow: hidden; padding: 24px 0; margin: -24px 0; }
  .hub-m .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 8px; width: 100%; }
  .hub-m .vline { width: 2px; height: 48px; background: repeating-linear-gradient(180deg, var(--brand-bright) 0 3px, transparent 3px 9px); background-size: 2px 18px; animation: vflow 1.2s linear infinite; }
  @keyframes vflow { to { background-position: 0 18px; } }
  .hub-m .hub-node, .hub-m .hub-core, .hub-m .hub-out { position: static; transform: none; width: auto; }
  .hub-m .hub-core { position: relative; left: auto; top: auto; }
  .hub-m .outs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
  .hub-m .hub-out { white-space: normal; }
  .steps::before, .steps .bar { left: 27px; right: auto; top: 28px; bottom: 28px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--border-tint) 0 4px, transparent 4px 10px); }
  .steps .bar { height: 0; background: var(--brand-bright); transition: height 1.6s var(--ease); }
  .steps.in .bar { width: 2px; height: calc(100% - 56px); }
  .step { padding-left: 80px; min-height: 56px; }
  .step .no { position: absolute; left: 0; top: 0; }
  .step h3 { margin-top: 12px; }
  .faq .ans > div { padding-right: 0; }
  .cta { padding: 32px 24px; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .mod-sec { grid-template-columns: 1fr; gap: 20px; }
  .chain { flex-direction: column; gap: 4px; overflow: visible; }
  .chain-step { grid-template-columns: 48px 1fr; column-gap: 16px; padding: 0 0 20px; flex: none; }
  .chain-step .ic { grid-row: span 2; }
  .chain-step::after, .chain-step .fill { left: 23px; top: 48px; bottom: 0; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--border-tint) 0 4px, transparent 4px 10px); }
  .chain-step .fill { background: var(--brand-bright); height: 0; transition: height .5s var(--ease); }
  .chain-step.lit .fill { width: 2px; height: calc(100% - 48px); }
}

/* Excel əvəzinə: jurnal cədvəli */
.ledger { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg); overflow: hidden; font-size: 15px; }
.ledger th { text-align: left; font: 500 13px var(--sans); color: var(--ink-muted); padding: 14px 20px; border-bottom: 1px solid var(--hairline); background: var(--tint-2); }
.ledger td { padding: 16px 20px; border-bottom: 1px solid var(--hairline); vertical-align: top; color: var(--ink-body); }
.ledger tr:last-child td { border-bottom: 0; }
.ledger td { width: 50%; }
.ledger td:first-child { color: var(--ink); font-weight: 500; }
.ledger .n { font: 400 13px var(--mono); color: var(--ink-muted); width: 56px; }
.ledger-wrap { overflow-x: auto; }
/* Nəzarət: siyahı */
.ctrl-list { list-style: none; border-top: 1px solid var(--hairline); }
.ctrl-list li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--hairline); font-size: 15px; color: var(--ink-body); }
.ctrl-list b { color: var(--ink); font-weight: 500; }
.ctrl-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
@media (max-width: 760px) {
  .ledger { font-size: 14px; } .ledger td, .ledger th { padding: 12px; } .ledger .n { display: none; }
  .ctrl-wrap { grid-template-columns: 1fr; gap: 32px; }
  .ctrl-list li { grid-template-columns: 1fr; gap: 4px; }
}

div.fcard:hover { border-color: var(--hairline); background: var(--tint-2); transform: none; }
div.mcell:hover { background: var(--surface); }
