:root {
  --color-primary: #0f3d91;
  --color-primary-deep: #08285d;
  --color-secondary: #10b7c9;
  --color-secondary-soft: rgba(16, 183, 201, 0.14);
  --color-ink: #14213d;
  --color-text: #2d3c56;
  --color-muted: #5b6a84;
  --color-surface: #ffffff;
  --color-surface-soft: #f4f7fc;
  --color-surface-alt: #edf4fb;
  --color-border: rgba(20, 33, 61, 0.09);
  --color-shadow: 0 20px 40px rgba(14, 42, 92, 0.11);
  --color-shadow-soft: 0 10px 22px rgba(15, 61, 145, 0.07);
  --radius-sm: 16px;
  --radius-md: 22px;
  --radius-lg: 28px;
  --container: min(1200px, calc(100% - 2.4rem));
  --header-height: 88px;
  --transition: 220ms ease;
}

html {
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", "Tajawal", sans-serif;
  color: var(--color-text);
  background:
    radial-gradient(circle at top left, rgba(16, 183, 201, 0.05), transparent 22%),
    radial-gradient(circle at top right, rgba(15, 61, 145, 0.07), transparent 26%),
    linear-gradient(180deg, #fbfcff 0%, #ffffff 44%, #f7f9fd 100%);
  line-height: 1.78;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(16, 183, 201, 0.35);
  outline-offset: 3px;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: rgba(241, 246, 252, 0.72);
}

.section-highlight {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(16, 183, 201, 0.24), transparent 28%),
    linear-gradient(135deg, #08285d, #0f3d91 54%, #12697d);
}

.section-highlight::before,
.section-highlight::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.section-highlight::before {
  inset: -7rem auto auto -5rem;
  width: 18rem;
  height: 18rem;
}

.section-highlight::after {
  inset: auto -4rem -8rem auto;
  width: 22rem;
  height: 22rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: "";
  width: 2.8rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-secondary), rgba(16, 183, 201, 0.1));
}

h1,
h2,
h3,
strong {
  color: var(--color-ink);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.45rem, 4.7vw, 4.1rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(1.95rem, 3vw, 2.8rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.15rem;
  line-height: 1.4;
  margin-bottom: 0.8rem;
}

p {
  color: var(--color-text);
  font-size: 1rem;
}

.light-content .eyebrow,
.light-content h2,
.light-content p {
  color: #fff;
}

.light-content p {
  color: rgba(255, 255, 255, 0.8);
}

.light-content .eyebrow::before {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.15));
}

.section-heading {
  max-width: 760px;
  text-align: center;
  margin: 0 auto 2.8rem;
}

.section-heading.align-start {
  text-align: start;
  margin-inline: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.78rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition), color var(--transition), border-color var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary), #185dcf);
  box-shadow: 0 14px 30px rgba(15, 61, 145, 0.22);
}

.btn-primary:hover {
  box-shadow: 0 18px 36px rgba(15, 61, 145, 0.3);
}

.btn-secondary {
  color: var(--color-primary);
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(15, 61, 145, 0.16);
  box-shadow: var(--color-shadow-soft);
}

.btn-secondary:hover {
  background: #fff;
}

.btn-ghost {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.24);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-large {
  min-height: 54px;
  padding-inline: 1.45rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 800;
  color: var(--color-primary);
}

.text-link::after {
  content: "\2192";
  transition: transform var(--transition);
}

.text-link:hover::after {
  transform: translateX(3px);
}

[dir="rtl"] .text-link::after {
  content: "\2190";
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0.85rem 0;
  transition: background-color var(--transition), box-shadow var(--transition), backdrop-filter var(--transition), padding var(--transition);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 28px rgba(16, 32, 70, 0.07);
  padding: 0.65rem 0;
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 800;
  color: var(--color-ink);
}

.brand-mark {
  width: 2.8rem;
  height: 2.8rem;
  display: grid;
  place-items: center;
  border-radius: 0.95rem;
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  box-shadow: 0 12px 24px rgba(15, 61, 145, 0.25);
}

.brand-text {
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  flex: 1;
  justify-content: flex-end;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.site-nav a {
  position: relative;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-ink);
  white-space: nowrap;
}

