@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800&family=Noto+Kufi+Arabic:wght@400;600;700&family=Tajawal:wght@400;500;700;800&display=swap");

body,
.rtl {
  font-family: var(--yb-font-family, Cairo, Tahoma, Arial, sans-serif);
}

.site-brand img.site-brand-lockup {
  width: var(--site-logo-width, 178px);
  height: var(--site-logo-height, 44px);
  max-width: min(42vw, 260px);
  object-fit: contain;
  object-position: center;
}

.company-public-logo {
  width: var(--company-logo-size, 96px);
  height: var(--company-logo-size, 96px);
  object-fit: contain;
  background: #fff;
}

.capabilities-band {
  background: #fff;
  border-block: 1px solid #dce6f0;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.capability-item {
  min-width: 0;
  padding: 24px 18px;
  text-align: center;
  border-inline-end: 1px solid #dce6f0;
}

.capability-item:last-child {
  border-inline-end: 0;
}

.capability-item svg,
.additional-feature svg {
  width: 30px;
  height: 30px;
  color: #1456a0;
  stroke-width: 1.8;
}

.capability-item strong,
.capability-item span {
  display: block;
}

.capability-item strong {
  margin-top: 10px;
  color: #0b2347;
  font-size: 15px;
}

.capability-item span {
  margin-top: 7px;
  color: #52677d;
  font-size: 12px;
  line-height: 1.7;
}

.platform-showcase {
  background: #f6f9fc;
}

.showcase-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.35fr;
  gap: 48px;
  align-items: center;
}

.showcase-copy > p {
  color: #52677d;
  line-height: 1.95;
}

.showcase-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.showcase-point {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px;
  align-items: start;
}

.showcase-point svg {
  width: 34px;
  height: 34px;
  padding: 7px;
  color: #b57b09;
  border: 1px solid #dfc277;
  border-radius: 6px;
}

.showcase-point strong,
.showcase-point span {
  display: block;
}

.showcase-point strong {
  color: #0b2347;
  font-size: 14px;
}

.showcase-point span {
  color: #60758b;
  font-size: 12px;
  line-height: 1.6;
}

.product-surfaces {
  display: grid;
  grid-template-columns: 1fr 1fr 0.86fr;
  min-height: 410px;
  overflow: hidden;
  border: 1px solid #cddae7;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(11, 35, 71, 0.12);
}

.product-surface {
  min-width: 0;
  padding: 20px 16px;
  border-inline-end: 1px solid #dce6f0;
}

.product-surface:last-child {
  border-inline-end: 0;
}

.surface-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: #0b2347;
  font-size: 13px;
  font-weight: 800;
}

.surface-title svg {
  width: 18px;
}

.surface-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.surface-metric {
  padding: 12px 9px;
  border: 1px solid #e0e8f0;
  border-radius: 6px;
}

.surface-metric small,
.surface-metric strong {
  display: block;
}

.surface-metric small {
  color: #6d8092;
  font-size: 10px;
}

.surface-metric strong {
  margin-top: 5px;
  color: #1456a0;
  font-size: 20px;
}

