/* Enterprise product page (Maya GBI): formal and restrained — navy, slate and white with one
   blue accent, hairline borders, numbered sections and no scroll animations. */

.en-site {
  --en-navy: #0b1530;
  --en-navy-2: #12224a;
  --en-ink: #0f172a;
  --en-text: #475569;
  --en-muted: #64748b;
  --en-line: #e2e8f0;
  --en-alt: #f6f8fb;
  --en-accent: #2f6fed;
  --en-accent-soft: #eaf1fe;
  --en-brand: linear-gradient(90deg, #8fd3ff, #b9a6ff 50%, #f6a6d8);
  background: #fff;
  color: var(--en-ink);
  font-family: var(--font-maya, "Vazirmatn", Tahoma, sans-serif);
  overflow-x: clip;
}

:where(.en-site) :where(h1, h2, h3, p, ul, ol, figure) {
  margin: 0;
}

:where(.en-site) :where(ul, ol) {
  list-style: none;
  padding: 0;
}

.en-wrap {
  width: min(1200px, 92%);
  margin-inline: auto;
}

.en-site .ui-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Buttons */
.en-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.en-btn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 8px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.en-btn-primary {
  background: var(--en-accent);
  color: #fff;
}

.en-btn-primary:hover {
  background: #2459d1;
}

.en-btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
}

.en-btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.06);
}

.en-btn-light {
  background: #fff;
  color: var(--en-navy);
}

.en-btn-light:hover {
  background: #e9eef8;
}

.en-btn:focus-visible,
.en-faq summary:focus-visible,
.en-other:focus-visible,
.en-crumbs a:focus-visible {
  outline: 3px solid #8fb4ff;
  outline-offset: 3px;
}

/* Hero */
.en-hero {
  position: relative;
  padding: 128px 0 88px;
  color: #fff;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 56px 56px,
    radial-gradient(ellipse 60% 70% at 15% 30%, rgba(47, 111, 237, 0.22), transparent 60%),
    linear-gradient(180deg, var(--en-navy), var(--en-navy-2));
}

.en-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: var(--en-brand);
}

.en-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 44px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
}

.en-crumbs a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.en-crumbs a:hover {
  color: #fff;
}

.en-hero-grid {
  display: grid;
  gap: 56px;
  align-items: center;
}

@media (min-width: 1020px) {
  .en-hero-grid {
    grid-template-columns: 1fr 1.05fr;
  }
}

.en-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  font-weight: 800;
  font-size: 1.05rem;
}

.en-brand img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: #000;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.en-brand small {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.78rem;
  font-weight: 500;
  direction: ltr;
  text-align: right;
}

.en-hero h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.3;
}

.en-tagline {
  margin-top: 10px !important;
  color: #a9c4ff;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 600;
}

.en-lead {
  max-width: 36em;
  margin: 20px 0 32px !important;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.06rem;
  line-height: 2;
}

.en-hero .sh-buy {
  max-width: 480px;
  margin-top: 24px;
}

.en-hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 34px !important;
  padding-top: 24px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.94rem;
}

.en-hero-facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.en-hero-facts .ui-icon {
  color: #8fb4ff;
}

/* Product sample window */
.en-console {
  border-radius: 12px;
  background: #fff;
  color: var(--en-ink);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(2, 8, 24, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.en-console-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  background: #f1f4f9;
  border-bottom: 1px solid var(--en-line);
  font-size: 0.85rem;
}

.en-dots {
  display: flex;
  gap: 6px;
}

.en-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
}

.en-console-bar em {
  margin-inline-start: auto;
  padding: 2px 10px;
  border-radius: 999px;
  border: 1px solid var(--en-line);
  background: #fff;
  color: var(--en-muted);
  font-size: 0.75rem;
  font-style: normal;
}

.en-console-body {
  display: grid;
  gap: 16px;
  padding: 20px;
}

.en-ask {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #c9d8fb;
  background: var(--en-accent-soft);
  font-size: 0.95rem;
  font-weight: 600;
}

.en-ask .ui-icon {
  color: var(--en-accent);
}

.en-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.en-kpis div {
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--en-line);
}