.site-nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 -0.35rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

[dir="rtl"] .site-nav a::after {
  transform-origin: right;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-inline-start: 0.4rem;
}

.lang-switch {
  display: inline-flex;
  padding: 0.28rem;
  border-radius: 999px;
  background: rgba(15, 61, 145, 0.06);
  border: 1px solid rgba(15, 61, 145, 0.08);
}

.lang-link {
  min-width: 42px;
  min-height: 38px;
  padding: 0.45rem 0.8rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-weight: 800;
  color: var(--color-primary);
}

.nav-actions .btn {
  min-height: 42px;
  padding-inline: 1rem;
  font-size: 0.92rem;
  font-weight: 700;
}

.lang-link.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary), #2568d3);
}

.nav-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 18px;
  background: rgba(15, 61, 145, 0.06);
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 0.28rem auto;
  border-radius: 999px;
  background: var(--color-ink);
  transition: transform var(--transition), opacity var(--transition);
}

.hero-section {
  padding: 1.6rem 0 3rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 1.08fr);
  align-items: center;
  gap: 1.4rem;
  position: relative;
  padding: 1.35rem;
  border-radius: 32px;
  background:
    radial-gradient(circle at 84% 16%, rgba(16, 183, 201, 0.12), transparent 24%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 254, 0.94));
  border: 1px solid rgba(15, 61, 145, 0.07);
  box-shadow: 0 22px 42px rgba(14, 42, 92, 0.09);
  overflow: hidden;
}

.hero-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(15, 61, 145, 0.025), transparent 32%);
  pointer-events: none;
}

.hero-copy {
  max-width: 640px;
  padding: 0.45rem 0.25rem 0.45rem 0.1rem;
}

.hero-title {
  max-width: 13ch;
  margin-bottom: 0.8rem;
  font-size: clamp(1.72rem, 3.1vw, 2.55rem);
  line-height: 1.18;
}

.hero-title span {
  display: block;
}

.hero-text {
  max-width: 58ch;
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.86;
  color: #425472;
}

.hero-subtitle {
  margin-bottom: 0.65rem;
  font-size: 1.22rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--color-ink);
}

.hero-microcopy {
  margin-top: 0.7rem;
  margin-bottom: 0;
  max-width: 56ch;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.75;
  color: var(--color-primary);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 1.15rem 0 0.95rem;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.trust-badges span {
  padding: 0.66rem 0.88rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--color-primary);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(15, 61, 145, 0.08);
  box-shadow: var(--color-shadow-soft);
}

.hero-visual {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-app {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 0.9rem;
  padding: 1rem;
  border-radius: 30px;
  background:
    radial-gradient(circle at top left, rgba(16, 183, 201, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 255, 0.95));
  border: 1px solid rgba(15, 61, 145, 0.08);
  box-shadow: 0 24px 48px rgba(14, 42, 92, 0.1);
}

.hero-app-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 0.6rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(13, 49, 112, 0.95), rgba(16, 90, 135, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-app-brand {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-weight: 800;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.hero-app-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.hero-app-dot.is-active {
  width: 30px;
  background: #6bd3e2;
}

.hero-app-main {
  display: grid;
  gap: 0.9rem;
  padding: 0.15rem;
}

.hero-app-topbar,
.hero-chart-card,
.hero-status-card,
.hero-module-panel,
.hero-kpi-card {
  border: 1px solid rgba(15, 61, 145, 0.08);
  box-shadow: 0 12px 28px rgba(15, 61, 145, 0.06);
}

.hero-app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
}

.hero-app-topbar strong,
.hero-app-topbar span {
  display: block;
}

.hero-app-topbar strong {
  font-size: 1rem;
  color: var(--color-ink);
  margin-bottom: 0.15rem;
}

.hero-app-topbar span {
  font-size: 0.9rem;
  color: var(--color-muted);
}

.hero-app-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary), #267ad8);
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 800;
  color: #fff;
  background: var(--color-primary);
}

.pill-soft {
  color: var(--color-primary);
  background: var(--color-secondary-soft);
}

