:root {
  --paper: #08070b;
  --paper-deep: #100e15;
  --white: #15121c;
  --ink: #f6f3fb;
  --ink-soft: #c7c0d0;
  --ink-muted: #91889d;
  --green: #8b5cf6;
  --green-deep: #6d28d9;
  --green-light: #251a39;
  --lime: #c4b5fd;
  --sand: #a78bfa;
  --sand-light: #171020;
  --line: #2d2835;
  --dark: #050407;
  --dark-soft: #171120;
  --danger: #fb7185;
  --success: #4ade80;
  --header: rgba(8, 7, 11, 0.88);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.46);
  --radius: 18px;
  --max: 1240px;
}

:root.light {
  --paper: #f7f5fb;
  --paper-deep: #eeeaf5;
  --white: #ffffff;
  --ink: #18121f;
  --ink-soft: #554c61;
  --ink-muted: #786e84;
  --green: #7c3aed;
  --green-deep: #5b21b6;
  --green-light: #ede9fe;
  --lime: #c4b5fd;
  --sand: #a78bfa;
  --sand-light: #eee9f8;
  --line: #ded8e7;
  --dark: #09070d;
  --dark-soft: #181121;
  --danger: #be123c;
  --success: #287a4d;
  --header: rgba(247, 245, 251, 0.9);
  --shadow: 0 24px 70px rgba(56, 30, 88, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 3%, rgba(124, 58, 237, 0.13), transparent 27rem),
    var(--paper);
  font-family: "DM Sans", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

html[lang="ar"] body {
  font-family: "Noto Sans Arabic", "Segoe UI", sans-serif;
}

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] .brand-word {
  font-family: "Noto Kufi Arabic", "Noto Sans Arabic", sans-serif;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
input,
select,
textarea {
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(139, 92, 246, 0.32);
  outline-offset: 3px;
}

::selection {
  color: var(--ink);
  background: var(--lime);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
}

img,
svg {
  display: block;
}

svg {
  fill: currentColor;
}

h1,
h2,
h3,
p,
ul,
ol,
dl {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
.brand-word {
  font-family: "Manrope", "DM Sans", sans-serif;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  inset-inline-start: 20px;
  top: -70px;
  z-index: 100;
  padding: 10px 16px;
  color: white;
  background: var(--green);
  border-radius: 8px;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: var(--header);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  width: min(var(--max), calc(100% - 48px));
  min-height: 78px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 42px;
  place-items: center;
  color: var(--green);
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-cut {
  fill: var(--paper);
}

.brand-word {
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-ar {
  padding-inline-start: 2px;
  color: var(--ink-muted);
  font-family: "Noto Kufi Arabic", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.site-nav a {
  position: relative;
  padding: 27px 0 24px;
  color: var(--ink-soft);
  font-size: 0.89rem;
  font-weight: 600;
}

.site-nav a::after {
  position: absolute;
  inset: auto 0 -1px;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  content: "";
  transition: transform 160ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--green);
}

.site-nav a.is-active::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-button,
.language-button,
.menu-button {
  border: 0;
  cursor: pointer;
  background: transparent;
}

.theme-button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--ink-soft);
  background: var(--white);
}

.theme-button:hover {
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-1px);
}

.theme-button svg {
  width: 17px;
  height: 17px;
}

.theme-moon,
:root.light .theme-sun {
  display: none;
}

:root.light .theme-moon {
  display: block;
}

.language-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 7px;
  padding: 0 9px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 700;
}

.language-button:hover {
  color: var(--green);
}

.language-button svg {
  width: 16px;
  height: 16px;
}

.menu-button {
  display: none;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 22px;
  border: 1px solid var(--green);
  border-radius: 10px;
  color: white;
  background: var(--green);
  box-shadow: 0 8px 22px rgba(124, 58, 237, 0.28);
  font-size: 0.94rem;
  font-weight: 700;
}

.button:hover {
  border-color: var(--green-deep);
  background: var(--green-deep);
  transform: translateY(-2px);
}

.button svg {
  width: 18px;
  height: 18px;
}

[dir="rtl"] .button svg {
  transform: scaleX(-1);
}

.button-small {
  min-height: 42px;
  padding: 0 16px;
  font-size: 0.84rem;
}