.en-kpis small,
.en-kpis span {
  display: block;
  color: var(--en-muted);
  font-size: 0.75rem;
}

.en-kpis b {
  display: block;
  margin: 2px 0;
  font-size: 1.4rem;
  font-weight: 800;
}

.en-kpis .is-up b {
  color: #0f8a5f;
}

.en-chart {
  padding: 14px 16px 30px;
  border-radius: 8px;
  border: 1px solid var(--en-line);
}

.en-chart-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.85rem;
}

.en-chart-head span {
  color: var(--en-muted);
}

.en-bars {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  height: 150px;
  align-items: end;
  border-bottom: 1px solid var(--en-line);
  background: repeating-linear-gradient(0deg, transparent 0 37px, #f1f5f9 37px 38px);
}

.en-bars div {
  display: grid;
  grid-template-rows: 1fr auto;
  height: 100%;
  position: relative;
}

.en-bars i {
  align-self: end;
  height: var(--h);
  border-radius: 4px 4px 0 0;
  background: #c7d6f6;
}

.en-bars .is-current i {
  background: var(--en-accent);
}

.en-bars small {
  position: absolute;
  bottom: -22px;
  left: 0;
  right: 0;
  color: var(--en-muted);
  font-size: 0.68rem;
  text-align: center;
}

.en-insight {
  padding: 12px 14px;
  border-radius: 8px;
  border-inline-start: 3px solid var(--en-accent);
  background: var(--en-alt);
  color: var(--en-text);
  font-size: 0.9rem;
  line-height: 1.9;
}

.en-insight b {
  color: var(--en-ink);
}

/* Sections */
.en-section {
  padding: 96px 0;
  border-bottom: 1px solid var(--en-line);
}

.en-section-alt {
  background: var(--en-alt);
}

.en-two {
  display: grid;
  gap: 40px 72px;
  align-items: start;
}

@media (min-width: 960px) {
  .en-two {
    grid-template-columns: 5fr 7fr;
  }
}

.en-head h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.25rem);
  font-weight: 800;
  line-height: 1.5;
  color: var(--en-ink);
}

.en-head > p:not(.en-label) {
  margin-top: 16px !important;
  color: var(--en-text);
  font-size: 1.04rem;
  line-height: 2;
}

.en-head-wide {
  max-width: 760px;
  margin-bottom: 48px;
}

.en-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px !important;
  color: var(--en-accent);
  font-size: 0.88rem;
  font-weight: 700;
}

.en-label::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--en-accent);
}

.en-prose p {
  color: var(--en-text);
  font-size: 1.06rem;
  line-height: 2.1;
}

.en-prose p + p {
  margin-top: 18px !important;
}

/* Ask your data */
.en-questions {
  display: grid;
  border: 1px solid var(--en-line);
  border-radius: 10px;
  background: #fff;
}

.en-questions li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  font-size: 1.05rem;
  font-weight: 600;
}

.en-questions li + li {
  border-top: 1px solid var(--en-line);
}

.en-questions span {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: var(--en-accent-soft);
  color: var(--en-accent);
  font-size: 0.9rem;
  font-weight: 800;
}

.en-outputs-label {
  margin: 28px 0 12px !important;
  color: var(--en-muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.en-outputs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.en-outputs li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 8px;
  border: 1px solid var(--en-line);
  background: #fff;
  font-weight: 600;
}

.en-outputs .ui-icon {
  color: var(--en-accent);
  width: 18px;
  height: 18px;
}

/* Capabilities */
.en-caps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  border-top: 1px solid var(--en-line);
  border-inline-start: 1px solid var(--en-line);
}

.en-caps article {
  position: relative;
  padding: 30px 28px 34px;
  border-bottom: 1px solid var(--en-line);
  border-inline-end: 1px solid var(--en-line);
  transition: background-color 0.2s ease;
}

.en-caps article:hover {
  background: var(--en-alt);
}

.en-cap-ic {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border-radius: 10px;
  background: var(--en-accent-soft);
  color: var(--en-accent);
}

.en-site .en-cap-ic .ui-icon {
  width: 22px;
  height: 22px;
}