.hero-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.hero-kpi-card {
  padding: 0.95rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(247, 250, 255, 0.96), #fff);
}

.hero-kpi-card strong {
  display: block;
  font-size: 1.45rem;
  margin-bottom: 0.3rem;
}

.hero-kpi-card span {
  font-size: 0.9rem;
  color: var(--color-muted);
}

.hero-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(220px, 0.75fr);
  gap: 0.8rem;
}

.hero-chart-card,
.hero-status-card {
  padding: 1rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
}

.hero-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.9rem;
}

.hero-card-head strong {
  font-size: 1rem;
  color: var(--color-ink);
}

.hero-card-head span {
  font-size: 0.82rem;
  color: var(--color-muted);
}

.hero-bars {
  display: flex;
  align-items: end;
  gap: 0.6rem;
  height: 160px;
  padding: 1rem 0.4rem 0.4rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(236, 244, 252, 0.94), rgba(248, 251, 255, 0.98));
}

.hero-bars i {
  display: block;
  flex: 1;
  border-radius: 18px 18px 8px 8px;
  background: linear-gradient(180deg, #74d6e4, #2458b0);
}

.hero-bars i:nth-child(1) { height: 48%; }
.hero-bars i:nth-child(2) { height: 64%; }
.hero-bars i:nth-child(3) { height: 42%; }
.hero-bars i:nth-child(4) { height: 78%; }
.hero-bars i:nth-child(5) { height: 70%; }
.hero-bars i:nth-child(6) { height: 88%; }

.hero-legend {
  display: flex;
  gap: 1rem;
  margin-top: 0.85rem;
  color: var(--color-muted);
  font-size: 0.82rem;
}

.hero-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-legend b {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #2458b0;
}

.hero-legend span:last-child b {
  background: #74d6e4;
}

.hero-status-card ul {
  margin: 0;
  padding-inline-start: 1.2rem;
  color: var(--color-text);
}

.hero-status-card li + li {
  margin-top: 0.7rem;
}

.hero-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.45rem 0.85rem;
  margin-top: 1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--color-primary);
  background: rgba(16, 183, 201, 0.12);
}

.hero-module-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0.9rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 61, 145, 0.08);
}

.hero-module-panel span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-primary);
  background: rgba(15, 61, 145, 0.06);
}

.hero-float-badge {
  position: absolute;
  inset: auto 1rem -0.7rem auto;
  max-width: 260px;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(15, 61, 145, 0.08);
  box-shadow: 0 16px 30px rgba(14, 42, 92, 0.1);
}

.hero-float-badge strong,
.hero-float-badge span {
  display: block;
}

.hero-float-badge strong {
  font-size: 0.92rem;
  color: var(--color-ink);
  margin-bottom: 0.25rem;
}

.hero-float-badge span {
  font-size: 0.84rem;
  color: var(--color-muted);
}

.proof-strip {
  position: relative;
  margin-top: -0.8rem;
  z-index: 2;
}

.proof-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.proof-strip-grid article {
  padding: 1.2rem 1.2rem;
  background: linear-gradient(180deg, rgba(13, 49, 112, 0.94), rgba(10, 38, 88, 0.94));
  box-shadow: 0 16px 30px rgba(8, 40, 93, 0.14);
  position: relative;
  overflow: hidden;
}

.proof-strip-grid article::after {
  content: "";
  position: absolute;
  inset: auto -1rem -1rem auto;
  width: 6rem;
  height: 6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.proof-strip-grid strong,
.proof-strip-grid span {
  display: block;
}

.proof-strip-grid strong {
  margin-bottom: 0.45rem;
  color: #fff;
}

.proof-strip-grid span {
  color: rgba(255, 255, 255, 0.72);
}

[dir="rtl"] .hero-float-top {
  right: auto;
  left: 0;
}

[dir="rtl"] .hero-float-bottom {
  left: auto;
  right: 0;
}

.feature-grid,
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.feature-card,
.benefit-card,
.industry-card,
.about-panel,
.contact-form,
.compliance-card {
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 61, 145, 0.08);
  box-shadow: var(--color-shadow-soft);
}

.feature-card,
.industry-card,
.benefit-card {
  padding: 1.4rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

#why-us {
  position: relative;
}