.hero {
  position: relative;
  padding: 164px 0 92px;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  width: 570px;
  height: 570px;
  inset: 20px -270px auto auto;
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 0 76px rgba(139, 92, 246, 0.035), 0 0 0 152px rgba(139, 92, 246, 0.025);
  content: "";
  pointer-events: none;
}

[dir="rtl"] .hero::before {
  inset: 20px auto auto -270px;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(560px, 1.08fr);
  align-items: center;
  gap: clamp(52px, 7vw, 100px);
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.hero-copy {
  max-width: 590px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

[dir="rtl"] .eyebrow {
  letter-spacing: 0;
}

.eyebrow::before {
  width: 24px;
  height: 2px;
  background: currentColor;
  content: "";
}

.eyebrow.light {
  color: var(--lime);
}

.hero h1 {
  max-width: 660px;
  font-size: clamp(3rem, 5.25vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.99;
}

[dir="rtl"] .hero h1 {
  font-size: clamp(2.55rem, 4.4vw, 4.4rem);
  line-height: 1.28;
}

.hero-intro {
  max-width: 610px;
  margin-top: 27px;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 34px;
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
}

.text-link span:last-child {
  transition: transform 160ms ease;
}

.text-link:hover {
  color: var(--green);
}

.text-link:hover span:last-child {
  transform: translateY(3px);
}

.hero-assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 11px 22px;
  margin-top: 38px;
  color: var(--ink-muted);
  font-size: 0.81rem;
  font-weight: 600;
}

.hero-assurances li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-assurances span {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 1px solid rgba(139, 92, 246, 0.34);
  border-radius: 50%;
  color: var(--green);
  font-size: 0.65rem;
}

.product-window {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(124, 58, 237, 0.28);
  border-radius: 20px;
  background: #fbfaff;
  box-shadow: var(--shadow), 22px 24px 0 var(--sand-light);
  transform: perspective(1500px) rotateY(-2deg) rotateX(1deg);
}

[dir="rtl"] .product-window {
  transform: perspective(1500px) rotateY(2deg) rotateX(1deg);
  box-shadow: var(--shadow), -22px 24px 0 var(--sand-light);
}

.product-window::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
  content: "";
  pointer-events: none;
}

.window-bar {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  color: #e9e2f8;
  background: var(--dark);
}

.window-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.68rem;
  font-weight: 700;
}

.mini-mark {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 6px;
  color: white;
  background: var(--green);
  font-family: "Manrope", sans-serif;
  font-size: 0.66rem;
  font-weight: 800;
}

.window-controls {
  display: flex;
  gap: 5px;
}

.window-controls span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.window-layout {
  display: grid;
  grid-template-columns: 50px 1fr;
  min-height: 485px;
}

.mock-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding-top: 24px;
  background: #f0edf5;
  border-inline-end: 1px solid #e0dae8;
}

.mock-nav {
  width: 17px;
  height: 17px;
  border: 1.5px solid #9b91a5;
  border-radius: 5px;
}

.mock-nav.is-active {
  border-color: var(--green);
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(124, 58, 237, 0.11);
}

.mock-main {
  padding: 25px;
}

.mock-heading,
.mock-card-head,
.mock-activity,
.activity-copy {
  display: flex;
  align-items: center;
}

.mock-heading {
  justify-content: space-between;
  margin-bottom: 19px;
}

.mock-heading > div:first-child {
  display: grid;
  gap: 2px;
}

.micro-label {
  color: #847a90;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mock-heading strong {
  color: #251b31;
  font-family: "Manrope", sans-serif;
  font-size: 1.03rem;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border: 1px solid #e4deeb;
  border-radius: 999px;
  color: #675a74;
  background: white;
  font-size: 0.53rem;
  font-weight: 700;
}

.live-pill i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.14);
}

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

.mock-stat-grid article,
.mock-chart,
.mock-queue,
.mock-activity {
  border: 1px solid #e4deeb;
  background: white;
}

.mock-stat-grid article {
  display: grid;
  padding: 13px;
  border-radius: 9px;
}

.mock-stat-grid span {
  color: #7a7085;
  font-size: 0.56rem;
}