.en-caps small {
  position: absolute;
  top: 30px;
  inset-inline-end: 28px;
  color: #cbd5e1;
  font-size: 0.95rem;
  font-weight: 800;
}

.en-caps h3 {
  margin-bottom: 10px !important;
  font-size: 1.15rem;
  font-weight: 800;
}

.en-caps p {
  color: var(--en-text);
  line-height: 1.95;
  font-size: 0.97rem;
}

.en-caps .en-cap-cta {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  background: var(--en-navy);
  color: #fff;
}

.en-caps .en-cap-cta:hover {
  background: var(--en-navy-2);
}

.en-caps .en-cap-cta p {
  margin-bottom: 18px !important;
  color: rgba(255, 255, 255, 0.72);
}

.en-cap-cta .en-btn {
  align-self: flex-start;
}

/* Architecture (dark) */
.en-section-dark {
  color: #fff;
  background: var(--en-navy);
  border-bottom: 0;
}

.en-section-dark .en-head h2 {
  color: #fff;
}

.en-section-dark .en-label {
  color: #8fb4ff;
}

.en-section-dark .en-label::before {
  background: #8fb4ff;
}

.en-arch {
  display: grid;
  grid-template-columns: 1fr 48px 1.1fr 48px 1fr;
  align-items: center;
}

.en-arch-col {
  display: grid;
  gap: 10px;
}

.en-arch-title {
  margin-bottom: 4px !important;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  font-weight: 700;
}

.en-arch-col span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 600;
}

.en-arch-col .ui-icon {
  color: #8fb4ff;
}

.en-arch-link {
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(143, 180, 255, 0.7) 0 6px, transparent 6px 11px);
}

.en-arch-core {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 30px 24px;
  border-radius: 12px;
  border: 1px solid rgba(143, 180, 255, 0.45);
  background: linear-gradient(180deg, rgba(47, 111, 237, 0.2), rgba(47, 111, 237, 0.06));
  text-align: center;
}

.en-arch-core img {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: #000;
}

.en-arch-core b {
  font-size: 1.3rem;
  font-weight: 800;
}

.en-arch-core ol {
  display: grid;
  gap: 8px;
  width: 100%;
  counter-reset: core;
}

.en-arch-core li {
  padding: 8px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
}

.en-path {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 56px !important;
}

.en-path li {
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
}

.en-path li:not(:last-child)::after {
  content: "";
  width: 56px;
  height: 1px;
  margin: 0 18px;
  background: rgba(255, 255, 255, 0.35);
}

.en-path li:last-child {
  padding: 6px 16px;
  border-radius: 6px;
  background: var(--en-accent);
}

/* Deployment */
.en-assurances {
  display: grid;
  gap: 14px;
}

.en-assurances li {
  display: flex;
  gap: 18px;
  padding: 22px 24px;
  border-radius: 10px;
  border: 1px solid var(--en-line);
}

.en-assurances li > span {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--en-navy);
  color: #fff;
}

.en-assurances b {
  display: block;
  margin-bottom: 4px;
  font-size: 1.08rem;
}

.en-assurances p {
  color: var(--en-text);
  line-height: 1.9;
}

/* Value */
.en-checks {
  display: grid;
  gap: 0;
  border: 1px solid var(--en-line);
  border-radius: 10px;
  background: #fff;
}

.en-checks li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  font-size: 1.03rem;
  font-weight: 600;
}

.en-checks li + li {
  border-top: 1px solid var(--en-line);
}

.en-site .en-checks .ui-icon {
  width: 22px;
  height: 22px;
  padding: 4px;
  box-sizing: border-box;
  border-radius: 50%;
  background: var(--en-accent);
  color: #fff;
}

.en-note {
  margin-top: 20px !important;
  padding: 16px 20px;
  border-inline-start: 3px solid var(--en-navy);
  background: #fff;
  color: var(--en-text);
  line-height: 2;
}

/* Industries */
.en-industries {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.en-industries article {
  padding: 26px;
  border-radius: 10px;
  border: 1px solid var(--en-line);
  transition: border-color 0.2s ease;
}

.en-industries article:hover {
  border-color: #b8cbf6;
}

.en-industries article > span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 10px;
  border: 1px solid var(--en-line);
  color: var(--en-navy);
}