#why-us::before {
  content: "";
  position: absolute;
  inset: 1.5rem 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(15, 61, 145, 0.1), transparent);
}

.feature-card {
  background:
    radial-gradient(circle at top right, rgba(16, 183, 201, 0.08), transparent 34%),
    rgba(255, 255, 255, 0.92);
}

.feature-card:hover,
.industry-card:hover,
.benefit-card:hover,
.solution-card:hover,
.compliance-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--color-shadow);
  border-color: rgba(16, 183, 201, 0.28);
}

.icon-chip {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(16, 183, 201, 0.16), rgba(15, 61, 145, 0.08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.icon-chip svg,
.solution-icon svg,
.module-icon svg,
.benefit-icon svg,
.compliance-icon svg {
  width: 24px;
  height: 24px;
  display: block;
  fill: currentColor;
}

.icon-chip svg {
  color: var(--color-primary);
}

.section#solutions {
  position: relative;
  background:
    linear-gradient(180deg, rgba(242, 247, 253, 0.78), rgba(255, 255, 255, 0.95));
}

.section#solutions::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(16, 183, 201, 0.07), transparent 24%),
    linear-gradient(90deg, transparent, rgba(15, 61, 145, 0.03), transparent);
  pointer-events: none;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.solutions-intro,
.benefits-shell {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.1rem;
  align-items: start;
  margin-bottom: 1.25rem;
}

.solutions-copy h3 {
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  margin-bottom: 0.85rem;
}

.solutions-panel,
.benefits-panel,
.industry-note {
  padding: 1.2rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(15, 61, 145, 0.1);
  background:
    radial-gradient(circle at top right, rgba(16, 183, 201, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(237, 244, 251, 0.92));
  box-shadow: var(--color-shadow-soft);
}

.panel-label {
  display: inline-flex;
  margin-bottom: 0.7rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.solutions-panel strong,
.benefits-panel strong,
.industry-note strong {
  display: block;
  font-size: 1.1rem;
  line-height: 1.45;
  color: var(--color-ink);
}

.solutions-panel strong + span,
.benefits-panel strong + span,
.industry-note strong + span {
  display: block;
  margin-top: 0.55rem;
  color: var(--color-muted);
}

.solution-card {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.35rem;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid rgba(15, 61, 145, 0.08);
  box-shadow: var(--color-shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  min-height: 100%;
}

.solution-card:nth-child(3n + 1) {
  background:
    radial-gradient(circle at top right, rgba(16, 183, 201, 0.08), transparent 34%),
    #fff;
}

.solution-card:nth-child(3n + 2) {
  background:
    radial-gradient(circle at top left, rgba(15, 61, 145, 0.06), transparent 32%),
    #fff;
}

.solution-card:nth-child(3n + 3) {
  background:
    linear-gradient(180deg, rgba(247, 250, 255, 0.96), #fff);
}

.solution-featured {
  position: relative;
  grid-column: span 2;
  background:
    radial-gradient(circle at top right, rgba(16, 183, 201, 0.15), transparent 34%),
    linear-gradient(180deg, #ffffff, #f6fbff);
}

.solution-featured::after {
  content: "Core";
  position: absolute;
  top: 1.3rem;
  right: 1.3rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(15, 61, 145, 0.08);
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

[dir="rtl"] .solution-featured::after {
  right: auto;
  left: 1.3rem;
}

.solution-card p {
  margin-bottom: 0;
  font-size: 0.97rem;
}

.solution-card ul {
  margin: 0;
  padding-inline-start: 1.2rem;
  list-style-position: inside;
  color: var(--color-muted);
}

.solution-card li + li {
  margin-top: 0.45rem;
}

.solution-card .text-link {
  margin-top: auto;
}

.solution-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
}

.module-groups {
  display: grid;
  gap: 1rem;
  margin: 0 0 1.35rem;
}

.module-group {
  padding: 1rem;
  border-radius: 24px;
  border: 1px solid rgba(15, 61, 145, 0.08);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--color-shadow-soft);
}

.module-group-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.module-group-head p {
  margin: 0;
  max-width: 52ch;
  font-size: 0.95rem;
  color: var(--color-muted);
}

.module-group-label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(15, 61, 145, 0.07);
}

.module-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.95rem;
  margin: 0;
}

.module-tile {
  display: grid;
  align-content: start;
  padding: 1rem 1.05rem;
  border-radius: 20px;
  border: 1px solid rgba(15, 61, 145, 0.08);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--color-shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
}

.module-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 183, 201, 0.28);
  box-shadow: var(--color-shadow);
  background:
    radial-gradient(circle at top right, rgba(16, 183, 201, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.94);
}

.module-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 0.8rem;
  border-radius: 15px;
  color: var(--color-primary);
  background: linear-gradient(180deg, rgba(16, 183, 201, 0.12), rgba(15, 61, 145, 0.06));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.module-tile strong,
.module-tile span {
  display: block;
}

.module-tile strong {
  margin-bottom: 0.28rem;
  font-size: 0.98rem;
  color: var(--color-ink);
}

.module-tile span {
  font-size: 0.9rem;
  color: var(--color-muted);
}

.module-tile-accent {
  background:
    radial-gradient(circle at top right, rgba(16, 183, 201, 0.13), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(239, 247, 252, 0.95));
}

.split-section {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 2rem;
  align-items: start;
}

.industry-grid,
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.compliance-shell {
  position: relative;
  z-index: 1;
  padding: 0.2rem 0;
}

.compliance-card {
  padding: 1.35rem;
}

.compliance-icon,
.benefit-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
  border-radius: 15px;
}

.compliance-icon {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.compliance-card h3,
.compliance-card p {
  color: #fff;
}

.compliance-card {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
  backdrop-filter: blur(10px);
}

.benefit-card {
  min-height: 176px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(180deg, rgba(246, 250, 255, 0.98), rgba(255, 255, 255, 0.98));
}

#benefits {
  position: relative;
}

#benefits::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background: linear-gradient(180deg, transparent, rgba(15, 61, 145, 0.03));
  pointer-events: none;
}