.mock-stat-grid strong {
  margin-top: 2px;
  color: #24182f;
  font-family: "Manrope", sans-serif;
  font-size: 1.13rem;
}

.mock-stat-grid small {
  color: #6d28d9;
  font-size: 0.5rem;
}

.mock-content-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 10px;
  margin-top: 10px;
}

.mock-chart,
.mock-queue {
  min-height: 210px;
  padding: 15px;
  border-radius: 9px;
}

.mock-card-head {
  justify-content: space-between;
  font-size: 0.58rem;
}

.mock-card-head strong {
  color: #392b46;
}

.mock-card-head > span {
  color: #93889e;
  font-size: 0.49rem;
}

.donut-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: center;
  gap: 11px;
  margin-top: 25px;
}

.donut {
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--green) 0 78%, var(--sand) 78% 92%, #ded8e7 92%);
}

.donut::before {
  grid-area: 1 / 1;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: white;
  content: "";
}

.donut span {
  z-index: 1;
  grid-area: 1 / 1;
  color: #30223d;
  font-family: "Manrope", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
}

.legend {
  display: grid;
  gap: 9px;
}

.legend div {
  display: grid;
  grid-template-columns: 7px 1fr auto;
  align-items: center;
  gap: 6px;
  color: #796f83;
  font-size: 0.5rem;
}

.legend i {
  width: 6px;
  height: 6px;
  border-radius: 2px;
}

.legend .tone-1 { background: var(--green); }
.legend .tone-2 { background: var(--sand); }
.legend .tone-3 { background: #ded8e7; }

.legend strong {
  color: #4f425b;
  font-size: 0.52rem;
}

.queue-list {
  display: grid;
  margin-top: 15px;
}

.queue-list > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid #eeeaf3;
  color: #564a60;
  font-size: 0.54rem;
}

.queue-list > div:last-child {
  border: 0;
}

.queue-list span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.queue-list i {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 6px;
  color: var(--green);
  background: var(--green-light);
  font-style: normal;
  font-size: 0.48rem;
  font-weight: 800;
}

.queue-list strong {
  color: #6d28d9;
  font-size: 0.48rem;
}

.mock-activity {
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  padding: 11px 13px;
  border-radius: 9px;
}

.activity-copy {
  gap: 9px;
}

.activity-icon {
  display: grid;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--green);
  font-size: 0.58rem;
}

.activity-copy div {
  display: grid;
  line-height: 1.25;
}

.activity-copy strong {
  color: #3a2c46;
  font-size: 0.56rem;
}

.activity-copy div span,
.activity-time {
  color: #8c8197;
  font-size: 0.46rem;
}

.principles {
  border-block: 1px solid var(--line);
  background: var(--paper-deep);
}

.principle-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.principle-list article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  min-height: 140px;
  align-items: center;
  padding: 28px;
  border-inline-start: 1px solid var(--line);
}

.principle-list article:last-child {
  border-inline-end: 1px solid var(--line);
}

.principle-list article > span {
  align-self: start;
  padding-top: 2px;
  color: var(--green);
  font-family: "Manrope", sans-serif;
  font-size: 0.64rem;
  font-weight: 800;
}

.principle-list strong {
  display: block;
  font-size: 0.89rem;
}

.principle-list p {
  margin-top: 4px;
  color: var(--ink-muted);
  font-size: 0.75rem;
  line-height: 1.5;
}

.section {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 118px 0;
}

.section-intro {
  max-width: 730px;
  margin-bottom: 52px;
}

.section-intro .eyebrow {
  margin-bottom: 17px;
}

.section-intro h2,
.security-copy h2,
.delivery-copy h2,
.contact-copy h2 {
  font-size: clamp(2.35rem, 4vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.08;
}

[dir="rtl"] .section-intro h2,
[dir="rtl"] .security-copy h2,
[dir="rtl"] .delivery-copy h2,
[dir="rtl"] .contact-copy h2 {
  font-size: clamp(2.1rem, 3.4vw, 3.45rem);
  line-height: 1.36;
}

.section-intro > p:last-child,
.split-intro > p,
.security-copy > p,
.delivery-copy > p,
.contact-copy > p {
  margin-top: 21px;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.75;
}

.split-intro {
  display: grid;
  max-width: none;
  grid-template-columns: 1.05fr 0.7fr;
  gap: 12%;
  align-items: end;
}

.split-intro > p {
  margin: 0 0 5px;
}

.operating-section {
  padding-bottom: 126px;
}

.operating-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
}

