:root {
  color-scheme: light;
  --navy: #11122d;
  --paper: #f4f3f0;
  --white: #ffffff;
  --ink: #16162b;
  --muted: #6e7181;
  --line: #dedde3;
  --purple: #8158ed;
  --purple-dark: #5739b8;
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  text-rendering: optimizeLegibility;
}

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

button {
  color: inherit;
  font: inherit;
}

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 34px;
}

.business-card {
  display: grid;
  grid-template-columns: minmax(330px, 0.78fr) minmax(560px, 1.22fr);
  width: min(1180px, 100%);
  min-height: 770px;
  overflow: hidden;
  border: 1px solid rgba(17, 18, 45, 0.09);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 28px 90px rgba(17, 18, 45, 0.13);
}

.brand-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 38px 40px;
  color: white;
  background: var(--navy);
}

.brand-panel::before {
  position: absolute;
  inset: auto -32% -18% -20%;
  height: 62%;
  background: linear-gradient(112deg, var(--purple-dark), #263996 58%, #185a88);
  clip-path: polygon(12% 23%, 100% 0, 87% 100%, 0 100%);
  content: "";
}

.brand-panel::after {
  position: absolute;
  inset: auto -12% 19% 4%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.54), transparent);
  transform: rotate(-14deg);
  content: "";
}

.brand-topline,
.brand-logo,
.brand-statement,
.brand-footer {
  position: relative;
  z-index: 1;
}

.brand-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-logo {
  width: min(290px, 84%);
  height: auto;
  margin-block-start: 92px;
}

.brand-statement {
  margin-block: auto 0;
}

.brand-statement p {
  margin: 0;
  font-size: clamp(1.7rem, 3.1vw, 2.7rem);
  font-weight: 750;
  line-height: 1.34;
  letter-spacing: -0.035em;
}

.brand-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-block-start: 80px;
  padding-block-start: 20px;
  border-block-start: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
}

.details-panel {
  display: flex;
  flex-direction: column;
  padding: 26px 48px 36px;
  background: var(--white);
}

.utility-bar {
  display: flex;
  align-items: center;
  min-height: 40px;
  direction: ltr;
}

.utility-spacer {
  flex: 1;
}

.text-button,
.icon-button {
  display: inline-grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  padding: 0;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.text-button {
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.icon-button {
  margin-inline-start: 8px;
}

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

.text-button:hover,
.icon-button:hover {
  border-color: var(--purple);
  background: #f6f1ff;
  color: var(--purple-dark);
}

.intro {
  max-width: 670px;
  padding-block: 34px 28px;
}

.eyebrow,
.services h2,
.products-label {
  margin: 0;
  color: var(--purple-dark);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin: 16px 0 18px;
  font-size: clamp(2.65rem, 5.3vw, 4.65rem);
  line-height: 1.04;
  letter-spacing: -0.065em;
}

.intro-copy {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.78;
}

.services {
  border-block-start: 1px solid var(--line);
}

.services h2 {
  padding-block: 18px 13px;
}

.services ol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  padding: 0;
  border-block-start: 1px solid var(--line);
  list-style: none;
}

.services li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  min-height: 104px;
  padding: 16px 18px 16px 0;
  border-block-end: 1px solid var(--line);
}

[dir="rtl"] .services li {
  padding: 16px 0 16px 18px;
}

.services li:nth-child(odd) {
  border-inline-end: 1px solid var(--line);
}

.service-number {
  padding-block-start: 3px;
  color: var(--purple);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.services h3 {
  margin: 0 0 7px;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.35;
}

.services p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.products {
  display: grid;
  grid-template-columns: 122px 1fr;
  align-items: center;
  gap: 18px;
  padding-block: 18px;
  border-block-end: 1px solid var(--line);
}

.products-label {
  line-height: 1.5;
}

.product-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px 15px;
}

[dir="ltr"] .product-links {
  justify-content: flex-start;
}

.product-links a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 30px;
  color: #3f4151;
  font-size: 0.73rem;
  font-weight: 750;
  transition: color 160ms ease;
}