.benefit-card strong {
  font-size: 1.15rem;
}

.benefit-icon {
  color: var(--color-primary);
  background: linear-gradient(180deg, rgba(16, 183, 201, 0.12), rgba(15, 61, 145, 0.07));
}

.benefits-copy {
  margin-bottom: 0;
}

.about-shell,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.about-panel {
  padding: 1.5rem;
  display: grid;
  gap: 1rem;
}

.about-stat {
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(15, 61, 145, 0.08);
}

.about-stat:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.cta-banner {
  padding-top: 0;
}

.cta-shell {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.6rem;
  align-items: center;
  padding: 1.8rem;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top right, rgba(16, 183, 201, 0.18), transparent 28%),
    linear-gradient(135deg, #0b2f73, #1254c5 52%, #12788a);
  box-shadow: var(--color-shadow);
  position: relative;
  overflow: hidden;
}

.cta-shell::after {
  content: "";
  position: absolute;
  inset: auto -2rem -3rem auto;
  width: 13rem;
  height: 13rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.cta-shell .eyebrow,
.cta-shell h2,
.cta-shell p {
  color: #fff;
}

.cta-shell p {
  color: rgba(255, 255, 255, 0.82);
}

.cta-shell .eyebrow::before {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.15));
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.9rem;
}

[dir="rtl"] .cta-actions {
  justify-content: flex-start;
}

.contact-copy {
  margin-bottom: 0;
}

.contact-points {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-points div {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 61, 145, 0.08);
}

.contact-points strong,
.contact-points span {
  display: block;
}

.contact-points strong {
  margin-bottom: 0.3rem;
}

.contact-form {
  padding: 1.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.55rem;
  font-weight: 700;
  color: var(--color-ink);
}

.full-width {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(15, 61, 145, 0.14);
  background: #fff;
  color: var(--color-ink);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(16, 183, 201, 0.65);
  box-shadow: 0 0 0 4px rgba(16, 183, 201, 0.12);
  outline: none;
}

.contact-form button {
  margin-top: 1rem;
}

.form-note {
  margin: 1rem 0 0;
  font-size: 0.92rem;
  color: var(--color-muted);
}