.operating-card {
  position: relative;
  display: flex;
  min-height: 420px;
  flex-direction: column;
  padding: 34px 27px 29px;
  border-inline-end: 1px solid var(--line);
}

.operating-card:first-child {
  border-inline-start: 1px solid var(--line);
}

.operating-card::after {
  position: absolute;
  inset: auto 0 -1px;
  height: 4px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  content: "";
  transition: transform 220ms ease;
}

.operating-card:hover::after {
  transform: scaleX(1);
}

.operating-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.step-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  color: var(--green);
  background: var(--green-light);
}

.step-icon svg {
  width: 22px;
  height: 22px;
}

.operating-card-head small,
.module-top small {
  color: #8f859a;
  font-family: "Manrope", sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
}

.operating-card h3 {
  margin-top: 32px;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.operating-card > p {
  margin-top: 15px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.7;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  padding-top: 28px;
}

.tag-row span {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-muted);
  background: rgba(255, 255, 255, 0.44);
  font-size: 0.65rem;
  font-weight: 600;
}

.security-section {
  width: 100%;
  max-width: none;
  padding: 0;
  color: #f5f8f6;
  background: var(--dark);
}

.security-shell {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 8%;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 112px 0;
}

.security-copy > p {
  color: #c8c0d3;
}

.security-list {
  display: grid;
  gap: 2px;
  margin-top: 38px;
}

.security-list article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 13px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.security-list article > span {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  color: var(--dark);
  background: var(--lime);
  font-size: 0.65rem;
  font-weight: 800;
}

.security-list strong {
  font-size: 0.88rem;
}

.security-list p {
  margin-top: 3px;
  color: #aaa0b5;
  font-size: 0.76rem;
}

.deployment-visual {
  position: relative;
  align-self: center;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.deployment-visual::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 24px 24px;
  content: "";
  pointer-events: none;
}

.deployment-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.deployment-label {
  position: relative;
  color: #9d91aa;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

[dir="rtl"] .deployment-label {
  letter-spacing: 0;
}

.offline-badge {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border: 1px solid rgba(139, 92, 246, 0.38);
  border-radius: 999px;
  color: var(--lime);
  background: rgba(139, 92, 246, 0.1);
  font-size: 0.5rem;
  font-weight: 700;
}

.offline-badge::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.13);
  content: "";
}

.onprem-boundary {
  position: relative;
  padding: 38px 14px 14px;
  border: 1px solid rgba(139, 92, 246, 0.32);
  border-radius: 13px;
  background: rgba(5, 4, 7, 0.58);
}

.estate-label {
  position: absolute;
  top: 11px;
  inset-inline-start: 14px;
  color: var(--lime);
  font-size: 0.56rem;
  font-weight: 800;
}

.architecture-lane {
  position: relative;
  display: grid;
  gap: 8px;
  align-items: center;
  padding: 30px 11px 11px;
  border: 1px dashed rgba(139, 92, 246, 0.26);
  border-radius: 10px;
  background: rgba(16, 12, 23, 0.82);
}

.public-lane,
.data-lane {
  grid-template-columns: 1fr 38px 1fr;
}

.internal-lane {
  grid-template-columns: 0.9fr 26px 1.05fr 26px 0.95fr;
}

.zone-label {
  position: absolute;
  top: 10px;
  inset-inline-start: 14px;
  color: #8d8299;
  font-size: 0.55rem;
  font-weight: 700;
}

.deploy-node {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;
  background: var(--dark-soft);
}

.node-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 7px;
  color: var(--lime);
  background: rgba(139, 92, 246, 0.14);
  font-family: "Manrope", sans-serif;
  font-size: 0.57rem;
  font-weight: 800;
}

.deploy-node div {
  display: grid;
  min-width: 0;
}

.deploy-node strong {
  font-size: 0.63rem;
}

.deploy-node small {
  color: #92879e;
  font-size: 0.46rem;
}

.deploy-connector {
  position: relative;
  height: 1px;
  background: rgba(139, 92, 246, 0.52);
}