.surface-list {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.surface-row {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 9px 7px;
  border-bottom: 1px solid #e8eef4;
  color: #52677d;
  font-size: 10px;
}

.surface-avatar {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: #1456a0;
  font-weight: 800;
}

.surface-status {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #169c69;
}

.card-surface {
  color: #fff;
  background: #08213d;
}

.card-surface .surface-title,
.card-surface .surface-row {
  color: #fff;
}

.card-profile {
  text-align: center;
}

.card-profile-photo {
  display: grid;
  width: 70px;
  height: 70px;
  margin: 18px auto 12px;
  place-items: center;
  border: 3px solid #d7aa43;
  border-radius: 50%;
  background: #fff;
  color: #0b2347;
  font-size: 24px;
  font-weight: 800;
}

.card-profile strong,
.card-profile span {
  display: block;
}

.card-profile span {
  margin-top: 6px;
  color: #bdcddd;
  font-size: 11px;
}

.card-actions-mini {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.card-actions-mini span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #1456a0;
}

.card-actions-mini svg {
  width: 15px;
}

.language-band {
  background: #0b2347;
  color: #fff;
}

.language-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.language-item {
  padding: 28px;
  text-align: center;
  border-inline-end: 1px solid rgba(255, 255, 255, 0.2);
}

.language-item:last-child {
  border-inline-end: 0;
}

.language-item strong,
.language-item span {
  display: block;
}

.language-item strong {
  font-size: 18px;
}

.language-item span {
  margin-top: 5px;
  color: #b9c8d8;
  font-size: 13px;
}

.pricing-band {
  background: #fff;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.pricing-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 430px;
  padding: 26px 22px;
  flex-direction: column;
  border: 1px solid #d6e1ec;
  border-top: 5px solid var(--plan-accent, #1456a0);
  border-radius: 8px;
  background: #fff;
}

.pricing-card.popular {
  border-color: var(--plan-accent, #7356c5);
  box-shadow: 0 18px 40px rgba(38, 30, 93, 0.15);
}

.popular-chip {
  position: absolute;
  top: -16px;
  inset-inline-end: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--plan-accent, #7356c5);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.pricing-card h3 {
  color: #0b2347;
  font-size: 19px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 14px 0 20px;
  color: var(--plan-accent, #1456a0);
}

.plan-price strong {
  font-size: 34px;
}

.plan-price small {
  color: #60758b;
  font-size: 12px;
}

.plan-features {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.plan-features li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
  color: #445a70;
  font-size: 13px;
  line-height: 1.6;
}

.plan-features svg {
  width: 17px;
  color: #169c69;
}

.pricing-card .btn {
  margin-top: auto;
  border-color: var(--plan-accent, #1456a0);
  background: var(--plan-accent, #1456a0);
  color: #fff;
}

.additional-features-band {
  background: #f6f9fc;
}

.additional-features-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.additional-feature {
  min-width: 0;
  padding: 18px 12px;
  text-align: center;
  border-bottom: 2px solid #d7aa43;
}

.additional-feature strong,
.additional-feature span {
  display: block;
}

.additional-feature strong {
  margin-top: 10px;
  color: #0b2347;
  font-size: 13px;
}

.additional-feature span {
  margin-top: 6px;
  color: #60758b;
  font-size: 11px;
  line-height: 1.6;
}

@media (max-width: 1100px) {
  .capabilities-grid,
  .additional-features-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .showcase-layout {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-brand img.site-brand-lockup {
    max-width: 190px;
  }

  .capabilities-grid,
  .additional-features-grid,
  .language-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .capability-item,
  .language-item {
    border-inline-end: 0;
    border-bottom: 1px solid #dce6f0;
  }

  .showcase-points {
    grid-template-columns: 1fr;
  }

  .product-surfaces {
    grid-template-columns: 1fr;
  }

  .product-surface {
    border-inline-end: 0;
    border-bottom: 1px solid #dce6f0;
  }

  .pricing-card {
    min-height: 0;
  }
}

.site-footer .company-footer-brand {
  padding: 0;
  background: transparent;
}

.site-footer .company-footer-brand img.site-brand-lockup {
  width: auto;
  height: clamp(44px, 7vw, 60px);
  max-width: min(44vw, 180px);
  border-radius: 8px;
}

.two-factor-qr {
  box-sizing: border-box;
  width: 260px;
  max-width: 100%;
  padding: min(26px, 8%);
  margin-block: 12px 20px;
  background: #fff;
  color: #000;
  border: 1px solid #dce6f0;
  border-radius: 12px;
}

.two-factor-qr svg {
  display: block;
  width: 100%;
  height: auto;
  fill: #000;
  shape-rendering: crispEdges;
}

.company-preview-controls {
  margin-block-end: 16px;
}

.company-preview-stage {
  overflow-x: auto;
  padding: 12px;
  border: 1px solid #dce6f0;
  border-radius: 16px;
  background: #e8eef5;
}

.company-preview-frame {
  display: block;
  height: 680px;
  height: clamp(420px, 72dvh, 820px);
  margin-inline: auto;
  border: 1px solid #dce6f0;
  border-radius: 12px;
  background: #fff;
}

.company-preview-frame.is-mobile {
  width: min(390px, 100%);
}

.company-preview-frame.is-desktop {
  width: 100%;
  min-width: 1024px;
}

.publication-reasons {
  min-width: 11rem;
  margin-block: 6px 0;
  padding-inline-start: 1.1em;
  color: var(--muted);
  font-size: .85rem;
}

@media screen and (min-width: 901px) {
  .admin-layout {
    grid-template-columns: 260px minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    height: 100vh;
    height: 100dvh;
    min-height: 0;
  }

  .admin-layout > .sidebar,
  .admin-layout > .main {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior-y: contain;
  }

  .admin-layout > .main {
    min-width: 0;
  }
}