.site-footer {
  padding: 3rem 0 1.5rem;
  color: rgba(255, 255, 255, 0.74);
  background: #0a1a35;
}

.site-footer .brand-text,
.site-footer h3,
.site-footer a,
.site-footer span,
.site-footer p {
  color: inherit;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(4, minmax(0, 1fr));
  gap: 1.4rem;
}

.footer-grid h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #fff;
}

.footer-grid a,
.footer-grid span {
  display: block;
  margin-bottom: 0.7rem;
  transition: color var(--transition);
}

.footer-grid a:hover {
  color: #fff;
}

.footer-brand {
  margin-bottom: 1rem;
}

.social-row {
  display: flex;
  gap: 0.65rem;
  margin-top: 1rem;
}

.social-row a {
  width: 40px;
  height: 40px;
  margin-bottom: 0;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

[dir="rtl"] body {
  font-family: "Tajawal", "Manrope", sans-serif;
}

[dir="rtl"] .hero-copy,
[dir="rtl"] .section-heading,
[dir="rtl"] .contact-form,
[dir="rtl"] .site-footer,
[dir="rtl"] .industry-card,
[dir="rtl"] .feature-card,
[dir="rtl"] .solution-card,
[dir="rtl"] .benefit-card {
  text-align: right;
}

[dir="rtl"] .dashboard-main {
  inset: 1rem 0.8rem auto 0.8rem;
}

[dir="rtl"] .solution-card ul {
  padding-inline-start: 0;
  padding-inline-end: 0;
}

[dir="rtl"] .dashboard-head,
[dir="rtl"] .header-shell {
  direction: rtl;
}

[dir="rtl"] .site-nav,
[dir="rtl"] .nav-actions,
[dir="rtl"] .hero-actions,
[dir="rtl"] .trust-badges {
  flex-direction: row-reverse;
}

[dir="rtl"] .nav-panel {
  justify-content: flex-start;
}

[dir="rtl"] .hero-copy {
  padding: 0.7rem 0.3rem 0.7rem 0.55rem;
}

[dir="rtl"] .hero-title {
  max-width: 12.2ch;
  font-size: clamp(1.34rem, 2.35vw, 1.95rem);
  line-height: 1.55;
  letter-spacing: -0.02em;
}

[dir="rtl"] .hero-text,
[dir="rtl"] .module-tile span,
[dir="rtl"] .solution-card p {
  line-height: 1.9;
}

[dir="rtl"] .hero-app {
  grid-template-columns: minmax(0, 1fr) 76px;
}

[dir="rtl"] .hero-app-sidebar {
  order: 2;
}

[dir="rtl"] .hero-app-main {
  order: 1;
}

[dir="rtl"] .hero-status-card ul {
  padding-inline-start: 0;
  padding-inline-end: 1.2rem;
}

[dir="rtl"] .hero-float-badge {
  inset: auto auto -0.7rem 1rem;
}

[dir="rtl"] .module-group-head {
  text-align: right;
}

@media (max-width: 1120px) {
  .hero-grid,
  .about-shell,
  .contact-grid,
  .split-section,
  .cta-shell,
  .solutions-intro,
  .benefits-shell,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .benefits-grid,
  .solutions-grid,
  .module-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .module-group-head {
    flex-direction: column;
    align-items: start;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-visual {
    min-height: 360px;
  }

  .hero-app {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .hero-workspace {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 920px) {
  :root {
    --container: min(100% - 1.25rem, 100%);
  }

  .site-header {
    padding: 0.8rem 0;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-panel {
    position: fixed;
    inset: calc(var(--header-height) + 0.4rem) 1rem auto;
    display: grid;
    gap: 1.2rem;
    padding: 1.2rem;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(15, 61, 145, 0.08);
    box-shadow: var(--color-shadow);
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
  }

  .nav-panel.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav,
  .nav-actions {
    flex-direction: column;
    align-items: stretch;
  }

  [dir="rtl"] .site-nav,
  [dir="rtl"] .nav-actions {
    flex-direction: column;
  }

  .site-nav a {
    padding: 0.25rem 0;
  }

  .hero-section {
    padding-top: 1.8rem;
  }

  .hero-grid {
    gap: 1.3rem;
    padding: 1.1rem;
  }

  .hero-visual {
    min-height: 340px;
  }

  .feature-grid,
  .benefits-grid,
  .solutions-grid,
  .module-strip,
  .industry-grid,
  .compliance-grid,
  .proof-strip-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .solution-featured {
    grid-column: auto;
  }

  .hero-float-badge {
    max-width: 230px;
  }
}

@media (max-width: 680px) {
  .section {
    padding: 3.8rem 0;
  }

  h1 {
    font-size: clamp(2.15rem, 9vw, 2.8rem);
  }

  h2 {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }

  .hero-visual {
    min-height: 300px;
  }

  .hero-app {
    grid-template-columns: 1fr;
    padding: 0.85rem;
  }

  .module-strip {
    grid-template-columns: 1fr;
  }

  .hero-app-sidebar {
    display: none;
  }

  .hero-app-topbar {
    padding: 0.9rem;
  }

  .hero-kpi-row {
    grid-template-columns: 1fr;
  }

  .hero-bars {
    height: 130px;
  }

  .hero-float-badge {
    position: static;
    max-width: none;
    margin-top: 0.8rem;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }

  .hero-actions .btn,
  .cta-actions .btn,
  .nav-actions .btn {
    width: 100%;
  }

  .trust-badges {
    gap: 0.6rem;
  }
}

/* Hero ERP ecosystem visual */
.erp-ecosystem {
  position: relative;
  isolation: isolate;
  width: 100%;
  display: grid;
  max-width: 640px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
  padding: 1rem;
  border-radius: 32px;
  background:
    radial-gradient(circle at 18% 18%, rgba(16, 183, 201, 0.16), transparent 22%),
    radial-gradient(circle at 82% 14%, rgba(15, 61, 145, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 255, 0.96));
  border: 1px solid rgba(15, 61, 145, 0.08);
  box-shadow: 0 24px 54px rgba(14, 42, 92, 0.12);
}

.erp-ecosystem::before,
.erp-ecosystem::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.erp-ecosystem::before {
  inset: 12% 7%;
  border-radius: 30px;
  border: 1px solid rgba(16, 183, 201, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.erp-ecosystem::after {
  inset: auto 11% 10% auto;
  width: 140px;
  height: 140px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(16, 183, 201, 0.2), rgba(16, 183, 201, 0));
  filter: blur(8px);
  opacity: 0.85;
}

.erp-module-card {
  position: relative;
  border-radius: 24px;
  border: 1px solid rgba(15, 61, 145, 0.08);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 30px rgba(13, 42, 93, 0.08);
}

.erp-module-card {
  min-height: 88px;
  padding: 0.85rem 0.75rem;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  gap: 0.55rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.erp-module-card.is-wide {
  grid-column: span 2;
}

.erp-module-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 183, 201, 0.24);
  box-shadow: 0 18px 34px rgba(13, 42, 93, 0.12);
}

.erp-module-card span {
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--color-ink);
}

.erp-module-icon {
  width: 2.7rem;
  height: 2.7rem;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--color-primary);
  background: linear-gradient(180deg, rgba(15, 61, 145, 0.1), rgba(16, 183, 201, 0.12));
}

.erp-module-icon svg {
  width: 1.3rem;
  height: 1.3rem;
  fill: currentColor;
}

[dir="rtl"] .hero-copy {
  padding-inline-start: 0.35rem;
}

[dir="rtl"] .hero-visual {
  justify-content: flex-start;
}

[dir="rtl"] .erp-module-card {
  justify-items: center;
  text-align: center;
}

@media (max-width: 1120px) {
  .erp-ecosystem {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .erp-ecosystem {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .erp-module-card.is-wide {
    grid-column: span 2;
  }
}

@media (max-width: 680px) {
  .erp-ecosystem {
    gap: 0.75rem;
    padding: 0.9rem;
    border-radius: 26px;
  }

  .erp-module-card {
    min-height: 94px;
    padding: 0.85rem;
  }

  .erp-module-card.is-wide {
    grid-column: auto;
  }
}