.deploy-connector::after {
  position: absolute;
  inset: -3px 0 auto auto;
  width: 7px;
  height: 7px;
  border-top: 1px solid var(--lime);
  border-right: 1px solid var(--lime);
  transform: rotate(45deg);
  content: "";
}

[dir="rtl"] .deploy-connector::after {
  inset: -3px auto auto 0;
  border: 0;
  border-bottom: 1px solid var(--lime);
  border-left: 1px solid var(--lime);
}

.vertical-flow {
  position: relative;
  display: grid;
  height: 45px;
  place-items: center;
}

.vertical-flow::before {
  position: absolute;
  width: 1px;
  height: 100%;
  background: rgba(139, 92, 246, 0.46);
  content: "";
}

.vertical-flow span {
  z-index: 1;
  padding: 4px 9px;
  border: 1px solid rgba(139, 92, 246, 0.34);
  border-radius: 999px;
  color: var(--lime);
  background: var(--dark);
  font-size: 0.47rem;
  font-weight: 700;
}

.platform-node {
  border-color: rgba(139, 92, 246, 0.38);
}

.diagram-note {
  position: relative;
  margin-top: 17px;
  color: #aea4b8;
  font-size: 0.63rem;
  text-align: center;
}

.modules-section {
  padding-bottom: 84px;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-inline-start: 1px solid var(--line);
}

.module-card {
  min-height: 245px;
  padding: 25px 22px;
  border-inline-end: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.18);
}

.module-card:hover {
  background: var(--white);
}

.module-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.module-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid #d6cbea;
  border-radius: 8px;
  color: var(--green);
  background: var(--green-light);
  font-family: "Manrope", sans-serif;
  font-size: 0.58rem;
  font-weight: 800;
}

.module-card h3 {
  margin-top: 25px;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.module-card p {
  margin-top: 9px;
  color: var(--ink-muted);
  font-size: 0.76rem;
  line-height: 1.55;
}

.core-note {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 22px;
  color: var(--ink-muted);
  font-size: 0.75rem;
}

.core-note > span:first-child {
  display: grid;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--green);
  font-weight: 700;
}

.audience-section {
  padding-top: 100px;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.audience-card {
  display: flex;
  min-height: 335px;
  flex-direction: column;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

.audience-card:nth-child(2) { background: #f0ecf8; }
.audience-card:nth-child(3) { background: var(--sand-light); }
.audience-card:nth-child(4) { background: #ece7f5; }

.audience-number {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--green);
  font-size: 0.62rem;
  font-weight: 800;
}

.audience-card > div:nth-child(2) {
  margin-top: 34px;
}

.audience-card h3 {
  font-size: 1.12rem;
}

.audience-card p {
  margin-top: 5px;
  color: var(--ink-muted);
  font-size: 0.78rem;
}

.audience-card ul {
  display: grid;
  gap: 9px;
  margin-top: auto;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.audience-card li {
  position: relative;
  padding-inline-start: 13px;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 600;
}

.audience-card li::before {
  position: absolute;
  inset-inline-start: 0;
  top: 0.7em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.delivery-section {
  padding-top: 30px;
}

.delivery-shell {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 10%;
  padding: 75px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-deep);
}

.delivery-copy > p {
  color: var(--ink-soft);
  font-size: 0.93rem;
}

.dark-link {
  margin-top: 23px;
  color: var(--green);
}

.dark-link:hover span:last-child {
  transform: translate(3px, -3px);
}

[dir="rtl"] .dark-link:hover span:last-child {
  transform: translate(-3px, -3px);
}

.delivery-steps {
  counter-reset: delivery;
}

.delivery-steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 17px;
  padding: 21px 0;
  border-top: 1px solid var(--line);
}

.delivery-steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.delivery-steps > li > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(139, 92, 246, 0.32);
  border-radius: 50%;
  color: var(--green);
  font-size: 0.62rem;
  font-weight: 800;
}

.delivery-steps strong {
  font-size: 0.93rem;
}

.delivery-steps p {
  margin-top: 3px;
  color: var(--ink-muted);
  font-size: 0.75rem;
}

.contact-section {
  color: white;
  background: var(--green);
}

.contact-shell {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 9%;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 112px 0;
}

.contact-copy > p {
  color: #ddd3f3;
}

.contact-points {
  display: grid;
  gap: 10px;
  margin-top: 31px;
}

.contact-points div {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ede8f7;
  font-size: 0.78rem;
  font-weight: 600;
}

.contact-points span {
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 50%;
  color: var(--green-deep);
  background: var(--lime);
  font-size: 0.6rem;
}

.demo-form {
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 25px 55px rgba(2, 39, 26, 0.22);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.demo-form label {
  display: grid;
  gap: 7px;
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 700;
}

.form-grid label {
  margin-top: 0;
}

.demo-form input,
.demo-form select,
.demo-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--paper);
}

.demo-form input,
.demo-form select {
  min-height: 48px;
  padding: 0 13px;
}

.demo-form textarea {
  min-height: 112px;
  padding: 12px 13px;
  resize: vertical;
}

.demo-form input:hover,
.demo-form select:hover,
.demo-form textarea:hover {
  border-color: var(--ink-muted);
}

.demo-form input:focus,
.demo-form select:focus,
.demo-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.14);
}