.en-industries h3 {
  margin-bottom: 8px !important;
  font-size: 1.1rem;
  font-weight: 800;
}

.en-industries p {
  color: var(--en-text);
  line-height: 1.9;
}

.en-roles {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 32px;
  padding-top: 26px;
  border-top: 1px solid var(--en-line);
}

.en-roles p {
  color: var(--en-muted);
  font-weight: 700;
}

.en-roles ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.en-roles li {
  padding: 6px 14px;
  border-radius: 6px;
  background: var(--en-alt);
  border: 1px solid var(--en-line);
  font-size: 0.94rem;
  font-weight: 600;
}

.en-video-sec {
  background: var(--en-alt);
}

/* Scoped to outrank the shared aparat.css, which loads after this file. */
.en-site .en-video {
  max-width: 980px;
  border-radius: 12px;
  border: 1px solid var(--en-line);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}

.en-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
}

.en-gallery img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--en-line);
}

.en-gallery figcaption {
  margin-top: 8px;
  color: var(--en-muted);
  font-size: 0.92rem;
}

/* FAQ */
.en-faq {
  border-top: 1px solid var(--en-line);
}

.en-faq details {
  border-bottom: 1px solid var(--en-line);
}

.en-faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 20px 0;
  font-size: 1.06rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.en-faq summary::-webkit-details-marker {
  display: none;
}

.en-faq summary::after {
  content: "+";
  flex-shrink: 0;
  color: var(--en-accent);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
}

.en-faq details[open] summary::after {
  content: "−";
}

.en-faq details > p {
  padding-bottom: 20px;
  color: var(--en-text);
  line-height: 2;
}

.en-more .en-prose {
  padding-bottom: 24px;
}

.en-prose h2,
.en-prose h3,
.en-prose h4 {
  margin: 1.4em 0 0.5em !important;
  color: var(--en-ink);
  font-size: 1.1rem;
}

.en-prose ul,
.en-prose ol {
  margin: 0 0 1em !important;
  padding-right: 1.3em !important;
  list-style: disc;
  color: var(--en-text);
  line-height: 2;
}

.en-prose a {
  color: var(--en-accent);
}

/* Closing CTA */
.en-cta {
  position: relative;
  padding: 72px 0;
  color: #fff;
  background: var(--en-navy);
}

.en-cta::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--en-brand);
}

.en-cta-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}

.en-cta h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 800;
}

.en-cta p {
  margin-top: 10px !important;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.9;
}

/* Other products */
.en-others-sec {
  border-bottom: 0;
}

.en-others {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.en-other {
  display: grid;
  gap: 6px;
  padding: 12px 12px 18px;
  border-radius: 10px;
  border: 1px solid var(--en-line);
  color: var(--en-ink);
  text-decoration: none;
  transition: border-color 0.2s ease;
}

.en-other:hover {
  border-color: #b8cbf6;
}

.en-other img,
.en-other-ph {
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-bottom: 6px;
  border-radius: 6px;
  object-fit: cover;
}

.en-other-ph {
  display: grid;
  place-items: center;
  background: var(--en-navy);
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
}

.en-other small {
  color: var(--en-muted);
  line-height: 1.7;
}

/* Responsive */
@media (max-width: 899px) {
  .en-arch {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .en-arch-link {
    width: 2px;
    height: 34px;
    margin-inline: auto;
    background: repeating-linear-gradient(180deg, rgba(143, 180, 255, 0.7) 0 6px, transparent 6px 11px);
  }
}

@media (max-width: 640px) {
  .en-hero {
    padding: 110px 0 64px;
  }

  .en-crumbs {
    margin-bottom: 28px;
  }

  .en-section {
    padding: 64px 0;
  }

  .en-kpis {
    grid-template-columns: 1fr 1fr;
  }

  .en-kpis .is-up {
    grid-column: 1 / -1;
  }

  .en-bars {
    gap: 6px;
  }

  .en-path li:not(:last-child)::after {
    width: 22px;
    margin: 0 8px;
  }

  .en-industries {
    grid-template-columns: 1fr;
  }

  .en-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