.product-links a + a::before {
  width: 1px;
  height: 14px;
  margin-inline-end: 10px;
  background: var(--line);
  content: "";
}

.product-links a:hover {
  color: var(--purple-dark);
}

.product-links svg {
  width: 14px;
  height: 14px;
}

[dir="rtl"] .product-links svg {
  transform: rotate(180deg);
}

.contact {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-block-start: auto;
  padding-block-start: 24px;
}

.contact-number {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.contact-number > span {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.contact-number a {
  font-size: clamp(1.2rem, 2.3vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.contact-actions {
  display: flex;
  gap: 9px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 17px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button-primary {
  border-color: var(--purple-dark);
  background: var(--purple-dark);
  color: white;
}

.button-secondary {
  background: white;
}

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

.button-primary:hover {
  border-color: #452c99;
  background: #452c99;
}

.button-secondary:hover {
  border-color: var(--purple-dark);
  color: var(--purple-dark);
}

[dir="rtl"] .button-secondary svg {
  transform: rotate(180deg);
}

.page-note {
  position: fixed;
  inset-inline-end: 26px;
  inset-block-end: 18px;
  display: flex;
  gap: 8px;
  margin: 0;
  color: #a4a2aa;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.toast {
  position: fixed;
  z-index: 10;
  inset-inline-start: 50%;
  inset-block-end: 24px;
  min-width: 220px;
  max-width: calc(100% - 32px);
  padding: 12px 18px;
  border-radius: 8px;
  background: var(--navy);
  color: white;
  font-size: 0.8rem;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

[data-lang="ar"] .lang-en,
[data-lang="en"] .lang-ar {
  display: none !important;
}

:focus-visible {
  outline: 3px solid rgba(129, 88, 237, 0.45);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .page {
    place-items: start center;
    padding: 22px;
  }

  .business-card {
    grid-template-columns: 1fr;
    max-width: 720px;
  }

  .brand-panel {
    min-height: 330px;
    padding: 28px 32px;
  }

  .brand-logo {
    width: min(310px, 70%);
    margin-block-start: 54px;
  }

  .brand-statement {
    margin-block-start: 58px;
  }

  .brand-footer {
    margin-block-start: 38px;
  }

  .details-panel {
    padding: 24px 34px 36px;
  }
}

@media (max-width: 600px) {
  :root {
    --radius: 0;
  }

  .page {
    display: block;
    padding: 0;
  }

  .business-card {
    width: 100%;
    min-height: 100vh;
    border: 0;
    box-shadow: none;
  }

  .brand-panel {
    min-height: 286px;
    padding: 22px 22px 20px;
  }

  .brand-topline {
    font-size: 0.59rem;
  }

  .brand-logo {
    width: min(270px, 82%);
    margin-block-start: 42px;
  }

  .brand-statement {
    margin-block-start: 44px;
  }

  .brand-statement p {
    font-size: 1.48rem;
  }

  .brand-footer {
    display: none;
  }

  .details-panel {
    padding: 18px 20px 28px;
  }

  .intro {
    padding-block: 26px 28px;
  }

  h1 {
    margin-block: 13px 15px;
    font-size: clamp(2.55rem, 13vw, 3.45rem);
  }

  .intro-copy {
    font-size: 0.92rem;
    line-height: 1.7;
  }

  .services ol {
    grid-template-columns: 1fr;
  }

  .services li {
    min-height: 96px;
    padding-block: 16px;
    border-inline-end: 0 !important;
  }

  .products {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .product-links,
  [dir="ltr"] .product-links {
    flex-direction: column;
    align-items: stretch;
  }

  .product-links a {
    justify-content: space-between;
    min-height: 38px;
    border-block-start: 1px solid var(--line);
  }

  .product-links a + a::before {
    display: none;
  }

  .contact {
    align-items: stretch;
    flex-direction: column;
    padding-block-start: 25px;
  }

  .contact-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .button {
    min-height: 49px;
  }

  .page-note {
    position: static;
    justify-content: center;
    padding: 18px;
    background: var(--white);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