.demo-form small {
  min-height: 17px;
  color: var(--danger);
  font-weight: 500;
}

.form-footer {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
}

.light-button {
  color: var(--green-deep);
  border-color: var(--lime);
  background: var(--lime);
  box-shadow: none;
}

.light-button:hover {
  color: white;
}

.form-status {
  flex: 1;
  color: var(--ink-muted);
  font-size: 0.72rem;
}

.form-status.is-success { color: var(--success); }
.form-status.is-error { color: var(--danger); }

.site-footer {
  display: flex;
  min-height: 120px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark.small {
  width: 30px;
  height: 34px;
}

.footer-brand div {
  display: grid;
  line-height: 1.35;
}

.footer-brand strong {
  font-family: "Manrope", sans-serif;
  font-size: 0.84rem;
}

.footer-brand strong span {
  color: var(--ink-muted);
  font-family: "Noto Kufi Arabic", sans-serif;
  font-size: 0.68rem;
}

.footer-brand small,
.footer-meta {
  color: var(--ink-muted);
  font-size: 0.68rem;
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 22px;
}

.footer-meta a {
  color: var(--green);
  font-weight: 700;
}

:root.dark .product-window {
  border-color: rgba(139, 92, 246, 0.42);
  background: #0e0c13;
  box-shadow: var(--shadow), 22px 24px 0 #171020;
}

:root.dark .product-window::after {
  box-shadow: inset 0 0 0 1px rgba(196, 181, 253, 0.09);
}

:root.dark .window-bar {
  color: #e9e2f8;
  background: #050407;
}

:root.dark .mock-sidebar {
  border-color: #2d2835;
  background: #0c0a0f;
}

:root.dark .mock-nav {
  border-color: #62596d;
}

:root.dark .mock-nav.is-active {
  border-color: var(--green);
  background: var(--green);
}

:root.dark .micro-label,
:root.dark .mock-card-head > span,
:root.dark .activity-copy div span,
:root.dark .activity-time {
  color: #948a9f;
}

:root.dark .mock-heading strong,
:root.dark .mock-stat-grid strong,
:root.dark .mock-card-head strong,
:root.dark .donut span,
:root.dark .activity-copy strong {
  color: #f6f2fb;
}

:root.dark .live-pill {
  border-color: #332b3e;
  color: #c4b5fd;
  background: #17131e;
}

:root.dark .mock-stat-grid article,
:root.dark .mock-chart,
:root.dark .mock-queue,
:root.dark .mock-activity {
  border-color: #302a39;
  background: #141119;
}

:root.dark .mock-stat-grid span,
:root.dark .legend div,
:root.dark .queue-list > div {
  color: #a69cac;
}

:root.dark .mock-stat-grid small,
:root.dark .queue-list strong,
:root.dark .legend strong {
  color: #c4b5fd;
}

:root.dark .donut::before {
  background: #141119;
}

:root.dark .legend .tone-3 {
  background: #3c3545;
}

:root.dark .queue-list > div {
  border-color: #2a2531;
}

:root.dark .queue-list i {
  color: #c4b5fd;
  background: #2b1d42;
}

:root.dark .operating-card .tag-row span {
  background: rgba(255, 255, 255, 0.025);
}

:root.dark .module-card {
  background: rgba(255, 255, 255, 0.012);
}

:root.dark .module-card:hover {
  background: #15121c;
}

:root.dark .audience-card,
:root.dark .audience-card:nth-child(2),
:root.dark .audience-card:nth-child(3),
:root.dark .audience-card:nth-child(4) {
  background: #121018;
}

:root.dark .audience-card:nth-child(2) { background: #171121; }
:root.dark .audience-card:nth-child(3) { background: #1d1429; }
:root.dark .audience-card:nth-child(4) { background: #14101c; }

:root.dark .delivery-shell {
  background: #100e15;
}

:root.dark .demo-form input,
:root.dark .demo-form select,
:root.dark .demo-form textarea {
  background: #0d0b11;
}

:root.dark .demo-form input::placeholder,
:root.dark .demo-form textarea::placeholder {
  color: #766d80;
}

:root.light .product-window {
  box-shadow: var(--shadow), 22px 24px 0 #e9e2f5;
}

[dir="rtl"]:root.dark .product-window {
  box-shadow: var(--shadow), -22px 24px 0 #171020;
}

[dir="rtl"]:root.light .product-window {
  box-shadow: var(--shadow), -22px 24px 0 #e9e2f5;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms ease, transform 600ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .product-window { transform: none; }
}

@media (max-width: 1120px) {
  .nav-shell { gap: 20px; }
  .site-nav { gap: 18px; }
  .hero-grid { grid-template-columns: minmax(0, 0.8fr) minmax(500px, 1.2fr); gap: 42px; }
  .hero h1 { font-size: clamp(2.85rem, 5vw, 4.4rem); }
  .principle-list article { padding: 22px 18px; }
  .operating-grid { grid-template-columns: repeat(2, 1fr); }
  .operating-card:nth-child(2) { border-inline-end: 1px solid var(--line); }
  .operating-card:nth-child(3), .operating-card:nth-child(4) { border-top: 1px solid var(--line); }
  .operating-card:nth-child(3) { border-inline-start: 1px solid var(--line); }
  .module-grid { grid-template-columns: repeat(3, 1fr); }
  .module-card { min-height: 225px; }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .audience-card { min-height: 300px; }
  .delivery-shell { padding: 58px; gap: 7%; }
}

@media (max-width: 920px) {
  .nav-shell { grid-template-columns: auto auto 1fr; }
  .menu-button {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    order: 3;
    justify-self: end;
  }
  .menu-lines,
  .menu-lines::before,
  .menu-lines::after {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    content: "";
  }
  .menu-lines::before { transform: translateY(-6px); }
  .menu-lines::after { transform: translateY(4px); }
  .site-header[data-menu-open="true"] .menu-lines { background: transparent; }
  .site-header[data-menu-open="true"] .menu-lines::before { transform: translateY(1px) rotate(45deg); }
  .site-header[data-menu-open="true"] .menu-lines::after { transform: translateY(-1px) rotate(-45deg); }
  .site-nav {
    position: fixed;
    inset: 78px 0 auto;
    display: grid;
    visibility: hidden;
    gap: 0;
    padding: 15px 24px 24px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms;
  }
  .site-header[data-menu-open="true"] .site-nav { visibility: visible; opacity: 1; transform: none; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav a::after { display: none; }
  .nav-actions { order: 2; margin-inline-start: auto; }
  .hero { padding-top: 138px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 720px; }
  .product-window { width: min(720px, 100%); margin: 10px auto 0; transform: none; }
  [dir="rtl"] .product-window { transform: none; }
  .principle-list { grid-template-columns: repeat(2, 1fr); }
  .principle-list article:nth-child(3), .principle-list article:nth-child(4) { border-top: 1px solid var(--line); }
  .split-intro { grid-template-columns: 1fr; gap: 18px; }
  .split-intro > p { max-width: 700px; }
  .security-shell { grid-template-columns: 1fr; gap: 60px; }
  .security-copy { max-width: 720px; }
  .deployment-visual { width: min(700px, 100%); }
  .module-grid { grid-template-columns: repeat(2, 1fr); }
  .delivery-shell, .contact-shell { grid-template-columns: 1fr; gap: 52px; }
  .delivery-copy, .contact-copy { max-width: 700px; }
}

@media (max-width: 620px) {
  .nav-shell,
  .hero-grid,
  .principle-list,
  .section,
  .security-shell,
  .contact-shell,
  .site-footer {
    width: min(100% - 32px, var(--max));
  }
  .nav-shell { min-height: 70px; }
  .brand-ar, .nav-actions .button { display: none; }
  .language-button { padding: 0 5px; }
  .site-nav { top: 70px; }
  .hero { padding: 120px 0 65px; }
  .hero h1 { font-size: clamp(2.65rem, 13vw, 3.7rem); }
  [dir="rtl"] .hero h1 { font-size: clamp(2.25rem, 10vw, 3.1rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 10px; }
  .hero-assurances { display: grid; gap: 10px; margin-top: 28px; }
  .product-window { margin-top: 15px; box-shadow: var(--shadow), 10px 12px 0 var(--sand-light); }
  [dir="rtl"] .product-window { box-shadow: var(--shadow), -10px 12px 0 var(--sand-light); }
  .window-layout { grid-template-columns: 35px 1fr; min-height: 420px; }
  .mock-sidebar { gap: 14px; }
  .mock-nav { width: 13px; height: 13px; }
  .mock-main { padding: 14px; }
  .mock-stat-grid { gap: 6px; }
  .mock-stat-grid article { padding: 9px; }
  .mock-stat-grid strong { font-size: 0.9rem; }
  .mock-stat-grid small { display: none; }
  .mock-content-grid { grid-template-columns: 1fr; }
  .mock-chart { display: none; }
  .mock-queue { min-height: 190px; }
  .activity-time { display: none; }
  .principle-list { grid-template-columns: 1fr; }
  .principle-list article { min-height: 112px; border-inline-end: 1px solid var(--line); border-top: 1px solid var(--line); }
  .principle-list article:first-child { border-top: 0; }
  .section { padding: 82px 0; }
  .section-intro { margin-bottom: 38px; }
  .section-intro h2, .security-copy h2, .delivery-copy h2, .contact-copy h2 { font-size: 2.25rem; }
  [dir="rtl"] .section-intro h2, [dir="rtl"] .security-copy h2, [dir="rtl"] .delivery-copy h2, [dir="rtl"] .contact-copy h2 { font-size: 2rem; }
  .operating-grid { grid-template-columns: 1fr; }
  .operating-card { min-height: 360px; border-inline-start: 1px solid var(--line); border-top: 1px solid var(--line); }
  .operating-card:first-child { border-top: 0; }
  .security-shell, .contact-shell { padding: 82px 0; }
  .deployment-visual { padding: 18px; }
  .deployment-head { align-items: flex-start; flex-direction: column; gap: 8px; }
  .onprem-boundary { padding: 36px 10px 10px; }
  .architecture-lane, .public-lane, .internal-lane, .data-lane { grid-template-columns: 1fr; gap: 10px; }
  .deploy-connector { width: 1px; height: 28px; margin: 0 auto; }
  .deploy-connector::after { inset: auto auto 0 -3px; border: 0; border-right: 1px solid var(--lime); border-bottom: 1px solid var(--lime); transform: rotate(45deg); }
  [dir="rtl"] .deploy-connector::after { inset: auto auto 0 -3px; border: 0; border-right: 1px solid var(--lime); border-bottom: 1px solid var(--lime); transform: rotate(45deg); }
  .module-grid { grid-template-columns: 1fr; }
  .module-card { min-height: 205px; }
  .audience-grid { grid-template-columns: 1fr; }
  .audience-card { min-height: 285px; }
  .delivery-section { padding-top: 10px; }
  .delivery-shell { padding: 34px 24px; }
  .delivery-steps li { grid-template-columns: 40px 1fr; gap: 12px; }
  .demo-form { padding: 24px; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .form-grid label { margin-top: 18px; }
  .form-grid label:first-child { margin-top: 0; }
  .form-footer { align-items: stretch; flex-direction: column; }
  .site-footer { min-height: 170px; align-items: flex-start; flex-direction: column; justify-content: center; }
  .footer-meta { align-items: flex-start; flex-direction: column; gap: 6px; }
}
