:root {
  --navy-950: #031126;
  --navy-900: #061a38;
  --navy-800: #092552;
  --blue-600: #075cff;
  --blue-500: #1476ff;
  --cyan-400: #10d8ef;
  --ink: #07142b;
  --muted: #59677d;
  --line: #dce5f2;
  --cloud: #f4f8fd;
  --white: #fff;
  --radius-lg: 30px;
  --radius-md: 20px;
  --shadow: 0 24px 70px rgba(3, 17, 38, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

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

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

button, a { -webkit-tap-highlight-color: transparent; }

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

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  height: 92px;
  margin: 0 auto;
}

.brand { width: 218px; }

.header-controls {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  color: #253854;
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav > a:not(.nav-cta) {
  position: relative;
  padding: 8px 0;
}

.site-nav > a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--blue-600);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

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

.site-nav > a[aria-current="page"]::after { transform: scaleX(1); }

.nav-cta {
  padding: 12px 20px;
  color: var(--white);
  background: var(--navy-950);
  border-radius: 999px;
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  color: var(--navy-900);
  background: var(--cloud);
  border: 1px solid #d5e1f0;
  border-radius: 999px;
  font: 800 .82rem "Manrope", sans-serif;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.language-toggle:hover,
.language-toggle:focus-visible {
  color: var(--white);
  background: var(--blue-600);
  border-color: var(--blue-600);
  transform: translateY(-1px);
}

.language-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.menu-toggle { display: none; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(400px, 0.95fr);
  align-items: center;
  min-height: 720px;
  padding: 90px max(5vw, calc((100vw - 1180px) / 2)) 84px;
  color: var(--white);
  background:
    radial-gradient(circle at 86% 12%, rgba(20, 118, 255, 0.32), transparent 25%),
    linear-gradient(135deg, var(--navy-950), #061a3a 58%, #07285c);
  isolation: isolate;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.13;
  background-image:
    linear-gradient(rgba(255,255,255,.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.13) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to right, transparent 0%, #000 40%, #000 100%);
}

.orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(2px);
}

.orb-one {
  top: -120px;
  right: 26%;
  width: 330px;
  height: 330px;
  background: rgba(9, 96, 255, 0.12);
}

.orb-two {
  bottom: -170px;
  left: 34%;
  width: 450px;
  height: 450px;
  border: 1px solid rgba(16, 216, 239, 0.1);
}

.hero-content { position: relative; z-index: 2; max-width: 700px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: #a9c7f9;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 28px;
  height: 2px;
  background: var(--cyan-400);
}

.eyebrow.dark { color: var(--blue-600); }
.eyebrow.light { color: #9cc2ff; }

.hero h1,
.section h2,
.contact h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(3.35rem, 5.5vw, 5.9rem);
  font-weight: 600;
}

.hero h1 em {
  color: var(--cyan-400);
  font-style: normal;
}

.hero-copy {
  max-width: 620px;
  margin: 28px 0 34px;
  color: #bdcbe0;
  font-size: 1.08rem;
  line-height: 1.75;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.91rem;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button svg {
  width: 19px;
  margin-left: 12px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.button-primary {
  color: #001832;
  background: var(--cyan-400);
}

.button-primary:hover { background: #5eeafa; }

.button-ghost {
  color: var(--white);
  border-color: rgba(255,255,255,.23);
  background: rgba(255,255,255,.04);
}

.button-ghost:hover { background: rgba(255,255,255,.09); }

.hero-meta {
  display: flex;
  gap: 36px;
  margin-top: 54px;
}

.hero-meta div { display: flex; flex-direction: column; }
.hero-meta strong { font-family: "Space Grotesk"; font-size: 1.05rem; }
.hero-meta span { color: #8295b1; font-size: 0.76rem; }

.hero-visual {
  position: relative;
  justify-self: end;
  width: min(520px, 43vw);
  aspect-ratio: 1;
}

.visual-ring {
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(116, 183, 255, 0.22);
  border-radius: 50%;
}

.ring-one { animation: spin 28s linear infinite; }
.ring-one::before,
.ring-two::before {
  position: absolute;
  width: 9px;
  height: 9px;
  background: var(--cyan-400);
  border-radius: 50%;
  box-shadow: 0 0 25px var(--cyan-400);
  content: "";
}

.ring-one::before { top: 12%; left: 12%; }
.ring-two { inset: 24%; border-style: dashed; animation: spin-reverse 19s linear infinite; }
.ring-two::before { right: 3%; bottom: 27%; }

.visual-core {
  position: absolute;
  inset: 32%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(15, 73, 150, .92), rgba(3, 17, 38, .96));
  border: 1px solid rgba(117, 184, 255, .35);
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(0,0,0,.33), inset 0 0 40px rgba(0,112,255,.1);
  transform: rotate(45deg);
}

.visual-core span,
.visual-core small { transform: rotate(-45deg); }
.visual-core span { font-family: "Space Grotesk"; font-size: clamp(1.8rem, 4vw, 3.4rem); font-weight: 700; letter-spacing: -0.08em; }
.visual-core small { margin-top: -2px; color: var(--cyan-400); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; }

.signal-card {
  position: absolute;
  padding: 17px 19px;
  background: rgba(7, 31, 69, .82);
  border: 1px solid rgba(147, 191, 255, .2);
  border-radius: 16px;
  box-shadow: 0 18px 45px rgba(0,0,0,.25);
  backdrop-filter: blur(14px);
}

.signal-card p { margin: 0 0 2px; color: #9bb0cd; font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; }
.signal-card strong { font-size: .82rem; }

.card-web { top: 12%; left: -2%; }
.card-growth { right: -1%; bottom: 13%; }

.signal-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  color: var(--cyan-400);
  background: rgba(16,216,239,.1);
  border-radius: 10px;
}

.signal-icon svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; }

.mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 32px;
  margin-bottom: 10px;
}

.mini-chart i { width: 7px; background: linear-gradient(var(--cyan-400), var(--blue-600)); border-radius: 4px 4px 0 0; }
.mini-chart i:nth-child(1) { height: 32%; }
.mini-chart i:nth-child(2) { height: 52%; }
.mini-chart i:nth-child(3) { height: 72%; }
.mini-chart i:nth-child(4) { height: 100%; }

.code-chip {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #8dbbff;
  background: rgba(6, 26, 56, .9);
  border: 1px solid rgba(117,184,255,.2);
  border-radius: 50%;
  font: 700 .77rem "Space Grotesk";
}

.chip-one { right: 14%; top: 4%; }
.chip-two { left: 13%; bottom: 5%; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-reverse { to { transform: rotate(-360deg); } }

.trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 4vw, 56px);
  min-height: 86px;
  padding: 20px;
  color: #64728a;
  border-bottom: 1px solid #e8eef6;
  font: 700 .77rem "Space Grotesk";
  letter-spacing: .16em;
  text-transform: uppercase;
}

.trust-strip i { width: 5px; height: 5px; background: var(--blue-500); border-radius: 50%; }

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 128px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  align-items: end;
  gap: 90px;
  margin-bottom: 58px;
}

.section-heading h2,
.about-copy h2 {
  max-width: 760px;
  font-size: clamp(2.35rem, 4.3vw, 4.4rem);
  font-weight: 600;
}

.section-heading > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

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

.service-card {
  position: relative;
  min-height: 390px;
  padding: 38px;
  background: var(--cloud);
  border: 1px solid #e6edf7;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-card:hover {
  z-index: 2;
  border-color: #bdd6fc;
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.service-card.featured {
  color: var(--white);
  background: linear-gradient(145deg, var(--navy-900), var(--navy-800));
  border-color: transparent;
}

.service-number {
  position: absolute;
  top: 30px;
  right: 34px;
  color: #a9b5c6;
  font: 600 .75rem "Space Grotesk";
}

.featured .service-number { color: #6784a8; }

.service-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 58px;
  color: var(--blue-600);
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(5,35,79,.08);
}

.featured .service-icon { color: var(--cyan-400); background: rgba(255,255,255,.08); box-shadow: none; }
.service-icon svg { width: 26px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }

.service-card h3 { margin: 0 0 10px; font: 600 1.55rem "Space Grotesk"; letter-spacing: -.025em; }
.service-card p { max-width: 510px; margin: 0 0 24px; color: var(--muted); }
.featured p { color: #aebdd3; }
.service-card ul { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.service-card li { padding: 6px 10px; color: #596d89; background: rgba(255,255,255,.86); border: 1px solid #e2eaf4; border-radius: 999px; font-size: .72rem; font-weight: 700; }
.featured li { color: #b3c6e1; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); }

/* Real project previews, collapsed by default. */
.work-shell { color: var(--white); background: var(--navy-950); scroll-margin-top: 24px; }
.work-section { padding-top: 80px; padding-bottom: 80px; }
.work-heading { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 48px; margin-bottom: 32px; }
.work-heading h2 { margin: 0; font-size: clamp(2.25rem, 4.2vw, 3.75rem); font-weight: 600; line-height: 1.12; }
.work-heading > p { max-width: 360px; margin: 0 0 4px; color: #b3c2d7; font-size: 1rem; line-height: 1.75; }
.portfolio-project { overflow: hidden; border: 1px solid #29415f; border-radius: 22px; background: #0c213d; }
.portfolio-project + .portfolio-project { margin-top: 24px; }
.portfolio-project-ledger { border-color: rgba(71, 186, 255, .42); background: linear-gradient(145deg, #0c213d 0%, #0b2948 100%); }
.portfolio-project-ledger .portfolio-summary:hover { background: rgba(29, 87, 132, .32); }
.ledger-preview-grid { grid-template-columns: minmax(0, 1fr); }
.ledger-featured .portfolio-image-link img { object-position: center; }
.portfolio-summary { display: grid; grid-template-columns: 240px minmax(0,1fr) auto; gap: 32px; align-items: center; padding: 24px; list-style: none; cursor: pointer; transition: background 180ms ease; }
.portfolio-summary::-webkit-details-marker { display: none; }
.portfolio-summary::marker { content: ''; }
.portfolio-summary:hover { background: #112b4b; }
.portfolio-thumbnail { width: 100%; height: auto; aspect-ratio: 1.7; object-fit: cover; object-position: top; border: 1px solid #49607a; border-radius: 10px; }
.portfolio-title { min-width: 0; display: grid; gap: 8px; }
.portfolio-category { color: #a8bad1; font-size: .875rem; }
.portfolio-name { font: 600 clamp(1.6rem, 2.8vw, 2.35rem)/1.2 'Space Grotesk', sans-serif; letter-spacing: -.025em; }
.portfolio-services { color: #c4d2e4; font-size: 1rem; }
.portfolio-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 12px 18px; min-height: 48px; border: 1px solid #52728e; border-radius: 999px; color: #d5faff; font-size: .875rem; font-weight: 700; }
.portfolio-toggle svg, .portfolio-close svg { width: 20px; height: 20px; flex: 0 0 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 180ms ease; }
.portfolio-hide { display: none; }
.portfolio-project[open] .portfolio-show { display: none; }
.portfolio-project[open] .portfolio-hide { display: inline; }
.portfolio-project[open] .portfolio-toggle svg { transform: rotate(180deg); }
.portfolio-project[open] .portfolio-summary { border-bottom: 1px solid #29415f; }
.portfolio-content { padding: 24px; }
.portfolio-previews { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); gap: 24px; }
.portfolio-preview { display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: #fff; color: var(--ink); border-radius: 14px; }
.portfolio-site-featured { grid-column: 1 / -1; position: relative; border: 1px solid rgba(104,220,255,.28); border-radius: 20px; background: linear-gradient(145deg,#fff 0%,#f6faff 100%); box-shadow: 0 24px 70px rgba(0,8,24,.36); }
.portfolio-browser-bar { display: flex; align-items: center; gap: 7px; min-height: 46px; padding: 0 18px; background: #091a31; border-bottom: 1px solid #263c59; }
.portfolio-browser-bar > span { width: 9px; height: 9px; border-radius: 50%; background: #37506e; }
.portfolio-browser-bar > span:first-child { background: #ff715f; }
.portfolio-browser-bar > span:nth-child(2) { background: #f5be4f; }
.portfolio-browser-bar > span:nth-child(3) { background: #56c978; }
.portfolio-browser-bar div { overflow: hidden; max-width: min(520px,70%); margin-inline-start: 12px; padding: 7px 14px; color: #aebdd0; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); border-radius: 7px; font-size: .7rem; white-space: nowrap; text-overflow: ellipsis; }
.portfolio-site-featured .portfolio-image-link { position: relative; height: auto; aspect-ratio: 1200 / 750; background: #0b1f3b; }
.portfolio-site-featured .portfolio-image-link img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 700ms cubic-bezier(.2,.75,.25,1); }
.portfolio-site-featured .portfolio-image-link:hover img { transform: scale(1.018); }
.portfolio-live-badge { position: absolute; top: 18px; right: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; color: #fff; background: rgba(5,20,42,.88); border: 1px solid rgba(255,255,255,.22); border-radius: 999px; box-shadow: 0 8px 24px rgba(0,0,0,.24); backdrop-filter: blur(12px); font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.portfolio-live-badge i { width: 7px; height: 7px; border-radius: 50%; background: #50df91; box-shadow: 0 0 0 5px rgba(80,223,145,.14); }
.portfolio-featured-copy { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 30px; align-items: end; padding: 30px; }
.portfolio-featured-copy h3 { font-size: clamp(1.65rem,3vw,2.45rem); }
.portfolio-featured-copy p:not(.portfolio-caption) { max-width: 760px; margin: 12px 0 18px; color: #506178; font-size: 1rem; line-height: 1.72; }
.portfolio-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.portfolio-tags span { padding: 7px 10px; color: #24496f; background: #eaf4ff; border: 1px solid #d5e9fc; border-radius: 999px; font-size: .7rem; font-weight: 800; }
.work-link-luxury { min-width: 210px; background: linear-gradient(135deg,#075cf0,#04a9d4); box-shadow: 0 12px 28px rgba(5,92,240,.24); }
.work-link-luxury:hover { background: linear-gradient(135deg,#0349c9,#028eb5); transform: translateY(-2px); }
.portfolio-image-link { display: flex; align-items: center; justify-content: center; overflow: hidden; height: 380px; background: #edf2f7; }
.portfolio-website .portfolio-image-link { align-items: flex-start; }
.portfolio-website .portfolio-image-link img { width: 100%; height: 100%; object-fit: contain; object-position: top; }
.portfolio-app .portfolio-image-link { background: #943739; padding: 18px; }
.portfolio-app .portfolio-image-link img { width: auto; height: 100%; object-fit: contain; }
.portfolio-preview-copy { flex: 1; display: flex; flex-direction: column; padding: 26px; }
.portfolio-caption { margin: 0 0 8px; color: #58697e; font-size: .875rem; }
.portfolio-preview h3 { margin: 0; font: 600 1.5rem/1.3 'Space Grotesk', sans-serif; letter-spacing: -.02em; }
.portfolio-preview-copy > p:not(.portfolio-caption) { color: #506178; margin: 12px 0 24px; font-size: 1rem; line-height: 1.65; }
.work-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; padding: 12px 20px; min-height: 48px; background: var(--blue-600); color: #fff; border-radius: 10px; font-size: .875rem; font-weight: 800; transition: background 180ms ease; }
.work-link:hover { background: #0346cb; }
.work-link svg { flex: 0 0 20px; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.portfolio-close { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; margin: 20px auto 0; padding: 10px 20px; background: transparent; color: #c8d8eb; border: 1px solid #52728e; border-radius: 999px; font-family: inherit; font-size: .875rem; font-weight: 700; line-height: 1.5; cursor: pointer; }
.portfolio-close:hover { color: #fff; background: #183450; }
.portfolio-summary:focus-visible, .portfolio-close:focus-visible, .portfolio-image-link:focus-visible, .work-link:focus-visible { outline: 3px solid var(--cyan-400); outline-offset: -4px; }
.work-cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 28px 0 0; margin-top: 4px; }
.work-cta p { margin: 0; }
.work-cta strong, .work-cta span { display: block; }
.work-cta strong { font: 600 1.125rem/1.5 'Space Grotesk', sans-serif; }
.work-cta span { margin-top: 6px; color: #adbed5; font-size: .875rem; }
.work-cta .button { flex: 0 0 auto; }
html[dir="rtl"] .portfolio-name, html[dir="rtl"] .portfolio-preview h3, html[dir="rtl"] .work-cta strong { font-family: 'Tajawal', system-ui, sans-serif; letter-spacing: 0; }
@media (max-width: 980px) {
  .work-heading { gap: 24px; }
  .portfolio-summary { grid-template-columns: 160px minmax(0,1fr) auto; gap: 20px; }
  .portfolio-toggle { padding-inline: 14px; gap: 8px; }
  .portfolio-previews { gap: 18px; grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .portfolio-image-link { height: 310px; }
  .portfolio-preview-copy { padding: 22px; }
}
@media (max-width: 720px) {
  .work-shell .work-section { padding-block: 56px; }
  .work-heading { grid-template-columns: 1fr; gap: 18px; margin-bottom: 24px; }
  .work-heading h2 { font-size: clamp(2rem, 8vw, 3rem); }
  .work-heading > p { max-width: none; }
  .portfolio-summary { grid-template-columns: minmax(0,1fr) auto; gap: 20px 12px; padding: 18px; }
  .portfolio-thumbnail { grid-column: 1 / -1; aspect-ratio: 2.1; }
  .portfolio-name { font-size: 1.6rem; }
  .portfolio-toggle { grid-column: 1 / -1; width: 100%; }
  .portfolio-title { grid-column: 1 / -1; gap: 6px; }
  .portfolio-content { padding: 14px; }
  .portfolio-previews { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .portfolio-site-featured { grid-column: auto; }
  .portfolio-featured-copy { grid-template-columns: 1fr; gap: 22px; padding: 22px 18px; }
  .portfolio-featured-copy .work-link { width: 100%; }
  .portfolio-browser-bar div { max-width: 72%; }
  .portfolio-live-badge { top: 12px; right: 12px; }
  .portfolio-website .portfolio-image-link { height: auto; aspect-ratio: 1348 / 926; }
  .portfolio-app .portfolio-image-link { height: 380px; }
  .portfolio-preview-copy { padding: 22px 18px; }
  .work-cta { flex-direction: column; align-items: flex-start; gap: 20px; }
  .work-cta .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .portfolio-toggle svg, .portfolio-summary, .work-link { transition: none; }
}

.pricing-shell {
  color: var(--white);
  background:
    radial-gradient(circle at 12% 18%, rgba(16, 216, 239, .1), transparent 25%),
    linear-gradient(145deg, #041328, #071d3f 65%, #07285a);
}

.pricing-page .pricing-shell {
  min-height: calc(100vh - 92px);
  padding-top: 1px;
}

.pricing-page .pricing {
  padding-top: 82px;
}

.pricing-page .pricing-heading {
  padding-bottom: 10px;
}

.pricing-teaser-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding-top: 82px;
  padding-bottom: 82px;
}

.pricing-teaser-inner > div { max-width: 760px; }

.pricing-teaser-inner h2 {
  margin: 0;
  color: var(--white);
  font: 600 clamp(2.3rem, 4vw, 4.2rem)/1.04 "Space Grotesk", sans-serif;
  letter-spacing: -.045em;
}

.pricing-teaser-inner > div > p:last-child {
  max-width: 680px;
  margin: 22px 0 0;
  color: #a8b9d0;
}

.pricing-teaser-inner > .button { flex: 0 0 auto; }

.pricing { padding-top: 118px; padding-bottom: 118px; }

.pricing-heading h2 { color: var(--white); }
.pricing-heading > p { color: #a8b9d0; }

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

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 500px;
  padding: 30px 25px 26px;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 20px;
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}

.price-card:hover {
  background: rgba(255, 255, 255, .075);
  border-color: rgba(85, 224, 243, .36);
  transform: translateY(-5px);
}

.price-card.popular {
  background: linear-gradient(165deg, rgba(16, 216, 239, .12), rgba(11, 84, 193, .14));
  border-color: rgba(16, 216, 239, .48);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .18);
}

.popular-tag {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 5px 9px;
  color: #00233a;
  background: var(--cyan-400);
  border-radius: 999px;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.price-top { min-height: 70px; padding-right: 12px; }
.popular .price-top { padding-right: 74px; }
.price-label { margin: 0 0 4px; font: 600 1.08rem "Space Grotesk"; }
.price-top > span { color: #8ea4c2; font-size: .75rem; }

.price {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 24px 0;
  margin: 0 0 24px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.price small { color: #7f96b5; font-size: .72rem; font-weight: 700; text-transform: uppercase; }
.price strong { font: 600 clamp(1.8rem, 2.4vw, 2.5rem) "Space Grotesk"; letter-spacing: -.04em; white-space: nowrap; }
.price strong b { color: var(--cyan-400); font-size: .7rem; letter-spacing: .06em; vertical-align: middle; }
.price strong i { color: #8ea4c2; font: 600 .7rem "Manrope"; letter-spacing: 0; }

.price-card ul {
  display: grid;
  gap: 13px;
  padding: 0;
  margin: 0 0 28px;
  color: #b8c7db;
  font-size: .78rem;
  list-style: none;
}

.price-card li { position: relative; padding-left: 20px; }
.price-card li::before {
  position: absolute;
  top: .58em;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--cyan-400);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(16, 216, 239, .5);
  content: "";
}

.price-card > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 15px;
  margin-top: auto;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: 12px;
  font-size: .75rem;
  font-weight: 800;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.price-card > a:hover {
  color: #00213a;
  background: var(--cyan-400);
  border-color: var(--cyan-400);
}

.price-card > a svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.pricing-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 22px 26px;
  margin-top: 14px;
  color: var(--navy-950);
  background: var(--cyan-400);
  border-radius: 17px;
}

.pricing-note div { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 16px; }
.pricing-note div strong { font: 600 1.1rem "Space Grotesk"; }
.pricing-note div span { color: #165161; font-size: .78rem; }
.pricing-note p { margin: 0; white-space: nowrap; }
.pricing-note p small { font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.pricing-note p strong { font: 700 1.25rem "Space Grotesk"; }
.price-disclaimer { max-width: 860px; margin: 18px 0 0; color: #7188a7; font-size: .7rem; line-height: 1.65; }

.about { width: 100%; padding: 0; }

.about-panel {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  min-height: 640px;
  color: var(--white);
  background: var(--navy-950);
}

.about-mark {
  position: relative;
  display: grid;
  align-content: center;
  justify-content: center;
  min-height: 540px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(18,116,255,.24), transparent 35%),
    linear-gradient(135deg, #061a38, #082d65);
}

.about-mark::before,
.about-mark::after {
  position: absolute;
  inset: 20%;
  border: 1px solid rgba(99,167,255,.16);
  border-radius: 50%;
  content: "";
}

.about-mark::after { inset: 34%; border-style: dashed; }

.about-mark span {
  position: relative;
  z-index: 1;
  grid-area: 1 / 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(132, 192, 255, .42);
  font: 700 clamp(8rem, 19vw, 16rem) "Space Grotesk";
  letter-spacing: -.19em;
  transform: translateX(-18%);
}

.about-mark span:nth-child(2) { color: rgba(11,94,228,.32); transform: translateX(0); }
.about-mark span:nth-child(3) { color: var(--cyan-400); -webkit-text-stroke: 0; opacity: .88; transform: translateX(18%); mix-blend-mode: screen; }

.about-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px max(5vw, calc((100vw - 1180px) / 2)) 80px 8vw;
}

.about-copy > p:not(.eyebrow) {
  max-width: 680px;
  margin: 28px 0 44px;
  color: #aab9ce;
  font-size: 1.03rem;
  line-height: 1.8;
}

.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.principles div { padding-top: 18px; border-top: 1px solid rgba(255,255,255,.16); }
.principles strong, .principles span { display: block; }
.principles strong { margin-bottom: 4px; font-family: "Space Grotesk"; }
.principles span { color: #8293ab; font-size: .75rem; }

.process-heading { margin-bottom: 34px; }
.process-list { padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--line); }
.process-list li {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: start;
  gap: 40px;
  padding: 32px 6px;
  border-bottom: 1px solid var(--line);
  transition: background 180ms ease, padding 180ms ease;
}

.process-list li:hover { padding-right: 24px; padding-left: 24px; background: var(--cloud); }
.process-list li > span { padding-top: 6px; color: var(--blue-600); font: 700 .76rem "Space Grotesk"; }
.process-list h3 { margin: 0 0 5px; font: 600 1.5rem "Space Grotesk"; }
.process-list p { margin: 0; color: var(--muted); }

.contact {
  position: relative;
  padding: 0 20px 20px;
}

.contact-inner {
  position: relative;
  width: min(1440px, 100%);
  min-height: 590px;
  margin: 0 auto;
  padding: 104px max(5vw, calc((100vw - 1180px) / 2));
  color: var(--white);
  background:
    radial-gradient(circle at 88% 20%, rgba(16,216,239,.22), transparent 21%),
    radial-gradient(circle at 75% 80%, rgba(16,93,255,.32), transparent 31%),
    linear-gradient(130deg, var(--navy-950), #073074);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.contact-inner::after {
  position: absolute;
  top: -16%;
  right: -5%;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 50%;
  box-shadow: 0 0 0 75px rgba(255,255,255,.02), 0 0 0 150px rgba(255,255,255,.018);
  content: "";
}

.contact h2 { position: relative; z-index: 1; max-width: 840px; font-size: clamp(3.2rem, 7vw, 6.8rem); font-weight: 600; }
.contact-copy { position: relative; z-index: 1; max-width: 600px; margin: 24px 0 34px; color: #b5c8e4; font-size: 1.03rem; }
.contact-actions { position: relative; z-index: 2; display: flex; align-items: center; flex-wrap: wrap; gap: 26px; }
.button-light { color: var(--navy-950); background: var(--white); }
.button-light:hover { background: var(--cyan-400); }
.contact-email { padding-bottom: 2px; color: #d5e5fb; border-bottom: 1px solid rgba(255,255,255,.35); font-weight: 700; }
.contact-footer {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: end;
  gap: 34px;
  padding-top: 28px;
  margin-top: 54px;
  color: #89a4c6;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .82rem;
}

.founder-identity small,
.founder-identity strong { display: block; }
.founder-identity small { margin-bottom: 2px; color: #7894b9; font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.founder-identity strong { color: var(--white); font: 600 1.05rem "Space Grotesk"; }
.contact-footer > a { color: #d6e5f9; font-weight: 700; }
.contact-footer > a:hover { color: var(--cyan-400); }

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 25px;
  width: min(1180px, calc(100% - 40px));
  min-height: 150px;
  margin: 0 auto;
  color: #75839a;
  font-size: .75rem;
}

.footer-brand { width: 170px; }
footer p:nth-child(2) { text-align: center; }
footer p:last-child { text-align: right; }

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

html[dir="rtl"] .hero h1,
html[dir="rtl"] .section h2,
html[dir="rtl"] .contact h2,
html[dir="rtl"] .price-label,
html[dir="rtl"] .price strong,
html[dir="rtl"] .pricing-note div strong,
html[dir="rtl"] .pricing-note p strong,
html[dir="rtl"] .service-card h3,
html[dir="rtl"] .process-list h3,
html[dir="rtl"] .founder-identity strong,
html[dir="rtl"] .hero-meta strong,
html[dir="rtl"] .trust-strip {
  font-family: "Tajawal", system-ui, sans-serif;
}

html[dir="rtl"] .eyebrow,
html[dir="rtl"] .popular-tag,
html[dir="rtl"] .founder-identity small {
  letter-spacing: 0;
  text-transform: none;
}

html[dir="rtl"] .language-toggle {
  font-family: "Manrope", system-ui, sans-serif;
}

html[dir="rtl"] .button svg {
  margin-right: 12px;
  margin-left: 0;
  transform: rotate(180deg);
}

html[dir="rtl"] .service-number {
  right: auto;
  left: 34px;
}

html[dir="rtl"] .popular-tag {
  right: auto;
  left: 18px;
}

html[dir="rtl"] .price-top {
  padding-right: 0;
  padding-left: 12px;
}

html[dir="rtl"] .popular .price-top {
  padding-right: 0;
  padding-left: 74px;
}

html[dir="rtl"] .price-card li {
  padding-right: 20px;
  padding-left: 0;
}

html[dir="rtl"] .price-card li::before {
  right: 0;
  left: auto;
}

html[dir="rtl"] .price-card > a svg {
  transform: rotate(180deg);
}

html[dir="rtl"] .about-copy {
  padding: 80px 8vw 80px max(5vw, calc((100vw - 1180px) / 2));
}

html[dir="rtl"] .process-list li:hover {
  padding-right: 24px;
  padding-left: 24px;
}


html[dir="rtl"] footer p:last-child { text-align: left; }

html[dir="rtl"] .contact-email,
html[dir="rtl"] [href^="tel:"] {
  direction: ltr;
  unicode-bidi: isolate;
}

@media (max-width: 860px) and (min-width: 721px) {
  .brand { width: 180px; }
  .site-nav { gap: 18px; font-size: .82rem; }
  .header-controls { gap: 12px; }
  .language-toggle { padding: 0 11px; }
}

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 72px; }
  .hero-content { max-width: 780px; }
  .hero-visual { justify-self: center; width: min(600px, 78vw); margin-top: 20px; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .section-heading > p { max-width: 680px; }
  .work-heading { grid-template-columns: 1fr; gap: 24px; }
  .work-heading > p { max-width: 700px; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .about-panel { grid-template-columns: 1fr; }
  .about-mark { min-height: 430px; }
  .about-copy { padding: 86px max(5vw, calc((100vw - 1180px) / 2)); }
  footer { grid-template-columns: 1fr 1fr; }
  footer p:nth-child(2) { display: none; }
}

@media (max-width: 720px) {
  .site-header { height: 78px; width: min(100% - 28px, 1180px); }
  .brand { width: 150px; }
  .header-controls { gap: 8px; }
  .language-toggle {
    min-height: 42px;
    padding: 0 10px;
    background: var(--white);
  }
  .menu-toggle {
    position: relative;
    z-index: 30;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    width: 46px;
    height: 46px;
    padding: 0 11px;
    background: var(--navy-950);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
  }
  .menu-toggle span:not(.sr-only) { width: 100%; height: 2px; background: var(--white); transition: transform 180ms ease; }
  .menu-open .menu-toggle span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .menu-open .menu-toggle span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }
  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 25;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
    padding: 10vw;
    color: var(--white);
    background: rgba(3,17,38,.98);
    font: 600 clamp(2rem, 10vw, 4rem) "Space Grotesk";
    opacity: 0;
    pointer-events: none;
    transform: translateY(-15px);
    transition: opacity 180ms ease, transform 180ms ease;
  }
  .menu-open .site-nav { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .nav-cta { margin-top: 10px; padding: 13px 20px; color: var(--navy-950); background: var(--cyan-400); font: 800 .9rem "Manrope"; }
  .hero { min-height: auto; padding: 74px 20px 60px; }
  .hero h1 { font-size: clamp(3.05rem, 14vw, 4.5rem); }
  .hero-copy { font-size: 1rem; }
  .hero-meta { gap: 17px; justify-content: space-between; }
  .hero-meta span { font-size: .66rem; }
  .hero-visual { width: 104vw; margin: 30px -12vw -40px 0; }
  .card-web { left: 7%; }
  .card-growth { right: 5%; }
  .trust-strip { flex-wrap: wrap; gap: 12px 18px; padding: 22px 14px; }
  .section { width: min(100% - 32px, 1180px); padding: 90px 0; }
  .section-heading { margin-bottom: 38px; }
  .section-heading h2, .about-copy h2 { font-size: clamp(2.25rem, 11vw, 3.4rem); }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 350px; padding: 30px 26px; }
  .service-icon { margin-bottom: 44px; }
  .work-cta .button { width: 100%; }
  .pricing { padding-top: 88px; padding-bottom: 88px; }
  .pricing-teaser-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 30px;
    padding-top: 70px;
    padding-bottom: 70px;
  }
  .pricing-teaser-inner h2 { font-size: clamp(2.15rem, 11vw, 3.2rem); }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card { min-height: 450px; }
  .pricing-note { align-items: flex-start; flex-direction: column; gap: 12px; }
  .about-mark { min-height: 330px; }
  .about-mark span { font-size: 9rem; }
  .about-copy { padding: 76px 24px; }
  .principles { grid-template-columns: 1fr; gap: 18px; }
  .process-list li { grid-template-columns: 50px 1fr; gap: 16px; }
  .contact { padding: 0 10px 10px; }
  .contact-inner { min-height: 600px; padding: 76px 24px; border-radius: 24px; }
  .contact h2 { font-size: clamp(3.1rem, 15vw, 5rem); }
  .contact-actions { align-items: flex-start; flex-direction: column; }
  .contact-footer { grid-template-columns: 1fr; align-items: start; gap: 14px; }
  footer { display: flex; flex-direction: column; align-items: flex-start; padding: 36px 0; }
  footer p { margin: 0; }
  footer p:last-child { text-align: left; }

  html[dir="rtl"] .hero-visual { margin: 30px 0 -40px -12vw; }
  html[dir="rtl"] .about-copy { padding: 76px 24px; }
  html[dir="rtl"] footer { align-items: flex-start; }
  html[dir="rtl"] footer p:last-child { text-align: right; }
}

@media (max-width: 340px) {
  .brand { width: 142px; }
  .language-toggle svg { display: none; }
  .language-toggle { padding: 0 9px; }
  .menu-toggle { width: 42px; height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
